api_versioning 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/Rakefile +1 -1
- data/app/controllers/api_versioning/action_controller_extension.rb +1 -1
- data/lib/api_versioning/version.rb +1 -1
- data/test/dummy/app/models/post.rb +1 -1
- data/test/dummy/config/application.rb +3 -1
- data/test/dummy/config/environments/development.rb +2 -2
- data/test/dummy/config/environments/test.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1713 -0
- data/test/integration/posts_integration_test.rb +1 -1
- data/test/support/helper_test.rb +5 -1
- data/test/support/integration_test.rb +3 -1
- data/test/support/unit_test.rb +1 -1
- data/test/test_helper.rb +2 -4
- data/test/unit/api_versioning_test.rb +1 -1
- metadata +9 -8
- data/MIT-LICENSE +0 -20
data/test/support/helper_test.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
class IntegrationTest <
|
1
|
+
class IntegrationTest < ActionDispatch::IntegrationTest
|
2
2
|
|
3
3
|
include Rack::Test::Methods
|
4
4
|
include FactoryGirl::Syntax::Methods
|
@@ -9,6 +9,8 @@ class IntegrationTest < MiniTest::Spec
|
|
9
9
|
DUMMY_APP
|
10
10
|
end
|
11
11
|
|
12
|
+
extend MiniTest::Spec::DSL
|
13
|
+
|
12
14
|
register_spec_type(/integration$/i, self)
|
13
15
|
|
14
16
|
end
|
data/test/support/unit_test.rb
CHANGED
data/test/test_helper.rb
CHANGED
@@ -3,6 +3,8 @@ ENV["RAILS_ENV"] = "test"
|
|
3
3
|
|
4
4
|
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
5
|
require "rails/test_help"
|
6
|
+
require 'minitest/spec'
|
7
|
+
require 'minitest/autorun'
|
6
8
|
require 'factory_girl'
|
7
9
|
require 'forgery'
|
8
10
|
require 'jbuilder'
|
@@ -19,7 +21,3 @@ end
|
|
19
21
|
DUMMY_APP = Rack::Builder.parse_file('test/dummy/config.ru').first
|
20
22
|
|
21
23
|
FactoryGirl.find_definitions
|
22
|
-
|
23
|
-
Turn.config.format = :pretty
|
24
|
-
Turn.config.natural = true
|
25
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_versioning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Craig Sullivan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 4.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jbuilder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: minitest
|
70
|
+
name: minitest
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '>='
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: minitest-spec-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '>='
|
@@ -134,7 +134,7 @@ files:
|
|
134
134
|
- lib/api_versioning/engine.rb
|
135
135
|
- lib/api_versioning/version.rb
|
136
136
|
- lib/api_versioning.rb
|
137
|
-
-
|
137
|
+
- LICENSE
|
138
138
|
- Rakefile
|
139
139
|
- README.md
|
140
140
|
- test/dummy/app/assets/javascripts/application.js
|
@@ -182,7 +182,8 @@ files:
|
|
182
182
|
- test/test_helper.rb
|
183
183
|
- test/unit/api_versioning_test.rb
|
184
184
|
homepage: http://launch.ly
|
185
|
-
licenses:
|
185
|
+
licenses:
|
186
|
+
- MIT
|
186
187
|
metadata: {}
|
187
188
|
post_install_message:
|
188
189
|
rdoc_options: []
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright 2012 YOURNAME
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|