simplificator-rwebthumb 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rwebthumb/webthumb.rb +2 -2
- metadata +16 -7
data/lib/rwebthumb/webthumb.rb
CHANGED
@@ -50,8 +50,8 @@ module Simplificator
|
|
50
50
|
# * subscription: an integer
|
51
51
|
def credits()
|
52
52
|
response = do_request(build_credits_xml())
|
53
|
-
|
54
|
-
{:reserve =>
|
53
|
+
credit_elements = REXML::XPath.first(response, '/webthumb/credits').elements
|
54
|
+
{:reserve => credit_elements['reserve'].text.to_i, :subscription => credit_elements['subscription'].text.to_i}
|
55
55
|
end
|
56
56
|
|
57
57
|
private
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplificator-rwebthumb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 9
|
9
|
+
version: 0.2.9
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Simplificator GmbH
|
@@ -9,7 +14,7 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2008-09-03 00:00:00
|
17
|
+
date: 2008-09-03 00:00:00 +02:00
|
13
18
|
default_executable:
|
14
19
|
dependencies: []
|
15
20
|
|
@@ -33,8 +38,10 @@ files:
|
|
33
38
|
- lib/rwebthumb/easythumb.rb
|
34
39
|
- README
|
35
40
|
- init.rb
|
36
|
-
has_rdoc:
|
41
|
+
has_rdoc: true
|
37
42
|
homepage: http://simplificator.com/
|
43
|
+
licenses: []
|
44
|
+
|
38
45
|
post_install_message:
|
39
46
|
rdoc_options: []
|
40
47
|
|
@@ -44,20 +51,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
44
51
|
requirements:
|
45
52
|
- - ">="
|
46
53
|
- !ruby/object:Gem::Version
|
54
|
+
segments:
|
55
|
+
- 0
|
47
56
|
version: "0"
|
48
|
-
version:
|
49
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
58
|
requirements:
|
51
59
|
- - ">="
|
52
60
|
- !ruby/object:Gem::Version
|
61
|
+
segments:
|
62
|
+
- 0
|
53
63
|
version: "0"
|
54
|
-
version:
|
55
64
|
requirements: []
|
56
65
|
|
57
66
|
rubyforge_project:
|
58
|
-
rubygems_version: 1.
|
67
|
+
rubygems_version: 1.3.6
|
59
68
|
signing_key:
|
60
|
-
specification_version:
|
69
|
+
specification_version: 3
|
61
70
|
summary: rwebthumb provides a ruby interface for the webthumb.bluga.net
|
62
71
|
test_files: []
|
63
72
|
|