with_lock 0.0.4.alpha → 0.1

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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- OTIxODdiOTM5NjRiZGEwMWRmYTE3NDJiMDEyMmQ5N2NiZWNhNTRiOQ==
5
- data.tar.gz: !binary |-
6
- NDNkNjI2MDUxMmZhYmE3OWNmZThiOTI5NzMzNjgzOTFlOTU0NTNlMQ==
2
+ SHA1:
3
+ metadata.gz: cfa7d8d3bcac5411ed0e1cad70c3be147ff3aac8
4
+ data.tar.gz: c13e797c5285ffb11ca13fa3e06007d71ec99761
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MDNhYTE5YTI3ZTE3ZWJhMTY4ODNlNWExNjI4YTQ2Y2ExNjM3NjVkM2M4OTk1
10
- ODlhMmM4MTNlNzEyOGZkZjVjMzIyODcwZWNjMDc5NGRjM2MxOTlmYTFmZGE0
11
- ZTBjNmFlOGRjZDgwZGU0MjA2NDNhZTJjZTc2MThjN2FkM2FjZWY=
12
- data.tar.gz: !binary |-
13
- NzQzMWRhZTE5YjFlZDkyODFhY2FmNzRlODdkYzcxMmQyZWFhMWI3YjgzYWI3
14
- NThiMjNlNDExYjkzYjZmM2FiMzAyZTc0Y2M1ZjE2ZWNjMWU5NDQ5NzFmNjU3
15
- OTFmMWY3NTZiYmRmOTgwYmFkNGFmMmU3N2Y4MzFhYzRmYmExYzY=
6
+ metadata.gz: 45a9aac95a6e1932e789f136ff2b09c0d266bd7087fa2ff368ebcbff5acdd08f397a1b8521d8430d6df47ed56a91ebb597555e011e08d58633a30a47393881ee
7
+ data.tar.gz: a5de54c46aac567001328fd5f1085c559899d86980363f47aabf44ad569f02b7f7a1d8cdec271f088e2a11fbf7b1a8ef78b2f5e2fe64e8fde36b48648f3f8723
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ lockable
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.1.3
data/README.md CHANGED
@@ -7,7 +7,7 @@ Provides a DRb service to provide locking across a distributed ruby application.
7
7
  Add to your Gemfile and run the `bundle` command to install it.
8
8
 
9
9
  ```ruby
10
- gem "with_lock", git: 'https://github.com/chrisboy333/with_lock.git'
10
+ gem "with_lock"
11
11
  ```
12
12
 
13
13
  **Tested under Ruby 1.9.3.**
@@ -1,4 +1,4 @@
1
1
  module WithLock
2
- VERSION = "0.0.4.alpha"
2
+ VERSION = "0.1"
3
3
  end
4
4
 
@@ -35,7 +35,7 @@ describe WithLock do
35
35
  started_trying = Time.now
36
36
  while WithLock::Server.started? do
37
37
  sleep 0.2
38
- raise Exception.new("Couldn't stop server!") unless (Time.now - 3.seconds) > started_trying
38
+ raise Exception.new("Couldn't stop server!") unless (Time.now - 3) > started_trying
39
39
  end
40
40
  error_message = ''
41
41
  begin
@@ -52,7 +52,7 @@ describe WithLock do
52
52
  started_trying = Time.now
53
53
  while !WithLock::Server.started? do
54
54
  sleep 0.2
55
- raise Exception.new("Couldn't start server!") unless (Time.now - 3.seconds) > started_trying
55
+ raise Exception.new("Couldn't start server!") unless (Time.now - 3) > started_trying
56
56
  end
57
57
  @locker = WithLock::Client.locker
58
58
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: with_lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.alpha
4
+ version: '0.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Louis Hauboldt
@@ -14,28 +14,28 @@ dependencies:
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: daemons
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Implements named mutexes for ruby applications by creating a resource
@@ -46,8 +46,10 @@ executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
- - .gitignore
50
- - .rspec
49
+ - ".gitignore"
50
+ - ".rspec"
51
+ - ".ruby-gemset"
52
+ - ".ruby-version"
51
53
  - Gemfile
52
54
  - Gemfile.lock
53
55
  - README.md
@@ -73,14 +75,14 @@ require_paths:
73
75
  - lib
74
76
  required_ruby_version: !ruby/object:Gem::Requirement
75
77
  requirements:
76
- - - ! '>='
78
+ - - ">="
77
79
  - !ruby/object:Gem::Version
78
80
  version: '0'
79
81
  required_rubygems_version: !ruby/object:Gem::Requirement
80
82
  requirements:
81
- - - ! '>'
83
+ - - ">="
82
84
  - !ruby/object:Gem::Version
83
- version: 1.3.1
85
+ version: '0'
84
86
  requirements: []
85
87
  rubyforge_project: with_lock
86
88
  rubygems_version: 2.2.2