databasedotcom 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/databasedotcom/client.rb +4 -2
- data/lib/databasedotcom/version.rb +1 -1
- metadata +2 -2
|
@@ -109,7 +109,7 @@ module Databasedotcom
|
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
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
|
-
|
|
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)
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: databasedotcom
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 1.0.
|
|
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-
|
|
13
|
+
date: 2011-08-30 00:00:00 -07:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|