travis-lock 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 438cbc91b63a790889bc58d8a5631f59ff394226
4
- data.tar.gz: 9df4223ebb7224febae75e1248d075c3387a0b4e
3
+ metadata.gz: 9524214db889e80b5da0c2f87824d3a73ab74dd5
4
+ data.tar.gz: f3165e3889a8aa9e624088db0d5cbfbcbdb086b0
5
5
  SHA512:
6
- metadata.gz: f671cffce832b81c01af24dd53859400434e105fdf4cf78f9e863b7b2cc83ca1801d05cfd9f9c8a0296368a72d1bd3a2e529c01396a6eceb9dd6d29af7bdb3ab
7
- data.tar.gz: dfe0e317939a893bc77c9f4cec36ee571e0039826f79c25d48efb4e16392ebdc7218af74b72c18b5b77d911df7a404ecac717d3397ad744cfa02f4f0b2ac4c41
6
+ metadata.gz: 37508baeb9dfaf45ca9710b9c51b4cde33b947c51def2562f20f6a845e3d067d4da330eda565bfb68491a0205168d878cd593903e6b80846fcbd07420003d3d5
7
+ data.tar.gz: 4ca3bfd516f97f319b25b2054ca0ecb6fd0570b5b000a7857e07246ca1db9530b632ef3e3672ac646e06b63e33e91df014fab7ab914b8b704498872710017291
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- travis-lock (0.1.0)
4
+ travis-lock (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -23,7 +23,7 @@ GEM
23
23
  builder (3.2.2)
24
24
  diff-lcs (1.2.5)
25
25
  i18n (0.7.0)
26
- json (1.8.3)
26
+ json (1.8.6)
27
27
  metaclass (0.0.4)
28
28
  minitest (5.8.1)
29
29
  mocha (1.1.0)
@@ -59,3 +59,6 @@ DEPENDENCIES
59
59
  redlock
60
60
  rspec (~> 3.0)
61
61
  travis-lock!
62
+
63
+ BUNDLED WITH
64
+ 1.16.1
@@ -21,7 +21,7 @@ module Travis
21
21
  end
22
22
 
23
23
  DEFAULTS = {
24
- ttl: 5 * 60,
24
+ ttl: 5 * 60 * 1000,
25
25
  retries: 5,
26
26
  interval: 0.1,
27
27
  timeout: 0.5
@@ -1,5 +1,5 @@
1
1
  module Travis
2
2
  module Lock
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
@@ -13,7 +13,7 @@ describe Travis::Lock::Redis do
13
13
 
14
14
  it 'delegates to a Redlock instance' do
15
15
  Redlock::Client.stubs(:new).returns(client)
16
- client.expects(:lock).with(name, 300)
16
+ client.expects(:lock).with(name, 300000)
17
17
  lock.exclusive {}
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis-lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis CI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-24 00:00:00.000000000 Z
11
+ date: 2018-11-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Locks for use at Travis CI.
14
14
  email: contact@travis-ci.org
@@ -31,7 +31,6 @@ files:
31
31
  - spec/travis/lock/none_spec.rb
32
32
  - spec/travis/lock/postgresql_spec.rb
33
33
  - spec/travis/lock/redis_spec.rb
34
- - travis-lock.gemspec
35
34
  homepage: https://github.com/travis-ci/travis-lock
36
35
  licenses:
37
36
  - MIT
@@ -52,9 +51,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
51
  version: '0'
53
52
  requirements: []
54
53
  rubyforge_project: "[none]"
55
- rubygems_version: 2.4.5
54
+ rubygems_version: 2.6.13
56
55
  signing_key:
57
56
  specification_version: 4
58
57
  summary: Locks for use at Travis CI
59
58
  test_files: []
60
- has_rdoc:
@@ -1,20 +0,0 @@
1
- # encoding: utf-8
2
-
3
- $:.unshift File.expand_path('../lib', __FILE__)
4
- require 'travis/lock/version'
5
-
6
- Gem::Specification.new do |s|
7
- s.name = "travis-lock"
8
- s.version = Travis::Lock::VERSION
9
- s.authors = ["Travis CI"]
10
- s.email = "contact@travis-ci.org"
11
- s.homepage = "https://github.com/travis-ci/travis-lock"
12
- s.summary = "Locks for use at Travis CI"
13
- s.description = "#{s.summary}."
14
- s.licenses = ["MIT"]
15
-
16
- s.files = Dir['{lib/**/*,spec/**/*,[A-Z]*}']
17
- s.platform = Gem::Platform::RUBY
18
- s.require_path = 'lib'
19
- s.rubyforge_project = '[none]'
20
- end