passworks 0.0.3 → 0.0.4
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/passworks/collection_proxy.rb +2 -1
- data/lib/passworks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4a5be31fc6ed552a17686b1bcb124b51394c2ebe
|
|
4
|
+
data.tar.gz: f8614144d8f0de74cb981f2b1ad4f2cb0fe10122
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9bf14cb94bf2cd27e4b7736ba8f5037c8d62c4e4169a438ef8ee1ad5d735be276259103c03e5c09895696a5c3caa2538a92b5944c94e6bfe1b36d262b997fd53
|
|
7
|
+
data.tar.gz: 1c863bc851384f235fc629bb6abce3882a211cb272cf185d34f8fdf9e14a56e2893828a373e7cc752491c930a235f0f44261732cacaab99033ea112e7d08f1c7
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
This file is a manually maintained list of changes for each release. Feel free to add your
|
|
4
4
|
changes here when sending pull requests. Also send corrections if you spot any mistakes.
|
|
5
5
|
|
|
6
|
+
## v0.0.4 (2015-01-19)
|
|
7
|
+
* Bug fix: Pagination bug regression found when fetching resources with only one page
|
|
8
|
+
|
|
6
9
|
## v0.0.3 (2015-01-16)
|
|
7
10
|
* Bug fix: Missing 'event_tickets' namespace for from client
|
|
8
11
|
* Bug fix: Passworks::Response#ok? now returning correct information
|
|
@@ -26,7 +26,8 @@ module Passworks
|
|
|
26
26
|
response.data.each do |item_data|
|
|
27
27
|
yield resource_class.new(client, collection_name, item_data)
|
|
28
28
|
end
|
|
29
|
-
next_page
|
|
29
|
+
# Kaminari returns next_page as an empty string if there aren't more pages
|
|
30
|
+
next_page = response.next_page.to_s.to_i
|
|
30
31
|
break if next_page == 0
|
|
31
32
|
end
|
|
32
33
|
self
|
data/lib/passworks/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: passworks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Luis Mendes
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-01-
|
|
13
|
+
date: 2015-01-19 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: faraday
|