Browse Source

add appraisals config: support rails3.1, 3.2, and 4.0

saberma 10 years ago
parent
commit
9e7898be25

+ 5 - 1
Appraisals

@@ -1,7 +1,11 @@
-appraise "rails3" do
+appraise "rails31" do
   gem "rails", "~> 3.1.0"
 end
 
+appraise "rails32" do
+  gem "rails", "~> 3.2.0"
+end
+
 appraise "rails4" do
   gem "rails", "~> 4.0.0"
 end

+ 1 - 0
Gemfile

@@ -1,3 +1,4 @@
+# rails plugin new china_city --dummy-path=spec/dummy --skip-test-unit --mountable
 if ENV['TRAVIS']
   source 'https://rubygems.org'
 else

+ 1 - 1
Gemfile.lock

@@ -3,7 +3,7 @@ PATH
   specs:
     china_city (0.0.2)
       jquery-rails
-      rails (>= 3.1)
+      rails (>= 3.1.0)
 
 GEM
   remote: http://ruby.taobao.org/

+ 2 - 1
china_city.gemspec

@@ -17,7 +17,8 @@ Gem::Specification.new do |s|
   s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"]
   s.test_files = Dir["spec/**/*"]
 
-  s.add_dependency "rails", ">= 3.1"
+  # s.add_dependency "rails", "~> 3.1.0"
+  s.add_dependency "rails", ">= 3.1.0"
   s.add_dependency "jquery-rails"
 
   s.add_development_dependency "sqlite3"

+ 0 - 0
gemfiles/rails3.gemfile → gemfiles/rails31.gemfile


+ 1 - 1
gemfiles/rails3.gemfile.lock → gemfiles/rails31.gemfile.lock

@@ -3,7 +3,7 @@ PATH
   specs:
     china_city (0.0.2)
       jquery-rails
-      rails (>= 3.1)
+      rails (>= 3.1.0)
 
 GEM
   remote: http://ruby.taobao.org/

+ 9 - 0
gemfiles/rails32.gemfile

@@ -0,0 +1,9 @@
+# This file was generated by Appraisal
+
+source "http://ruby.taobao.org"
+
+gem "jquery-rails"
+gem "appraisal"
+gem "rails", "~> 3.2.0"
+
+gemspec :path=>"../"

+ 149 - 0
gemfiles/rails32.gemfile.lock

