refinerycms-images 0.9.9.3 → 0.9.9.4

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/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright (c) 2005-2010 [Resolve Digital](http://www.resolvedigital.com)
3
+ Copyright (c) 2005-2011 [Resolve Digital](http://www.resolvedigital.com)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-images}
5
- s.version = %q{0.9.9.3}
5
+ s.version = %q{0.9.9.4}
6
6
  s.summary = %q{Images engine for Refinery CMS}
7
7
  s.description = %q{Handles all image upload and processing functionality in Refinery CMS.}
8
- s.date = %q{2011-02-17}
8
+ s.date = %q{2011-02-24}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
11
11
  s.rubyforge_project = %q{refinerycms}
@@ -82,7 +82,6 @@ Gem::Specification.new do |s|
82
82
  'lib/generators/refinerycms_images_generator.rb',
83
83
  'lib/refinerycms-images.rb',
84
84
  'license.md',
85
- 'readme.md',
86
85
  'refinerycms-images.gemspec',
87
86
  'spec',
88
87
  'spec/models',
@@ -91,7 +90,7 @@ Gem::Specification.new do |s|
91
90
  'spec/uploads/beach.jpeg'
92
91
  ]
93
92
 
94
- s.add_dependency 'refinerycms-core', '~> 0.9.9.3'
93
+ s.add_dependency 'refinerycms-core', '~> 0.9.9.4'
95
94
  s.add_dependency 'dragonfly', '~> 0.8.2'
96
95
  s.add_dependency 'rack-cache', '>= 0.5.3'
97
96
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-images
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.3
5
+ version: 0.9.9.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-02-17 00:00:00 +13:00
16
+ date: 2011-02-24 00:00:00 +13:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
- version: 0.9.9.3
27
+ version: 0.9.9.4
28
28
  type: :runtime
29
29
  version_requirements: *id001
30
30
  - !ruby/object:Gem::Dependency
@@ -106,7 +106,6 @@ files:
106
106
  - lib/generators/refinerycms_images_generator.rb
107
107
  - lib/refinerycms-images.rb
108
108
  - license.md
109
- - readme.md
110
109
  - refinerycms-images.gemspec
111
110
  - spec/models/image_spec.rb
112
111
  - spec/uploads/beach.jpeg
data/readme.md DELETED
@@ -1,34 +0,0 @@
1
- # Images
2
-
3
- ![Refinery Images](http://refinerycms.com/system/images/0000/0616/images.png)
4
-
5
- ## About
6
-
7
- All Refinery's images are stored in one place, the images plugin.
8
-
9
- Images and other file uploads are handled using [Dragonfly](http://github.com/markevans/dragonfly)
10
-
11
- ## Using a Thumbnail Size in Your View
12
-
13
- Say I want to have a thumbnail of size 400x300 I would collect that image out of the database and apply it like this in my view:
14
-
15
- <%= image_fu @image, '400x300' %>
16
-
17
- ``image_fu`` is a command we have created that automatically adds width and height attributes to the
18
- generated image so that web browsers render your pages more smoothly as they know in advance how big
19
- an image is going to be before it is fully downloaded.
20
-
21
- If I wanted to replace all the images inside a content section without the user having to resize images
22
- in the editor then I would use the built in ``content_fu`` command like this in my view:
23
-
24
- <%= content_fu @page[:body], '400x300' %>
25
-
26
- ``content_fu`` is a command we have created that automatically changes all images with the url /system/images to use a particular size.
27
- This makes it easy to protect your pages from having gigantic images inserted into them that blow out the design.
28
-
29
- ## Related Settings
30
-
31
- ### "Preferred Image View"
32
-
33
- Set to ``"grid"`` to get your images to display as a grid of thumbnails
34
- Set to ``"list"`` to get your images to display as a list with image titles.