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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a4943a8d3b45dea9e4fcc0d1c7519534277775e5e69b4075dc4510e615bf012
4
- data.tar.gz: c712d9106b2235fe82055f7e939c31cf5b2d1728df91e59a507fca1ca9d4b824
3
+ metadata.gz: 82a5d7d5f7a963ce0eb4d29f2a8527701e9f7141dc8a36b4063e7711a60e320c
4
+ data.tar.gz: '01800e69428a3ec50b27fd2b47e45258fcf007d5f34c5768207f2d4c4920712e'
5
5
  SHA512:
6
- metadata.gz: 3cf25cc263afc0a178586d335248bb04eb1835bd684295cb5dd2e944e29a2da3c90c6c41c0d4e34bb8abcc9515cf97d23fd0abbe42170e307a5662e9b1bd94f1
7
- data.tar.gz: 1d4db6a1a6d3f5bc12cf130bc47f3255658fc763b130d0ae7ffc4f9186956cab4f11afc83b10dfce829410c7cf50d59e504f1e7a5b92ca0b42dbcf0d1fa6f029
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails-pinterest (0.2.7)
4
+ rails-pinterest (0.2.8)
5
5
  faraday (>= 1)
6
6
  faraday-multipart (>= 1)
7
7
 
@@ -4,8 +4,12 @@ module Pinterest
4
4
  @client = client
5
5
  end
6
6
 
7
- def get_boards(parameters: {})
8
- @client.get(path: "/boards", parameters: parameters)
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: {})
@@ -1,3 +1,3 @@
1
1
  module Pinterest
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
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.7
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-06-22 00:00:00.000000000 Z
11
+ date: 2024-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday