simplificator-rwebthumb 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rwebthumb.rb +1 -13
- metadata +16 -7
data/lib/rwebthumb.rb
CHANGED
@@ -2,16 +2,4 @@ require 'time'
|
|
2
2
|
require 'rwebthumb/base'
|
3
3
|
require 'rwebthumb/job'
|
4
4
|
require 'rwebthumb/webthumb'
|
5
|
-
require 'rwebthumb/easythumb'
|
6
|
-
|
7
|
-
|
8
|
-
key = '7c822c5ce4f80fd66209e8f657ce6577'
|
9
|
-
|
10
|
-
include Simplificator::Webthumb
|
11
|
-
|
12
|
-
# Creating a Webthumb Object. This is used as your main access point.
|
13
|
-
wt = Webthumb.new(key)
|
14
|
-
|
15
|
-
# Create a new thumbnail job
|
16
|
-
job = wt.thumbnail(:url => 'http://simplificator.com')
|
17
|
-
job.write_file(job.fetch_when_complete(:large), '/tmp/test.jpg')
|
5
|
+
require 'rwebthumb/easythumb'
|
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
|
+
- 12
|
9
|
+
version: 0.2.12
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Simplificator GmbH
|
@@ -13,7 +18,7 @@ date: 2008-09-03 00:00:00 +02:00
|
|
13
18
|
default_executable:
|
14
19
|
dependencies: []
|
15
20
|
|
16
|
-
description: rwebthumb provides a ruby interface for the webthumb.bluga.net.
|
21
|
+
description: "rwebthumb provides a ruby interface for the webthumb.bluga.net. "
|
17
22
|
email: info@simplificator.com
|
18
23
|
executables: []
|
19
24
|
|
@@ -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.3.
|
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
|
|