rails-pinterest 0.2.6 → 0.2.7

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: b5241dc461ae0e5ff783ee12bd61c843945c177c4b952a5abb2f1c973c3326fc
4
- data.tar.gz: fee7c390da7e21bd343fc35266de5ea2446c4e7dec5ec84ada5fb094a8243d25
3
+ metadata.gz: 3a4943a8d3b45dea9e4fcc0d1c7519534277775e5e69b4075dc4510e615bf012
4
+ data.tar.gz: c712d9106b2235fe82055f7e939c31cf5b2d1728df91e59a507fca1ca9d4b824
5
5
  SHA512:
6
- metadata.gz: 7acfcca9742594f95e831ce2d61cf0944c65d116c552ed958a25a82c434e870e14963bc9f9c8753315665fa6de1b0104f26d1e958fd0270619bbc0a5525ec6bb
7
- data.tar.gz: c806f17d45a9f1866f8e16ae018324a2a2b783b3644a09ed6a4f4ff5c2f3262ec5c8f0f57d1c3ebed05e0cd4469d8346f07b4403fbc9a0b1a46926f2b3f4ed77
6
+ metadata.gz: 3cf25cc263afc0a178586d335248bb04eb1835bd684295cb5dd2e944e29a2da3c90c6c41c0d4e34bb8abcc9515cf97d23fd0abbe42170e307a5662e9b1bd94f1
7
+ data.tar.gz: 1d4db6a1a6d3f5bc12cf130bc47f3255658fc763b130d0ae7ffc4f9186956cab4f11afc83b10dfce829410c7cf50d59e504f1e7a5b92ca0b42dbcf0d1fa6f029
data/CHANGELOG.md CHANGED
@@ -64,4 +64,7 @@ response = client.pins.get_multiple_pin_analytics(ids: params[:pin_ids], start_d
64
64
  ```
65
65
 
66
66
  ## [0.2.6] - 2024-06-22
67
- - Added retries to the Faraday connections
67
+ - Added retries to the Faraday connections
68
+
69
+ ## [0.2.7] - 2024-06-22
70
+ - Revert retries. Didn't work.
data/Gemfile CHANGED
@@ -11,4 +11,5 @@ gem "dotenv", "~> 2.8.1"
11
11
  gem "rspec", "~> 3.12"
12
12
  gem "rubocop", "~> 1.50.2"
13
13
  gem "vcr", "~> 6.1.0"
14
- gem "webmock", "~> 3.18.1"
14
+ gem "webmock", "~> 3.18.1"
15
+ gem 'typhoeus'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails-pinterest (0.2.6)
4
+ rails-pinterest (0.2.7)
5
5
  faraday (>= 1)
6
6
  faraday-multipart (>= 1)
7
7
 
@@ -17,6 +17,8 @@ GEM
17
17
  rexml
18
18
  diff-lcs (1.5.0)
19
19
  dotenv (2.8.1)
20
+ ethon (0.16.0)
21
+ ffi (>= 1.15.0)
20
22
  faraday (2.7.11)
21
23
  base64
22
24
  faraday-net_http (>= 2.0, < 3.1)
@@ -24,6 +26,7 @@ GEM
24
26
  faraday-multipart (1.0.4)
25
27
  multipart-post (~> 2)
26
28
  faraday-net_http (3.0.2)
29
+ ffi (1.17.0-x86_64-darwin)
27
30
  hashdiff (1.0.1)
28
31
  json (2.6.3)
29
32
  multipart-post (2.3.0)
@@ -64,6 +67,8 @@ GEM
64
67
  parser (>= 3.2.1.0)
65
68
  ruby-progressbar (1.13.0)
66
69
  ruby2_keywords (0.0.5)
70
+ typhoeus (1.4.1)
71
+ ethon (>= 0.9.0)
67
72
  unicode-display_width (2.5.0)
68
73
  vcr (6.1.0)
69
74
  webmock (3.18.1)
@@ -82,6 +87,7 @@ DEPENDENCIES
82
87
  rake (~> 13.0)
83
88
  rspec (~> 3.12)
84
89
  rubocop (~> 1.50.2)
90
+ typhoeus
85
91
  vcr (~> 6.1.0)
86
92
  webmock (~> 3.18.1)
87
93
 
@@ -56,9 +56,6 @@ module Pinterest
56
56
  def conn(multipart: false)
57
57
  Faraday.new do |f|
58
58
  f.options[:timeout] = @request_timeout
59
- f.request :retry, max: 3, interval: 0.05,
60
- interval_randomness: 0.5, backoff_factor: 2,
61
- exceptions: [Faraday::ConnectionFailed, Errno::ECONNRESET]
62
59
  f.request(:multipart) if multipart
63
60
  end
64
61
  end
@@ -66,9 +63,6 @@ module Pinterest
66
63
  def oauth_conn(multipart: false)
67
64
  Faraday.new do |f|
68
65
  f.options[:timeout] = @request_timeout
69
- f.request :retry, max: 3, interval: 0.05,
70
- interval_randomness: 0.5, backoff_factor: 2,
71
- exceptions: [Faraday::ConnectionFailed, Errno::ECONNRESET]
72
66
  f.request :url_encoded
73
67
  f.adapter Faraday.default_adapter
74
68
  end
@@ -1,3 +1,3 @@
1
1
  module Pinterest
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-pinterest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donald Lee
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2024-06-22 00:00:00.000000000 Z
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1'
41
- description:
41
+ description:
42
42
  email:
43
43
  - donaldlee50@gmail.com
44
44
  executables: []
@@ -77,7 +77,7 @@ metadata:
77
77
  homepage_uri: https://github.com/royalgiant/rails-pinterest
78
78
  source_code_uri: https://github.com/royalgiant/rails-pinterest
79
79
  changelog_uri: https://github.com/royalgiant/rails-pinterest/blob/main/CHANGELOG.md
80
- post_install_message:
80
+ post_install_message:
81
81
  rdoc_options: []
82
82
  require_paths:
83
83
  - lib
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubygems_version: 3.2.3
96
- signing_key:
96
+ signing_key:
97
97
  specification_version: 4
98
98
  summary: Pinterest API + Ruby!
99
99
  test_files: []