databasedotcom 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -133,7 +133,7 @@ module Databasedotcom
133
133
  def materialize(classnames)
134
134
  classes = (classnames.is_a?(Array) ? classnames : [classnames]).collect do |clazz|
135
135
  original_classname = clazz
136
- clazz = original_classname[0].capitalize + original_classname[1..-1]
136
+ clazz = original_classname[0,1].capitalize + original_classname[1..-1]
137
137
  unless module_namespace.const_defined?(clazz)
138
138
  new_class = module_namespace.const_set(clazz, Class.new(Databasedotcom::Sobject::Sobject))
139
139
  new_class.client = self
@@ -7,7 +7,7 @@ module Databasedotcom
7
7
 
8
8
  # Returns a new Sobject. The default values for all attributes are set based on its description.
9
9
  def initialize(attrs = {})
10
- super
10
+ super()
11
11
  self.class.description["fields"].each do |field|
12
12
  self.send("#{field["name"]}=", field["defaultValueFormula"])
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Databasedotcom
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
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.5
5
+ version: 1.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Glenn Gillen, Danny Burkes & Richard Zhao
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-30 00:00:00 -07:00
14
- default_executable:
13
+ date: 2011-09-01 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: multipart-post
@@ -25,18 +24,18 @@ dependencies:
25
24
  type: :runtime
26
25
  version_requirements: *id001
27
26
  - !ruby/object:Gem::Dependency
28
- name: rspec
27
+ name: json
29
28
  prerelease: false
30
29
  requirement: &id002 !ruby/object:Gem::Requirement
31
30
  none: false
32
31
  requirements:
33
- - - "="
32
+ - - ">="
34
33
  - !ruby/object:Gem::Version
35
- version: 2.5.0
36
- type: :development
34
+ version: "0"
35
+ type: :runtime
37
36
  version_requirements: *id002
38
37
  - !ruby/object:Gem::Dependency
39
- name: webmock
38
+ name: rspec
40
39
  prerelease: false
41
40
  requirement: &id003 !ruby/object:Gem::Requirement
42
41
  none: false
@@ -47,25 +46,25 @@ dependencies:
47
46
  type: :development
48
47
  version_requirements: *id003
49
48
  - !ruby/object:Gem::Dependency
50
- name: rake
49
+ name: webmock
51
50
  prerelease: false
52
51
  requirement: &id004 !ruby/object:Gem::Requirement
53
52
  none: false
54
53
  requirements:
55
- - - "="
54
+ - - ">="
56
55
  - !ruby/object:Gem::Version
57
- version: 0.8.6
56
+ version: "0"
58
57
  type: :development
59
58
  version_requirements: *id004
60
59
  - !ruby/object:Gem::Dependency
61
- name: ruby-debug19
60
+ name: rake
62
61
  prerelease: false
63
62
  requirement: &id005 !ruby/object:Gem::Requirement
64
63
  none: false
65
64
  requirements:
66
- - - ">="
65
+ - - "="
67
66
  - !ruby/object:Gem::Version
68
- version: "0"
67
+ version: 0.8.6
69
68
  type: :development
70
69
  version_requirements: *id005
71
70
  description: A ruby wrapper for the Force.com REST API
@@ -106,7 +105,6 @@ files:
106
105
  - lib/databasedotcom/sobject.rb
107
106
  - lib/databasedotcom/version.rb
108
107
  - lib/databasedotcom.rb
109
- has_rdoc: true
110
108
  homepage: ""
111
109
  licenses: []
112
110
 
@@ -130,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
128
  requirements: []
131
129
 
132
130
  rubyforge_project: databasedotcom
133
- rubygems_version: 1.6.0
131
+ rubygems_version: 1.8.7
134
132
  signing_key:
135
133
  specification_version: 3
136
134
  summary: A ruby wrapper for the Force.com REST API