filternator 0.0.5 → 0.0.6

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: 52ce40523ea97b6a16d39e4b08ca04089f38a3bd
4
- data.tar.gz: 595befa096721d0f3b486214c62fa20e0470743e
3
+ metadata.gz: a56756f707bdac50995d1a52643a5a75b2cdd428
4
+ data.tar.gz: 4309f83225955ae2feb4d588b8f638a29e49ab72
5
5
  SHA512:
6
- metadata.gz: 3dad7d77ce70d27dea5cde49b4c24b9f0586b58a09ab5518508111868dd87abaac8ecdb3cb04d62e679a889bbde2b12a27e5b0cf4d51d424641fefd73257d019
7
- data.tar.gz: 8ef7c4e84e9b96116a9bc5739544b2cd4efd6bcc04abe26810c28193379cd744c9d415ee80d65a2ff5af28e2ccf1001e6910e8ce66d811ae1c6b0ed0c7cb79ad
6
+ metadata.gz: 0ec04d5490e1bcc782c5cd98a19e75cb635849a13030f9465e2414251159ebcbf3e3377f8bfed4f30ba5e74a312af0ff26a28ec50044b163cf81e3554dc1a5fa
7
+ data.tar.gz: ce9c537b04892a06e0b8c216f7951542e472e7a212d6636efa5b4df3494a92b0cd66055c3b55fd789a42244bf08a94e4a8fd515b6781f860c6a04bdf558867ab
data/.travis.yml CHANGED
@@ -1,4 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1.1
3
+ - 2.1.3
data/README.md CHANGED
@@ -79,7 +79,7 @@ expect(response.body).to eq({
79
79
  email: "jennifer@example.org"
80
80
  # etc...
81
81
  }
82
- },
82
+ ],
83
83
  meta: {
84
84
  filters: ["all", "paying", "beta_users"],
85
85
  applied_filter: "all",
@@ -37,7 +37,7 @@ module Filternator
37
37
  end
38
38
 
39
39
  def paginated_scope
40
- filtered_scope.paginate(page: params[:page].presence)
40
+ filtered_scope.paginate(page: params[:page].presence, per_page: params[:per_page].presence)
41
41
  end
42
42
 
43
43
  def filter
@@ -1,3 +1,3 @@
1
1
  module Filternator
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filternator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - iain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-13 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -141,3 +141,4 @@ specification_version: 4
141
141
  summary: A very basic gem for generating JSON responses for collections.
142
142
  test_files:
143
143
  - spec/integration_spec.rb
144
+ has_rdoc: