gnip-rule.gemspec in gnip-rule-0.2 vs gnip-rule.gemspec in gnip-rule-0.3

- old
+ new

@@ -18,10 +18,28 @@ 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{ |f| File.basename(f) } s.require_paths = ['lib'] - s.add_development_dependency 'rspec' + s.add_development_dependency 'rake', '~> 0.9.2' + s.add_development_dependency 'rspec', '~> 2.10.0' + s.add_development_dependency 'webmock', '~> 1.8.11' + s.add_development_dependency 'guard', '~> 1.4.0' + s.add_development_dependency 'guard-rspec', '~> 1.2.0' + s.add_development_dependency 'fuubar', '~> 1.1.0' - s.add_dependency 'curb', '>= 0.8.0', '< 0.9.0' - s.add_dependency 'json', '>= 1.6.0', '< 1.7.0' + if RbConfig::CONFIG['host_os'] =~ /darwin/ + s.add_development_dependency 'rb-fsevent' + s.add_development_dependency 'ruby_gntp' + elsif RbConfig::CONFIG['host_os'] =~ /linux/ + s.add_development_dependency 'rb-inotify' + s.add_development_dependency 'libnotify' + elsif RbConfig::CONFIG['host_os'] =~ /msmin|mingw/ + s.add_development_dependency 'wdm' + s.add_development_dependency 'rb-notifu' + end + + s.add_dependency 'rest-client', '~> 1.6.7' + s.add_dependency 'json', '~> 1.7.0' + s.add_dependency 'jruby-openssl' if RUBY_PLATFORM == 'java' + s.add_dependency 'openssl' if RUBY_PLATFORM == 'ruby' end