logical_model 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/logical_model.rb +3 -1
- data/logical_model.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lib/logical_model.rb
CHANGED
@@ -450,7 +450,9 @@ class LogicalModel
|
|
450
450
|
end
|
451
451
|
if response.code == 201
|
452
452
|
log_ok(response)
|
453
|
-
self.
|
453
|
+
if self.class.attribute_keys.include?(:id)
|
454
|
+
self.id = ActiveSupport::JSON.decode(response.body)["id"]
|
455
|
+
end
|
454
456
|
elsif response.code == 400
|
455
457
|
log_failed(response)
|
456
458
|
ws_errors = ActiveSupport::JSON.decode(response.body)["errors"]
|
data/logical_model.gemspec
CHANGED
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.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -329,7 +329,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
329
329
|
version: '0'
|
330
330
|
segments:
|
331
331
|
- 0
|
332
|
-
hash:
|
332
|
+
hash: 649076499
|
333
333
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
334
334
|
none: false
|
335
335
|
requirements:
|