We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 547e7a8 + 2782d64 commit 3d48366Copy full SHA for 3d48366
2 files changed
aws-google.gemspec
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
spec.require_paths = ['lib']
23
24
- spec.add_dependency 'aws-sdk-core', '~> 3'
+ spec.add_dependency 'aws-sdk-core', '~> 3.130'
25
spec.add_dependency 'google-api-client', '~> 0.23'
26
spec.add_dependency 'launchy', '~> 2'
27
lib/aws/google/cached_credentials.rb
@@ -23,9 +23,9 @@ def initialize(options = {})
end
def refresh_if_near_expiration
- if near_expiration?
+ if near_expiration?(SYNC_EXPIRATION_LENGTH)
@mutex.synchronize do
28
29
refresh
30
write_credentials
31
0 commit comments