mongoid-locker 0.3.1 → 0.3.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: db96ccf9519cc4ef2df88bf968cfc40acd6d2ff7
4
- data.tar.gz: 37d88ea39dbaec86ffe1be4ded07ad3fe1b47ac3
3
+ metadata.gz: 7cffd896e4b9edf28567f50b95a4fca968a63889
4
+ data.tar.gz: 705e4c702b50629be4785679f76f49166ce2b84b
5
5
  SHA512:
6
- metadata.gz: 8d3074ad2fcef9295c961924fde5d688bbede292f95fe3c0cc81ea155ab7f66659ab6ae13f080d4d4f6497b7dd528848b93ea6522be36cdd4cf6d4d7d2a0e757
7
- data.tar.gz: 63bce2ad2b457225073b839744fbb6667f3e387f313d3a06095f35f4d9b0a4006328ac7b5c195c7a6869c6eb9041357050aff28a6baa6d5e86a8b8f410d91131
6
+ metadata.gz: 839d56221e31ea70ff62502cb74d74fd4b904c61ce23ffc9923c5ca05897d213a33f1e494ac30ff18ab44bc1524adc7b184bf8394c65e8761df503c7fe44b7a6
7
+ data.tar.gz: a2638f06f54f87fe71b481a0d8cea49341e9ece00867a91c447efa2dcb1e577e6d6fefd2b6628a776c6b75ff4845f8e136dec2d092d40dcf6938182fff41e66a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## HEAD ([diff](https://github.com/afeld/mongoid-locker/compare/v0.3.2...master?w=1))
4
+
5
+ * your contribution here
6
+
7
+ ## 0.3.2 ([diff](https://github.com/afeld/mongoid-locker/compare/v0.3.1...v0.3.2?w=1))
8
+
9
+ * loosen Mongoid dependency - #33
10
+
3
11
  ## 0.3.1 ([diff](https://github.com/afeld/mongoid-locker/compare/v0.3.0...v0.3.1?w=1))
4
12
 
5
13
  * fixed race condition, `undefined method '-' for nil:NilClass` - #18
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- case version = ENV['MONGOID_VERSION'] || '~> 4.0'
3
+ case ENV['MONGOID_VERSION']
4
4
  when /4/
5
5
  gem 'mongoid', '~> 4.0'
6
6
  when /3/
@@ -9,7 +9,7 @@ when /2/
9
9
  gem 'bson_ext', platforms: :ruby
10
10
  gem 'mongoid', '~> 2.8'
11
11
  else
12
- gem 'mongoid', version
12
+ gem 'mongoid', '>= 2.8', '< 5.0'
13
13
  end
14
14
 
15
15
  group :development do
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: mongoid-locker 0.3.1 ruby lib
5
+ # stub: mongoid-locker 0.3.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "mongoid-locker"
9
- s.version = "0.3.1"
9
+ s.version = "0.3.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Aidan Feldman"]
14
- s.date = "2015-03-16"
14
+ s.date = "2015-04-29"
15
15
  s.description = "Allows multiple processes to operate on individual documents in MongoDB while ensuring that only one can act at a time."
16
16
  s.email = "aidan.feldman@gmail.com"
17
17
  s.extra_rdoc_files = [
@@ -50,14 +50,14 @@ Gem::Specification.new do |s|
50
50
  ]
51
51
  s.homepage = "http://github.com/afeld/mongoid-locker"
52
52
  s.licenses = ["MIT"]
53
- s.rubygems_version = "2.2.2"
53
+ s.rubygems_version = "2.4.6"
54
54
  s.summary = "Document-level locking for MongoDB via Mongoid"
55
55
 
56
56
  if s.respond_to? :specification_version then
57
57
  s.specification_version = 4
58
58
 
59
59
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
- s.add_runtime_dependency(%q<mongoid>, ["~> 4.0"])
60
+ s.add_runtime_dependency(%q<mongoid>, ["< 5.0", ">= 2.8"])
61
61
  s.add_development_dependency(%q<rspec>, ["~> 3.0"])
62
62
  s.add_development_dependency(%q<bundler>, ["~> 1.1"])
63
63
  s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
@@ -66,7 +66,7 @@ Gem::Specification.new do |s|
66
66
  s.add_development_dependency(%q<rake>, [">= 0"])
67
67
  s.add_development_dependency(%q<rubocop>, ["= 0.29.1"])
68
68
  else
69
- s.add_dependency(%q<mongoid>, ["~> 4.0"])
69
+ s.add_dependency(%q<mongoid>, ["< 5.0", ">= 2.8"])
70
70
  s.add_dependency(%q<rspec>, ["~> 3.0"])
71
71
  s.add_dependency(%q<bundler>, ["~> 1.1"])
72
72
  s.add_dependency(%q<jeweler>, ["~> 1.8"])
@@ -76,7 +76,7 @@ Gem::Specification.new do |s|
76
76
  s.add_dependency(%q<rubocop>, ["= 0.29.1"])
77
77
  end
78
78
  else
79
- s.add_dependency(%q<mongoid>, ["~> 4.0"])
79
+ s.add_dependency(%q<mongoid>, ["< 5.0", ">= 2.8"])
80
80
  s.add_dependency(%q<rspec>, ["~> 3.0"])
81
81
  s.add_dependency(%q<bundler>, ["~> 1.1"])
82
82
  s.add_dependency(%q<jeweler>, ["~> 1.8"])
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-locker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aidan Feldman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-16 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - "<"
18
+ - !ruby/object:Gem::Version
19
+ version: '5.0'
20
+ - - ">="
18
21
  - !ruby/object:Gem::Version
19
- version: '4.0'
22
+ version: '2.8'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - "<"
28
+ - !ruby/object:Gem::Version
29
+ version: '5.0'
30
+ - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: '4.0'
32
+ version: '2.8'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rspec
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -179,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
185
  version: '0'
180
186
  requirements: []
181
187
  rubyforge_project:
182
- rubygems_version: 2.2.2
188
+ rubygems_version: 2.4.6
183
189
  signing_key:
184
190
  specification_version: 4
185
191
  summary: Document-level locking for MongoDB via Mongoid