refinerycms-6hoursdaily-photo-gallery 0.0.4.dev → 0.0.5.dev
Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore
ADDED
data/Gemfile
CHANGED
@@ -1,27 +1,3 @@
|
|
1
1
|
source 'http://rubygems.org'
|
2
2
|
|
3
3
|
gemspec
|
4
|
-
|
5
|
-
# gem 'refinerycms', '~> 2.0.3'
|
6
|
-
|
7
|
-
#loading from gemspec
|
8
|
-
|
9
|
-
# -- Cloud storage
|
10
|
-
# AWS S3 support. Can be disabled if using local file system instead of cloud storage.
|
11
|
-
# gem 'carrierwave'
|
12
|
-
# gem 'fog'
|
13
|
-
|
14
|
-
# -- Photo resizing
|
15
|
-
# MiniMagick
|
16
|
-
#gem "mini_magick"
|
17
|
-
|
18
|
-
# RMagick:
|
19
|
-
#gem "rmagick", :require => 'RMagick'
|
20
|
-
|
21
|
-
# FreeImage:
|
22
|
-
#gem "RubyInline"
|
23
|
-
#gem "image_science", :git => 'git://github.com/perezd/image_science.git'
|
24
|
-
|
25
|
-
# -- EXIF
|
26
|
-
# Mini exif tool. Can be disabled. Remove exif_read and exif_write filters in photo model
|
27
|
-
#gem "mini_exiftool"
|
@@ -24,11 +24,12 @@ module Refinery
|
|
24
24
|
"#{Rails.root.to_s}/tmp/uploads" if ENV['HEROKU'] == 'true'
|
25
25
|
end
|
26
26
|
else
|
27
|
-
|
27
|
+
raise 'no S3 vars found in server'
|
28
|
+
# storage :file
|
28
29
|
|
29
|
-
def cache_dir
|
30
|
-
|
31
|
-
end
|
30
|
+
# def cache_dir
|
31
|
+
# "tmp"
|
32
|
+
# end
|
32
33
|
|
33
34
|
end
|
34
35
|
|
data/config/initializers/s3.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'carrierwave'
|
2
2
|
|
3
|
-
Refinery::PhotoGallery::CarrierWave.configure do |config|
|
3
|
+
# Refinery::PhotoGallery::CarrierWave.configure do |config|
|
4
|
+
CarrierWave.configure do |config|
|
4
5
|
config.fog_credentials = {
|
5
6
|
:provider => 'AWS',
|
6
7
|
:aws_access_key_id => ENV['S3_KEY'],
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-6hoursdaily-photo-gallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5.dev
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: refinerycms-core
|
@@ -162,6 +162,7 @@ executables: []
|
|
162
162
|
extensions: []
|
163
163
|
extra_rdoc_files: []
|
164
164
|
files:
|
165
|
+
- .gitignore
|
165
166
|
- Gemfile
|
166
167
|
- LICENSE.md
|
167
168
|
- README.md
|
@@ -313,6 +314,8 @@ files:
|
|
313
314
|
- lib/refinery/photo_gallery/engine.rb
|
314
315
|
- lib/refinery/photo_gallery/version.rb
|
315
316
|
- lib/refinerycms-photo-gallery.rb
|
317
|
+
- refinerycms-6hoursdaily-photo-gallery-0.0.4.dev.gem
|
318
|
+
- refinerycms-6hoursdaily-photo-gallery-0.0.5.dev.gem
|
316
319
|
- refinerycms-6hoursdaily-photo-gallery.gemspec
|
317
320
|
- screenshots/01_collections#index.png
|
318
321
|
- screenshots/02_albums#create.png
|