thumbnail 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,10 @@
1
+ == 0.2.1 2007-06-18
2
+
3
+ * Small deployment-related bug fixes:
4
+ * Fixed require path in thumbnail.rb
5
+ * Added the Hpricot dependency to Hoe rake task
6
+ * Fixed a documentation typo
7
+
1
8
  == 0.2.0 2007-06-08
2
9
 
3
10
  * Initial release:
data/README.txt CHANGED
@@ -37,7 +37,7 @@ Download a small thumbnail of http://www.craphound.com as a local file called sm
37
37
  Write a view helper for use in a Rails application to generate image tags with Amazon redirect urls in your templates. In app/helpers/my_helper.rb:
38
38
 
39
39
  module MyHelper
40
- def thumbnail_image(url, size=:large)_
40
+ def thumbnail_image(url, size=:large)
41
41
  t = Thumbnail::Client.new :access_key_id => AWS_ACCESS_KEY_ID, :secret_access_key => AWS_SECRET_ACCESS_KEY,
42
42
  :action => :redirect, :size => size
43
43
  "<img src=\"#{t.get(url)}\">"
data/Rakefile CHANGED
@@ -78,7 +78,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
78
78
 
79
79
  # == Optional
80
80
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
81
- #p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
81
+ p.extra_deps = [ ['hpricot', '>= 0.5'] ]
82
82
  #p.spec_extras = {} # A hash of extra values to set in the gemspec.
83
83
  end
84
84
 
data/lib/thumbnail.rb CHANGED
@@ -1 +1,3 @@
1
- Dir['thumbnail/**/*.rb'].sort.each { |lib| require lib }
1
+ require 'thumbnail/client'
2
+ require 'thumbnail/response'
3
+ require 'thumbnail/version'
@@ -2,7 +2,7 @@ module Thumbnail #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.html CHANGED
@@ -32,7 +32,7 @@
32
32
  <img src="logo.png" id="logo">
33
33
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/thumbnail"; return false'>
34
34
  <p>Get Version</p>
35
- <a href="http://rubyforge.org/projects/thumbnail" class="numbers">0.2.0</a>
35
+ <a href="http://rubyforge.org/projects/thumbnail" class="numbers">0.2.1</a>
36
36
  </div>
37
37
 
38
38
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: thumbnail
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.0
7
- date: 2007-06-14 00:00:00 -07:00
6
+ version: 0.2.1
7
+ date: 2007-06-18 00:00:00 -07:00
8
8
  summary: Wrapper for the Amazon Web Services Alexa Thumbnail Service REST API, which provides website thumbnail images on demand for a small fee ($0.20/1000)
9
9
  require_paths:
10
10
  - lib
@@ -74,5 +74,13 @@ extensions: []
74
74
 
75
75
  requirements: []
76
76
 
77
- dependencies: []
78
-
77
+ dependencies:
78
+ - !ruby/object:Gem::Dependency
79
+ name: hpricot
80
+ version_requirement:
81
+ version_requirements: !ruby/object:Gem::Version::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: "0.5"
86
+ version: