wor-paginate 0.1.0 → 0.1.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: d84187f4c6aefe0057da92521b232708da407df2
4
- data.tar.gz: af3d77d7ed94db88542c07ad90649207dacbe804
3
+ metadata.gz: fc3c1105ca6bf52848e18804dde6c665c14414de
4
+ data.tar.gz: 237584e7f1540532825976c8977ffbee9e278e58
5
5
  SHA512:
6
- metadata.gz: 9b9a8636267edd5501e0f9f685c08a3d9ccf1342facdb0b6cc9d6beb7da7e0e0daf75acd248f32736ad841eabc754a4f5d7259d029ca20f7a0f3be7cc2f08d0b
7
- data.tar.gz: 264eedc255fbaab4cbc28e4d9911eb3dd2713469ce82bdcdd7f1ca7a4fdd6d4157e327ae95eed69283ff2f7ba57171d2829e0628612e93872bf3831a8b604370
6
+ metadata.gz: a6dba712cc92bea9cc51787df2964156edacdc386bd17aa33b9a7bbbab4d8426ced25c9d65f10af17b85b000416600fc3f31b55fe2b47bf85328f9a45e2cea90
7
+ data.tar.gz: 04951425f5913d23c079cda1e366d118687fd3339ad7a007dbd3d485ab32b42c7ce792a2181d35b070993d75db7c917de77a79b26faca90503530d64be5e7f35
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Wor::Paginate
2
- [![Build Status](https://travis-ci.org/Wolox/wor-requests.svg)](https://travis-ci.org/Wolox/wor-paginate)
2
+ [![Build Status](https://travis-ci.org/Wolox/wor-paginate.svg?branch=master)](https://travis-ci.org/Wolox/wor-paginate)
3
3
  [![Gem Version](https://badge.fury.io/rb/wor-paginate.svg)](https://badge.fury.io/rb/wor-paginate)
4
4
  [![Dependency Status](https://gemnasium.com/badges/github.com/Wolox/wor-paginate.svg)](https://gemnasium.com/github.com/Wolox/wor-paginate)
5
5
  [![Code Climate](https://codeclimate.com/github/Wolox/wor-paginate/badges/gpa.svg)](https://codeclimate.com/github/Wolox/wor-paginate)
@@ -3,7 +3,7 @@ Wor::Paginate.configure do |config|
3
3
  # config.default_page = 1
4
4
 
5
5
  config.page_param = :page
6
- config.per_page_param = :per
6
+ config.per_page_param = :limit
7
7
 
8
8
  # In case you want to use other format for your response, you can override our formatter here
9
9
  # You can extend from Wor::Paginate::Formatter and override the 'format' method
@@ -5,7 +5,7 @@ module Wor
5
5
  default_per_page: 25,
6
6
  default_page: 1,
7
7
  page_param: :page,
8
- per_page_param: :per_page,
8
+ per_page_param: :limit,
9
9
  formatter: Wor::Paginate::Formatter,
10
10
  max_limit: 50
11
11
  }.freeze
@@ -1,5 +1,5 @@
1
1
  module Wor
2
2
  module Paginate
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '0.1.1'.freeze
4
4
  end
5
5
  end
@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ['lib']
20
20
 
21
21
 
22
- s.add_dependency 'railties', '>= 4.1.0', '<= 5.1'
22
+ s.add_dependency 'railties', '>= 4.1.0', "< 5.2"
23
23
  s.add_dependency 'rails', '>= 4.0'
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wor-paginate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hdf1986
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-07-27 00:00:00.000000000 Z
13
+ date: 2017-08-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -19,9 +19,9 @@ dependencies:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: 4.1.0
22
- - - "<="
22
+ - - "<"
23
23
  - !ruby/object:Gem::Version
24
- version: '5.1'
24
+ version: '5.2'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,9 +29,9 @@ dependencies:
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
31
  version: 4.1.0
32
- - - "<="
32
+ - - "<"
33
33
  - !ruby/object:Gem::Version
34
- version: '5.1'
34
+ version: '5.2'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: rails
37
37
  requirement: !ruby/object:Gem::Requirement