abiquo-api 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de18c834f09d7c9d5de6d66bf6bdeab3cf6411d2
4
- data.tar.gz: 3452aabc8d21f916d95d433d4f8a7e13832b007e
3
+ metadata.gz: 8836f606285a63c433d784569b4d5f0847641aa5
4
+ data.tar.gz: 7a063fd1c4b2be4ad830f3b5b51e7d276715b955
5
5
  SHA512:
6
- metadata.gz: 3f058fd0c5fa53fb3eb7b18b86dff51c28f36086e5044cceeaf62bfbfa9203119b188ed176af5c797b2b722c4bdc254ac9339e50dc0d60fc1069a565148f1369
7
- data.tar.gz: 8dcd5f3d1ff42318a24aec23fac631a665b9f0ebcc0f290abb59f9c072f448dc2087ed09a23d56bfe96003509bc4ab91fc21e1d16aa193593612f64ddbf84b27
6
+ metadata.gz: 5d11dbf20d34e360fdcf740203b5e7d12e51a851a197282a82bbb71b9db461584f4c41e475b0127d47c3c117fd46e8b26d1c7a28867d8a1c27df93dc82d55fc8
7
+ data.tar.gz: b8af64523e3ed132e14596040224792bc9f748b973bf2205c2b8cbca13bbb6f4203017825931909880973134ce81c4afc702ab2500a9f54e6a3d74096d54c266
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
20
20
  gem.add_runtime_dependency "faraday", '~> 0.9.2', '>= 0.9.2'
21
21
  gem.add_runtime_dependency "faraday_middleware", '~> 0.10.0', '>= 0.10.0'
22
22
  gem.add_runtime_dependency "simple_oauth", '~> 0.3.1', '>= 0.3.1'
23
- gem.add_runtime_dependency "addressable", '~> 2.4.0', '>= 2.4.0'
24
23
  gem.add_runtime_dependency "formatador", '~> 0.2', '>= 0.2.5'
25
- gem.add_runtime_dependency "json", '~> 2.0', '>= 2.0.2'
24
+ gem.add_runtime_dependency "addressable"
25
+ gem.add_runtime_dependency "json"
26
26
  end
@@ -151,7 +151,7 @@ module AbiquoAPIClient
151
151
  # Returns a new instance representing the updated resource.
152
152
  #
153
153
  def update(options = {})
154
- @client.put(self.link(:edit), self, options)
154
+ @client.put(self.link(:edit), self.to_json, options)
155
155
  end
156
156
 
157
157
  ##
@@ -1,3 +1,3 @@
1
1
  module AbiquoAPIClient
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abiquo-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Cirauqui
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-14 00:00:00.000000000 Z
11
+ date: 2017-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: excon
@@ -91,65 +91,53 @@ dependencies:
91
91
  - !ruby/object:Gem::Version
92
92
  version: 0.3.1
93
93
  - !ruby/object:Gem::Dependency
94
- name: addressable
94
+ name: formatador
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - "~>"
98
98
  - !ruby/object:Gem::Version
99
- version: 2.4.0
99
+ version: '0.2'
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: 2.4.0
102
+ version: 0.2.5
103
103
  type: :runtime
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: 2.4.0
109
+ version: '0.2'
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
- version: 2.4.0
112
+ version: 0.2.5
113
113
  - !ruby/object:Gem::Dependency
114
- name: formatador
114
+ name: addressable
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - "~>"
118
- - !ruby/object:Gem::Version
119
- version: '0.2'
120
117
  - - ">="
121
118
  - !ruby/object:Gem::Version
122
- version: 0.2.5
119
+ version: '0'
123
120
  type: :runtime
124
121
  prerelease: false
125
122
  version_requirements: !ruby/object:Gem::Requirement
126
123
  requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '0.2'
130
124
  - - ">="
131
125
  - !ruby/object:Gem::Version
132
- version: 0.2.5
126
+ version: '0'
133
127
  - !ruby/object:Gem::Dependency
134
128
  name: json
135
129
  requirement: !ruby/object:Gem::Requirement
136
130
  requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: '2.0'
140
131
  - - ">="
141
132
  - !ruby/object:Gem::Version
142
- version: 2.0.2
133
+ version: '0'
143
134
  type: :runtime
144
135
  prerelease: false
145
136
  version_requirements: !ruby/object:Gem::Requirement
146
137
  requirements:
147
- - - "~>"
148
- - !ruby/object:Gem::Version
149
- version: '2.0'
150
138
  - - ">="
151
139
  - !ruby/object:Gem::Version
152
- version: 2.0.2
140
+ version: '0'
153
141
  description: Simple Abiquo API client
154
142
  email:
155
143
  - marc.cirauqui@abiquo.com