toughguy 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -11
- data/lib/toughguy/model.rb +1 -0
- data/lib/toughguy/version.rb +1 -1
- data/toughguy.gemspec +3 -3
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ad21effaed37cc48dee7cb4353998221e9814de
|
4
|
+
data.tar.gz: 9abf554dd2f407e2763299ba2a62d190ba786967
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 008a3d014aad10c15451575804979e1f2c366b3b6042d516676d7380ba6504e06848cb98e5ac997753ecd8acf15a6fc00cd1785b688d134690ee679178f8c181
|
7
|
+
data.tar.gz: cc9be28a39fc50cf93d7e1dcf9189fb26e283f841aaabfd67047b931a4a4f72f6da9efc678f00dba6fb0aba57205ef427fc6c98460e8b5ad5fc1658feb0bfd74
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
toughguy (0.
|
4
|
+
toughguy (0.3.0)
|
5
5
|
assistance (= 0.1.5)
|
6
|
-
bson_ext (>= 1.
|
7
|
-
mongo (>= 1.
|
8
|
-
plucky (= 0.
|
6
|
+
bson_ext (>= 1.12.5)
|
7
|
+
mongo (>= 1.12.5)
|
8
|
+
plucky (= 0.7.0)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
13
|
assistance (0.1.5)
|
14
|
-
bson (1.12.
|
15
|
-
bson_ext (1.12.
|
16
|
-
bson (~> 1.12.
|
14
|
+
bson (1.12.5)
|
15
|
+
bson_ext (1.12.5)
|
16
|
+
bson (~> 1.12.5)
|
17
17
|
diff-lcs (1.2.5)
|
18
|
-
mongo (1.12.
|
19
|
-
bson (= 1.12.
|
20
|
-
plucky (0.
|
18
|
+
mongo (1.12.5)
|
19
|
+
bson (= 1.12.5)
|
20
|
+
plucky (0.7.0)
|
21
21
|
mongo (~> 1.5)
|
22
22
|
rake (10.4.2)
|
23
23
|
rspec (3.3.0)
|
@@ -43,4 +43,4 @@ DEPENDENCIES
|
|
43
43
|
toughguy!
|
44
44
|
|
45
45
|
BUNDLED WITH
|
46
|
-
1.
|
46
|
+
1.13.7
|
data/lib/toughguy/model.rb
CHANGED
@@ -304,6 +304,7 @@ module ToughGuy
|
|
304
304
|
def subclass_with_db(db, db_key)
|
305
305
|
c = Class.new(self).tap do |klass|
|
306
306
|
klass.database = db
|
307
|
+
klass.connection = db.connection
|
307
308
|
klass.set_collection_name(collection_name)
|
308
309
|
if @indexes
|
309
310
|
@indexes.each {|idx| klass.ensure_index(*idx)}
|
data/lib/toughguy/version.rb
CHANGED
data/toughguy.gemspec
CHANGED
@@ -16,8 +16,8 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
|
19
|
-
s.add_dependency 'mongo', '>= 1.
|
20
|
-
s.add_dependency 'bson_ext', '>= 1.
|
21
|
-
s.add_dependency 'plucky', '0.
|
19
|
+
s.add_dependency 'mongo', '>= 1.12.5'
|
20
|
+
s.add_dependency 'bson_ext', '>= 1.12.5'
|
21
|
+
s.add_dependency 'plucky', '0.7.0'
|
22
22
|
s.add_dependency 'assistance', '0.1.5'
|
23
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toughguy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sharon Rosner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongo
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.12.5
|
20
20
|
type: :runtime
|
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.12.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bson_ext
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.12.5
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.12.5
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: plucky
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.7.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.7.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: assistance
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.6.8
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Simple MongoDB ORM
|