ruby_redis_lock 0.1.0 → 0.1.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.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/.loadpath +5 -5
  4. data/.project +17 -17
  5. data/.rspec +3 -0
  6. data/Gemfile +4 -4
  7. data/Gemfile.lock +4 -0
  8. data/Readme.md +83 -85
  9. data/lib/ruby_redis_lock/ruby_redis_lock.rb +55 -65
  10. data/lib/ruby_redis_lock/version.rb +3 -0
  11. data/lib/ruby_redis_lock.rb +8 -8
  12. data/redis_test.bat +1 -1
  13. data/ruby_redis_lock.gemspec +24 -21
  14. data/spec/{acquire_lock_spec.rb → lib/acquire_lock_spec.rb} +43 -43
  15. data/spec/{lock_spec.rb → lib/lock_spec.rb} +72 -72
  16. data/spec/{release_lock_spec.rb → lib/release_lock_spec.rb} +21 -21
  17. data/spec/{try_acquire_lock_spec.rb → lib/try_acquire_lock_spec.rb} +30 -30
  18. data/spec/spec_config.rb +10 -0
  19. data/spec/spec_helper.rb +11 -20
  20. data/test.conf +1 -1
  21. metadata +27 -70
  22. data/coverage/.resultset.json +0 -240
  23. data/coverage/assets/0.5.3/app.js +0 -88
  24. data/coverage/assets/0.5.3/fancybox/blank.gif +0 -0
  25. data/coverage/assets/0.5.3/fancybox/fancy_close.png +0 -0
  26. data/coverage/assets/0.5.3/fancybox/fancy_loading.png +0 -0
  27. data/coverage/assets/0.5.3/fancybox/fancy_nav_left.png +0 -0
  28. data/coverage/assets/0.5.3/fancybox/fancy_nav_right.png +0 -0
  29. data/coverage/assets/0.5.3/fancybox/fancy_shadow_e.png +0 -0
  30. data/coverage/assets/0.5.3/fancybox/fancy_shadow_n.png +0 -0
  31. data/coverage/assets/0.5.3/fancybox/fancy_shadow_ne.png +0 -0
  32. data/coverage/assets/0.5.3/fancybox/fancy_shadow_nw.png +0 -0
  33. data/coverage/assets/0.5.3/fancybox/fancy_shadow_s.png +0 -0
  34. data/coverage/assets/0.5.3/fancybox/fancy_shadow_se.png +0 -0
  35. data/coverage/assets/0.5.3/fancybox/fancy_shadow_sw.png +0 -0
  36. data/coverage/assets/0.5.3/fancybox/fancy_shadow_w.png +0 -0
  37. data/coverage/assets/0.5.3/fancybox/fancy_title_left.png +0 -0
  38. data/coverage/assets/0.5.3/fancybox/fancy_title_main.png +0 -0
  39. data/coverage/assets/0.5.3/fancybox/fancy_title_over.png +0 -0
  40. data/coverage/assets/0.5.3/fancybox/fancy_title_right.png +0 -0
  41. data/coverage/assets/0.5.3/fancybox/fancybox-x.png +0 -0
  42. data/coverage/assets/0.5.3/fancybox/fancybox-y.png +0 -0
  43. data/coverage/assets/0.5.3/fancybox/fancybox.png +0 -0
  44. data/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.css +0 -363
  45. data/coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.pack.js +0 -44
  46. data/coverage/assets/0.5.3/favicon_green.png +0 -0
  47. data/coverage/assets/0.5.3/favicon_red.png +0 -0
  48. data/coverage/assets/0.5.3/favicon_yellow.png +0 -0
  49. data/coverage/assets/0.5.3/highlight.css +0 -129
  50. data/coverage/assets/0.5.3/highlight.pack.js +0 -1
  51. data/coverage/assets/0.5.3/jquery-1.6.2.min.js +0 -18
  52. data/coverage/assets/0.5.3/jquery.dataTables.min.js +0 -152
  53. data/coverage/assets/0.5.3/jquery.timeago.js +0 -141
  54. data/coverage/assets/0.5.3/jquery.url.js +0 -174
  55. data/coverage/assets/0.5.3/loading.gif +0 -0
  56. data/coverage/assets/0.5.3/magnify.png +0 -0
  57. data/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  58. data/coverage/assets/0.5.3/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  59. data/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  60. data/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  61. data/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  62. data/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  63. data/coverage/assets/0.5.3/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  64. data/coverage/assets/0.5.3/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  65. data/coverage/assets/0.5.3/smoothness/images/ui-icons_222222_256x240.png +0 -0
  66. data/coverage/assets/0.5.3/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  67. data/coverage/assets/0.5.3/smoothness/images/ui-icons_454545_256x240.png +0 -0
  68. data/coverage/assets/0.5.3/smoothness/images/ui-icons_888888_256x240.png +0 -0
  69. data/coverage/assets/0.5.3/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  70. data/coverage/assets/0.5.3/smoothness/jquery-ui-1.8.4.custom.css +0 -295
  71. data/coverage/assets/0.5.3/stylesheet.css +0 -383
  72. data/coverage/index.html +0 -1575
  73. data/ruby_redis_lock.rdb +0 -1
