almodovar 1.0.0.pre → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/almodovar/http_client.rb +1 -1
- data/lib/almodovar/single_resource.rb +1 -1
- data/lib/almodovar/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1da71a55c33749a41d7985ff3782fb45a03720f
|
4
|
+
data.tar.gz: b2f94fa8c47bcc157e1f4e3279fc6aadeb51737c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dc9c6698119b36325344e0248d7c8a048c9a2bb7b8ff10cba7a43dc936f868980feb8c88e20a6739ad96c773ba7eb4e1647cc326f653d7b151a0e9887b45ac3
|
7
|
+
data.tar.gz: 6b6978d1ff0e9fe31ae11aa8a17eeb1c350b2c2b7ab89229566e29edec47fad7ef5cccbd1a69034ec3f382b83f7b23f51c52fcc72acae1f184cc2376a3d24549
|
@@ -15,7 +15,7 @@ module Almodovar
|
|
15
15
|
def update(attrs = {})
|
16
16
|
raise ArgumentError.new("You must specify one only root element which is the type of resource (e.g. `:project => { :name => 'Wadus' }` instead of just `:name => 'Wadus'`)") if attrs.size > 1
|
17
17
|
root, body = attrs.first
|
18
|
-
response = http.put(@url, body.to_xml(:root => root),
|
18
|
+
response = http.put(@url, body.to_xml(:root => root), "Content-Type" => "application/xml")
|
19
19
|
check_errors(response, @url)
|
20
20
|
@xml = Nokogiri::XML.parse(response.body).root
|
21
21
|
end
|
data/lib/almodovar/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: almodovar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BeBanjo S.L.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|
@@ -129,9 +129,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- - '
|
132
|
+
- - '>='
|
133
133
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
134
|
+
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
137
|
rubygems_version: 2.0.6
|