active_record_mutex 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -4
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/active_record_mutex.gemspec +10 -10
- data/lib/active_record/database_mutex/version.rb +1 -1
- data/test/test_helper.rb +0 -4
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ad53b840d867e5a6a1620af52a4977225291b77
|
4
|
+
data.tar.gz: 148d6b7989ffe8e9c2a84a75ba09e160774e52a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fba55ed3b59f757279d915d44a9346f032f50ed49f95663867785302ad5bd98b203c0eff1f6b548f04b4e7a28688b0e39a9c62809872d76a86bc2c3b2a07d99
|
7
|
+
data.tar.gz: bdfacad72359df7eac204ac7c634d2718507520a6de4c2a88a760786130a77f8cd9699a12e001534615aab9b3b983761438fd82c2340668d16cd4a5bf0160d99
|
data/.travis.yml
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
rvm:
|
2
|
-
- 2.0
|
2
|
+
- 2.0
|
3
3
|
- 2.1
|
4
|
-
-
|
4
|
+
- 2.2
|
5
|
+
- 2.3.3
|
5
6
|
- jruby-head
|
6
7
|
matrix:
|
7
8
|
allow_failures:
|
@@ -9,6 +10,11 @@ matrix:
|
|
9
10
|
- rvm: jruby-head
|
10
11
|
before_script:
|
11
12
|
- mysql -e 'create database test;'
|
12
|
-
|
13
|
-
-
|
13
|
+
script:
|
14
|
+
- rake && codeclimate-test-reporter --file coverage
|
14
15
|
sudo: false
|
16
|
+
addons:
|
17
|
+
code_climate:
|
18
|
+
repo_token: 316615e61480039c3444f59bf124cf810d31110326e51f133e9cc9852de14892
|
19
|
+
env:
|
20
|
+
- START_SIMPLECOV=1
|
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ GemHadar do
|
|
18
18
|
licenses << 'GPL-2'
|
19
19
|
|
20
20
|
dependency 'mysql2', '~>0.3.0'
|
21
|
-
dependency 'activerecord', '~> 4.0'
|
21
|
+
dependency 'activerecord', '~> 4.0', '<6'
|
22
22
|
dependency 'tins', '~> 1.12'
|
23
23
|
development_dependency 'test-unit', '~>3.0'
|
24
24
|
development_dependency 'byebug'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.0
|
data/active_record_mutex.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: active_record_mutex 2.
|
2
|
+
# stub: active_record_mutex 2.5.0 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "active_record_mutex".freeze
|
6
|
-
s.version = "2.
|
6
|
+
s.version = "2.5.0"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Florian Frank".freeze]
|
11
|
-
s.date = "2016-
|
11
|
+
s.date = "2016-12-07"
|
12
12
|
s.description = "Mutex that can be used to synchronise ruby processes via an ActiveRecord datababase connection. (Only Mysql is supported at the moment.)".freeze
|
13
13
|
s.email = "flori@ping.de".freeze
|
14
14
|
s.extra_rdoc_files = ["README.md".freeze, "lib/active_record/database_mutex.rb".freeze, "lib/active_record/database_mutex/implementation.rb".freeze, "lib/active_record/database_mutex/version.rb".freeze, "lib/active_record/mutex.rb".freeze, "lib/active_record_mutex.rb".freeze]
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.homepage = "http://github.com/flori/active_record_mutex".freeze
|
17
17
|
s.licenses = ["GPL-2".freeze]
|
18
18
|
s.rdoc_options = ["--title".freeze, "ActiveRecordMutex - Implementation of a Mutex for Active Record".freeze, "--main".freeze, "README.md".freeze]
|
19
|
-
s.rubygems_version = "2.6.
|
19
|
+
s.rubygems_version = "2.6.8".freeze
|
20
20
|
s.summary = "Implementation of a Mutex for Active Record".freeze
|
21
21
|
s.test_files = ["test/database_mutex_test.rb".freeze, "test/test_helper.rb".freeze]
|
22
22
|
|
@@ -24,29 +24,29 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.specification_version = 4
|
25
25
|
|
26
26
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
27
|
-
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.
|
27
|
+
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
28
28
|
s.add_development_dependency(%q<test-unit>.freeze, ["~> 3.0"])
|
29
29
|
s.add_development_dependency(%q<byebug>.freeze, [">= 0"])
|
30
30
|
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
31
31
|
s.add_runtime_dependency(%q<mysql2>.freeze, ["~> 0.3.0"])
|
32
|
-
s.add_runtime_dependency(%q<activerecord>.freeze, ["~> 4.0"])
|
32
|
+
s.add_runtime_dependency(%q<activerecord>.freeze, ["< 6", "~> 4.0"])
|
33
33
|
s.add_runtime_dependency(%q<tins>.freeze, ["~> 1.12"])
|
34
34
|
else
|
35
|
-
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.
|
35
|
+
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
36
36
|
s.add_dependency(%q<test-unit>.freeze, ["~> 3.0"])
|
37
37
|
s.add_dependency(%q<byebug>.freeze, [">= 0"])
|
38
38
|
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
39
39
|
s.add_dependency(%q<mysql2>.freeze, ["~> 0.3.0"])
|
40
|
-
s.add_dependency(%q<activerecord>.freeze, ["~> 4.0"])
|
40
|
+
s.add_dependency(%q<activerecord>.freeze, ["< 6", "~> 4.0"])
|
41
41
|
s.add_dependency(%q<tins>.freeze, ["~> 1.12"])
|
42
42
|
end
|
43
43
|
else
|
44
|
-
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.
|
44
|
+
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
45
45
|
s.add_dependency(%q<test-unit>.freeze, ["~> 3.0"])
|
46
46
|
s.add_dependency(%q<byebug>.freeze, [">= 0"])
|
47
47
|
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
48
48
|
s.add_dependency(%q<mysql2>.freeze, ["~> 0.3.0"])
|
49
|
-
s.add_dependency(%q<activerecord>.freeze, ["~> 4.0"])
|
49
|
+
s.add_dependency(%q<activerecord>.freeze, ["< 6", "~> 4.0"])
|
50
50
|
s.add_dependency(%q<tins>.freeze, ["~> 1.12"])
|
51
51
|
end
|
52
52
|
end
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record_mutex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.9.1
|
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
|
-
version: 1.
|
26
|
+
version: 1.9.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: test-unit
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,6 +87,9 @@ dependencies:
|
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '4.0'
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '6'
|
90
93
|
type: :runtime
|
91
94
|
prerelease: false
|
92
95
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -94,6 +97,9 @@ dependencies:
|
|
94
97
|
- - "~>"
|
95
98
|
- !ruby/object:Gem::Version
|
96
99
|
version: '4.0'
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '6'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: tins
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
166
|
version: '0'
|
161
167
|
requirements: []
|
162
168
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.6.
|
169
|
+
rubygems_version: 2.6.8
|
164
170
|
signing_key:
|
165
171
|
specification_version: 4
|
166
172
|
summary: Implementation of a Mutex for Active Record
|