summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mair <jrmair@gmail.com>2017-11-21 21:01:23 +0100
committerGitHub <noreply@github.com>2017-11-21 21:01:23 +0100
commit39021edb3f40ecf6bc70ff9809ce93fe6e3fface (patch)
treed10540a9bb3bbb3da95d7e546d1f28dd90db8659
parentb14edf9aa5ef8145c183550f183970df8f25bf20 (diff)
parent82e04a6194a2e1e9d82df66c053e57e486c08f33 (diff)
downloadmethod_source-39021edb3f40ecf6bc70ff9809ce93fe6e3fface.tar.gz
Merge pull request #50 from mensfeld/master
#49 fix - Licence missing in the rubygems version and in the gemspec
-rw-r--r--Rakefile1
-rw-r--r--method_source.gemspec3
2 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 367d510..1648a9f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -19,6 +19,7 @@ def apply_spec_defaults(s)
s.email = 'jrmair@gmail.com'
s.description = s.summary
s.require_path = 'lib'
+ s.license = 'MIT'
s.add_development_dependency("rspec","~>3.6")
s.add_development_dependency("rake", "~>0.9")
diff --git a/method_source.gemspec b/method_source.gemspec
index 5e91d73..a9ddbc4 100644
--- a/method_source.gemspec
+++ b/method_source.gemspec
@@ -8,11 +8,12 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib".freeze]
s.authors = ["John Mair (banisterfiend)".freeze]
- s.date = "2017-10-22"
+ s.date = "2017-11-21"
s.description = "retrieve the sourcecode for a method".freeze
s.email = "jrmair@gmail.com".freeze
s.files = [".gemtest".freeze, ".travis.yml".freeze, ".yardopts".freeze, "Gemfile".freeze, "LICENSE".freeze, "README.markdown".freeze, "Rakefile".freeze, "lib/method_source.rb".freeze, "lib/method_source/code_helpers.rb".freeze, "lib/method_source/source_location.rb".freeze, "lib/method_source/version.rb".freeze, "method_source.gemspec".freeze, "spec/method_source/code_helpers_spec.rb".freeze, "spec/method_source_spec.rb".freeze, "spec/spec_helper.rb".freeze]
s.homepage = "http://banisterfiend.wordpress.com".freeze
+ s.licenses = ["MIT".freeze]
s.rubygems_version = "2.6.13".freeze
s.summary = "retrieve the sourcecode for a method".freeze
s.test_files = ["spec/method_source/code_helpers_spec.rb".freeze, "spec/method_source_spec.rb".freeze, "spec/spec_helper.rb".freeze]