mongo_adaptor 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
data/lib/mongo_adaptor.rb CHANGED
@@ -52,7 +52,7 @@ class MongoAdaptor
52
52
  end
53
53
 
54
54
  def fields
55
- @fields ||= @klass.members.map(&:to_s)
55
+ @fields ||= @klass.members.map(&:to_s) if @klass
56
56
  end
57
57
 
58
58
  def process(model)
@@ -1,3 +1,3 @@
1
1
  class MongoAdaptor
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_adaptor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -122,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
122
  version: '0'
123
123
  segments:
124
124
  - 0
125
- hash: -706503449658322069
125
+ hash: -4332199509229713282
126
126
  required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  segments:
133
133
  - 0
134
- hash: -706503449658322069
134
+ hash: -4332199509229713282
135
135
  requirements: []
136
136
  rubyforge_project:
137
137
  rubygems_version: 1.8.25