foundationapi 0.9.10 → 0.9.11

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.
@@ -68,6 +68,7 @@ module FoundationApi
68
68
  def save(options = {})
69
69
  check_persistence_support rescue false
70
70
  self[:id] ||= remote_create(self)
71
+ @id = self[:id].to_i if self[:id].to_i != 0 rescue
71
72
  ::Rails.logger.debug "FoundationApi::Table::Persistence.save: after save: #{self.inspect}"
72
73
  self
73
74
  end
@@ -23,5 +23,5 @@
23
23
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
24
 
25
25
  module FoundationApi
26
- VERSION = "0.9.10"
26
+ VERSION = "0.9.11"
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foundationapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -178,7 +178,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  segments:
180
180
  - 0
181
- hash: 2900138840096141460
181
+ hash: -3606732756132205201
182
182
  required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  none: false
184
184
  requirements:
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  version: '0'
188
188
  segments:
189
189
  - 0
190
- hash: 2900138840096141460
190
+ hash: -3606732756132205201
191
191
  requirements: []
192
192
  rubyforge_project:
193
193
  rubygems_version: 1.8.23