versioncake 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad6b180d713a358c8dca71c1ee7d13763b33d61c
4
- data.tar.gz: 6b3a64e7b6af7ebf8839d27c8f427c0dcdf1030d
3
+ metadata.gz: ab0ef110750d5d6c29da0ac41b7f16c1419ebb80
4
+ data.tar.gz: 73d8a03d11d238326a7da5846cf43e3a3986a477
5
5
  SHA512:
6
- metadata.gz: c13e158b7af821d0099ac548bc20f723554b335383088b857e886b7483fea4cae52880087b9713745e7450fd160787323471e59169c953eb9d0ed6fc796a2248
7
- data.tar.gz: 9d371dcb0558ec42eeb179141c908e7c9a4b6c2831c6836e0063412772b5cfb9dc397db6f79af65e41db6f2d981c8be6eafb94f90d87439b2fe173b20c881fca
6
+ metadata.gz: 247f480c40da96d017f03226043292ec8846fa46a4e900934eb434d7df2c162139bae51a79e9cb2646cff4af9b4ee0693463549a46709855d46b763d592445bf
7
+ data.tar.gz: 869e0fc8d10302248570520a888e3fc7d5d082a4ddfbf4cf57cf0a5f9d7a02d508874097328a2cde360afa449a5ca3a3249db47a00d7f8194ae0170e57ed5f74
data/.travis.yml CHANGED
@@ -3,3 +3,12 @@ rvm:
3
3
  - 1.9.2
4
4
  - 1.9.3
5
5
  - ruby-head
6
+
7
+ gemfile:
8
+ - gemfiles/rails3.2.gemfile
9
+ - gemfiles/rails4.0.rc1.gemfile
10
+
11
+ matrix:
12
+ exclude:
13
+ - rvm: 1.9.2
14
+ gemfile: gemfiles/rails4.0.rc1.gemfile
data/Appraisals ADDED
@@ -0,0 +1,11 @@
1
+ appraise "rails3.2" do
2
+ gem('actionpack', '~> 3.2.0')
3
+ gem('activesupport', '~> 3.2.0')
4
+ gem('railties', '~> 3.2.0')
5
+ end
6
+
7
+ appraise "rails4.0.rc1" do
8
+ gem('actionpack', '4.0.0.rc1')
9
+ gem('activesupport', '4.0.0.rc1')
10
+ gem('railties', '4.0.0.rc1')
11
+ end
data/CHANGELOG.md CHANGED
@@ -1,14 +1,29 @@
1
1
  ## Unreleased Changes
2
2
 
3
- [Full Changelog](https://github.com/bwillis/versioncake/compare/v1.1...master)
3
+ [Full Changelog](https://github.com/bwillis/versioncake/compare/v1.2...master)
4
4
 
5
- * No significant changes.
5
+ ## 1.2.0 (May 26, 2013)
6
+
7
+ [Full Changelog](https://github.com/bwillis/versioncake/compare/v1.1...v1.2)
8
+
9
+ Bug Fixes:
10
+
11
+ * None
12
+
13
+ Enhancements:
14
+
15
+ * Support Rails 4
16
+ * Adding Rails version testing with [Appraisals](https://github.com/thoughtbot/appraisal)
17
+ * Added contribution guide
18
+
19
+ Deprecations:
20
+
21
+ * None
6
22
 
7
23
  ## 1.1.0 (May 18, 2013)
8
24
 
9
25
  [Full Changelog](https://github.com/bwillis/versioncake/compare/v1.0...v1.1)
10
26
 
11
-
12
27
  Bug Fixes:
13
28
 
14
29
  * HttpAcceptParameterStrategy will now accept multiple digit versions
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,18 @@
1
+ # Contributing
2
+
3
+ We really like when people not only discover something they want added/fixed/removed in Version Cake, but also when they do it themselves. Here are some steps to get you on your way to contributing to Version Cake:
4
+
5
+ * Fork the repo.
6
+ * Setup for developing: `bundle && rake` - make sure all tests are passing
7
+ * Add a test and make your change
8
+ * Make sure all tests are passing
9
+ * Add any additional notes to README.md or documentation
10
+ * Commit/push/submit pull request
11
+ * At this point someone will review, comment on your pull request and (hopefully) accept it very quickly
12
+
13
+ # Test Other Supported Rails versions
14
+
15
+ Version Cake supports multiple versions of Rails with Appriasals. These will be automatically tested against several ruby versions on CI. If you need to debug a problem, or want to be dilegent and run all of these do the following:
16
+
17
+ * Install the gems for all supported Rails versions: `bundle exec rake appraisal:install`
18
+ * Run all the tests for the supported Rails versions: `bundle exec rake appraisal test`
data/Gemfile CHANGED
@@ -1,15 +1,3 @@
1
- source "https://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
-
5
- gem 'rack'
6
- gem 'multi_json'
7
- gem 'tzinfo'
8
- gem 'coveralls', require: false
9
-
10
- group :development do
11
- # for travis-ci.org
12
- gem "rake"
13
- gem 'test-unit'
14
- gem 'mocha', '~> 0.12.0', :require => false
15
- end
data/Gemfile.lock CHANGED
@@ -1,64 +1,68 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- versioncake (1.1.0)
5
- actionpack (>= 3.0)
6
- activesupport (>= 3.0)
7
- railties (>= 3.0)
4
+ versioncake (1.2.0)
5
+ actionpack (>= 3.2)
6
+ activesupport (>= 3.2)
7
+ railties (>= 3.2)
8
+ tzinfo
8
9
 
9
10
  GEM
10
11
  remote: https://rubygems.org/
11
12
  specs:
12
- actionpack (3.2.8)
13
- activemodel (= 3.2.8)
14
- activesupport (= 3.2.8)
13
+ actionpack (3.2.13)
14
+ activemodel (= 3.2.13)
15
+ activesupport (= 3.2.13)
15
16
  builder (~> 3.0.0)
16
17
  erubis (~> 2.7.0)
17
18
  journey (~> 1.0.4)
18
- rack (~> 1.4.0)
19
+ rack (~> 1.4.5)
19
20
  rack-cache (~> 1.2)
20
21
  rack-test (~> 0.6.1)
21
- sprockets (~> 2.1.3)
22
- activemodel (3.2.8)
23
- activesupport (= 3.2.8)
22
+ sprockets (~> 2.2.1)
23
+ activemodel (3.2.13)
24
+ activesupport (= 3.2.13)
24
25
  builder (~> 3.0.0)
25
- activesupport (3.2.8)
26
- i18n (~> 0.6)
26
+ activesupport (3.2.13)
27
+ i18n (= 0.6.1)
27
28
  multi_json (~> 1.0)
28
- builder (3.0.0)
29
+ appraisal (0.5.2)
30
+ bundler
31
+ rake
32
+ builder (3.0.4)
29
33
  colorize (0.5.8)
30
- coveralls (0.6.3)
34
+ coveralls (0.6.7)
31
35
  colorize
32
36
  multi_json (~> 1.3)
33
37
  rest-client
34
38
  simplecov (>= 0.7)
35
39
  thor
36
40
  erubis (2.7.0)
37
- hike (1.2.1)
41
+ hike (1.2.2)
38
42
  i18n (0.6.1)
39
43
  journey (1.0.4)
40
- json (1.7.5)
44
+ json (1.8.0)
41
45
  metaclass (0.0.1)
42
- mime-types (1.21)
43
- mocha (0.12.3)
46
+ mime-types (1.23)
47
+ mocha (0.14.0)
44
48
  metaclass (~> 0.0.1)
45
- multi_json (1.3.6)
46
- rack (1.4.1)
49
+ multi_json (1.7.3)
50
+ rack (1.4.5)
47
51
  rack-cache (1.2)
48
52
  rack (>= 0.4)
49
- rack-ssl (1.3.2)
53
+ rack-ssl (1.3.3)
50
54
  rack
51
- rack-test (0.6.1)
55
+ rack-test (0.6.2)
52
56
  rack (>= 1.0)
53
- railties (3.2.8)
54
- actionpack (= 3.2.8)
55
- activesupport (= 3.2.8)
57
+ railties (3.2.13)
58
+ actionpack (= 3.2.13)
59
+ activesupport (= 3.2.13)
56
60
  rack-ssl (~> 1.3.2)
57
61
  rake (>= 0.8.7)
58
62
  rdoc (~> 3.4)
59
63
  thor (>= 0.14.6, < 2.0)
60
- rake (0.9.2.2)
61
- rdoc (3.12)
64
+ rake (10.0.4)
65
+ rdoc (3.12.2)
62
66
  json (~> 1.4)
63
67
  rest-client (1.6.7)
64
68
  mime-types (>= 1.16)
@@ -66,24 +70,23 @@ GEM
66
70
  multi_json (~> 1.0)
67
71
  simplecov-html (~> 0.7.1)
68
72
  simplecov-html (0.7.1)
69
- sprockets (2.1.3)
73
+ sprockets (2.2.2)
70
74
  hike (~> 1.2)
75
+ multi_json (~> 1.0)
71
76
  rack (~> 1.0)
72
77
  tilt (~> 1.1, != 1.3.0)
73
- test-unit (2.5.2)
74
- thor (0.16.0)
75
- tilt (1.3.3)
76
- tzinfo (0.3.33)
78
+ test-unit (2.5.5)
79
+ thor (0.18.1)
80
+ tilt (1.4.1)
81
+ tzinfo (0.3.37)
77
82
 
78
83
  PLATFORMS
79
84
  ruby
80
85
 
81
86
  DEPENDENCIES
87
+ appraisal
82
88
  coveralls
83
- mocha (~> 0.12.0)
84
- multi_json
85
- rack
89
+ mocha
86
90
  rake
87
91
  test-unit
88
- tzinfo
89
92
  versioncake!
data/README.md CHANGED
@@ -31,6 +31,10 @@ Check out https://github.com/bwillis/350-rest-api-versioning for a comparison of
31
31
  gem install versioncake
32
32
  ```
33
33
 
34
+ ### Requirements
35
+
36
+ Rails >= v3.2 is supported in versioncake =< v1.1. Rails 4 support is included versioncake >= v1.2.
37
+
34
38
  ## Example
35
39
 
36
40
  In this simple example we will outline the code that is introduced to support a change in a version.
data/Rakefile CHANGED
@@ -5,6 +5,7 @@ require 'bundler'
5
5
  Bundler.setup
6
6
 
7
7
  require 'rake/testtask'
8
+ require 'appraisal'
8
9
 
9
10
  Bundler::GemHelper.install_tasks
10
11
 
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "actionpack", "~> 3.2.0"
6
+ gem "activesupport", "~> 3.2.0"
7
+ gem "railties", "~> 3.2.0"
8
+
9
+ gemspec :path=>"../"
@@ -0,0 +1,95 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ versioncake (1.2.0)
5
+ actionpack (>= 3.2)
6
+ activesupport (>= 3.2)
7
+ railties (>= 3.2)
8
+ tzinfo
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ actionpack (3.2.13)
14
+ activemodel (= 3.2.13)
15
+ activesupport (= 3.2.13)
16
+ builder (~> 3.0.0)
17
+ erubis (~> 2.7.0)
18
+ journey (~> 1.0.4)
19
+ rack (~> 1.4.5)
20
+ rack-cache (~> 1.2)
21
+ rack-test (~> 0.6.1)
22
+ sprockets (~> 2.2.1)
23
+ activemodel (3.2.13)
24
+ activesupport (= 3.2.13)
25
+ builder (~> 3.0.0)
26
+ activesupport (3.2.13)
27
+ i18n (= 0.6.1)
28
+ multi_json (~> 1.0)
29
+ appraisal (0.5.2)
30
+ bundler
31
+ rake
32
+ builder (3.0.4)
33
+ colorize (0.5.8)
34
+ coveralls (0.6.7)
35
+ colorize
36
+ multi_json (~> 1.3)
37
+ rest-client
38
+ simplecov (>= 0.7)
39
+ thor
40
+ erubis (2.7.0)
41
+ hike (1.2.2)
42
+ i18n (0.6.1)
43
+ journey (1.0.4)
44
+ json (1.8.0)
45
+ metaclass (0.0.1)
46
+ mime-types (1.23)
47
+ mocha (0.14.0)
48
+ metaclass (~> 0.0.1)
49
+ multi_json (1.7.3)
50
+ rack (1.4.5)
51
+ rack-cache (1.2)
52
+ rack (>= 0.4)
53
+ rack-ssl (1.3.3)
54
+ rack
55
+ rack-test (0.6.2)
56
+ rack (>= 1.0)
57
+ railties (3.2.13)
58
+ actionpack (= 3.2.13)
59
+ activesupport (= 3.2.13)
60
+ rack-ssl (~> 1.3.2)
61
+ rake (>= 0.8.7)
62
+ rdoc (~> 3.4)
63
+ thor (>= 0.14.6, < 2.0)
64
+ rake (10.0.4)
65
+ rdoc (3.12.2)
66
+ json (~> 1.4)
67
+ rest-client (1.6.7)
68
+ mime-types (>= 1.16)
69
+ simplecov (0.7.1)
70
+ multi_json (~> 1.0)
71
+ simplecov-html (~> 0.7.1)
72
+ simplecov-html (0.7.1)
73
+ sprockets (2.2.2)
74
+ hike (~> 1.2)
75
+ multi_json (~> 1.0)
76
+ rack (~> 1.0)
77
+ tilt (~> 1.1, != 1.3.0)
78
+ test-unit (2.5.5)
79
+ thor (0.18.1)
80
+ tilt (1.4.1)
81
+ tzinfo (0.3.37)
82
+
83
+ PLATFORMS
84
+ ruby
85
+
86
+ DEPENDENCIES
87
+ actionpack (~> 3.2.0)
88
+ activesupport (~> 3.2.0)
89
+ appraisal
90
+ coveralls
91
+ mocha
92
+ railties (~> 3.2.0)
93
+ rake
94
+ test-unit
95
+ versioncake!
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "actionpack", "4.0.0.rc1"
6
+ gem "activesupport", "4.0.0.rc1"
7
+ gem "railties", "4.0.0.rc1"
8
+
9
+ gemspec :path=>"../"
@@ -0,0 +1,78 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ versioncake (1.2.0)
5
+ actionpack (>= 3.2)
6
+ activesupport (>= 3.2)
7
+ railties (>= 3.2)
8
+ tzinfo
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ actionpack (4.0.0.rc1)
14
+ activesupport (= 4.0.0.rc1)
15
+ builder (~> 3.1.0)
16
+ erubis (~> 2.7.0)
17
+ rack (~> 1.5.2)
18
+ rack-test (~> 0.6.2)
19
+ activesupport (4.0.0.rc1)
20
+ i18n (~> 0.6, >= 0.6.4)
21
+ minitest (~> 4.2)
22
+ multi_json (~> 1.3)
23
+ thread_safe (~> 0.1)
24
+ tzinfo (~> 0.3.37)
25
+ appraisal (0.5.2)
26
+ bundler
27
+ rake
28
+ atomic (1.1.9)
29
+ builder (3.1.4)
30
+ colorize (0.5.8)
31
+ coveralls (0.6.7)
32
+ colorize
33
+ multi_json (~> 1.3)
34
+ rest-client
35
+ simplecov (>= 0.7)
36
+ thor
37
+ erubis (2.7.0)
38
+ i18n (0.6.4)
39
+ metaclass (0.0.1)
40
+ mime-types (1.23)
41
+ minitest (4.7.4)
42
+ mocha (0.14.0)
43
+ metaclass (~> 0.0.1)
44
+ multi_json (1.7.3)
45
+ rack (1.5.2)
46
+ rack-test (0.6.2)
47
+ rack (>= 1.0)
48
+ railties (4.0.0.rc1)
49
+ actionpack (= 4.0.0.rc1)
50
+ activesupport (= 4.0.0.rc1)
51
+ rake (>= 0.8.7)
52
+ thor (>= 0.18.1, < 2.0)
53
+ rake (10.0.4)
54
+ rest-client (1.6.7)
55
+ mime-types (>= 1.16)
56
+ simplecov (0.7.1)
57
+ multi_json (~> 1.0)
58
+ simplecov-html (~> 0.7.1)
59
+ simplecov-html (0.7.1)
60
+ test-unit (2.5.5)
61
+ thor (0.18.1)
62
+ thread_safe (0.1.0)
63
+ atomic
64
+ tzinfo (0.3.37)
65
+
66
+ PLATFORMS
67
+ ruby
68
+
69
+ DEPENDENCIES
70
+ actionpack (= 4.0.0.rc1)
71
+ activesupport (= 4.0.0.rc1)
72
+ appraisal
73
+ coveralls
74
+ mocha
75
+ railties (= 4.0.0.rc1)
76
+ rake
77
+ test-unit
78
+ versioncake!
@@ -2,7 +2,7 @@ module VersionCake
2
2
  class HttpAcceptParameterStrategy < ExtractionStrategy
3
3
 
4
4
  def execute(request)
5
- if request.headers.has_key?("HTTP_ACCEPT") &&
5
+ if request.headers.key?("HTTP_ACCEPT") &&
6
6
  match = request.headers["HTTP_ACCEPT"].match(/#{@@version_string}=([0-9]+)/)
7
7
  match[1]
8
8
  end
@@ -2,7 +2,7 @@ module VersionCake
2
2
  class HttpHeaderStrategy < ExtractionStrategy
3
3
 
4
4
  def execute(request)
5
- if request.headers.has_key? "HTTP_X_#{@@version_string.upcase}"
5
+ if request.headers.key? "HTTP_X_#{@@version_string.upcase}"
6
6
  request.headers["HTTP_X_#{@@version_string.upcase}"]
7
7
  end
8
8
  end
@@ -2,7 +2,7 @@ module VersionCake
2
2
  class QueryParameterStrategy < ExtractionStrategy
3
3
 
4
4
  def execute(request)
5
- if request.query_parameters.has_key? @@version_string.to_sym
5
+ if request.query_parameters.key? @@version_string.to_sym
6
6
  request.query_parameters[@@version_string.to_sym]
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module VersionCake
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -6,6 +6,10 @@ Bundler.require :default, Rails.env
6
6
 
7
7
  module RendersTest
8
8
  class Application < Rails::Application
9
+
10
+ config.secret_key_base = "secret"
11
+ config.eager_load = false
12
+
9
13
  config.active_support.deprecation = :stderr
10
14
  config.view_versions = (1..3)
11
15
  config.view_version_extraction_strategy = :http_header
@@ -47,7 +47,7 @@ class RendersControllerTest < ActionController::TestCase
47
47
 
48
48
  test "requested version is blank when the version is not set" do
49
49
  get :index
50
- assert_blank @controller.requested_version
50
+ assert @controller.requested_version.blank?
51
51
  end
52
52
 
53
53
  test "set_version can be called to override the requested version" do
@@ -56,7 +56,7 @@ class RendersControllerTest < ActionController::TestCase
56
56
  end
57
57
  end
58
58
 
59
- class ParameterStragegyTest < ActionController::TestCase
59
+ class ParameterStrategyTest < ActionController::TestCase
60
60
  tests RendersController
61
61
 
62
62
  setup do
data/test/test_helper.rb CHANGED
@@ -11,7 +11,7 @@ ENV["RAILS_ENV"] = 'test'
11
11
  require 'rails/test_help'
12
12
  require 'test/unit'
13
13
 
14
- require "mocha"
14
+ require 'mocha/setup'
15
15
 
16
16
  require File.expand_path('../config/application', __FILE__)
17
17
 
@@ -27,14 +27,14 @@ class ConfigurationTest < ActiveSupport::TestCase
27
27
  test "supports_version? is only true for given supported versions" do
28
28
  VersionCake::Configuration.supported_version_numbers = (1..7)
29
29
  VersionCake::Configuration.supported_version_numbers.each do |supported_version|
30
- assert_true VersionCake::Configuration.supports_version? supported_version
30
+ assert VersionCake::Configuration.supports_version? supported_version
31
31
  end
32
32
  end
33
33
 
34
34
  test "supports_version? is not true for other versions" do
35
35
  VersionCake::Configuration.supported_version_numbers = (1..7)
36
36
  [-2,-1,0,8,9,10].each do |unsupported_version|
37
- assert_false VersionCake::Configuration.supports_version? unsupported_version
37
+ assert !VersionCake::Configuration.supports_version?(unsupported_version)
38
38
  end
39
39
  end
40
40
 
@@ -31,7 +31,7 @@ class VersionedRequestTest < ActiveSupport::TestCase
31
31
  test "has a method to determine if requesting the latest version" do
32
32
  VersionCake::VersionedRequest.any_instance.stubs(:apply_strategies => nil)
33
33
  versioned_request = VersionCake::VersionedRequest.new(stub())
34
- assert_true versioned_request.is_latest_version
34
+ assert versioned_request.is_latest_version
35
35
  end
36
36
 
37
37
  test "has a method to retrieve the extracted version" do
data/versioncake.gemspec CHANGED
@@ -16,11 +16,15 @@ Gem::Specification.new do |s|
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  s.require_paths = ["lib"]
18
18
 
19
- s.add_dependency('actionpack', '>= 3.0')
20
- s.add_dependency('activesupport', '>= 3.0')
21
- s.add_dependency('railties', '>= 3.0')
19
+ s.add_dependency('actionpack', '>= 3.2')
20
+ s.add_dependency('activesupport', '>= 3.2')
21
+ s.add_dependency('railties', '>= 3.2')
22
+ s.add_dependency('tzinfo')
22
23
 
23
- s.add_development_dependency "test-unit"
24
- s.add_development_dependency "mocha"
24
+ s.add_development_dependency 'test-unit'
25
+ s.add_development_dependency 'mocha'
26
+ s.add_development_dependency 'appraisal'
27
+ s.add_development_dependency 'coveralls'
28
+ s.add_development_dependency 'rake'
25
29
 
26
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: versioncake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Jones
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-19 00:00:00.000000000 Z
12
+ date: 2013-05-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -17,42 +17,56 @@ dependencies:
17
17
  requirements:
18
18
  - - '>='
19
19
  - !ruby/object:Gem::Version
20
- version: '3.0'
20
+ version: '3.2'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '>='
26
26
  - !ruby/object:Gem::Version
27
- version: '3.0'
27
+ version: '3.2'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: activesupport
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '>='
33
33
  - !ruby/object:Gem::Version
34
- version: '3.0'
34
+ version: '3.2'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '>='
40
40
  - !ruby/object:Gem::Version
41
- version: '3.0'
41
+ version: '3.2'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: railties
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '>='
47
47
  - !ruby/object:Gem::Version
48
- version: '3.0'
48
+ version: '3.2'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '>='
54
54
  - !ruby/object:Gem::Version
55
- version: '3.0'
55
+ version: '3.2'
56
+ - !ruby/object:Gem::Dependency
57
+ name: tzinfo
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
56
70
  - !ruby/object:Gem::Dependency
57
71
  name: test-unit
58
72
  requirement: !ruby/object:Gem::Requirement
@@ -81,6 +95,48 @@ dependencies:
81
95
  - - '>='
82
96
  - !ruby/object:Gem::Version
83
97
  version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: appraisal
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - '>='
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - '>='
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: coveralls
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - '>='
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: rake
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - '>='
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
84
140
  description: Render versioned views automagically based on the clients requested version.
85
141
  email:
86
142
  - jim.jones1@gmail.com
@@ -91,11 +147,17 @@ extra_rdoc_files: []
91
147
  files:
92
148
  - .gitignore
93
149
  - .travis.yml
150
+ - Appraisals
94
151
  - CHANGELOG.md
152
+ - CONTRIBUTING.md
95
153
  - Gemfile
96
154
  - Gemfile.lock
97
155
  - README.md
98
156
  - Rakefile
157
+ - gemfiles/rails3.2.gemfile
158
+ - gemfiles/rails3.2.gemfile.lock
159
+ - gemfiles/rails4.0.rc1.gemfile
160
+ - gemfiles/rails4.0.rc1.gemfile.lock
99
161
  - images/versioncake-logo450x100.png
100
162
  - lib/versioncake.rb
101
163
  - lib/versioncake/configuration.rb