toystore-mongo 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -3
- data/lib/toy/mongo/querying.rb +1 -1
- data/lib/toy/mongo/version.rb +1 -1
- data/toystore-mongo.gemspec +1 -1
- metadata +7 -7
data/Gemfile
CHANGED
data/lib/toy/mongo/querying.rb
CHANGED
@@ -53,7 +53,7 @@ module Toy
|
|
53
53
|
changed.each do |key|
|
54
54
|
attribute = self.class.attributes[key.to_s]
|
55
55
|
next if attribute.virtual?
|
56
|
-
attrs[attribute.
|
56
|
+
attrs[attribute.persisted_name] = pattrs[attribute.persisted_name]
|
57
57
|
end
|
58
58
|
attrs
|
59
59
|
end
|
data/lib/toy/mongo/version.rb
CHANGED
data/toystore-mongo.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.description = %q{Mongo integration for Toystore}
|
14
14
|
|
15
15
|
s.add_dependency('plucky', '~> 0.4.0')
|
16
|
-
s.add_dependency('toystore', '~> 0.
|
16
|
+
s.add_dependency('toystore', '~> 0.7.0')
|
17
17
|
s.add_dependency('adapter-mongo', '~> 0.5.2')
|
18
18
|
|
19
19
|
s.files = `git ls-files`.split("\n") - ['specs.watchr']
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toystore-mongo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 6
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.6.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- John Nunemaker
|
@@ -41,12 +41,12 @@ dependencies:
|
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
44
|
+
hash: 3
|
45
45
|
segments:
|
46
46
|
- 0
|
47
|
-
-
|
48
|
-
-
|
49
|
-
version: 0.
|
47
|
+
- 7
|
48
|
+
- 0
|
49
|
+
version: 0.7.0
|
50
50
|
type: :runtime
|
51
51
|
version_requirements: *id002
|
52
52
|
- !ruby/object:Gem::Dependency
|