@@ -1,73 +1,73 @@
1
- require 'spec_helper'
2
-
3
- describe 'lock' do
4
-
5
- it "acquires the lock if it does not exist" do
6
-
7
- @redis.lock("test") { }
8
-
9
- end
10
-
11
- it "waits and acquire lock" do
12
-
13
- start_time = Time.now.to_i
14
-
15
- Thread.new {
16
- @redis.lock("test") {
17
- Thread.current.join(1)
18
- sleep(5)
19
- }
20
- }
21
-
22
- Thread.current.join(1)
23
-
24
- @redis.lock("test") { }
25
-
26
- (Time.now.to_i - start_time).should be > 4
27
-
28
- end
29
-
30
- it "waits and acquire expired lock" do
31
-
32
- start_time = Time.now.to_i
33
-
34
- Thread.new {
35
- @redis.send(:acquire_lock, "test", 5, 10).should == true
36
- }
37
-
38
- Thread.current.join(0.1)
39
-
40
- @redis.lock("test") { }
41
-
42
- (Time.now.to_i - start_time).should be > 4
43
-
44
- end
45
-
46
- it "fails to acquire lock" do
47
-
48
- Thread.new {
49
- @redis.lock("test") {
50
- Thread.current.join(1)
51
- sleep(5)
52
- }
53
- }
54
-
55
- Thread.current.join(1)
56
- lambda { @redis.lock("test", 10, 2) { } }.should raise_error
57
-
58
- end
59
-
60
- it "correctly release the lock when error is raised" do
61
-
62
- begin
63
- @redis.lock("test") {
64
- raise 'some error'
65
- }
66
- rescue
67
- end
68
-
69
- @redis.get(@redis.send(:ruby_redis_lock_key, "test")).should == nil
70
-
71
- end
72
-
1
+ require 'spec_helper'
2
+
3
+ describe 'lock' do
4
+
5
+ it "acquires the lock if it does not exist" do
6
+
7
+ @redis.lock("test") { }
8
+
9
+ end
10
+
11
+ it "waits and acquire lock" do
12
+
13
+ start_time = Time.now.to_i
14
+
15
+ Thread.new {
16
+ @redis.lock("test") {
17
+ Thread.current.join(1)
18
+ sleep(5)
19
+ }
20
+ }
21
+
22
+ Thread.current.join(1)
23
+
24
+ @redis.lock("test") { }
25
+
26
+ (Time.now.to_i - start_time).should be > 4
27
+
28
+ end
29
+
30
+ it "waits and acquire expired lock" do
31
+
32
+ start_time = Time.now.to_i
33
+
34
+ Thread.new {
35
+ @redis.send(:acquire_lock, "test", 5, 10).should == true
36
+ }
37
+
38
+ Thread.current.join(0.1)
39
+
40
+ @redis.lock("test") { }
41
+
42
+ (Time.now.to_i - start_time).should be > 4
43
+
44
+ end
45
+
46
+ it "fails to acquire lock" do
47
+
48
+ Thread.new {
49
+ @redis.lock("test") {
50
+ Thread.current.join(1)
51
+ sleep(5)
52
+ }
53
+ }
54
+
55
+ Thread.current.join(1)
56
+ lambda { @redis.lock("test", 10, 2) { } }.should raise_error
57
+
58
+ end
59
+
60
+ it "correctly release the lock when error is raised" do
61
+
62
+ begin
63
+ @redis.lock("test") {
64
+ raise 'some error'
65
+ }
66
+ rescue
67
+ end
68
+
69
+ @redis.get(@redis.send(:ruby_redis_lock_key, "test")).should == nil
70
+
71
+ end
72
+
73
73
  end
