rails-pinterest 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/Gemfile.lock +1 -1
- data/lib/pinterest/boards.rb +6 -2
- data/lib/pinterest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82a5d7d5f7a963ce0eb4d29f2a8527701e9f7141dc8a36b4063e7711a60e320c
|
4
|
+
data.tar.gz: '01800e69428a3ec50b27fd2b47e45258fcf007d5f34c5768207f2d4c4920712e'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13d1f5b8f71fba0606e17f3e1b47e6c4edc9667e5928abcd2b523d29007d8f0a2a9155a4229a39adeac5f4625fd64c0a93b317f1a1174837a24ece35ad33f210
|
7
|
+
data.tar.gz: 31b36ff20226c59310b07585c1bc68fcce17206dc49d562d818cee22f1117205858c126a31b80d3a1a25d5f30d0482f2f066a4fc74983ac4363bb54002793676
|
data/CHANGELOG.md
CHANGED
@@ -67,4 +67,7 @@ response = client.pins.get_multiple_pin_analytics(ids: params[:pin_ids], start_d
|
|
67
67
|
- Added retries to the Faraday connections
|
68
68
|
|
69
69
|
## [0.2.7] - 2024-06-22
|
70
|
-
- Revert retries. Didn't work.
|
70
|
+
- Revert retries. Didn't work.
|
71
|
+
|
72
|
+
## [0.2.8] - 2024-08-13
|
73
|
+
- Update list boards to include page_size and bookmark
|
data/Gemfile.lock
CHANGED
data/lib/pinterest/boards.rb
CHANGED
@@ -4,8 +4,12 @@ module Pinterest
|
|
4
4
|
@client = client
|
5
5
|
end
|
6
6
|
|
7
|
-
def get_boards(parameters: {})
|
8
|
-
|
7
|
+
def get_boards(bookmark: nil, parameters: {})
|
8
|
+
if bookmark&.present?
|
9
|
+
@client.get(path: "/boards?page_size=100&bookmark=#{bookmark}", parameters: parameters)
|
10
|
+
else
|
11
|
+
@client.get(path: "/boards?page_size=100", parameters: parameters)
|
12
|
+
end
|
9
13
|
end
|
10
14
|
|
11
15
|
def create_board(parameters: {})
|
data/lib/pinterest/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-pinterest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donald Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|