Permalink
Browse files

Move development dependencies into Gemfile

  • Loading branch information...
1 parent 40481b4 commit 75ab43c2ea6d27604b33c53e0a02cad5d600aa39 @sferik sferik committed Feb 10, 2013
Showing with 30 additions and 32 deletions.
  1. +5 −4 .document
  2. +7 −5 .travis.yml
  3. +14 −20 Gemfile
  4. +4 −3 faraday.gemspec
View
@@ -1,5 +1,6 @@
-README.rdoc
-lib/**/*.rb
+CONTRIBUTING.md
+LICENSE.md
+README.md
bin/*
-features/**/*.feature
-LICENSE
+lib/**/*.rb
+test/**/*.rb
View
@@ -1,4 +1,8 @@
-script: script/test
+bundler_args: --without development
+
+env:
+ - SSL=no
+ - SSL=yes
language: ruby
@@ -13,10 +17,6 @@ matrix:
env: SSL=yes
- rvm: 2.0.0
-env:
- - SSL=no
- - SSL=yes
-
rvm:
- rbx-18mode
- rbx-19mode
@@ -26,3 +26,5 @@ rvm:
- 1.9.2
- 1.9.3
- 2.0.0
+
+script: script/test
View
@@ -1,28 +1,22 @@
source 'https://rubygems.org'
-group :development do
- gem 'sinatra', '~> 1.3'
-end
+gem 'ffi-ncurses', '~> 0.3', :platforms => :jruby
+gem 'jruby-openssl', '~> 0.7', :platforms => :jruby
+gem 'rake'
group :test do
- gem 'em-http-request', '~> 1.0', :require => 'em-http'
- gem 'em-synchrony', '~> 1.0', :require => ['em-synchrony', 'em-synchrony/em-http'], :platforms => :ruby_19
+ gem 'em-http-request', '>= 1.0', :require => 'em-http'
+ gem 'em-synchrony', '>= 1.0', :require => ['em-synchrony', 'em-synchrony/em-http'], :platforms => :ruby_19
gem 'excon', '>= 0.16.1'
- gem 'httpclient', '~> 2.2'
- gem 'net-http-persistent', '~> 2.5', :require => false
- gem 'leftright', '~> 0.9', :require => false
- gem 'rack-test', '~> 0.6', :require => 'rack/test'
- gem 'minitest', '~> 4.3'
-end
-
-platforms :ruby do
- gem 'patron', '~> 0.4', '> 0.4.1'
- gem 'typhoeus', '~> 0.3.3'
-end
-
-platforms :jruby do
- gem 'jruby-openssl', '~> 0.7'
- gem 'ffi-ncurses', '~> 0.3'
+ gem 'httpclient', '>= 2.2'
+ gem 'leftright', '>= 0.9', :require => false
+ gem 'minitest', '>= 4.3'
+ gem 'net-http-persistent', '>= 2.5', :require => false
+ gem 'patron', '>= 0.4.2', :platforms => :ruby
+ gem 'rack-test', '>= 0.6', :require => 'rack/test'
+ gem 'simplecov'
+ gem 'sinatra', '~> 1.3'
+ gem 'typhoeus', '~> 0.3.3', :platforms => :ruby
end
gemspec
View
@@ -18,10 +18,9 @@ Gem::Specification.new do |spec|
spec.licenses = ['MIT']
spec.add_dependency 'multipart-post', '~> 1.1'
- spec.add_development_dependency 'rake'
- spec.add_development_dependency 'simplecov'
+ spec.add_development_dependency 'bundler', '~> 1.0'
- spec.files = %w(Gemfile LICENSE.md README.md Rakefile)
+ spec.files = %w(.document CONTRIBUTING.md Gemfile LICENSE.md README.md Rakefile)
spec.files << "#{lib}.gemspec"
spec.files += Dir.glob("lib/**/*.rb")
spec.files += Dir.glob("test/**/*.rb")
@@ -30,4 +29,6 @@ Gem::Specification.new do |spec|
dev_null = File.exist?('/dev/null') ? '/dev/null' : 'NUL'
git_files = `git ls-files -z 2>#{dev_null}`
spec.files &= git_files.split("\0") if $?.success?
+
+ spec.test_files = Dir.glob("test/**/*.rb")
end

0 comments on commit 75ab43c

Please sign in to comment.