Skip to content
This repository
Browse code

move method_source dep to default gemspec

  • Loading branch information...
commit a6bf33e3595082a8e1048b11fe471c82e6cddc4f 1 parent f4b6a93
Lee Jarvis authored

Showing 1 changed file with 5 additions and 7 deletions. Show diff stats Hide diff stats

  1. +5 7 Rakefile
12 Rakefile
@@ -18,15 +18,16 @@ def apply_spec_defaults(s)
18 18 s.author = "John Mair (banisterfiend)"
19 19 s.email = 'jrmair@gmail.com'
20 20 s.description = s.summary
21   - s.add_dependency("ruby_parser",">=2.0.5")
22   - s.add_dependency("coderay",">=0.9.7")
23   - s.add_dependency("slop",">=1.5.3")
24   - s.add_development_dependency("bacon",">=1.1.0")
25 21 s.homepage = "http://banisterfiend.wordpress.com"
26 22 s.has_rdoc = 'yard'
27 23 s.executables = ["pry"]
28 24 s.files = `git ls-files`.split("\n")
29 25 s.test_files = `git ls-files -- test/*`.split("\n")
  26 + s.add_dependency("ruby_parser",">=2.0.5")
  27 + s.add_dependency("coderay",">=0.9.7")
  28 + s.add_dependency("slop",">=1.5.3")
  29 + s.add_dependency("method_source",">=0.4.0")
  30 + s.add_development_dependency("bacon",">=1.1.0")
30 31 end
31 32
32 33 task :test do
@@ -48,7 +49,6 @@ end
48 49 namespace :ruby do
49 50 spec = Gem::Specification.new do |s|
50 51 apply_spec_defaults(s)
51   - s.add_dependency("method_source",">=0.4.0")
52 52 s.platform = Gem::Platform::RUBY
53 53 end
54 54
@@ -62,7 +62,6 @@ end
62 62 namespace v do
63 63 spec = Gem::Specification.new do |s|
64 64 apply_spec_defaults(s)
65   - s.add_dependency("method_source",">=0.4.0")
66 65 s.add_dependency("win32console", ">=1.3.0")
67 66 s.platform = "i386-#{v}"
68 67 end
@@ -77,7 +76,6 @@ end
77 76 namespace :jruby do
78 77 spec = Gem::Specification.new do |s|
79 78 apply_spec_defaults(s)
80   - s.add_dependency("method_source",">=0.4.0")
81 79 s.platform = "java"
82 80 end
83 81

0 comments on commit a6bf33e

Please sign in to comment.
Something went wrong with that request. Please try again.