ecm_pictures2 1.1.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.rdoc +21 -6
- data/Rakefile +2 -5
- data/app/admin/ecm_pictures_attached_pictures.rb +2 -3
- data/app/admin/ecm_pictures_picture_galleries.rb +21 -22
- data/app/admin/ecm_pictures_pictures.rb +13 -14
- data/app/controllers/ecm/pictures/picture_galleries_controller.rb +1 -1
- data/app/controllers/ecm/pictures/pictures_controller.rb +1 -1
- data/app/helpers/ecm/pictures_helper.rb +29 -30
- data/app/helpers/markup_helper.rb +3 -3
- data/app/models/ecm/pictures/attached_picture.rb +4 -5
- data/app/models/ecm/pictures/picture.rb +18 -13
- data/app/models/ecm/pictures/picture_gallery.rb +24 -12
- data/app/views/ecm/pictures/picture_galleries/_picture_gallery.html.erb +8 -0
- data/app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb +7 -0
- data/app/views/ecm/pictures/pictures/_picture.html.erb +9 -0
- data/config/locales/ecm.pictures.picture.de.yml +1 -0
- data/config/locales/ecm.pictures.picture.en.yml +1 -0
- data/db/migrate/001_create_ecm_pictures_picture_galleries.rb +3 -3
- data/db/migrate/002_create_ecm_pictures_pictures.rb +3 -3
- data/db/migrate/003_create_ecm_pictures_attached_pictures.rb +1 -2
- data/lib/ecm/pictures/active_admin/pictureable_helper.rb +51 -49
- data/lib/ecm/pictures/configuration.rb +0 -4
- data/lib/ecm/pictures/engine.rb +2 -3
- data/lib/ecm/pictures/routing.rb +7 -8
- data/lib/ecm/pictures/version.rb +1 -2
- data/lib/ecm_pictures2.rb +2 -3
- data/lib/generators/ecm/pictures/install/install_generator.rb +13 -7
- data/lib/generators/ecm/pictures/install/templates/{ecm_pictures.rb → initializer.rb} +4 -5
- data/lib/generators/ecm/pictures/install/templates/routes.source +5 -0
- data/lib/generators/ecm/pictures/locales/locales_generator.rb +9 -10
- data/lib/tasks/ecm_pictures_tasks.rake +24 -26
- metadata +42 -32
@@ -2,9 +2,8 @@ class CreateEcmPicturesAttachedPictures < ActiveRecord::Migration
|
|
2
2
|
def change
|
3
3
|
create_table :ecm_pictures_attached_pictures do |t|
|
4
4
|
t.references :ecm_pictures_picture
|
5
|
-
t.references :pictureable, :
|
5
|
+
t.references :pictureable, polymorphic: true
|
6
6
|
t.timestamps
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
10
|
-
|
@@ -1,54 +1,56 @@
|
|
1
|
-
|
1
|
+
if Gem::Specification.find_all_by_name('activeadmin').any?
|
2
|
+
require 'active_admin'
|
2
3
|
|
3
|
-
module Ecm::Pictures
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
4
|
+
module Ecm::Pictures
|
5
|
+
module ActiveAdmin
|
6
|
+
module PictureableHelper
|
7
|
+
def form_inputs_for_pictureable(f)
|
8
|
+
f.inputs do
|
9
|
+
f.has_many :pictures do |p|
|
10
|
+
p.input :name
|
11
|
+
p.input :image, as: :file, hint: p.template.image_tag(p.object.image.url(:default_thumb))
|
12
|
+
p.input :description
|
13
|
+
p.input :markup_language, as: :select, collection: Ecm::Pictures::Configuration.markup_languages
|
14
|
+
end
|
15
|
+
end
|
15
16
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
17
|
+
f.inputs do
|
18
|
+
f.has_many :attached_pictures do |p|
|
19
|
+
p.input :picture, as: :select,
|
20
|
+
collection: Ecm::Pictures::Picture.all.collect do |picture|
|
21
|
+
[picture, picture.id, { style: "background-image: url('#{picture.image.url(:medium_thumb)}'); width: #{Ecm::Pictures::Configuration.paperclip_options[:styles][:medium_thumb].split('x').first}px; height: #{Ecm::Pictures::Configuration.paperclip_options[:styles][:medium_thumb].split('x').last}px; background-repeat: no-repeat; background-position: center;" }]
|
22
|
+
end
|
21
23
|
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end # def
|
24
|
+
end
|
25
|
+
end
|
25
26
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
end
|
27
|
+
def panel_for_pictureable
|
28
|
+
panel Ecm::Pictures::PictureGallery.human_attribute_name(:pictures) do
|
29
|
+
table_for resource.pictures, i18n: Ecm::Pictures::Picture do
|
30
|
+
sortable_columns
|
31
|
+
column :thumbnail do |picture|
|
32
|
+
link_to(image_tag(picture.image.url(:default_thumb)), [:admin, picture])
|
33
|
+
end # column
|
34
|
+
column :name
|
35
|
+
column :image_file_size, sortable: :image_file_size do |picture|
|
36
|
+
number_to_human_size(picture.image_file_size)
|
37
|
+
end # column
|
38
|
+
column :created_at
|
39
|
+
column do |picture|
|
40
|
+
link_to(I18n.t('active_admin.view'), [:admin, picture], class: 'member_link view_link') +
|
41
|
+
link_to(I18n.t('active_admin.edit'), [:edit, :admin, picture], class: 'member_link edit_link') +
|
42
|
+
link_to(I18n.t('active_admin.delete'), [:admin, picture], class: 'member_link delete_link', method: :delete) +
|
43
|
+
link_to(I18n.t('active_admin.delete_link'), [:admin, picture.attached_pictures.where(pictureable_type: resource.class, pictureable_id: resource).first], class: 'member_link delete_link', method: :delete)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
50
51
|
|
51
|
-
::ActiveAdmin::ResourceDSL.send :include, Ecm::Pictures::ActiveAdmin::PictureableHelper
|
52
|
-
::ActiveAdmin::Views::Pages::Show.send :include, Ecm::Pictures::ActiveAdmin::PictureableHelper
|
53
|
-
::ActiveAdmin::Views::Pages::Form.send :include, Ecm::Pictures::ActiveAdmin::PictureableHelper
|
54
|
-
::ActiveAdmin::Views::ActiveAdminForm.send :include, Ecm::Pictures::ActiveAdmin::PictureableHelper
|
52
|
+
::ActiveAdmin::ResourceDSL.send :include, Ecm::Pictures::ActiveAdmin::PictureableHelper
|
53
|
+
::ActiveAdmin::Views::Pages::Show.send :include, Ecm::Pictures::ActiveAdmin::PictureableHelper
|
54
|
+
::ActiveAdmin::Views::Pages::Form.send :include, Ecm::Pictures::ActiveAdmin::PictureableHelper
|
55
|
+
::ActiveAdmin::Views::ActiveAdminForm.send :include, Ecm::Pictures::ActiveAdmin::PictureableHelper
|
56
|
+
end
|
data/lib/ecm/pictures/engine.rb
CHANGED
@@ -3,10 +3,9 @@ module Ecm
|
|
3
3
|
class Engine < Rails::Engine
|
4
4
|
initializer :ecm_pictures_engine do
|
5
5
|
::ActiveAdmin.setup do |config|
|
6
|
-
config.load_paths << File.join(
|
6
|
+
config.load_paths << File.join(root, 'app', 'admin')
|
7
7
|
end
|
8
|
-
end
|
8
|
+
end if Gem::Specification.find_all_by_name('activeadmin').any?
|
9
9
|
end
|
10
10
|
end
|
11
11
|
end
|
12
|
-
|
data/lib/ecm/pictures/routing.rb
CHANGED
@@ -9,14 +9,13 @@ module Ecm
|
|
9
9
|
# This will only create the show action for picture galleries, but omit the index action.
|
10
10
|
def self.routes(router, options = {})
|
11
11
|
options.reverse_merge!(
|
12
|
-
|
13
|
-
|
14
|
-
}
|
12
|
+
picture_gallery_actions: [:index, :show],
|
13
|
+
picture_actions: [:index, :show]
|
15
14
|
)
|
16
|
-
|
17
|
-
router.resources :ecm_pictures_picture_galleries, :
|
18
|
-
router.resources :ecm_pictures_pictures
|
19
|
-
end
|
15
|
+
|
16
|
+
router.resources :ecm_pictures_picture_galleries, only: options[:picture_gallery_actions], controller: 'ecm/pictures/picture_galleries'
|
17
|
+
router.resources :ecm_pictures_pictures, only: options[:picture_actions], controller: 'ecm/pictures/pictures'
|
18
|
+
end
|
20
19
|
end
|
21
20
|
end
|
22
|
-
end
|
21
|
+
end
|
data/lib/ecm/pictures/version.rb
CHANGED
data/lib/ecm_pictures2.rb
CHANGED
@@ -1,18 +1,17 @@
|
|
1
1
|
require 'acts_as_list'
|
2
2
|
require 'acts_as_markup'
|
3
|
-
require 'active_admin-acts_as_list'
|
4
3
|
require 'friendly_id'
|
5
4
|
require 'paperclip'
|
5
|
+
require 'active_admin-acts_as_list' if Gem::Specification.find_all_by_name('activeadmin').any?
|
6
6
|
|
7
7
|
require 'ecm/pictures/engine'
|
8
8
|
require 'ecm/pictures/configuration'
|
9
9
|
require 'ecm/pictures/routing'
|
10
10
|
require 'ecm/pictures/version'
|
11
|
-
require 'ecm/pictures/active_admin/pictureable_helper'
|
11
|
+
require 'ecm/pictures/active_admin/pictureable_helper' if Gem::Specification.find_all_by_name('activeadmin').any?
|
12
12
|
|
13
13
|
module Ecm
|
14
14
|
module Pictures
|
15
15
|
extend Configuration
|
16
16
|
end
|
17
17
|
end
|
18
|
-
|
@@ -2,14 +2,20 @@ module Ecm
|
|
2
2
|
module Pictures
|
3
3
|
module Generators
|
4
4
|
class InstallGenerator < Rails::Generators::Base
|
5
|
-
desc
|
5
|
+
desc 'Generates the intializer'
|
6
6
|
|
7
|
-
source_root File.expand_path('../templates', __FILE__)
|
8
|
-
|
9
|
-
def
|
10
|
-
copy_file
|
11
|
-
end
|
7
|
+
source_root File.expand_path('../templates', __FILE__)
|
8
|
+
|
9
|
+
def generate_initializer
|
10
|
+
copy_file 'initializer.rb', 'config/initializers/ecm_pictures.rb'
|
11
|
+
end
|
12
|
+
|
13
|
+
def generate_routes
|
14
|
+
inject_into_file 'config/routes.rb', before: "\nend" do
|
15
|
+
File.read(File.join(File.expand_path('../templates', __FILE__), 'routes.source'))
|
16
|
+
end
|
17
|
+
end
|
12
18
|
end
|
13
19
|
end
|
14
20
|
end
|
15
|
-
end
|
21
|
+
end
|
@@ -2,7 +2,7 @@ Ecm::Pictures.configure do |config|
|
|
2
2
|
# Accepted markup languages
|
3
3
|
#
|
4
4
|
# default: config.markup_languages = %w[ textile ]
|
5
|
-
config.markup_languages = %w
|
5
|
+
config.markup_languages = %w( textile )
|
6
6
|
|
7
7
|
# Default markup language
|
8
8
|
#
|
@@ -20,9 +20,9 @@ Ecm::Pictures.configure do |config|
|
|
20
20
|
# }
|
21
21
|
config.paperclip_options = {
|
22
22
|
styles: {
|
23
|
-
small_thumb:
|
24
|
-
medium_thumb:
|
25
|
-
default_thumb:
|
23
|
+
small_thumb: '80x60',
|
24
|
+
medium_thumb: '160x120',
|
25
|
+
default_thumb: '260x180'
|
26
26
|
}
|
27
27
|
}
|
28
28
|
|
@@ -38,4 +38,3 @@ Ecm::Pictures.configure do |config|
|
|
38
38
|
#
|
39
39
|
config.prevent_textile_rendering_in_html = true
|
40
40
|
end
|
41
|
-
|
@@ -2,25 +2,24 @@ module Ecm
|
|
2
2
|
module Pictures
|
3
3
|
module Generators
|
4
4
|
class LocalesGenerator < Rails::Generators::Base
|
5
|
-
desc
|
5
|
+
desc 'Copies the locale files to your application'
|
6
6
|
|
7
7
|
source_root File.expand_path('../../../../../../config/locales', __FILE__)
|
8
8
|
|
9
9
|
def generate_locales
|
10
|
-
copy_file
|
11
|
-
copy_file
|
10
|
+
copy_file 'ecm.pictures.en.yml', 'config/locales/ecm.pictures.en.yml'
|
11
|
+
copy_file 'ecm.pictures.de.yml', 'config/locales/ecm.pictures.de.yml'
|
12
12
|
|
13
|
-
copy_file
|
14
|
-
copy_file
|
13
|
+
copy_file 'ecm.pictures.attached_picture.en.yml', 'config/locales/ecm.pictures.attached_picture.en.yml'
|
14
|
+
copy_file 'ecm.pictures.attached_picture.de.yml', 'config/locales/ecm.pictures.attached_picture.de.yml'
|
15
15
|
|
16
|
-
copy_file
|
17
|
-
copy_file
|
16
|
+
copy_file 'ecm.pictures.picture.en.yml', 'config/locales/ecm.pictures.picture.en.yml'
|
17
|
+
copy_file 'ecm.pictures.picture.de.yml', 'config/locales/ecm.pictures.picture.de.yml'
|
18
18
|
|
19
|
-
copy_file
|
20
|
-
copy_file
|
19
|
+
copy_file 'ecm.pictures.picture_gallery.en.yml', 'config/locales/ecm.pictures.picture_gallery.en.yml'
|
20
|
+
copy_file 'ecm.pictures.picture_gallery.de.yml', 'config/locales/ecm.pictures.picture_gallery.de.yml'
|
21
21
|
end
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
26
|
-
|
@@ -1,37 +1,37 @@
|
|
1
1
|
namespace :ecm do
|
2
2
|
namespace :pictures do
|
3
3
|
namespace :db do
|
4
|
-
desc
|
5
|
-
task :populate!, [] => [:environment] do |
|
6
|
-
Rake::Task[
|
7
|
-
Rake::Task[
|
4
|
+
desc 'Purges and creates example data'
|
5
|
+
task :populate!, [] => [:environment] do |_t, _args|
|
6
|
+
Rake::Task['ecm:pictures:db:clear!'].execute
|
7
|
+
Rake::Task['ecm:pictures:db:populate'].execute
|
8
8
|
end
|
9
9
|
|
10
|
-
desc
|
11
|
-
task :clear!, [] => [:environment] do |
|
12
|
-
Rake::Task[
|
13
|
-
Rake::Task[
|
10
|
+
desc 'Clears all data!'
|
11
|
+
task :clear!, [] => [:environment] do |_t, _args|
|
12
|
+
Rake::Task['ecm:pictures:db:clear_galleries!'].execute
|
13
|
+
Rake::Task['ecm:pictures:db:clear_pictures!'].execute
|
14
14
|
end
|
15
15
|
|
16
|
-
desc
|
17
|
-
task :clear_galleries!, [] => [:environment] do |
|
16
|
+
desc 'Clears all gallery data!'
|
17
|
+
task :clear_galleries!, [] => [:environment] do |_t, _args|
|
18
18
|
Ecm::Pictures::PictureGallery.delete_all
|
19
19
|
end
|
20
20
|
|
21
|
-
desc
|
22
|
-
task :clear_pictures!, [] => [:environment] do |
|
21
|
+
desc 'Clears all picture data!'
|
22
|
+
task :clear_pictures!, [] => [:environment] do |_t, _args|
|
23
23
|
Ecm::Pictures::Picture.delete_all
|
24
24
|
end
|
25
25
|
|
26
|
-
desc
|
27
|
-
task :populate, [] => [:environment] do |
|
28
|
-
Rake::Task[
|
29
|
-
Rake::Task[
|
26
|
+
desc 'Creates example data'
|
27
|
+
task :populate, [] => [:environment] do |_t, _args|
|
28
|
+
Rake::Task['ecm:pictures:db:populate_galleries'].execute
|
29
|
+
Rake::Task['ecm:pictures:db:populate_pictures'].execute
|
30
30
|
end
|
31
31
|
|
32
|
-
desc
|
33
|
-
task :populate_galleries, [] => [:environment] do |
|
34
|
-
require
|
32
|
+
desc 'Creates example data for galleries'
|
33
|
+
task :populate_galleries, [] => [:environment] do |_t, _args|
|
34
|
+
require 'ffaker'
|
35
35
|
5.times do |i|
|
36
36
|
Ecm::Pictures::PictureGallery.create! do |pg|
|
37
37
|
pg.name = "Picture Gallery #{i}"
|
@@ -40,17 +40,17 @@ namespace :ecm do
|
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
desc
|
44
|
-
task :populate_pictures, [] => [:environment] do |
|
45
|
-
require
|
46
|
-
require
|
43
|
+
desc 'Creates example data for pictures'
|
44
|
+
task :populate_pictures, [] => [:environment] do |_t, _args|
|
45
|
+
require 'ffaker'
|
46
|
+
require 'forgery'
|
47
47
|
|
48
48
|
picture_galleries = Ecm::Pictures::PictureGallery.all
|
49
49
|
50.times do
|
50
50
|
Ecm::Pictures::Picture.create! do |p|
|
51
51
|
p.picture_gallery = picture_galleries.choice
|
52
52
|
p.image = File.open(File.join(Ecm::Pictures::Engine.root, 'spec/files', 'ecm/pictures/pictures', 'example.jpg'))
|
53
|
-
p.name = Faker::Product.brand if
|
53
|
+
p.name = Faker::Product.brand if rand(2) == 1
|
54
54
|
p.description = Faker::Lorem.paragraph(rand(10))
|
55
55
|
end
|
56
56
|
end
|
@@ -58,5 +58,3 @@ namespace :ecm do
|
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|
61
|
-
|
62
|
-
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_pictures2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.0'
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '5.0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '4.0'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '5.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: acts_as_list
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,21 +53,21 @@ dependencies:
|
|
59
53
|
- !ruby/object:Gem::Version
|
60
54
|
version: '0'
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
|
-
name:
|
56
|
+
name: friendly_id
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|
64
58
|
requirements:
|
65
|
-
- - "
|
59
|
+
- - ">="
|
66
60
|
- !ruby/object:Gem::Version
|
67
|
-
version: 0
|
61
|
+
version: '0'
|
68
62
|
type: :runtime
|
69
63
|
prerelease: false
|
70
64
|
version_requirements: !ruby/object:Gem::Requirement
|
71
65
|
requirements:
|
72
|
-
- - "
|
66
|
+
- - ">="
|
73
67
|
- !ruby/object:Gem::Version
|
74
|
-
version: 0
|
68
|
+
version: '0'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
|
-
name:
|
70
|
+
name: paperclip
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
78
72
|
requirements:
|
79
73
|
- - ">="
|
@@ -87,7 +81,7 @@ dependencies:
|
|
87
81
|
- !ruby/object:Gem::Version
|
88
82
|
version: '0'
|
89
83
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
84
|
+
name: RedCloth
|
91
85
|
requirement: !ruby/object:Gem::Requirement
|
92
86
|
requirements:
|
93
87
|
- - ">="
|
@@ -101,13 +95,13 @@ dependencies:
|
|
101
95
|
- !ruby/object:Gem::Version
|
102
96
|
version: '0'
|
103
97
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
98
|
+
name: rails-dummy
|
105
99
|
requirement: !ruby/object:Gem::Requirement
|
106
100
|
requirements:
|
107
101
|
- - ">="
|
108
102
|
- !ruby/object:Gem::Version
|
109
103
|
version: '0'
|
110
|
-
type: :
|
104
|
+
type: :development
|
111
105
|
prerelease: false
|
112
106
|
version_requirements: !ruby/object:Gem::Requirement
|
113
107
|
requirements:
|
@@ -115,7 +109,7 @@ dependencies:
|
|
115
109
|
- !ruby/object:Gem::Version
|
116
110
|
version: '0'
|
117
111
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
112
|
+
name: thin
|
119
113
|
requirement: !ruby/object:Gem::Requirement
|
120
114
|
requirements:
|
121
115
|
- - ">="
|
@@ -129,7 +123,7 @@ dependencies:
|
|
129
123
|
- !ruby/object:Gem::Version
|
130
124
|
version: '0'
|
131
125
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
126
|
+
name: sqlite3
|
133
127
|
requirement: !ruby/object:Gem::Requirement
|
134
128
|
requirements:
|
135
129
|
- - ">="
|
@@ -143,7 +137,7 @@ dependencies:
|
|
143
137
|
- !ruby/object:Gem::Version
|
144
138
|
version: '0'
|
145
139
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
140
|
+
name: jquery-rails
|
147
141
|
requirement: !ruby/object:Gem::Requirement
|
148
142
|
requirements:
|
149
143
|
- - ">="
|
@@ -157,7 +151,7 @@ dependencies:
|
|
157
151
|
- !ruby/object:Gem::Version
|
158
152
|
version: '0'
|
159
153
|
- !ruby/object:Gem::Dependency
|
160
|
-
name:
|
154
|
+
name: twitter-bootstrap-rails
|
161
155
|
requirement: !ruby/object:Gem::Requirement
|
162
156
|
requirements:
|
163
157
|
- - ">="
|
@@ -171,7 +165,7 @@ dependencies:
|
|
171
165
|
- !ruby/object:Gem::Version
|
172
166
|
version: '0'
|
173
167
|
- !ruby/object:Gem::Dependency
|
174
|
-
name:
|
168
|
+
name: devise
|
175
169
|
requirement: !ruby/object:Gem::Requirement
|
176
170
|
requirements:
|
177
171
|
- - ">="
|
@@ -185,7 +179,7 @@ dependencies:
|
|
185
179
|
- !ruby/object:Gem::Version
|
186
180
|
version: '0'
|
187
181
|
- !ruby/object:Gem::Dependency
|
188
|
-
name:
|
182
|
+
name: less-rails
|
189
183
|
requirement: !ruby/object:Gem::Requirement
|
190
184
|
requirements:
|
191
185
|
- - ">="
|
@@ -199,7 +193,21 @@ dependencies:
|
|
199
193
|
- !ruby/object:Gem::Version
|
200
194
|
version: '0'
|
201
195
|
- !ruby/object:Gem::Dependency
|
202
|
-
name:
|
196
|
+
name: therubyracer
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: active_admin-acts_as_list
|
203
211
|
requirement: !ruby/object:Gem::Requirement
|
204
212
|
requirements:
|
205
213
|
- - ">="
|
@@ -255,7 +263,7 @@ dependencies:
|
|
255
263
|
- !ruby/object:Gem::Version
|
256
264
|
version: '0'
|
257
265
|
- !ruby/object:Gem::Dependency
|
258
|
-
name:
|
266
|
+
name: rails-i18n
|
259
267
|
requirement: !ruby/object:Gem::Requirement
|
260
268
|
requirements:
|
261
269
|
- - ">="
|
@@ -300,16 +308,16 @@ dependencies:
|
|
300
308
|
name: shoulda-matchers
|
301
309
|
requirement: !ruby/object:Gem::Requirement
|
302
310
|
requirements:
|
303
|
-
- - "
|
311
|
+
- - ">="
|
304
312
|
- !ruby/object:Gem::Version
|
305
|
-
version:
|
313
|
+
version: '0'
|
306
314
|
type: :development
|
307
315
|
prerelease: false
|
308
316
|
version_requirements: !ruby/object:Gem::Requirement
|
309
317
|
requirements:
|
310
|
-
- - "
|
318
|
+
- - ">="
|
311
319
|
- !ruby/object:Gem::Version
|
312
|
-
version:
|
320
|
+
version: '0'
|
313
321
|
- !ruby/object:Gem::Dependency
|
314
322
|
name: factory_girl_rails
|
315
323
|
requirement: !ruby/object:Gem::Requirement
|
@@ -366,7 +374,7 @@ dependencies:
|
|
366
374
|
- - ">="
|
367
375
|
- !ruby/object:Gem::Version
|
368
376
|
version: '0'
|
369
|
-
description:
|
377
|
+
description: ECM Picture galleries module for ruby on rails.
|
370
378
|
email:
|
371
379
|
- roberto@vasquez-angel.de
|
372
380
|
executables: []
|
@@ -412,7 +420,8 @@ files:
|
|
412
420
|
- lib/ecm/pictures/version.rb
|
413
421
|
- lib/ecm_pictures2.rb
|
414
422
|
- lib/generators/ecm/pictures/install/install_generator.rb
|
415
|
-
- lib/generators/ecm/pictures/install/templates/
|
423
|
+
- lib/generators/ecm/pictures/install/templates/initializer.rb
|
424
|
+
- lib/generators/ecm/pictures/install/templates/routes.source
|
416
425
|
- lib/generators/ecm/pictures/locales/locales_generator.rb
|
417
426
|
- lib/tasks/ecm_pictures_tasks.rake
|
418
427
|
homepage: https://github.com/robotex82/ecm_pictures
|
@@ -437,5 +446,6 @@ rubyforge_project:
|
|
437
446
|
rubygems_version: 2.4.8
|
438
447
|
signing_key:
|
439
448
|
specification_version: 4
|
440
|
-
summary: Picture galleries for
|
449
|
+
summary: ECM Picture galleries module for ruby on rails.
|
441
450
|
test_files: []
|
451
|
+
has_rdoc:
|