refinerycms-images 0.9.9.16 → 0.9.9.17
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/image.rb +3 -0
- data/lib/refinerycms-images.rb +1 -1
- data/refinerycms-images.gemspec +3 -3
- data/spec/models/image_spec.rb +1 -1
- metadata +4 -6
data/app/models/image.rb
CHANGED
@@ -25,6 +25,9 @@ class Image < ActiveRecord::Base
|
|
25
25
|
# when listing images out in the admin area, how many images should show per page
|
26
26
|
PAGES_PER_ADMIN_INDEX = 20
|
27
27
|
|
28
|
+
# allows Mass-Assignment
|
29
|
+
attr_accessible :id, :image, :image_size
|
30
|
+
|
28
31
|
delegate :size, :mime_type, :url, :width, :height, :to => :image
|
29
32
|
|
30
33
|
class << self
|
data/lib/refinerycms-images.rb
CHANGED
@@ -60,7 +60,7 @@ module Refinery
|
|
60
60
|
::Refinery::Plugin.register do |plugin|
|
61
61
|
plugin.name = "refinery_images"
|
62
62
|
plugin.directory = "images"
|
63
|
-
plugin.version = %q{0.9.9.
|
63
|
+
plugin.version = %q{0.9.9.17}
|
64
64
|
plugin.menu_match = /(refinery|admin)\/image(_dialog)?s$/
|
65
65
|
plugin.activity = {
|
66
66
|
:class => Image
|
data/refinerycms-images.gemspec
CHANGED
@@ -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.
|
5
|
+
s.version = %q{0.9.9.17}
|
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-04-
|
8
|
+
s.date = %q{2011-04-15}
|
9
9
|
s.email = %q{info@refinerycms.com}
|
10
10
|
s.homepage = %q{http://refinerycms.com}
|
11
11
|
s.rubyforge_project = %q{refinerycms}
|
@@ -94,7 +94,7 @@ Gem::Specification.new do |s|
|
|
94
94
|
'spec/uploads/beach.jpeg'
|
95
95
|
]
|
96
96
|
|
97
|
-
s.add_dependency 'refinerycms-core', '= 0.9.9.
|
97
|
+
s.add_dependency 'refinerycms-core', '= 0.9.9.17'
|
98
98
|
s.add_dependency 'dragonfly', '~> 0.8.2'
|
99
99
|
s.add_dependency 'rack-cache', '>= 0.5.3'
|
100
100
|
end
|
data/spec/models/image_spec.rb
CHANGED
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.
|
5
|
+
version: 0.9.9.17
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Resolve Digital
|
@@ -13,8 +13,7 @@ autorequire:
|
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
15
|
|
16
|
-
date: 2011-04-
|
17
|
-
default_executable:
|
16
|
+
date: 2011-04-15 00:00:00 Z
|
18
17
|
dependencies:
|
19
18
|
- !ruby/object:Gem::Dependency
|
20
19
|
name: refinerycms-core
|
@@ -24,7 +23,7 @@ dependencies:
|
|
24
23
|
requirements:
|
25
24
|
- - "="
|
26
25
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.9.9.
|
26
|
+
version: 0.9.9.17
|
28
27
|
type: :runtime
|
29
28
|
version_requirements: *id001
|
30
29
|
- !ruby/object:Gem::Dependency
|
@@ -113,7 +112,6 @@ files:
|
|
113
112
|
- refinerycms-images.gemspec
|
114
113
|
- spec/models/image_spec.rb
|
115
114
|
- spec/uploads/beach.jpeg
|
116
|
-
has_rdoc: true
|
117
115
|
homepage: http://refinerycms.com
|
118
116
|
licenses:
|
119
117
|
- MIT
|
@@ -137,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
135
|
requirements: []
|
138
136
|
|
139
137
|
rubyforge_project: refinerycms
|
140
|
-
rubygems_version: 1.
|
138
|
+
rubygems_version: 1.7.2
|
141
139
|
signing_key:
|
142
140
|
specification_version: 3
|
143
141
|
summary: Images engine for Refinery CMS
|