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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.rdoc +21 -6
  4. data/Rakefile +2 -5
  5. data/app/admin/ecm_pictures_attached_pictures.rb +2 -3
  6. data/app/admin/ecm_pictures_picture_galleries.rb +21 -22
  7. data/app/admin/ecm_pictures_pictures.rb +13 -14
  8. data/app/controllers/ecm/pictures/picture_galleries_controller.rb +1 -1
  9. data/app/controllers/ecm/pictures/pictures_controller.rb +1 -1
  10. data/app/helpers/ecm/pictures_helper.rb +29 -30
  11. data/app/helpers/markup_helper.rb +3 -3
  12. data/app/models/ecm/pictures/attached_picture.rb +4 -5
  13. data/app/models/ecm/pictures/picture.rb +18 -13
  14. data/app/models/ecm/pictures/picture_gallery.rb +24 -12
  15. data/app/views/ecm/pictures/picture_galleries/_picture_gallery.html.erb +8 -0
  16. data/app/views/ecm/pictures/picture_galleries/_picture_gallery_for_index.html.erb +7 -0
  17. data/app/views/ecm/pictures/pictures/_picture.html.erb +9 -0
  18. data/config/locales/ecm.pictures.picture.de.yml +1 -0
  19. data/config/locales/ecm.pictures.picture.en.yml +1 -0
  20. data/db/migrate/001_create_ecm_pictures_picture_galleries.rb +3 -3
  21. data/db/migrate/002_create_ecm_pictures_pictures.rb +3 -3
  22. data/db/migrate/003_create_ecm_pictures_attached_pictures.rb +1 -2
  23. data/lib/ecm/pictures/active_admin/pictureable_helper.rb +51 -49
  24. data/lib/ecm/pictures/configuration.rb +0 -4
  25. data/lib/ecm/pictures/engine.rb +2 -3
  26. data/lib/ecm/pictures/routing.rb +7 -8
  27. data/lib/ecm/pictures/version.rb +1 -2
  28. data/lib/ecm_pictures2.rb +2 -3
  29. data/lib/generators/ecm/pictures/install/install_generator.rb +13 -7
  30. data/lib/generators/ecm/pictures/install/templates/{ecm_pictures.rb → initializer.rb} +4 -5
  31. data/lib/generators/ecm/pictures/install/templates/routes.source +5 -0
  32. data/lib/generators/ecm/pictures/locales/locales_generator.rb +9 -10
  33. data/lib/tasks/ecm_pictures_tasks.rake +24 -26
  34. 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, :polymorphic => true
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
- require 'active_admin'
1
+ if Gem::Specification.find_all_by_name('activeadmin').any?
2
+ require 'active_admin'
2
3
 
3
- module Ecm::Pictures
4
- module ActiveAdmin
5
- module PictureableHelper
6
- def form_inputs_for_pictureable(f)
7
- f.inputs do
8
- f.has_many :pictures do |p|
9
- p.input :name
10
- p.input :image, :as => :file, :hint => p.template.image_tag(p.object.image.url(:default_thumb))
11
- p.input :description
12
- p.input :markup_language, :as => :select, :collection => Ecm::Pictures::Configuration.markup_languages
13
- end # f.has_many :pictures
14
- end # f.inputs
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
- f.inputs do
17
- f.has_many :attached_pictures do |p|
18
- p.input :picture, :as => :select,
19
- :collection => Ecm::Pictures::Picture.all.collect do |picture|
20
- [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;"}]
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 # f.has_many :attached_pictures
23
- end # f.inputs
24
- end # def
24
+ end
25
+ end
25
26
 
26
- def panel_for_pictureable
27
- panel Ecm::Pictures::PictureGallery.human_attribute_name(:pictures) do
28
- table_for resource.pictures, :i18n => Ecm::Pictures::Picture do
29
- sortable_columns
30
- column :thumbnail do |picture|
31
- link_to(image_tag(picture.image.url(:default_thumb)), [:admin, picture])
32
- end # column
33
- column :name
34
- column :image_file_size, :sortable => :image_file_size do |picture|
35
- number_to_human_size(picture.image_file_size)
36
- end # column
37
- column :created_at
38
- column do |picture|
39
- link_to(I18n.t('active_admin.view'), [:admin, picture], :class => "member_link view_link") +
40
- link_to(I18n.t('active_admin.edit'), [:edit, :admin, picture], :class => "member_link edit_link") +
41
- link_to(I18n.t('active_admin.delete'), [:admin, picture], :class => "member_link delete_link", :method => :delete) +
42
- 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)
43
- end # column
44
- end # table_for
45
- end # panel
46
- end # def
47
- end # module PictureableHelper
48
- end # module ActiveAdmin
49
- end # module Ecm::Pictures
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
@@ -28,10 +28,6 @@ module Ecm
28
28
  mattr_accessor :prevent_textile_rendering_in_html do
