applix.gemspec in applix-0.4.6 vs applix.gemspec in applix-0.4.7
- old
+ new
@@ -38,11 +38,16 @@
s.add_development_dependency 'rspec-mocks'
s.add_development_dependency 'guard'
s.add_development_dependency 'guard-rspec'
s.add_development_dependency 'growl'
- s.add_development_dependency 'ruby-debug19'
- s.add_development_dependency 'ruby-debug-base19'
+ if RUBY_PLATFORM.match /java/i
+ s.add_development_dependency 'ruby-debug'
+ else
+ RUBY_VERSION.match /1.9.3/ and (raise "no ruby-debug in ruby 1.9.3")
+ s.add_development_dependency 'ruby-debug19'
+ s.add_development_dependency 'ruby-debug-base19'
+ end
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map do |f|
File.basename(f)