sugarcrm 0.9.4 → 0.9.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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.4
1
+ 0.9.5
@@ -39,7 +39,7 @@ module SugarCRM; class Base
39
39
 
40
40
  case args.first
41
41
  when :first then find_initial(options)
42
- when :all then find_every(options)
42
+ when :all then Array.wrap(find_every(options))
43
43
  else find_from_ids(args, options)
44
44
  end
45
45
  end
@@ -332,7 +332,7 @@ module SugarCRM; class Base
332
332
  id.present? &&
333
333
  comparison_object.id == id
334
334
  end
335
-
335
+ alias :eql? :==
336
336
 
337
337
  # Delegates to id in order to allow two records of the same type and id to work with something like:
338
338
  # [ Person.find(1), Person.find(2), Person.find(3) ] & [ Person.find(1), Person.find(4) ] # => [ Person.find(1) ]
@@ -41,7 +41,6 @@ module SugarCRM; class Response
41
41
  @response["entry_list"].each do |object|
42
42
  attributes = []
43
43
  _module = resolve_module(object)
44
- #id = object["id"]
45
44
  attributes = flatten_name_value_list(object)
46
45
  if SugarCRM.const_get(_module)
47
46
  if attributes.length == 0
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 4
9
- version: 0.9.4
8
+ - 5
9
+ version: 0.9.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Carl Hicks
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-01-07 00:00:00 -08:00
17
+ date: 2011-01-10 00:00:00 -08:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -193,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - ">="
195
195
  - !ruby/object:Gem::Version
196
- hash: -2099227492656529688
196
+ hash: 3970189054846694979
197
197
  segments:
198
198
  - 0
199
199
  version: "0"