29
29
  true
30
30
  end
31
-
32
- # def paperclip_options=(paperclip_options)
33
- # @@paperclip_options = picture_image_styles.with_indifferent_access
34
- # end
35
31
  end
36
32
  end
37
33
  end
@@ -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(self.root, 'app/admin')
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
-
@@ -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
- { :picture_gallery_actions => [:index, :show],
13
- :picture_actions => [:index, :show]
14
- }
12
+ picture_gallery_actions: [:index, :show],
13
+ picture_actions: [:index, :show]
15
14
  )
16
-
17
- router.resources :ecm_pictures_picture_galleries, :only => options[:picture_gallery_actions], :controller => 'ecm/pictures/picture_galleries'
18
- router.resources :ecm_pictures_pictures,:only => options[:picture_actions], :controller => '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
@@ -1,6 +1,5 @@
1
1
  module Ecm
2
2
  module Pictures
3
- VERSION = "1.1.2"
3
+ VERSION = '2.0.0'
4
4
  end
5
5
  end
6
-
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 "Generates the intializer"
5
+ desc 'Generates the intializer'
6
6
 
7
- source_root File.expand_path('../templates', __FILE__)
8
-
9
- def generate_intializer
10
- copy_file "ecm_pictures.rb", "config/initializers/ecm_pictures.rb"
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[ textile ]
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: "80x60",
24
- medium_thumb: "160x120",
25
- default_thumb: "260x180"
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
-
@@ -0,0 +1,5 @@
1
+
2
+ # ECM Pictures Frontend Routing
3
+ localized do
4
+ Ecm::Pictures::Routing.routes(self)
5
+ end
@@ -2,25 +2,24 @@ module Ecm
2
2
  module Pictures
3
3
  module Generators
4
4
  class LocalesGenerator < Rails::Generators::Base
5
- desc "Copies the locale files to your application"
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 "ecm.pictures.en.yml", "config/locales/ecm.pictures.en.yml"
11
- copy_file "ecm.pictures.de.yml", "config/locales/ecm.pictures.de.yml"
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 "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"
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 "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"
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 "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"
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 "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
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 "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
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 "Clears all gallery data!"
17
- task :clear_galleries!, [] => [:environment] do |t, args|
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 "Clears all picture data!"
22
- task :clear_pictures!, [] => [:environment] do |t, args|
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 "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
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 "Creates example data for galleries"
33
- task :populate_galleries, [] => [:environment] do |t, args|
34
- require "ffaker"
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 "Creates example data for pictures"
44
- task :populate_pictures, [] => [:environment] do |t, args|
45
- require "ffaker"
46
- require "forgery"
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 (rand(2) == 1)
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: 1.1.2
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: 2015-11-22 00:00:00.000000000 Z
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: active_admin-acts_as_list
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.0.8
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.0.8
68
+ version: '0'
75
69
  - !ruby/object:Gem::Dependency
76
- name: friendly_id
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: paperclip
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: RedCloth
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: :runtime
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: rails-dummy
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: thin
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: sqlite3
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: less-rails
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: therubyracer
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: twitter-bootstrap-rails
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: devise
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: yard
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: 2.8.0
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: 2.8.0
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: Provides picture galleries for active admin.
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/ecm_pictures.rb
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 active admin.
449
+ summary: ECM Picture galleries module for ruby on rails.
441
450
  test_files: []
451
+ has_rdoc: