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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f7ad533d184cf0ee760d74f327c2b525f49a867
4
- data.tar.gz: 8abc273c731560967c174fba47213223a4144aef
3
+ metadata.gz: 4ad21effaed37cc48dee7cb4353998221e9814de
4
+ data.tar.gz: 9abf554dd2f407e2763299ba2a62d190ba786967
5
5
  SHA512:
6
- metadata.gz: 0e6a0a11a74e266c5d3edd012da73b82180efcc0e28b401b16006c6d6fa5eb8db6cda0bf2e21d10cd62262f59bce8fd0b1b2d453b49f39e776fab1b466c8d7d2
7
- data.tar.gz: fce220d63891f62e72c6441304711408e77779ab4047de1a198b9d7dce811629ad2cedfdae13a045ee1532757eaeb2b2c5eb67d3392d2c4098c995670cd14c00
6
+ metadata.gz: 008a3d014aad10c15451575804979e1f2c366b3b6042d516676d7380ba6504e06848cb98e5ac997753ecd8acf15a6fc00cd1785b688d134690ee679178f8c181
7
+ data.tar.gz: cc9be28a39fc50cf93d7e1dcf9189fb26e283f841aaabfd67047b931a4a4f72f6da9efc678f00dba6fb0aba57205ef427fc6c98460e8b5ad5fc1658feb0bfd74
@@ -1,23 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- toughguy (0.2.9)
4
+ toughguy (0.3.0)
5
5
  assistance (= 0.1.5)
6
- bson_ext (>= 1.8.0)
7
- mongo (>= 1.8.0)
8
- plucky (= 0.6.6)
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.3)
15
- bson_ext (1.12.3)
16
- bson (~> 1.12.3)
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.3)
19
- bson (= 1.12.3)
20
- plucky (0.6.6)
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.11.2
46
+ 1.13.7
@@ -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)}
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module ToughGuy
3
- VERSION = '0.2.9'
3
+ VERSION = '0.3.0'
4
4
  end
@@ -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.8.0'
20
- s.add_dependency 'bson_ext', '>= 1.8.0'
21
- s.add_dependency 'plucky', '0.6.6'
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.2.9
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: 2016-06-08 00:00:00.000000000 Z
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.8.0
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.8.0
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.8.0
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.8.0
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.6.6
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.6.6
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.5.1
112
+ rubygems_version: 2.6.8
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Simple MongoDB ORM