@@ -0,0 +1,149 @@
+PATH
+  remote: /Users/saberma/Documents/china_city
+  specs:
+    china_city (0.0.2)
+      jquery-rails
+      rails (>= 3.1.0)
+
+GEM
+  remote: http://ruby.taobao.org/
+  specs:
+    actionmailer (3.2.14)
+      actionpack (= 3.2.14)
+      mail (~> 2.5.4)
+    actionpack (3.2.14)
+      activemodel (= 3.2.14)
+      activesupport (= 3.2.14)
+      builder (~> 3.0.0)
+      erubis (~> 2.7.0)
+      journey (~> 1.0.4)
+      rack (~> 1.4.5)
+      rack-cache (~> 1.2)
+      rack-test (~> 0.6.1)
+      sprockets (~> 2.2.1)
+    activemodel (3.2.14)
+      activesupport (= 3.2.14)
+      builder (~> 3.0.0)
+    activerecord (3.2.14)
+      activemodel (= 3.2.14)
+      activesupport (= 3.2.14)
+      arel (~> 3.0.2)
+      tzinfo (~> 0.3.29)
+    activeresource (3.2.14)
+      activemodel (= 3.2.14)
+      activesupport (= 3.2.14)
+    activesupport (3.2.14)
+      i18n (~> 0.6, >= 0.6.4)
+      multi_json (~> 1.0)
+    addressable (2.3.5)
+    appraisal (0.5.2)
+      bundler
+      rake
+    arel (3.0.2)
+    builder (3.0.4)
+    capybara (2.1.0)
+      mime-types (>= 1.16)
+      nokogiri (>= 1.3.3)
+      rack (>= 1.0.0)
+      rack-test (>= 0.5.4)
+      xpath (~> 2.0)
+    cliver (0.2.1)
+    coffee-rails (3.2.2)
+      coffee-script (>= 2.2.0)
+      railties (~> 3.2.0)
+    coffee-script (2.2.0)
+      coffee-script-source
+      execjs
+    coffee-script-source (1.6.3)
+    diff-lcs (1.2.4)
+    erubis (2.7.0)
+    execjs (2.0.1)
+    hike (1.2.3)
+    i18n (0.6.5)
+    journey (1.0.4)
+    jquery-rails (3.0.4)
+      railties (>= 3.0, < 5.0)
+      thor (>= 0.14, < 2.0)
+    json (1.8.0)
+    launchy (2.3.0)
+      addressable (~> 2.3)
+    mail (2.5.4)
+      mime-types (~> 1.16)
+      treetop (~> 1.4.8)
+    mime-types (1.25)
+    mini_portile (0.5.1)
+    multi_json (1.7.9)
+    nokogiri (1.6.0)
+      mini_portile (~> 0.5.0)
+    poltergeist (1.4.0)
+      capybara (~> 2.1.0)
+      cliver (~> 0.2.1)
+      multi_json (~> 1.0)
+      websocket-driver (>= 0.2.0)
+    polyglot (0.3.3)
+    rack (1.4.5)
+    rack-cache (1.2)
+      rack (>= 0.4)
+    rack-ssl (1.3.3)
+      rack
+    rack-test (0.6.2)
+      rack (>= 1.0)
+    rails (3.2.14)
+      actionmailer (= 3.2.14)
+      actionpack (= 3.2.14)
+      activerecord (= 3.2.14)
+      activeresource (= 3.2.14)
+      activesupport (= 3.2.14)
+      bundler (~> 1.0)
+      railties (= 3.2.14)
+    railties (3.2.14)
+      actionpack (= 3.2.14)
+      activesupport (= 3.2.14)
+      rack-ssl (~> 1.3.2)
+      rake (>= 0.8.7)
+      rdoc (~> 3.4)
+      thor (>= 0.14.6, < 2.0)
+    rake (10.1.0)
+    rdoc (3.12.2)
+      json (~> 1.4)
+    rspec-core (2.14.5)
+    rspec-expectations (2.14.2)
+      diff-lcs (>= 1.1.3, < 2.0)
+    rspec-mocks (2.14.3)
+    rspec-rails (2.14.0)
+      actionpack (>= 3.0)
+      activesupport (>= 3.0)
+      railties (>= 3.0)
+      rspec-core (~> 2.14.0)
+      rspec-expectations (~> 2.14.0)
+      rspec-mocks (~> 2.14.0)
+    sprockets (2.2.2)
+      hike (~> 1.2)
+      multi_json (~> 1.0)
+      rack (~> 1.0)
+      tilt (~> 1.1, != 1.3.0)
+    sqlite3 (1.3.8)
+    thor (0.18.1)
+    tilt (1.4.1)
+    treetop (1.4.15)
+      polyglot
+      polyglot (>= 0.3.1)
+    tzinfo (0.3.37)
+    websocket-driver (0.2.3)
+    xpath (2.0.0)
+      nokogiri (~> 1.3)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  appraisal
+  capybara
+  china_city!
+  coffee-rails
+  jquery-rails
+  launchy
+  poltergeist
+  rails (~> 3.2.0)
+  rspec-rails
+  sqlite3

+ 1 - 1
gemfiles/rails4.gemfile.lock

@@ -3,7 +3,7 @@ PATH
   specs:
     china_city (0.0.2)
       jquery-rails
-      rails (>= 3.1)
+      rails (>= 3.1.0)
 
 GEM
   remote: http://ruby.taobao.org/