From d7a5b77542baed187b67d63aa3c72f2baab1018e Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Tue, 20 May 2014 15:19:50 -0400 Subject: Ruby/chef solo: Add recipes-devtools/ruby/method-source_git.bb A utility to return a method's sourcecode as a Ruby string. Signed-off-by: Mark Asselstine Signed-off-by: Amy Fong --- .../recipes-devtools/ruby/method-source_git.bb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-openstack/recipes-devtools/ruby/method-source_git.bb (limited to 'meta-openstack/recipes-devtools/ruby/method-source_git.bb') diff --git a/meta-openstack/recipes-devtools/ruby/method-source_git.bb b/meta-openstack/recipes-devtools/ruby/method-source_git.bb new file mode 100644 index 0000000..39b24d1 --- /dev/null +++ b/meta-openstack/recipes-devtools/ruby/method-source_git.bb @@ -0,0 +1,28 @@ +# +# Copyright (C) 2014 Wind River Systems, Inc. +# +SUMMARY = "A utility to return a method's sourcecode as a Ruby string." +DESCRIPTION = "A utility to return a method's sourcecode as a Ruby string." + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7d1a6fbb73f604e1e716380490938bd4" + +PR = "r0" + +BPV = "0.8.2" +PV = "${BPV}" +SRCREV = "1b1f8323a7c25f29331fe32511f50697e5405dbd" + +S = "${WORKDIR}/git" + +SRC_URI = " \ + git://github.com/banister/method_source.git \ + file://gemspec-bump-version.patch \ + " + +inherit ruby + +RUBY_BUILD_GEMS = "method_source.gemspec" +RUBY_INSTALL_GEMS = "method_source-${BPV}.gem" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf