databasedotcom 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -109,7 +109,7 @@ module Databasedotcom
109
109
  end
110
110
  end
111
111
 
112
- self.version = "23.0" unless self.version
112
+ self.version = "22.0" unless self.version
113
113
 
114
114
  self.oauth_token
115
115
  end
@@ -354,7 +354,9 @@ module Databasedotcom
354
354
  end
355
355
 
356
356
  def module_namespace
357
- (self.sobject_module && self.sobject_module.constantize) || Object
357
+ _module = self.sobject_module
358
+ _module = _module.constantize if _module.is_a? String
359
+ _module || Object
358
360
  end
359
361
 
360
362
  def collection_from(response)
@@ -1,3 +1,3 @@
1
1
  module Databasedotcom
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: databasedotcom
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.3
5
+ version: 1.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Glenn Gillen, Danny Burkes & Richard Zhao
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-23 00:00:00 -07:00
13
+ date: 2011-08-30 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency