advantage_quickbase 0.8.1 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/quickbase.rb +2 -2
  2. metadata +2 -2
data/lib/quickbase.rb CHANGED
@@ -109,13 +109,13 @@ module AdvantageQuickbase
109
109
  xml = build_update_xml( new_values, record_id )
110
110
  result = send_request( :editRecord, db_id, nil, xml )
111
111
 
112
- get_tag_value( result, :rid ).to_s == record_id.to_s
112
+ get_tag_value( result, :rid ).to_i > 0
113
113
  end
114
114
 
115
115
  def delete_record( db_id, record_id )
116
116
  result = send_request( :deleteRecord, db_id, {rid: record_id} )
117
117
 
118
- get_tag_value( result, :rid ).to_s == record_id.to_s
118
+ get_tag_value( result, :rid ).to_i > 0
119
119
  end
120
120
 
121
121
  def purge_records ( db_id, options={} )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: advantage_quickbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-21 00:00:00.000000000 Z
12
+ date: 2014-09-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri