openapply 1.0.3.5 → 1.0.3.6
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/Gemfile.lock +1 -1
- data/lib/openapply/client.rb +3 -1
- data/lib/openapply/version.rb +1 -1
- data/openapply.gemspec +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54e06e0268716085179c1375a17f8af5fcea53555910d93e57b3c74cc83a48d1
|
|
4
|
+
data.tar.gz: 9ab858a17bc4bac531bb5089ffa5e57281bfa364548dd2d57b959275df0f9c55
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eddaee0e81d1f7cbc497485f324fc150537822e3651c9df87424a1481a4b89070617c1c258ebd2533f64cab7503e87cb0f8408d11c522a358a808997c4f3f950
|
|
7
|
+
data.tar.gz: ab98c2215e726e7492a1c0b6d73f8bea2f2a1598c9fcce1ff943a923080487f010e6f990538a55db2336b299450371af606323a54987053b5d73f028719dfe54
|
data/Gemfile.lock
CHANGED
data/lib/openapply/client.rb
CHANGED
|
@@ -101,7 +101,9 @@ module Openapply
|
|
|
101
101
|
raise TooManyRequestError if answer.too_many_requests?
|
|
102
102
|
|
|
103
103
|
return answer
|
|
104
|
-
|
|
104
|
+
rescue TooManyRequestError
|
|
105
|
+
sleep (answer.headers['X-RateLimit-Period'].to_i + 1)
|
|
106
|
+
retry
|
|
105
107
|
rescue *NET_EXCEPTIONS
|
|
106
108
|
if times_retried < max_retries
|
|
107
109
|
times_retried += 1
|
data/lib/openapply/version.rb
CHANGED
data/openapply.gemspec
CHANGED
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
|
7
7
|
spec.name = "openapply"
|
|
8
8
|
spec.version = Openapply::Version::VERSION
|
|
9
9
|
spec.authors = ["Bill Tihen", "Elliott Hébert"]
|
|
10
|
-
spec.email = ["btihen@gmail.com","btihen@las.ch","
|
|
10
|
+
spec.email = ["btihen@gmail.com","btihen@las.ch","ehebert@las.ch"]
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{Access OpenApply's APIs with Ruby}
|
|
13
13
|
spec.homepage = "https://github.com/las-it/openapply"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openapply
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.3.
|
|
4
|
+
version: 1.0.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bill Tihen
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: exe
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2022-
|
|
12
|
+
date: 2022-09-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: httparty
|
|
@@ -141,7 +141,6 @@ description:
|
|
|
141
141
|
email:
|
|
142
142
|
- btihen@gmail.com
|
|
143
143
|
- btihen@las.ch
|
|
144
|
-
- ell.heb@container4.ch
|
|
145
144
|
- ehebert@las.ch
|
|
146
145
|
executables: []
|
|
147
146
|
extensions: []
|
|
@@ -188,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
188
187
|
- !ruby/object:Gem::Version
|
|
189
188
|
version: '0'
|
|
190
189
|
requirements: []
|
|
191
|
-
rubygems_version: 3.
|
|
190
|
+
rubygems_version: 3.3.20
|
|
192
191
|
signing_key:
|
|
193
192
|
specification_version: 4
|
|
194
193
|
summary: Access OpenApply's APIs with Ruby
|