@@ -1,22 +1,22 @@
1
- require 'spec_helper'
2
-
3
- describe 'release_lock' do
4
-
5
- it "release lock when the lock is not expired" do
6
-
7
- @redis.send(:acquire_lock, "test", 69).should == true
8
-
9
- @redis.send(:release_lock, "test").should == true
10
-
11
- end
12
-
13
- it "does not release lock if the lock is already expired" do
14
-
15
- @redis.send(:acquire_lock, "test", 0.1).should == true
16
-
17
- sleep(1)
18
- @redis.send(:release_lock, "test").should == false
19
-
20
- end
21
-
1
+ require 'spec_helper'
2
+
3
+ describe 'release_lock' do
4
+
5
+ it "release lock when the lock is not expired" do
6
+
7
+ @redis.send(:acquire_lock, "test", 69).should == true
8
+
9
+ @redis.send(:release_lock, "test").should == true
10
+
11
+ end
12
+
13
+ it "does not release lock if the lock is already expired" do
14
+
15
+ @redis.send(:acquire_lock, "test", 0.1).should == true
16
+
17
+ sleep(1)
18
+ @redis.send(:release_lock, "test").should == false
19
+
20
+ end
21
+
22
22
  end
@@ -1,31 +1,31 @@
1
- require 'spec_helper'
2
-
3
- describe 'try_acquire_lock' do
4
-
5
- it "acquires lock when the lock does not exist" do
6
-
7
- @redis.send(:try_acquire_lock, "test").should == true
8
-
9
- end
10
-
11
- it "does not acquire lock when the lock is alive" do
12
-
13
- @redis.send(:try_acquire_lock, "test").should == true
14
- @redis.send(:try_acquire_lock, "test").should == false
15
-
16
- end
17
-
18
- it "acquires lock when the lock is expired" do
19
-
20
- @redis.send(:try_acquire_lock, "test", 0.1).should == true
21
-
22
- sleep(1)
23
- @redis.send(:try_acquire_lock, "test").should == true
24
-
25
- end
26
-
27
- it "does not acquire lock when the lock is expired but somebody else already successfully acquire the same lock" do
28
-
29
- end
30
-
1
+ require 'spec_helper'
2
+
3
+ describe 'try_acquire_lock' do
4
+
5
+ it "acquires lock when the lock does not exist" do
6
+
7
+ @redis.send(:try_acquire_lock, "test").should == true
8
+
9
+ end
10
+
11
+ it "does not acquire lock when the lock is alive" do
12
+
13
+ @redis.send(:try_acquire_lock, "test").should == true
14
+ @redis.send(:try_acquire_lock, "test").should == false
15
+
16
+ end
17
+
18
+ it "acquires lock when the lock is expired" do
19
+
20
+ @redis.send(:try_acquire_lock, "test", 0.1).should == true
21
+
22
+ sleep(1)
23
+ @redis.send(:try_acquire_lock, "test").should == true
24
+
25
+ end
26
+
27
+ it "does not acquire lock when the lock is expired but somebody else already successfully acquire the same lock" do
28
+
29
+ end
30
+
31
31
  end
@@ -0,0 +1,10 @@
1
+ RSpec.configure do |config|
2
+
3
+ config.mock_with :rspec
4
+
5
+ config.before(:each) do
6
+ @redis = Redis.new
7
+ @redis.flushall
8
+ end
9
+
10
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,20 +1,11 @@
1
- # encoding: utf-8
2
- require 'simplecov'
3
- SimpleCov.start do
4
- coverage_dir("coverage")
5
- end
6
-
7
- require 'rspec'
8
-
9
- require File.expand_path("../../lib/ruby_redis_lock",__FILE__)
10
-
11
- RSpec.configure do |config|
12
-
13
- config.mock_with :rspec
14
-
15
- config.before(:each) do
16
- @redis = Redis.new
17
- @redis.flushall
18
- end
19
-
20
- end
1
+ # encoding: utf-8
2
+ require 'simplecov'
3
+ SimpleCov.start do
4
+ coverage_dir("coverage")
5
+ end
6
+
7
+ require 'rspec'
8
+
9
+ require File.expand_path("../../lib/ruby_redis_lock",__FILE__)
10
+
11
+ require 'spec_config.rb'
data/test.conf CHANGED
@@ -1 +1 @@
1
- dbfilename ruby_redis_lock.rdb
1
+ dbfilename test.rdb
metadata CHANGED
@@ -1,112 +1,69 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_redis_lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.1.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tanin Na Nakorn
8
+ - Mike Gregory
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-29 00:00:00.000000000Z
12
+ date: 2018-05-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: distributed lock for Ruby (using Redis)
15
15
  email:
16
16
  - tanin47@yahoo.com
17
+ - mgregory@carecloud.com
17
18
  executables: []
18
19
  extensions: []
19
20
  extra_rdoc_files: []
20
21
  files:
21
- - .loadpath
22
- - .project
22
+ - ".gitignore"
23
+ - ".loadpath"
24
+ - ".project"
25
+ - ".rspec"
23
26
  - Gemfile
24
27
  - Gemfile.lock
25
28
  - Readme.md
26
- - coverage/.resultset.json
27
- - coverage/assets/0.5.3/app.js
28
- - coverage/assets/0.5.3/fancybox/blank.gif
29
- - coverage/assets/0.5.3/fancybox/fancy_close.png
30
- - coverage/assets/0.5.3/fancybox/fancy_loading.png
31
- - coverage/assets/0.5.3/fancybox/fancy_nav_left.png
32
- - coverage/assets/0.5.3/fancybox/fancy_nav_right.png
33
- - coverage/assets/0.5.3/fancybox/fancy_shadow_e.png
34
- - coverage/assets/0.5.3/fancybox/fancy_shadow_n.png
35
- - coverage/assets/0.5.3/fancybox/fancy_shadow_ne.png
36
- - coverage/assets/0.5.3/fancybox/fancy_shadow_nw.png
37
- - coverage/assets/0.5.3/fancybox/fancy_shadow_s.png
38
- - coverage/assets/0.5.3/fancybox/fancy_shadow_se.png
39
- - coverage/assets/0.5.3/fancybox/fancy_shadow_sw.png
40
- - coverage/assets/0.5.3/fancybox/fancy_shadow_w.png
41
- - coverage/assets/0.5.3/fancybox/fancy_title_left.png
42
- - coverage/assets/0.5.3/fancybox/fancy_title_main.png
43
- - coverage/assets/0.5.3/fancybox/fancy_title_over.png
44
- - coverage/assets/0.5.3/fancybox/fancy_title_right.png
45
- - coverage/assets/0.5.3/fancybox/fancybox-x.png
46
- - coverage/assets/0.5.3/fancybox/fancybox-y.png
47
- - coverage/assets/0.5.3/fancybox/fancybox.png
48
- - coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.css
49
- - coverage/assets/0.5.3/fancybox/jquery.fancybox-1.3.1.pack.js
50
- - coverage/assets/0.5.3/favicon_green.png
51
- - coverage/assets/0.5.3/favicon_red.png
52
- - coverage/assets/0.5.3/favicon_yellow.png
53
- - coverage/assets/0.5.3/highlight.css
54
- - coverage/assets/0.5.3/highlight.pack.js
55
- - coverage/assets/0.5.3/jquery-1.6.2.min.js
56
- - coverage/assets/0.5.3/jquery.dataTables.min.js
57
- - coverage/assets/0.5.3/jquery.timeago.js
58
- - coverage/assets/0.5.3/jquery.url.js
59
- - coverage/assets/0.5.3/loading.gif
60
- - coverage/assets/0.5.3/magnify.png
61
- - coverage/assets/0.5.3/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
62
- - coverage/assets/0.5.3/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
63
- - coverage/assets/0.5.3/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
64
- - coverage/assets/0.5.3/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
65
- - coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_dadada_1x400.png
66
- - coverage/assets/0.5.3/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
67
- - coverage/assets/0.5.3/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
68
- - coverage/assets/0.5.3/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
69
- - coverage/assets/0.5.3/smoothness/images/ui-icons_222222_256x240.png
70
- - coverage/assets/0.5.3/smoothness/images/ui-icons_2e83ff_256x240.png
71
- - coverage/assets/0.5.3/smoothness/images/ui-icons_454545_256x240.png
72
- - coverage/assets/0.5.3/smoothness/images/ui-icons_888888_256x240.png
73
- - coverage/assets/0.5.3/smoothness/images/ui-icons_cd0a0a_256x240.png
74
- - coverage/assets/0.5.3/smoothness/jquery-ui-1.8.4.custom.css
75
- - coverage/assets/0.5.3/stylesheet.css
76
- - coverage/index.html
77
29
  - lib/ruby_redis_lock.rb
78
30
  - lib/ruby_redis_lock/ruby_redis_lock.rb
31
+ - lib/ruby_redis_lock/version.rb
79
32
  - redis_test.bat
80
33
  - ruby_redis_lock.gemspec
81
- - ruby_redis_lock.rdb
82
- - spec/acquire_lock_spec.rb
83
- - spec/lock_spec.rb
84
- - spec/release_lock_spec.rb
34
+ - spec/lib/acquire_lock_spec.rb
35
+ - spec/lib/lock_spec.rb
36
+ - spec/lib/release_lock_spec.rb
37
+ - spec/lib/try_acquire_lock_spec.rb
38
+ - spec/spec_config.rb
85
39
  - spec/spec_helper.rb
86
- - spec/try_acquire_lock_spec.rb
87
40
  - test.conf
88
- homepage: http://github.com/tanin47/ruby_redis_lock
89
- licenses: []
41
+ homepage: http://github.com/mgregory-carecloud/ruby_redis_lock
42
+ licenses:
43
+ - MIT
44
+ metadata: {}
90
45
  post_install_message:
91
46
  rdoc_options: []
92
47
  require_paths:
93
48
  - lib
94
49
  required_ruby_version: !ruby/object:Gem::Requirement
95
- none: false
96
50
  requirements:
97
- - - ! '>='
51
+ - - ">="
98
52
  - !ruby/object:Gem::Version
99
53
  version: '0'
100
54
  required_rubygems_version: !ruby/object:Gem::Requirement
101
- none: false
102
55
  requirements:
103
- - - ! '>='
56
+ - - ">="
104
57
  - !ruby/object:Gem::Version
105
58
  version: '0'
106
59
  requirements: []
107
60
  rubyforge_project: ruby_redis_lock
108
- rubygems_version: 1.8.9
61
+ rubygems_version: 2.7.6
109
62
  signing_key:
110
- specification_version: 3
63
+ specification_version: 4
111
64
  summary: RubyRedisLock is a distributed lock for Ruby (using Redis)
112
- test_files: []
65
+ test_files:
66
+ - spec/lib/acquire_lock_spec.rb
67
+ - spec/lib/lock_spec.rb
68
+ - spec/lib/release_lock_spec.rb
69
+ - spec/lib/try_acquire_lock_spec.rb
@@ -1,240 +0,0 @@
1
- {
2
- "RSpec": {
3
- "coverage": {
4
- "C:/Users/Tanin/Documents/Ruby/ruby_redis_lock/lib/ruby_redis_lock.rb": [
5
- 1,
6
- null,
7
- 1,
8
- null,
9
- null,
10
- 1,
11
- 1,
12
- null,
13
- null
14
- ],
15
- "C:/Users/Tanin/Documents/Ruby/ruby_redis_lock/lib/ruby_redis_lock/ruby_redis_lock.rb": [
16
- 1,
17
- null,
18
- null,
19
- 1,
20
- 7,
21
- 6,
22
- null,
23
- 7,
24
- null,
25
- null,
26
- null,
27
- 1,
28
- 1,
29
- null,
30
- 17,
31
- null,
32
- 17,
33
- null,
34
- 43,
35
- null,
36
- 43,
37
- 2,
38
- null,
39
- null,
40
- null,
41
- null,
42
- 15,
43
- null,
44
- null,
45
- null,
46
- 1,
47
- null,
48
- 63,
49
- 63,
50
- null,
51
- 47,
52
- 47,
53
- null,
54
- 3,
55
- 3,
56
- null,
57
- 0,
58
- null,
59
- null,
60
- null,
61
- 1,
62
- null,
63
- 10,
64
- 10,
65
- null,
66
- 8,
67
- null,
68
- 8,
69
- 8,
70
- 8,
71
- null,
72
- null,
73
- 0,
74
- null,
75
- null,
76
- 1,
77
- 140,
78
- null,
79
- null,
80
- null,
81
- null
82
- ],
83
- "C:/Users/Tanin/Documents/Ruby/ruby_redis_lock/spec/lock_spec.rb": [
84
- 1,
85
- null,
86
- 1,
87
- null,
88
- 1,
89
- null,
90
- 1,
91
- null,
92
- null,
93
- null,
94
- 1,
95
- null,
96
- 1,
97
- null,
98
- 1,
99
- 1,
100
- 1,
101
- 1,
102
- null,
103
- null,
104
- null,
105
- 1,
106
- null,
107
- 1,
108
- null,
109
- 1,
110
- null,
111
- null,
112
- null,
113
- 1,
114
- null,
115
- 1,
116
- null,
117
- 1,
118
- 1,
119
- null,
120
- null,
121
- 1,
122
- null,
123
- 1,
124
- null,
125
- 1,
126
- null,
127
- null,
128
- null,
129
- 1,
130
- null,
131
- 1,
132
- 1,
133
- 1,
134
- 1,
135
- null,
136
- null,
137
- null,
138
- 1,
139
- 2,
140
- null,
141
- null,
142
- null,
143
- 1,
144
- null,
145
- 1,
146
- 1,
147
- 1,
148
- null,
149
- null,
150
- null,
151
- null,
152
- 1,
153
- null,
154
- null,
155
- null,
156
- null
157
- ],
158
- "C:/Users/Tanin/Documents/Ruby/ruby_redis_lock/spec/release_lock_spec.rb": [
159
- 1,
160
- null,
161
- 1,
162
- null,
163
- 1,
164
- null,
165
- 1,
166
- null,
167
- 1,
168
- null,
169
- null,
170
- null,
171
- 1,
172
- null,
173
- 1,
174
- null,
175
- 1,
176
- 1,
177
- null,
178
- null,
179
- null,
180
- null
181
- ],
182
- "C:/Users/Tanin/Documents/Ruby/ruby_redis_lock/spec/spec_helper.rb": [
183
- null,
184
- 1,
185
- 1,
186
- 1,
187
- null,
188
- null,
189
- 1,
190
- null,
191
- 1,
192
- null,
193
- 1,
194
- null,
195
- 1,
196
- null,
197
- 1,
198
- 15,
199
- 15,
200
- null,
201
- null,
202
- null
203
- ],
204
- "C:/Users/Tanin/Documents/Ruby/ruby_redis_lock/spec/try_acquire_lock_spec.rb": [
205
- 1,
206
- null,
207
- 1,
208
- null,
209
- 1,
210
- null,
211
- 1,
212
- null,
213
- null,
214
- null,
215
- 1,
216
- null,
217
- 1,
218
- 1,
219
- null,
220
- null,
221
- null,
222
- 1,
223
- null,
224
- 1,
225
- null,
226
- 1,
227
- 1,
228
- null,
229
- null,
230
- null,
231
- 1,
232
- null,
233
- null,
234
- null,
235
- null
236
- ]
237
- },
238
- "timestamp": 1317324230
239
- }
240
- }