rubix 0.0.3 → 0.0.4

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/rubix/models/model.rb +2 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -75,7 +75,7 @@ module Rubix
75
75
  response = create_request
76
76
  if response.has_data?
77
77
  @id = response.result[self.class.id_field + 's'].first.to_i
78
- info("Created")
78
+ info("Created #{resource_name}")
79
79
  else
80
80
  error("Error creating #{resource_name}: #{response.error_message}")
81
81
  return false
@@ -88,7 +88,7 @@ module Rubix
88
88
  return false unless before_update
89
89
  response = update_request
90
90
  if response.has_data?
91
- info("Updated")
91
+ info("Updated #{resource_name}")
92
92
  else
93
93
  error("Error updating #{resource_name}: #{response.error_message}")
94
94
  return false
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubix
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dhruv Bansal