bridge_api 0.3.0 → 0.3.1

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: 2c7c281ef0303538c1e56e8c2042b22641fb98e446ac5214baabff24ad639383
4
- data.tar.gz: e0ce255da0ce5926ee0b4eeb12ea266ea0d69f223fd1a8fc78924894fce5fed5
3
+ metadata.gz: 4f66a7397b5d87936e16a5548f3a4a0642ad7661938d97bec0f708af3efc3785
4
+ data.tar.gz: 3e2c8f4d85960a4979c7f0264a17df899829c3d406a227e8556f883fa4fe92d3
5
5
  SHA512:
6
- metadata.gz: 9275da1bf5a9e5208d050a83e9931f9cd36b5c1963b80fbe10b984f88d7d9a55040992eeb9447504033e3768d5ebc91456dd9d5bb711a1b0f60841e9c4c9d651
7
- data.tar.gz: dcfe6117ef4f5c9756e03cd53579a441f024942c87defa438b112ecc4464f9f6e4a619894d9a8270713f8a4beb0636a060ecda18cc3664104bebe324a90c2b2f
6
+ metadata.gz: 62488f89036eb5e44644cd049200ed5223409fdd171d4bf76aacafe0cb3cf7f73e58fda9c8e606d0431c6948ca90a0cc5103b3c368550a79421379ca391dab06
7
+ data.tar.gz: 70307423e9a89547c01e7512106be2d2c96188bfc40586524c6f7e59d75f04b28a22113b9f61b9486f9a171b640ee8152226fca28b622445ed8818992602568f
@@ -0,0 +1 @@
1
+ * @get-bridge/custom-dev
@@ -0,0 +1,14 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: docker
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
7
+ - package-ecosystem: github-actions
8
+ directory: /
9
+ schedule:
10
+ interval: weekly
11
+ - package-ecosystem: bundler
12
+ directory: /
13
+ schedule:
14
+ interval: weekly
@@ -187,6 +187,7 @@ module BridgeAPI
187
187
  api_keys.delete(config[:api_key])
188
188
  api_keys.each do |key|
189
189
  limit = rate_limit(key)
190
+ next unless limit.present?
190
191
  if limit['timestamp'].present? && DateTime.parse(limit['timestamp']) < 1.minute.ago
191
192
  BridgeAPI.logger.debug("Refreshing: #{key}")
192
193
  set_rate_limit(key, 0)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BridgeAPI
4
- VERSION = '0.3.0' unless defined?(BridgeAPI::VERSION)
4
+ VERSION = '0.3.1' unless defined?(BridgeAPI::VERSION)
5
5
  end
metadata CHANGED
@@ -1,35 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bridge_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Shaffer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-06 00:00:00.000000000 Z
11
+ date: 2023-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.0'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
19
  version: 1.0.0
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.0'
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '1.0'
30
27
  - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: 1.0.0
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: byebug
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -104,22 +104,22 @@ dependencies:
104
104
  name: tilt
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- version: 1.3.4
110
107
  - - "~>"
111
108
  - !ruby/object:Gem::Version
112
109
  version: '1.3'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 1.3.4
113
113
  type: :development
114
114
  prerelease: false
115
115
  version_requirements: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - ">="
118
- - !ruby/object:Gem::Version
119
- version: 1.3.4
120
117
  - - "~>"
121
118
  - !ruby/object:Gem::Version
122
119
  version: '1.3'
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 1.3.4
123
123
  - !ruby/object:Gem::Dependency
124
124
  name: webmock
125
125
  requirement: !ruby/object:Gem::Requirement
@@ -211,6 +211,8 @@ executables: []
211
211
  extensions: []
212
212
  extra_rdoc_files: []
213
213
  files:
214
+ - ".github/CODEOWNERS"
215
+ - ".github/dependabot.yml"
214
216
  - ".github/workflows/ci.yml"
215
217
  - ".gitignore"
216
218
  - Dockerfile
@@ -297,7 +299,7 @@ homepage: https://getbridge.com
297
299
  licenses:
298
300
  - MIT
299
301
  metadata: {}
300
- post_install_message:
302
+ post_install_message:
301
303
  rdoc_options: []
302
304
  require_paths:
303
305
  - lib
@@ -312,8 +314,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
312
314
  - !ruby/object:Gem::Version
313
315
  version: '0'
314
316
  requirements: []
315
- rubygems_version: 3.1.6
316
- signing_key:
317
+ rubygems_version: 3.0.3.1
318
+ signing_key:
317
319
  specification_version: 4
318
320
  summary: Bridge API
319
321
  test_files: