api_versioning 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ describe "Posts Integration" do
4
4
 
5
5
  before do
6
6
  Post.destroy_all
7
- @posts = create_list(:post, 10)
7
+ @posts = FactoryGirl.create_list(:post, 10)
8
8
  end
9
9
 
10
10
  after do
@@ -1,5 +1,9 @@
1
- class HelperTest < MiniTest::Spec
1
+ class HelperTest < ActionView::TestCase
2
+
2
3
  include ActiveSupport::Testing::SetupAndTeardown
3
4
  include ActionView::TestCase::Behavior
5
+ extend MiniTest::Spec::DSL
6
+
4
7
  register_spec_type(/helper$/i, self)
8
+
5
9
  end
@@ -1,4 +1,4 @@
1
- class IntegrationTest < MiniTest::Spec
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
@@ -1,3 +1,3 @@
1
- class MiniTest::Unit::TestCase
1
+ class ActiveSupport::TestCase
2
2
  include FactoryGirl::Syntax::Methods
3
3
  end
@@ -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
-
@@ -4,7 +4,7 @@ describe "API Versioning" do
4
4
 
5
5
  before do
6
6
  Post.destroy_all
7
- @posts = create_list(:post, 10)
7
+ @posts = FactoryGirl.create_list(:post, 10)
8
8
  @api = Api::PostsApi.new
9
9
  end
10
10
 
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.8
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-03-31 00:00:00.000000000 Z
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: 3.2.9
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: 3.2.9
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-rails
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: turn
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
- - MIT-LICENSE
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: []
@@ -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.