smartthumbs 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -10,7 +10,14 @@ This Gem helps you create any kind of thumbnails on-the-fly.
10
10
  * define which strategy should be used to resize your images
11
11
 
12
12
  ## Install
13
- Add the Gem and then create an initializer-script in config/initializers:
13
+ Add the Gem to your Gemfile:
14
+ gem "smartthumbs"
15
+
16
+ and run
17
+ bundle install
18
+
19
+
20
+ Afterwards you should create an initializer-script in config/initializers:
14
21
 
15
22
  Smartthumbs::Config.run do |config|
16
23
  config[:valid_classes] = ["Image"]
@@ -23,6 +30,7 @@ Pass them as an array of strings via :valid_classes .
23
30
 
24
31
  By default smartthumbs generates urls like "/th/<klass-name>/<format>/<record-id>.<extension>". If you only have a single class you can set the default-class and prevent this class name from appering in that url.
25
32
 
33
+ That's it, your ready to use smartthumbs.
26
34
 
27
35
  ## Examples
28
36
 
@@ -1,3 +1,3 @@
1
1
  module Smartthumbs
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/smartthumbs.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Alexander Pauly"]
10
10
  s.email = ["railsninja@gmx.net"]
11
- s.homepage = "http://rubygems.org/gems/smartthumbs"
11
+ s.homepage = "https://github.com/railsninja/Smartthumbs"
12
12
  s.summary = %q{Smart on-the-fly thumbnail creation for blob or filesystem based images}
13
13
  s.description = %q{Smartthumbs let's you define several different formats. By default, every image is available in any format. Once a thumb is requested, it will be generated on the fly and then be saved to the public directory. The next user who accesses the image will get the static image from disk.'}
14
14
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartthumbs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alexander Pauly
@@ -57,7 +57,7 @@ files:
57
57
  - lib/tasks/smartthumbs.rake
58
58
  - smartthumbs.gemspec
59
59
  has_rdoc: true
60
- homepage: http://rubygems.org/gems/smartthumbs
60
+ homepage: https://github.com/railsninja/Smartthumbs
61
61
  licenses: []
62
62
 
63
63
  post_install_message: