active_record_mutex 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/active_record_mutex.gemspec +9 -8
- data/lib/active_record/database_mutex/version.rb +2 -2
- metadata +17 -35
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 10f7287df270aea08ad6b2816d16b2f379cf71e0
|
4
|
+
data.tar.gz: 0970e00bb106ad24c9e504c72e4b249d55c2ec09
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 11770e3b7f16ae9f4db32009622d10dc795df0089c809c3f97c481fd00a4573b7ab6f74e7faf153b66c8d3d6b9d9630f78ff9cb541f02b2e1e075e88951f5980
|
7
|
+
data.tar.gz: e6f1d08f02a2c876f1919b19ee17eeb74c6f48ffb1e66310e270411067bd849ecd5110b7c33c29a1fd84f54ce9684e877e81b369ef1ea6bf1c11de3a50739fc2
|
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/active_record_mutex.gemspec
CHANGED
@@ -1,37 +1,38 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
# stub: active_record_mutex 1.0.1 ruby lib
|
2
3
|
|
3
4
|
Gem::Specification.new do |s|
|
4
5
|
s.name = "active_record_mutex"
|
5
|
-
s.version = "1.0.
|
6
|
+
s.version = "1.0.1"
|
6
7
|
|
7
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
9
|
s.authors = ["Florian Frank"]
|
9
|
-
s.date = "
|
10
|
+
s.date = "2013-11-18"
|
10
11
|
s.description = "Mutex that can be used to synchronise ruby processes via an ActiveRecord datababase connection. (Only Mysql is supported at the moment.)"
|
11
12
|
s.email = "flori@ping.de"
|
12
|
-
s.extra_rdoc_files = ["README.rdoc", "lib/
|
13
|
+
s.extra_rdoc_files = ["README.rdoc", "lib/active_record/database_mutex.rb", "lib/active_record/database_mutex/implementation.rb", "lib/active_record/database_mutex/version.rb", "lib/active_record/mutex.rb", "lib/active_record_mutex.rb"]
|
13
14
|
s.files = [".gitignore", "CHANGES", "Gemfile", "README.rdoc", "Rakefile", "VERSION", "active_record_mutex.gemspec", "lib/active_record/database_mutex.rb", "lib/active_record/database_mutex/implementation.rb", "lib/active_record/database_mutex/version.rb", "lib/active_record/mutex.rb", "lib/active_record_mutex.rb", "test/mutex_test.rb"]
|
14
15
|
s.homepage = "http://github.com/flori/active_record_mutex"
|
15
16
|
s.rdoc_options = ["--title", "ActiveRecordMutex - Implementation of a Mutex for Active Record", "--main", "README.rdoc"]
|
16
17
|
s.require_paths = ["lib"]
|
17
|
-
s.rubygems_version = "1.
|
18
|
+
s.rubygems_version = "2.1.11"
|
18
19
|
s.summary = "Implementation of a Mutex for Active Record"
|
19
20
|
s.test_files = ["test/mutex_test.rb"]
|
20
21
|
|
21
22
|
if s.respond_to? :specification_version then
|
22
|
-
s.specification_version =
|
23
|
+
s.specification_version = 4
|
23
24
|
|
24
25
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
25
|
-
s.add_development_dependency(%q<gem_hadar>, ["~> 0.
|
26
|
+
s.add_development_dependency(%q<gem_hadar>, ["~> 0.3.2"])
|
26
27
|
s.add_runtime_dependency(%q<mysql2>, ["~> 0.3.0"])
|
27
28
|
s.add_runtime_dependency(%q<activerecord>, [">= 0"])
|
28
29
|
else
|
29
|
-
s.add_dependency(%q<gem_hadar>, ["~> 0.
|
30
|
+
s.add_dependency(%q<gem_hadar>, ["~> 0.3.2"])
|
30
31
|
s.add_dependency(%q<mysql2>, ["~> 0.3.0"])
|
31
32
|
s.add_dependency(%q<activerecord>, [">= 0"])
|
32
33
|
end
|
33
34
|
else
|
34
|
-
s.add_dependency(%q<gem_hadar>, ["~> 0.
|
35
|
+
s.add_dependency(%q<gem_hadar>, ["~> 0.3.2"])
|
35
36
|
s.add_dependency(%q<mysql2>, ["~> 0.3.0"])
|
36
37
|
s.add_dependency(%q<activerecord>, [">= 0"])
|
37
38
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module ActiveRecord::DatabaseMutex
|
2
2
|
# ActiveRecord::DatabaseMutex version
|
3
|
-
VERSION = '1.0.
|
4
|
-
VERSION_ARRAY = VERSION.split(
|
3
|
+
VERSION = '1.0.1'
|
4
|
+
VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
|
5
5
|
VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
|
6
6
|
VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
|
7
7
|
VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
|
metadata
CHANGED
@@ -1,36 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_mutex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Florian Frank
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-11-18 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: gem_hadar
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
19
|
+
version: 0.3.2
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
26
|
+
version: 0.3.2
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: mysql2
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ~>
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ~>
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,17 +41,15 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: activerecord
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
description: Mutex that can be used to synchronise ruby processes via an ActiveRecord
|
@@ -66,17 +59,11 @@ executables: []
|
|
66
59
|
extensions: []
|
67
60
|
extra_rdoc_files:
|
68
61
|
- README.rdoc
|
69
|
-
-
|
70
|
-
|
71
|
-
-
|
72
|
-
|
73
|
-
-
|
74
|
-
bGliL2FjdGl2ZV9yZWNvcmQvZGF0YWJhc2VfbXV0ZXgucmI=
|
75
|
-
- !binary |-
|
76
|
-
bGliL2FjdGl2ZV9yZWNvcmQvZGF0YWJhc2VfbXV0ZXgvdmVyc2lvbi5yYg==
|
77
|
-
- !binary |-
|
78
|
-
bGliL2FjdGl2ZV9yZWNvcmQvZGF0YWJhc2VfbXV0ZXgvaW1wbGVtZW50YXRp
|
79
|
-
b24ucmI=
|
62
|
+
- lib/active_record/database_mutex.rb
|
63
|
+
- lib/active_record/database_mutex/implementation.rb
|
64
|
+
- lib/active_record/database_mutex/version.rb
|
65
|
+
- lib/active_record/mutex.rb
|
66
|
+
- lib/active_record_mutex.rb
|
80
67
|
files:
|
81
68
|
- .gitignore
|
82
69
|
- CHANGES
|
@@ -93,6 +80,7 @@ files:
|
|
93
80
|
- test/mutex_test.rb
|
94
81
|
homepage: http://github.com/flori/active_record_mutex
|
95
82
|
licenses: []
|
83
|
+
metadata: {}
|
96
84
|
post_install_message:
|
97
85
|
rdoc_options:
|
98
86
|
- --title
|
@@ -102,26 +90,20 @@ rdoc_options:
|
|
102
90
|
require_paths:
|
103
91
|
- lib
|
104
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - '>='
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
|
-
segments:
|
111
|
-
- 0
|
112
|
-
hash: 3312352777987471418
|
113
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
98
|
requirements:
|
116
|
-
- -
|
99
|
+
- - '>='
|
117
100
|
- !ruby/object:Gem::Version
|
118
101
|
version: '0'
|
119
102
|
requirements: []
|
120
103
|
rubyforge_project:
|
121
|
-
rubygems_version: 1.
|
104
|
+
rubygems_version: 2.1.11
|
122
105
|
signing_key:
|
123
|
-
specification_version:
|
106
|
+
specification_version: 4
|
124
107
|
summary: Implementation of a Mutex for Active Record
|
125
108
|
test_files:
|
126
|
-
-
|
127
|
-
dGVzdC9tdXRleF90ZXN0LnJi
|
109
|
+
- test/mutex_test.rb
|