almodovar 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,10 @@
1
1
  module Almodovar
2
2
  class HttpError < Exception
3
+ attr_reader :response_status, :response_body
4
+
3
5
  def initialize(response, url)
6
+ @response_status = response.status
7
+ @response_body = response.body
4
8
  super("Status code #{response.status} on resource #{url}")
5
9
  end
6
10
  end
@@ -1,3 +1,3 @@
1
1
  module Almodovar
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,141 +1,160 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: almodovar
3
- version: !ruby/object:Gem::Version
4
- version: 1.1.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 17
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 1
9
+ - 1
10
+ version: 1.1.1
5
11
  platform: ruby
6
- authors:
12
+ authors:
7
13
  - BeBanjo S.L.
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
- date: 2014-07-12 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2014-09-02 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
14
21
  name: builder
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
22
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: nokogiri
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
31
26
  - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
34
32
  type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: nokogiri
35
36
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: activesupport
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ none: false
39
+ requirements:
45
40
  - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
48
46
  type: :runtime
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
49
+ name: activesupport
49
50
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
51
+ requirement: &id003 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
52
54
  - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: i18n
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
55
+ - !ruby/object:Gem::Version
56
+ hash: 3
57
+ segments:
58
+ - 0
59
+ version: "0"
62
60
  type: :runtime
61
+ version_requirements: *id003
62
+ - !ruby/object:Gem::Dependency
63
+ name: i18n
63
64
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: httpclient
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
65
+ requirement: &id004 !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
73
68
  - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
69
+ - !ruby/object:Gem::Version
70
+ hash: 3
71
+ segments:
72
+ - 0
73
+ version: "0"
76
74
  type: :runtime
75
+ version_requirements: *id004
76
+ - !ruby/object:Gem::Dependency
77
+ name: httpclient
77
78
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: json
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
79
+ requirement: &id005 !ruby/object:Gem::Requirement
80
+ none: false
81
+ requirements:
87
82
  - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
83
+ - !ruby/object:Gem::Version
84
+ hash: 3
85
+ segments:
86
+ - 0
87
+ version: "0"
90
88
  type: :runtime
89
+ version_requirements: *id005
90
+ - !ruby/object:Gem::Dependency
91
+ name: json
91
92
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
93
+ requirement: &id006 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
94
96
  - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
+ - !ruby/object:Gem::Version
98
+ hash: 3
99
+ segments:
100
+ - 0
101
+ version: "0"
102
+ type: :runtime
103
+ version_requirements: *id006
97
104
  description:
98
105
  email: ballsbreaking@bebanjo.com
99
106
  executables: []
107
+
100
108
  extensions: []
101
- extra_rdoc_files:
109
+
110
+ extra_rdoc_files:
102
111
  - README.rdoc
103
- files:
112
+ files:
104
113
  - README.rdoc
105
- - lib/almodovar.rb
106
- - lib/almodovar/digest_auth.rb
107
- - lib/almodovar/errors.rb
108
- - lib/almodovar/http_accessor.rb
109
- - lib/almodovar/http_client.rb
110
114
  - lib/almodovar/resource.rb
111
- - lib/almodovar/resource_collection.rb
115
+ - lib/almodovar/version.rb
116
+ - lib/almodovar/http_client.rb
117
+ - lib/almodovar/http_accessor.rb
118
+ - lib/almodovar/errors.rb
112
119
  - lib/almodovar/single_resource.rb
113
120
  - lib/almodovar/to_xml.rb
114
- - lib/almodovar/version.rb
121
+ - lib/almodovar/digest_auth.rb
122
+ - lib/almodovar/resource_collection.rb
123
+ - lib/almodovar.rb
115
124
  homepage: http://wiki.github.com/bebanjo/almodovar/
116
- licenses:
125
+ licenses:
117
126
  - MIT
118
- metadata: {}
119
127
  post_install_message:
120
- rdoc_options:
121
- - "--main"
128
+ rdoc_options:
129
+ - --main
122
130
  - README.rdoc
123
- require_paths:
131
+ require_paths:
124
132
  - lib
125
- required_ruby_version: !ruby/object:Gem::Requirement
126
- requirements:
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
127
136
  - - ">="
128
- - !ruby/object:Gem::Version
129
- version: '0'
130
- required_rubygems_version: !ruby/object:Gem::Requirement
131
- requirements:
137
+ - !ruby/object:Gem::Version
138
+ hash: 3
139
+ segments:
140
+ - 0
141
+ version: "0"
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ none: false
144
+ requirements:
132
145
  - - ">="
133
- - !ruby/object:Gem::Version
134
- version: '0'
146
+ - !ruby/object:Gem::Version
147
+ hash: 3
148
+ segments:
149
+ - 0
150
+ version: "0"
135
151
  requirements: []
152
+
136
153
  rubyforge_project:
137
- rubygems_version: 2.2.0
154
+ rubygems_version: 1.8.25
138
155
  signing_key:
139
- specification_version: 4
156
+ specification_version: 3
140
157
  summary: BeBanjo API client
141
158
  test_files: []
159
+
160
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: df9c187648c5afacb6b6039d120478b793ac9fdf
4
- data.tar.gz: a0c86ae402d103b24ddf3c688ee60bfe0b3f3e4e
5
- SHA512:
6
- metadata.gz: 7f2b2d6f8a71f4c202a580c208b83b9725582d8afd5417e83b43f0924b119b98952b4caba5f1202a4f4f6b790f4200e6532604351657e6078a1aed263dcd02e1
7
- data.tar.gz: 3dcba5831f5570fabe71d0dfee511965e54b217671938936f0d8402bbc0172cbb7bd93e2275868ef4e244bb547d5590c661ce7dd64d3987cc05550734a196b27