logical_model 0.3.2 → 0.3.3

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.3.2
1
+ 0.3.3
data/lib/logical_model.rb CHANGED
@@ -450,7 +450,7 @@ class LogicalModel
450
450
  end
451
451
  if response.code == 201
452
452
  log_ok(response)
453
- if self.class.attribute_keys.include?(:id)
453
+ if self.respond_to?('id=')
454
454
  self.id = ActiveSupport::JSON.decode(response.body)["id"]
455
455
  end
456
456
  elsif response.code == 400
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "logical_model"
8
- s.version = "0.3.2"
8
+ s.version = "0.3.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Dwayne Macgowan"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logical_model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -330,7 +330,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
330
330
  version: '0'
331
331
  segments:
332
332
  - 0
333
- hash: -154505059
333
+ hash: 192595283
334
334
  required_rubygems_version: !ruby/object:Gem::Requirement
335
335
  none: false
336
336
  requirements: