mongo-lock 1.1.1 → 1.1.3

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,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2Y4MjU2MmNlNDI5ZjJhMWRlODA0NThmZTk3OWMyMGFlMGU4NWNjNg==
4
+ OTJmMjM1MGUyY2EyNWRkMDc5OWQ3MzM4MjZiZDJkMzlkYjA4YTc3Yw==
5
5
  data.tar.gz: !binary |-
6
- MGZlYjEyMjY5ZTc3ZTkwNGI1OTE2MDBlNDVjYzZiMDQ2NWMxMTg2Ng==
6
+ MTRjZmE1MzQyYWJjZjFkOTU2MzdjMzc5M2Y1ZjcwNWZiNGNjNjYzOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NjA1ZjgzNWJiMGVjYmNiMjkzOGY3YWUxMzNhMTAyZDFlY2YxNzU2MzgzOTk3
10
- MjBkY2E5NGM1ZmQwMzBiZWZlZjdkNzY0ODU5MjY0OTVkZWViMmJkOTY5OWY1
11
- NDJhZThkZWNjYWEyOTdhZjI3YmE1YzhlZTAwMTBlYWM0OTQxNWU=
9
+ MjlmNDc3MjU3ZGQ5NTU1ZDIzNTQ1MmRhOWRlZGFlMzVhOTBjYzFlYWUyMzJh
10
+ ZmZmN2MwNTM4OWI5Mjg4MzhhYWRmYTQxYTEwM2E5ODA0M2NiZTAyNzFjZDIz
11
+ OGNhYzAxNzNlNmRmZjYxYTVkYjJlM2MwYjE0NjRmNGRjMmI5MDg=
12
12
  data.tar.gz: !binary |-
13
- YjhiMjJmZmI3ZWJjMzFhZGZjMTAxMWRhN2RlZTY5ZGNmOTcwNzk0MTRiNjA0
14
- OTUzOWJkZTM4MWU5OTdkNTYyOWFkZDYyNmZjZTczNWIwNThlNmM4Yzk4ZDVk
15
- YjZjZTNlNTcyOTg1M2ZlOTgyNDM2OTYzMGM0MjdmNzU2MTJmNDI=
13
+ MGRhMWJkOWIwYmExMTJmMjMzMGZkMTllNzlkNjI3N2YzODI4M2FkOTIwMGMx
14
+ NWI2YjkyOGEwMzExYWNkYTk4MzM0ZDYzZmQwNGVlOGUxMDQ3YTZhMTQ3NmEw
15
+ NzZmYjI3NDY0Y2YyZWEzOTdlNTNhMjMxN2M3OTAxMmZlZmJiODE=
@@ -1,19 +1,39 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongo-lock (1.1.0)
4
+ mongo-lock (1.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
+ actionmailer (4.0.3)
10
+ actionpack (= 4.0.3)
11
+ mail (~> 2.5.4)
12
+ actionpack (4.0.3)
13
+ activesupport (= 4.0.3)
14
+ builder (~> 3.1.0)
15
+ erubis (~> 2.7.0)
16
+ rack (~> 1.5.2)
17
+ rack-test (~> 0.6.2)
18
+ activemodel (4.0.3)
19
+ activesupport (= 4.0.3)
20
+ builder (~> 3.1.0)
21
+ activerecord (4.0.3)
22
+ activemodel (= 4.0.3)
23
+ activerecord-deprecated_finders (~> 1.0.2)
24
+ activesupport (= 4.0.3)
25
+ arel (~> 4.0.0)
26
+ activerecord-deprecated_finders (1.0.3)
9
27
  activesupport (4.0.3)
10
28
  i18n (~> 0.6, >= 0.6.4)
11
29
  minitest (~> 4.2)
12
30
  multi_json (~> 1.3)
13
31
  thread_safe (~> 0.1)
14
32
  tzinfo (~> 0.3.37)
33
+ arel (4.0.2)
15
34
  atomic (1.1.14)
16
35
  bson (1.9.2)
36
+ builder (3.1.4)
17
37
  coderay (1.1.0)
18
38
  coveralls (0.7.0)
19
39
  multi_json (~> 1.3)
@@ -23,20 +43,43 @@ GEM
23
43
  thor
24
44
  diff-lcs (1.2.5)
25
45
  docile (1.1.3)
46
+ erubis (2.7.0)
26
47
  fuubar (1.3.2)
27
48
  rspec (>= 2.14.0, < 3.1.0)
28
49
  ruby-progressbar (~> 1.3)
50
+ hike (1.2.3)
29
51
  i18n (0.6.9)
52
+ mail (2.5.4)
53
+ mime-types (~> 1.16)
54
+ treetop (~> 1.4.8)
30
55
  method_source (0.8.2)
31
56
  mime-types (1.25.1)
32
57
  minitest (4.7.5)
33
58
  mongo (1.9.2)
34
59
  bson (~> 1.9.2)
35
60
  multi_json (1.8.4)
61
+ polyglot (0.3.4)
36
62
  pry (0.9.12.6)
37
63
  coderay (~> 1.0)
38
64
  method_source (~> 0.8)
39
65
  slop (~> 3.4)
66
+ rack (1.5.2)
67
+ rack-test (0.6.2)
68
+ rack (>= 1.0)
69
+ rails (4.0.3)
70
+ actionmailer (= 4.0.3)
71
+ actionpack (= 4.0.3)
72
+ activerecord (= 4.0.3)
73
+ activesupport (= 4.0.3)
74
+ bundler (>= 1.3.0, < 2.0)
75
+ railties (= 4.0.3)
76
+ sprockets-rails (~> 2.0.0)
77
+ railties (4.0.3)
78
+ actionpack (= 4.0.3)
79
+ activesupport (= 4.0.3)
80
+ rake (>= 0.8.7)
81
+ thor (>= 0.18.1, < 2.0)
82
+ rake (10.1.1)
40
83
  rest-client (1.6.7)
41
84
  mime-types (>= 1.16)
42
85
  rspec (2.14.1)
@@ -54,12 +97,25 @@ GEM
54
97
  simplecov-html (~> 0.8.0)
55
98
  simplecov-html (0.8.0)
56
99
  slop (3.4.7)
100
+ sprockets (2.10.1)
101
+ hike (~> 1.2)
102
+ multi_json (~> 1.0)
103
+ rack (~> 1.0)
104
+ tilt (~> 1.1, != 1.3.0)
105
+ sprockets-rails (2.0.1)
106
+ actionpack (>= 3.0)
107
+ activesupport (>= 3.0)
108
+ sprockets (~> 2.8)
57
109
  term-ansicolor (1.3.0)
58
110
  tins (~> 1.0)
59
111
  thor (0.18.1)
60
112
  thread_safe (0.1.3)
61
113
  atomic
114
+ tilt (1.4.1)
62
115
  tins (1.0.0)
116
+ treetop (1.4.15)
117
+ polyglot
118
+ polyglot (>= 0.3.1)
63
119
  tzinfo (0.3.38)
64
120
 
65
121
  PLATFORMS
@@ -72,4 +128,5 @@ DEPENDENCIES
72
128
  mongo
73
129
  mongo-lock!
74
130
  pry
131
+ rails
75
132
  rspec
@@ -1,10 +1,4 @@
1
1
  # encoding: utf-8
2
- require "mongoid"
3
- require "mongoid/config"
4
- require "mongoid/railties/document"
5
- require "rails"
6
- require "rails/mongoid"
7
-
8
2
  module Rails
9
3
  module Mongo
10
4
  module Lock
@@ -1,5 +1,5 @@
1
1
  module Mongo
2
2
  class Lock
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.3"
4
4
  end
5
5
  end
@@ -28,5 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'pry'
29
29
  spec.add_development_dependency 'activesupport'
30
30
  spec.add_development_dependency 'coveralls'
31
+ spec.add_development_dependency 'rails'
31
32
 
32
33
  end
@@ -1,5 +1,6 @@
1
1
  require 'coveralls'
2
2
  Coveralls.wear!
3
+ require 'rails'
3
4
  require 'mongo-lock'
4
5
  require 'mongo'
5
6
  require 'active_support/core_ext/numeric/time'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo-lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Spence
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-11 00:00:00.000000000 Z
11
+ date: 2014-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  description: Key based pessimistic locking for Ruby and MongoDB. Is this key avaliable?
98
112
  Yes - Lock it for me for a sec will you. No - OK I'll just wait here until its ready.
99
113
  email: msaspence@gmail.com