radiant-clipped-extension 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
data/app/models/asset.rb
CHANGED
@@ -42,6 +42,7 @@ class Asset < ActiveRecord::Base
|
|
42
42
|
:storage => RadiantClippedExtension::Cloud.storage ||
|
43
43
|
:filesystem,
|
44
44
|
:path => Radiant.config["paperclip.path"],
|
45
|
+
:url => Radiant.config["paperclip.url"],
|
45
46
|
:fog_credentials => RadiantClippedExtension::Cloud.credentials,
|
46
47
|
:fog_directory => Radiant.config["paperclip.fog.directory"] ||
|
47
48
|
Radiant.config["paperclip.s3.bucket"],
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Radiant.config do |config|
|
2
2
|
config.namespace 'paperclip' do |pc|
|
3
|
-
pc.define 'url', :default => '/:
|
4
|
-
pc.define 'path', :default => ':rails_root/public/:
|
3
|
+
pc.define 'url', :default => '/system/:attachment/:id/:style/:basename:no_original_style.:extension', :allow_change => true
|
4
|
+
pc.define 'path', :default => ':rails_root/public/system/:attachment/:id/:style/:basename:no_original_style.:extension', :allow_change => true
|
5
5
|
pc.define 'skip_filetype_validation', :default => true, :type => :boolean
|
6
6
|
pc.define 'storage', :default => 'filesystem',
|
7
7
|
:select_from => {
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-clipped-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 14
|
10
|
+
version: 1.0.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Keith Bingman
|
@@ -19,8 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2011-11-
|
23
|
-
default_executable:
|
22
|
+
date: 2011-11-11 00:00:00 Z
|
24
23
|
dependencies:
|
25
24
|
- !ruby/object:Gem::Dependency
|
26
25
|
name: acts_as_list
|
@@ -203,7 +202,6 @@ files:
|
|
203
202
|
- wireframes/edit-page-assets.png
|
204
203
|
- wireframes/edit-page.bmml
|
205
204
|
- wireframes/edit-page.png
|
206
|
-
has_rdoc: true
|
207
205
|
homepage: http://radiantcms.org
|
208
206
|
licenses: []
|
209
207
|
|
@@ -233,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
231
|
requirements: []
|
234
232
|
|
235
233
|
rubyforge_project:
|
236
|
-
rubygems_version: 1.
|
234
|
+
rubygems_version: 1.8.10
|
237
235
|
signing_key:
|
238
236
|
specification_version: 3
|
239
237
|
summary: Assets for Radiant CMS
|