toughguy 0.2.4 → 0.2.6

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: c2f4016134ab3b37d6767ce31f44766e9a1ed90c
4
- data.tar.gz: aa45a2f2592ec224d5e50eb9e4af792441335044
3
+ metadata.gz: 67c2c64a4c1fadf5431d51f7e7be09d8a0eb3565
4
+ data.tar.gz: fc245c313b5049f17ef08faf34f979c807367fda
5
5
  SHA512:
6
- metadata.gz: f6cc5c2cc9e88ebe81fa69fad470edaf1df1c6119ed714ca801c063de6112d1f52c819bc522ac4f7dd54044e66c00a37f5af74f8383b6aeb2759fc8580e8e19b
7
- data.tar.gz: 1a2e5dd9a1480489a2203075fd9e2e838f509681c2e0fa20e01c71a9bbe77a875b30c82d2af5bc3082eedc4ba518f2e1f30fbef73ee7fc23bd5dec189b568a9c
6
+ metadata.gz: 274c226461e62a3c94cbd0111f2135f5d1cb23d1dafe2a5a6ed9513117b6a794bc056313c2a90c7e8933f7492a0e7b8fe4ffb81e18f8d2977e66404bd12a9514
7
+ data.tar.gz: b06ab96596d347c0ea4ef10668801810faf2fa77cfd2f729f54c37795a2d22762dfe22a17ddfe319705f980f4c39f3440d574c801b5e68b43776d588f8c5866c
data/Gemfile CHANGED
@@ -1,10 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
3
 
4
- gem "mongo", "1.11.1"
5
- gem "bson_ext", "1.11.1"
6
- gem "plucky", "0.6.6"
7
- gem "assistance", "0.1.5"
8
4
  gem "rake"
9
5
 
10
6
  group(:test) do
data/Gemfile.lock CHANGED
@@ -1,46 +1,43 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- toughguy (0.2.4)
4
+ toughguy (0.2.5)
5
5
  assistance (= 0.1.5)
6
- bson_ext (= 1.11.1)
7
- mongo (= 1.11.1)
6
+ bson_ext (= 1.12.3)
7
+ mongo (= 1.12.3)
8
8
  plucky (= 0.6.6)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
13
  assistance (0.1.5)
14
- bson (1.11.1)
15
- bson_ext (1.11.1)
16
- bson (~> 1.11.1)
14
+ bson (1.12.3)
15
+ bson_ext (1.12.3)
16
+ bson (~> 1.12.3)
17
17
  diff-lcs (1.2.5)
18
- mongo (1.11.1)
19
- bson (= 1.11.1)
18
+ mongo (1.12.3)
19
+ bson (= 1.12.3)
20
20
  plucky (0.6.6)
21
21
  mongo (~> 1.5)
22
22
  rake (10.4.2)
23
- rspec (3.1.0)
24
- rspec-core (~> 3.1.0)
25
- rspec-expectations (~> 3.1.0)
26
- rspec-mocks (~> 3.1.0)
27
- rspec-core (3.1.7)
28
- rspec-support (~> 3.1.0)
29
- rspec-expectations (3.1.2)
23
+ rspec (3.3.0)
24
+ rspec-core (~> 3.3.0)
25
+ rspec-expectations (~> 3.3.0)
26
+ rspec-mocks (~> 3.3.0)
27
+ rspec-core (3.3.0)
28
+ rspec-support (~> 3.3.0)
29
+ rspec-expectations (3.3.0)
30
30
  diff-lcs (>= 1.2.0, < 2.0)
31
- rspec-support (~> 3.1.0)
32
- rspec-mocks (3.1.3)
33
- rspec-support (~> 3.1.0)
34
- rspec-support (3.1.2)
31
+ rspec-support (~> 3.3.0)
32
+ rspec-mocks (3.3.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.3.0)
35
+ rspec-support (3.3.0)
35
36
 
36
37
  PLATFORMS
37
38
  ruby
38
39
 
39
40
  DEPENDENCIES
40
- assistance (= 0.1.5)
41
- bson_ext (= 1.11.1)
42
- mongo (= 1.11.1)
43
- plucky (= 0.6.6)
44
41
  rake
45
42
  rspec
46
43
  toughguy!
@@ -45,7 +45,7 @@ module ToughGuy
45
45
  end
46
46
 
47
47
  def id
48
- @values[:_id]
48
+ @_id ||= @values[:_id]
49
49
  end
50
50
 
51
51
  def new?
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module ToughGuy
3
- Version = '0.2.4'
3
+ Version = '0.2.6'
4
4
  end
data/spec/helper.rb CHANGED
@@ -8,7 +8,7 @@ Bundler.require(:default, :test)
8
8
  require 'toughguy'
9
9
 
10
10
  port = ENV.fetch "BOXEN_MONGODB_PORT", 27017
11
- connection = Mongo::MongoClient.new('127.0.0.1', port.to_i)
11
+ connection = Mongo::Connection.new('127.0.0.1', port.to_i)
12
12
  ToughGuy::Model.connection = connection
13
13
  ToughGuy::Model.database = DB = connection.db('test')
14
14
 
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.11.1'
20
- s.add_dependency 'bson_ext', '1.11.1'
19
+ s.add_dependency 'mongo', '1.12.3'
20
+ s.add_dependency 'bson_ext', '1.12.3'
21
21
  s.add_dependency 'plucky', '0.6.6'
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.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sharon Rosner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-15 00:00:00.000000000 Z
11
+ date: 2015-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongo
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.11.1
19
+ version: 1.12.3
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.11.1
26
+ version: 1.12.3
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.11.1
33
+ version: 1.12.3
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.11.1
40
+ version: 1.12.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: plucky
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
- - .gitignore
76
+ - ".gitignore"
77
77
  - Gemfile
78
78
  - Gemfile.lock
79
79
  - LICENSE
@@ -99,17 +99,17 @@ require_paths:
99
99
  - lib
100
100
  required_ruby_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
- - - '>='
107
+ - - ">="
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.4.2
112
+ rubygems_version: 2.4.6
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Simple MongoDB ORM