simplificator-rwebthumb 0.2.12 → 0.2.13
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.
- data/lib/rwebthumb/base.rb +1 -1
- metadata +9 -4
data/lib/rwebthumb/base.rb
CHANGED
|
@@ -33,7 +33,7 @@ module Simplificator
|
|
|
33
33
|
request.body = xml.to_s
|
|
34
34
|
response = Net::HTTP.new(@api_uri.host, @api_uri.port).start {|p| p.request(request) }
|
|
35
35
|
case response
|
|
36
|
-
when Net::HTTPOK
|
|
36
|
+
when Net::HTTPOK
|
|
37
37
|
case response.content_type.downcase
|
|
38
38
|
when 'text/xml'
|
|
39
39
|
REXML::Document.new(response.body)
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simplificator-rwebthumb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 13
|
|
5
|
+
prerelease:
|
|
5
6
|
segments:
|
|
6
7
|
- 0
|
|
7
8
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
9
|
+
- 13
|
|
10
|
+
version: 0.2.13
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Simplificator GmbH
|
|
@@ -48,23 +49,27 @@ rdoc_options: []
|
|
|
48
49
|
require_paths:
|
|
49
50
|
- lib
|
|
50
51
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
52
|
+
none: false
|
|
51
53
|
requirements:
|
|
52
54
|
- - ">="
|
|
53
55
|
- !ruby/object:Gem::Version
|
|
56
|
+
hash: 3
|
|
54
57
|
segments:
|
|
55
58
|
- 0
|
|
56
59
|
version: "0"
|
|
57
60
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
|
+
none: false
|
|
58
62
|
requirements:
|
|
59
63
|
- - ">="
|
|
60
64
|
- !ruby/object:Gem::Version
|
|
65
|
+
hash: 3
|
|
61
66
|
segments:
|
|
62
67
|
- 0
|
|
63
68
|
version: "0"
|
|
64
69
|
requirements: []
|
|
65
70
|
|
|
66
71
|
rubyforge_project:
|
|
67
|
-
rubygems_version: 1.
|
|
72
|
+
rubygems_version: 1.4.2
|
|
68
73
|
signing_key:
|
|
69
74
|
specification_version: 3
|
|
70
75
|
summary: rwebthumb provides a ruby interface for the webthumb.bluga.net
|