api_pagination_headers 2.0.0 → 2.0.1

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: 18140f8cc85e119d447bed481450005ae984883a
4
- data.tar.gz: df38764d04880176f3b71e21b388725d0a2587da
3
+ metadata.gz: 71e7a44f98f5f3f27c7f0631163945f1865fdcc8
4
+ data.tar.gz: 3149cda9b4c6c12493b9a3f03c0ae2a545964d41
5
5
  SHA512:
6
- metadata.gz: 207a5bbda68f0525df3a006f728285317b40b4a23a4d8a6cf18a179b5245131a646791532fc2e0d3da643aa7e4512ac9533401a8b18ae07458e638278c9c8db7
7
- data.tar.gz: bcec9e9f6a401184c3b4b2d8d48fcdd8f8ddfc10137257b4f5fd04a272bed91a5bdc0c8ca8ea66e29d2ad0363b512e13ae45ef0f809251a1027d0299c0394bc6
6
+ metadata.gz: ee1d49d47f3ea87e6ccebfb0db2742a67530a10b55de1e7625dda439cf2ce53bb5a560ef0528a1ad89792faf27aa6ce9c0ff7a2517a630de5fabb2ba51d1120d
7
+ data.tar.gz: 1c0a1ff5fdd4fbe9686190c0b84588e194ea1164a2f2907e4727e4dd4ceda79811f025f35fd5e8e661ac2a3f38208bc182fe8569a575aa7dfe7d82cc14e9de6c
data/Gemfile.lock CHANGED
@@ -2,103 +2,108 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  api_pagination_headers (2.0.0)
5
- rails (~> 4.0)
5
+ rails (~> 4.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionmailer (4.0.4)
11
- actionpack (= 4.0.4)
12
- mail (~> 2.5.4)
13
- actionpack (4.0.4)
14
- activesupport (= 4.0.4)
15
- builder (~> 3.1.0)
16
- erubis (~> 2.7.0)
10
+ actionmailer (4.1.6)
11
+ actionpack (= 4.1.6)
12
+ actionview (= 4.1.6)
13
+ mail (~> 2.5, >= 2.5.4)
14
+ actionpack (4.1.6)
15
+ actionview (= 4.1.6)
16
+ activesupport (= 4.1.6)
17
17
  rack (~> 1.5.2)
18
18
  rack-test (~> 0.6.2)
19
- activemodel (4.0.4)
20
- activesupport (= 4.0.4)
21
- builder (~> 3.1.0)
22
- activerecord (4.0.4)
23
- activemodel (= 4.0.4)
24
- activerecord-deprecated_finders (~> 1.0.2)
25
- activesupport (= 4.0.4)
26
- arel (~> 4.0.0)
27
- activerecord-deprecated_finders (1.0.3)
28
- activesupport (4.0.4)
19
+ actionview (4.1.6)
20
+ activesupport (= 4.1.6)
21
+ builder (~> 3.1)
22
+ erubis (~> 2.7.0)
23
+ activemodel (4.1.6)
24
+ activesupport (= 4.1.6)
25
+ builder (~> 3.1)
26
+ activerecord (4.1.6)
27
+ activemodel (= 4.1.6)
28
+ activesupport (= 4.1.6)
29
+ arel (~> 5.0.0)
30
+ activesupport (4.1.6)
29
31
  i18n (~> 0.6, >= 0.6.9)
30
- minitest (~> 4.2)
31
- multi_json (~> 1.3)
32
+ json (~> 1.7, >= 1.7.7)
33
+ minitest (~> 5.1)
32
34
  thread_safe (~> 0.1)
33
- tzinfo (~> 0.3.37)
34
- arel (4.0.2)
35
- builder (3.1.4)
35
+ tzinfo (~> 1.1)
36
+ arel (5.0.1.20140414130214)
37
+ builder (3.2.2)
36
38
  diff-lcs (1.2.5)
37
39
  erubis (2.7.0)
38
- factory_girl (4.4.0)
40
+ factory_girl (4.5.0)
39
41
  activesupport (>= 3.0.0)
40
- factory_girl_rails (4.4.1)
41
- factory_girl (~> 4.4.0)
42
+ factory_girl_rails (4.5.0)
43
+ factory_girl (~> 4.5.0)
42
44
  railties (>= 3.0.0)
43
45
  hike (1.2.3)
44
- i18n (0.6.9)
46
+ i18n (0.6.11)
47
+ json (1.8.1)
45
48
  kaminari (0.16.1)
46
49
  actionpack (>= 3.0.0)
47
50
  activesupport (>= 3.0.0)
48
- mail (2.5.4)
49
- mime-types (~> 1.16)
50
- treetop (~> 1.4.8)
51
- mime-types (1.25.1)
52
- minitest (4.7.5)
53
- multi_json (1.9.2)
54
- polyglot (0.3.5)
51
+ mail (2.6.1)
52
+ mime-types (>= 1.16, < 3)
53
+ mime-types (2.4.3)
54
+ minitest (5.4.2)
55
+ multi_json (1.10.1)
55
56
  rack (1.5.2)
56
57
  rack-test (0.6.2)
57
58
  rack (>= 1.0)
58
- rails (4.0.4)
59
- actionmailer (= 4.0.4)
60
- actionpack (= 4.0.4)
61
- activerecord (= 4.0.4)
62
- activesupport (= 4.0.4)
59
+ rails (4.1.6)
60
+ actionmailer (= 4.1.6)
61
+ actionpack (= 4.1.6)
62
+ actionview (= 4.1.6)
63
+ activemodel (= 4.1.6)
64
+ activerecord (= 4.1.6)
65
+ activesupport (= 4.1.6)
63
66
  bundler (>= 1.3.0, < 2.0)
64
- railties (= 4.0.4)
65
- sprockets-rails (~> 2.0.0)
66
- railties (4.0.4)
67
- actionpack (= 4.0.4)
68
- activesupport (= 4.0.4)
67
+ railties (= 4.1.6)
68
+ sprockets-rails (~> 2.0)
69
+ railties (4.1.6)
70
+ actionpack (= 4.1.6)
71
+ activesupport (= 4.1.6)
69
72
  rake (>= 0.8.7)
70
73
  thor (>= 0.18.1, < 2.0)
71
- rake (10.2.2)
72
- rspec-core (2.14.8)
73
- rspec-expectations (2.14.5)
74
- diff-lcs (>= 1.1.3, < 2.0)
75
- rspec-mocks (2.14.6)
76
- rspec-rails (2.14.2)
74
+ rake (10.3.2)
75
+ rspec-core (3.1.7)
76
+ rspec-support (~> 3.1.0)
77
+ rspec-expectations (3.1.2)
78
+ diff-lcs (>= 1.2.0, < 2.0)
79
+ rspec-support (~> 3.1.0)
80
+ rspec-mocks (3.1.3)
81
+ rspec-support (~> 3.1.0)
82
+ rspec-rails (3.1.0)
77
83
  actionpack (>= 3.0)
78
- activemodel (>= 3.0)
79
84
  activesupport (>= 3.0)
80
85
  railties (>= 3.0)
81
- rspec-core (~> 2.14.0)
82
- rspec-expectations (~> 2.14.0)
83
- rspec-mocks (~> 2.14.0)
86
+ rspec-core (~> 3.1.0)
87
+ rspec-expectations (~> 3.1.0)
88
+ rspec-mocks (~> 3.1.0)
89
+ rspec-support (~> 3.1.0)
90
+ rspec-support (3.1.2)
84
91
  sprockets (2.12.2)
85
92
  hike (~> 1.2)
86
93
  multi_json (~> 1.0)
87
94
  rack (~> 1.0)
88
95
  tilt (~> 1.1, != 1.3.0)
89
- sprockets-rails (2.0.1)
96
+ sprockets-rails (2.2.0)
90
97
  actionpack (>= 3.0)
91
98
  activesupport (>= 3.0)
92
- sprockets (~> 2.8)
99
+ sprockets (>= 2.8, < 4.0)
93
100
  sqlite3 (1.3.9)
94
101
  thor (0.19.1)
95
- thread_safe (0.3.2)
102
+ thread_safe (0.3.4)
96
103
  tilt (1.4.1)
97
- treetop (1.4.15)
98
- polyglot
99
- polyglot (>= 0.3.1)
100
- tzinfo (0.3.39)
101
- will_paginate (3.0.5)
104
+ tzinfo (1.2.2)
105
+ thread_safe (~> 0.1)
106
+ will_paginate (3.0.7)
102
107
 
103
108
  PLATFORMS
104
109
  ruby
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.files = `git ls-files`.split($/)
16
16
  s.test_files = `git ls-files -- {spec}/*`.split("\n")
17
17
 
18
- s.add_dependency 'rails', '~> 4.0'
18
+ s.add_dependency 'rails', '~> 4.1'
19
19
 
20
20
  s.add_development_dependency 'factory_girl_rails'
21
21
  s.add_development_dependency 'sqlite3'
@@ -1,3 +1,3 @@
1
1
  module ApiPaginationHeaders
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe CommentsController, '#index' do
3
+ describe CommentsController, '#index', type: :controller do
4
4
  context 'when model has per_page attribute' do
5
5
  it 'overrides WillPaginate default' do
6
6
  FactoryGirl.create_list(:comment, 4)
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- describe PostsController, '#index' do
3
+ describe PostsController, '#index', type: :controller do
4
4
  context 'when one page' do
5
5
  before { FactoryGirl.create(:post) }
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_pagination_headers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Käll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: '4.1'
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: '4.0'
26
+ version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: factory_girl_rails
29
29
  requirement: !ruby/object:Gem::Requirement