ecm_sliders2 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +35 -0
  4. data/Rakefile +27 -0
  5. data/app/helpers/ecm/sliders_helper.rb +10 -0
  6. data/app/helpers/markup_helper.rb +7 -0
  7. data/app/models/ecm/sliders/item.rb +36 -0
  8. data/app/models/ecm/sliders/slider.rb +40 -0
  9. data/app/views/ecm/sliders/sliders/_slider.haml +3 -0
  10. data/config/locales/de.yml +52 -0
  11. data/config/locales/en.yml +52 -0
  12. data/config/routes.rb +6 -0
  13. data/db/migrate/001_create_ecm_sliders_sliders.rb +14 -0
  14. data/db/migrate/002_create_ecm_sliders_items.rb +14 -0
  15. data/lib/ecm/sliders/configuration.rb +23 -0
  16. data/lib/ecm/sliders/engine.rb +7 -0
  17. data/lib/ecm/sliders/routing.rb +14 -0
  18. data/lib/ecm/sliders/version.rb +6 -0
  19. data/lib/ecm_sliders2.rb +17 -0
  20. data/lib/generators/ecm/sliders/install/install_generator.rb +21 -0
  21. data/lib/generators/ecm/sliders/install/templates/initializer.rb +39 -0
  22. data/lib/generators/ecm/sliders/install/templates/routes.source +5 -0
  23. data/lib/tasks/ecm_sliders_tasks.rake +67 -0
  24. data/spec/controllers/ecm/sliders/sliders_controller_spec.rb +23 -0
  25. data/spec/dummy/README.rdoc +261 -0
  26. data/spec/dummy/Rakefile +7 -0
  27. data/spec/dummy/app/admin/admin_users.rb +20 -0
  28. data/spec/dummy/app/admin/dashboards.rb +33 -0
  29. data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
  30. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  31. data/spec/dummy/app/assets/javascripts/bootstrap.min.js +6 -0
  32. data/spec/dummy/app/assets/stylesheets/active_admin.css.scss +29 -0
  33. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  34. data/spec/dummy/app/assets/stylesheets/bootstrap.min.css +727 -0
  35. data/spec/dummy/app/assets/stylesheets/ecm.sliders.css +9 -0
  36. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  37. data/spec/dummy/app/helpers/application_helper.rb +7 -0
  38. data/spec/dummy/app/models/admin_user.rb +11 -0
  39. data/spec/dummy/app/views/layouts/application.html.erb +37 -0
  40. data/spec/dummy/config.ru +4 -0
  41. data/spec/dummy/config/application.rb +69 -0
  42. data/spec/dummy/config/boot.rb +10 -0
  43. data/spec/dummy/config/database.yml +25 -0
  44. data/spec/dummy/config/environment.rb +5 -0
  45. data/spec/dummy/config/environments/development.rb +37 -0
  46. data/spec/dummy/config/environments/production.rb +67 -0
  47. data/spec/dummy/config/environments/test.rb +37 -0
  48. data/spec/dummy/config/initializers/active_admin.rb +154 -0
  49. data/spec/dummy/config/initializers/active_admin_footer_patch.rb +12 -0
  50. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  51. data/spec/dummy/config/initializers/devise.rb +232 -0
  52. data/spec/dummy/config/initializers/ecm_sliders.rb +39 -0
  53. data/spec/dummy/config/initializers/inflections.rb +15 -0
  54. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  55. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  56. data/spec/dummy/config/initializers/session_store.rb +8 -0
  57. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  58. data/spec/dummy/config/locales/de.yml +163 -0
  59. data/spec/dummy/config/locales/devise.en.yml +58 -0
  60. data/spec/dummy/config/locales/en.yml +5 -0
  61. data/spec/dummy/config/routes.rb +65 -0
  62. data/spec/dummy/db/migrate/20120922100801_create_ecm_sliders_sliders.ecm_sliders_engine.rb +20 -0
  63. data/spec/dummy/db/migrate/20120922100802_create_ecm_sliders_items.ecm_sliders_engine.rb +25 -0
  64. data/spec/dummy/db/migrate/20120922105221_devise_create_admin_users.rb +52 -0
  65. data/spec/dummy/db/migrate/20120922105247_create_admin_notes.rb +17 -0
  66. data/spec/dummy/db/migrate/20120922105248_move_admin_notes_to_comments.rb +25 -0
  67. data/spec/dummy/db/schema.rb +75 -0
  68. data/spec/dummy/lib/locale_generator.rb +194 -0
  69. data/spec/dummy/lib/tasks/stub_locales.rake +32 -0
  70. data/spec/dummy/public/404.html +26 -0
  71. data/spec/dummy/public/422.html +26 -0
  72. data/spec/dummy/public/500.html +25 -0
  73. data/spec/dummy/public/favicon.ico +0 -0
  74. data/spec/dummy/script/rails +6 -0
  75. data/spec/factories/ecm/sliders/items.rb +14 -0
  76. data/spec/factories/ecm/sliders/sliders.rb +10 -0
  77. data/spec/features/ecm/sliders/slider_items_admin_spec.rb +172 -0
  78. data/spec/features/ecm/sliders/sliders_admin_spec.rb +170 -0
  79. data/spec/files/ecm/sliders/items/example.png +0 -0
  80. data/spec/helpers/ecm/sliders_helper_spec.rb +36 -0
  81. data/spec/models/ecm/sliders/item_spec.rb +49 -0
  82. data/spec/models/ecm/sliders/slider_spec.rb +97 -0
  83. data/spec/models/generic_spec.rb +34 -0
  84. data/spec/requests/ecm/sliders/sliders_spec.rb +28 -0
  85. data/spec/routing/ecm/sliders/routes_spec.rb +11 -0
  86. data/spec/spec_helper.rb +38 -0
  87. data/spec/support/active_admin/sign_in_helper.rb +18 -0
  88. data/spec/support/capybara.rb +1 -0
  89. data/spec/support/factory_girl.rb +6 -0
  90. data/spec/support/ffaker.rb +1 -0
  91. data/spec/support/shoulda.rb +1 -0
  92. data/spec/views/ecm/sliders/sliders/index_spec.rb +20 -0
  93. metadata +344 -0
@@ -0,0 +1,36 @@
1
+ require 'spec_helper'
2
+
3
+ module Ecm
4
+ describe SlidersHelper do
5
+ describe "#render_slider" do
6
+ context "basic behaviour" do
7
+ before(:each) do
8
+ @slider = FactoryGirl.create(:ecm_sliders_slider_with_items)
9
+ end
10
+
11
+ subject { helper.render_slider(@slider.name) }
12
+
13
+ it "should include the body of all items" do
14
+ @slider.ecm_sliders_items.each do |item|
15
+ subject.should have_content(item.body)
16
+ end
17
+ end
18
+ end
19
+
20
+ context "uses slider without locale if there is no better" do
21
+ before(:each) do
22
+ @slider = FactoryGirl.create(:ecm_sliders_slider_with_items, :locale => nil)
23
+ end
24
+
25
+ subject { helper.render_slider(@slider.name) }
26
+
27
+ it "should include the body of all items" do
28
+ @slider.ecm_sliders_items.each do |item|
29
+ subject.should have_content(item.body)
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
36
+
@@ -0,0 +1,49 @@
1
+ require 'spec_helper'
2
+
3
+ module Ecm
4
+ module Sliders
5
+ describe Item do
6
+ subject { FactoryGirl.create :ecm_sliders_item }
7
+
8
+ context "acts as list" do
9
+ it { should respond_to(:move_to_top) }
10
+ it { should respond_to(:move_higher) }
11
+ it { should respond_to(:move_lower) }
12
+ it { should respond_to(:move_to_bottom) }
13
+ end
14
+
15
+ context "acts as markup" do
16
+ subject {
17
+ Factory.create(:ecm_sliders_item, :body => "h1. This is a heading")
18
+ }
19
+
20
+ it { should validate_presence_of(:markup_language) }
21
+
22
+ Ecm::Sliders::Configuration.markup_languages.each do |value|
23
+ it { should allow_value(value).for(:markup_language) }
24
+ end
25
+
26
+ %w(some other values that are not allowed).each do |value|
27
+ it { should_not allow_value(value).for(:markup_language) }
28
+ end
29
+
30
+ context "body.to_html" do
31
+ specify { subject.body.to_html.should eq("<h1>This is a heading</h1>") }
32
+ end
33
+ end
34
+
35
+ context "associations" do
36
+ it { should belong_to :ecm_sliders_slider }
37
+ end
38
+
39
+ context "paperclip" do
40
+ it { should respond_to :image }
41
+ end
42
+
43
+ context "validations" do
44
+ it { should validate_presence_of(:ecm_sliders_slider) }
45
+ end
46
+ end
47
+ end
48
+ end
49
+
@@ -0,0 +1,97 @@
1
+ require 'spec_helper'
2
+
3
+ module Ecm
4
+ module Sliders
5
+ describe Slider do
6
+ subject { FactoryGirl.create :ecm_sliders_slider }
7
+
8
+ context "associations" do
9
+ it { should have_many :ecm_sliders_items }
10
+ end
11
+
12
+ context 'auto_start' do
13
+ it 'should respond to auto_start' do
14
+ subject.should respond_to(:auto_start)
15
+ end
16
+
17
+ it 'should be equal to the initializer configuration' do
18
+ slider = Ecm::Sliders::Slider.new
19
+ slider.auto_start.should eq(Ecm::Sliders::Configuration.slider_auto_start)
20
+ end
21
+ end
22
+
23
+ context "class methods" do
24
+ context "#for_locale" do
25
+ context "prefers local specific slider" do
26
+ before(:each) do
27
+ I18n.locale = :de
28
+ @name = 'example'
29
+ @slider = FactoryGirl.create(:ecm_sliders_slider_with_items, :locale => nil, :name => @name)
30
+ @de_slider = FactoryGirl.create(:ecm_sliders_slider_with_items, :locale => I18n.locale.to_s, :name => @name)
31
+ end
32
+
33
+ subject { Ecm::Sliders::Slider.where(:name => @name).for_locale(I18n.locale).first }
34
+
35
+ it "should select the slider for the specific locale first" do
36
+ subject.should eq(@de_slider)
37
+ end
38
+ end
39
+
40
+ context "selects locale unspecific slider" do
41
+ before(:each) do
42
+ I18n.locale = :de
43
+ @name = 'example'
44
+ @slider = FactoryGirl.create(:ecm_sliders_slider_with_items, :locale => nil, :name => @name)
45
+ end
46
+
47
+ subject { Ecm::Sliders::Slider.where(:name => @name).for_locale(I18n.locale).first }
48
+
49
+ it "should select the slider without locale when there is none with specific locale" do
50
+ subject.should eq(@slider)
51
+ end
52
+ end
53
+ end
54
+ end
55
+
56
+ context "friendly id" do
57
+ subject { FactoryGirl.create(:ecm_sliders_slider, :name => 'Look, a slugged category!') }
58
+ its(:to_param) { should eq('look-a-slugged-category') }
59
+ end
60
+
61
+ context 'interval' do
62
+ it 'should respond to interval' do
63
+ subject.should respond_to(:interval)
64
+ end
65
+
66
+ it 'should default to the settings in the initializer' do
67
+ slider = Ecm::Sliders::Slider.new
68
+ slider.interval.should eq(Ecm::Sliders::Configuration.slider_interval)
69
+ end
70
+ end
71
+
72
+ context 'interval_in_milliseconds' do
73
+ it 'should convert the interval value to milliseconds' do
74
+ slider = Ecm::Sliders::Slider.new(:interval => 1.5)
75
+ slider.interval_in_milliseconds.should eq(1500)
76
+ end
77
+
78
+ it 'should return an integer value' do
79
+ slider = Ecm::Sliders::Slider.new(:interval => 1.5)
80
+ slider.interval_in_milliseconds.should be_a(Integer)
81
+ end
82
+ end
83
+
84
+ context "validations" do
85
+ I18n.available_locales.map(&:to_s).each do |value|
86
+ it { should allow_value(value).for(:locale) }
87
+ end
88
+ %w(some other values that are not allowed).each do |value|
89
+ it { should_not allow_value(value).for(:locale) }
90
+ end
91
+ it { should validate_presence_of :name }
92
+ it { should validate_uniqueness_of(:name).scoped_to(:locale) }
93
+ end
94
+ end
95
+ end
96
+ end
97
+
@@ -0,0 +1,34 @@
1
+ require 'spec_helper'
2
+
3
+ describe "ActiveRecord::Base models" do
4
+ ActiveRecord::Base.descendants.map(&:to_s).reject() { |m| %w(ActiveAdmin::Comment AdminUser).include?(m) }.each do |model_name|
5
+ model = model_name.constantize
6
+ describe model do
7
+ it "should be an ActiveRecord::Base" do
8
+ ActiveRecord::Base.descendants.should include(model)
9
+ end
10
+
11
+ it "should be instanciable" do
12
+ instance = model.new
13
+ instance.should be_a model
14
+ end
15
+
16
+ it "should be valid with correct attribute values" do
17
+ instance = FactoryGirl.create(model.to_s.tableize.singularize.underscore.gsub( '/', '_'))
18
+ instance.should be_valid
19
+ end
20
+
21
+ it "should not be valid with empty attributes" do
22
+ instance = model.new
23
+ instance.should_not be_valid
24
+ end
25
+
26
+ it "should save with valid attributes" do
27
+ instance = FactoryGirl.create(model.to_s.tableize.singularize.underscore.gsub( '/', '_'))
28
+ instance.save.should be_true
29
+ instance.should be_persisted
30
+ end
31
+ end
32
+ end
33
+ end
34
+
@@ -0,0 +1,28 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'Sliders' do
4
+ def set_resource_class
5
+ @resource_class = Ecm::Sliders::Slider
6
+ end
7
+
8
+ before do
9
+ set_resource_class
10
+ @resource_path = @resource_class.to_s.underscore.gsub('/', '_').pluralize
11
+ @resource_factory_name = @resource_class.to_s.underscore.gsub('/', '_').to_sym
12
+ end # background
13
+
14
+ describe 'index' do
15
+ before do
16
+ get "/#{@resource_path}"
17
+ end
18
+
19
+ it "request should be successful" do
20
+ response.code.should eq("200")
21
+ end
22
+
23
+ it "render the index template" do
24
+ response.should render_template(:index)
25
+ end
26
+ end
27
+ end
28
+
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe "routing to sliders" do
4
+ it "routes /ecm_sliders_sliders to index" do
5
+ expect(:get => "/ecm_sliders_sliders").to route_to(
6
+ :controller => "ecm/sliders/sliders",
7
+ :action => "index"
8
+ )
9
+ end # it
10
+ end
11
+
@@ -0,0 +1,38 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require File.expand_path("../dummy/config/environment", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'rspec/autorun'
6
+
7
+ # Requires supporting ruby files with custom matchers and macros, etc,
8
+ # in spec/support/ and its subdirectories.
9
+ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
10
+
11
+ RSpec.configure do |config|
12
+ # ## Mock Framework
13
+ #
14
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
15
+ #
16
+ # config.mock_with :mocha
17
+ # config.mock_with :flexmock
18
+ # config.mock_with :rr
19
+
20
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
21
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
22
+
23
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
24
+ # examples within a transaction, remove the following line or assign false
25
+ # instead of true.
26
+ config.use_transactional_fixtures = true
27
+
28
+ # If true, the base class of anonymous controllers will be inferred
29
+ # automatically. This will be the default behavior in future versions of
30
+ # rspec-rails.
31
+ config.infer_base_class_for_anonymous_controllers = false
32
+
33
+ # Run specs in random order to surface order dependencies. If you find an
34
+ # order dependency and want to debug it, you can fix the order by providing
35
+ # the seed, which is printed after each run.
36
+ # --seed 1234
37
+ config.order = "random"
38
+ end
@@ -0,0 +1,18 @@
1
+ module ActiveAdmin::SignInHelper
2
+ def sign_in(admin_user)
3
+ post admin_user_session_path, {
4
+ :admin_user => {
5
+ :email => admin_user.email,
6
+ :password => admin_user.password
7
+ }
8
+ }
9
+ end
10
+
11
+ def sign_in_with(email, password)
12
+ visit '/admin/login'
13
+ fill_in 'admin_user[email]', :with => email
14
+ fill_in 'admin_user[password]', :with => password
15
+ find(:xpath, '//input[@type="submit"]').click
16
+ end
17
+ end
18
+
@@ -0,0 +1 @@
1
+ require 'capybara/rspec'
@@ -0,0 +1,6 @@
1
+ # support for file uploads
2
+ # include ActionDispatch::TestProcess
3
+
4
+ require 'factory_girl'
5
+ FactoryGirl.find_definitions
6
+
@@ -0,0 +1 @@
1
+ require 'ffaker'
@@ -0,0 +1 @@
1
+ require 'shoulda/matchers'
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe "ecm/sliders/sliders/index" do
4
+ def add_controller_helpers *controllers
5
+ controllers.each { |c| view.singleton_class.class_eval { include c.new._helpers } }
6
+ end
7
+
8
+ before do
9
+ add_controller_helpers ApplicationController
10
+ end
11
+
12
+ it "renders _slider partial for each slider" do
13
+ @sliders = FactoryGirl.create_list(:ecm_sliders_slider, 2)
14
+ assign(:sliders, @sliders)
15
+ render
16
+ @sliders.map(&:ecm_sliders_items).flatten.each do |item|
17
+ rendered.should have_content(mu(item, :body))
18
+ end
19
+ end
20
+ end
metadata ADDED
@@ -0,0 +1,344 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ecm_sliders2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Roberto Vasquez Angel
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-03-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: acts_as_list
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: acts_as_markup
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: friendly_id
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: mini_magick
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sqlite3
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: factory_bot_rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry-rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rails-i18n
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec-rails
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: shoulda_matchers
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: guard-bundler
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: guard-rails
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: guard-rspec
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - ">="
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
223
+ description: ECM Module Template.
224
+ email:
225
+ - roberto@vasquez-angel.de
226
+ executables: []
227
+ extensions: []
228
+ extra_rdoc_files: []
229
+ files:
230
+ - MIT-LICENSE
231
+ - README.rdoc
232
+ - Rakefile
233
+ - app/helpers/ecm/sliders_helper.rb
234
+ - app/helpers/markup_helper.rb
235
+ - app/models/ecm/sliders/item.rb
236
+ - app/models/ecm/sliders/slider.rb
237
+ - app/views/ecm/sliders/sliders/_slider.haml
238
+ - config/locales/de.yml
239
+ - config/locales/en.yml
240
+ - config/routes.rb
241
+ - db/migrate/001_create_ecm_sliders_sliders.rb
242
+ - db/migrate/002_create_ecm_sliders_items.rb
243
+ - lib/ecm/sliders/configuration.rb
244
+ - lib/ecm/sliders/engine.rb
245
+ - lib/ecm/sliders/routing.rb
246
+ - lib/ecm/sliders/version.rb
247
+ - lib/ecm_sliders2.rb
248
+ - lib/generators/ecm/sliders/install/install_generator.rb
249
+ - lib/generators/ecm/sliders/install/templates/initializer.rb
250
+ - lib/generators/ecm/sliders/install/templates/routes.source
251
+ - lib/tasks/ecm_sliders_tasks.rake
252
+ - spec/controllers/ecm/sliders/sliders_controller_spec.rb
253
+ - spec/dummy/README.rdoc
254
+ - spec/dummy/Rakefile
255
+ - spec/dummy/app/admin/admin_users.rb
256
+ - spec/dummy/app/admin/dashboards.rb
257
+ - spec/dummy/app/assets/javascripts/active_admin.js
258
+ - spec/dummy/app/assets/javascripts/application.js
259
+ - spec/dummy/app/assets/javascripts/bootstrap.min.js
260
+ - spec/dummy/app/assets/stylesheets/active_admin.css.scss
261
+ - spec/dummy/app/assets/stylesheets/application.css
262
+ - spec/dummy/app/assets/stylesheets/bootstrap.min.css
263
+ - spec/dummy/app/assets/stylesheets/ecm.sliders.css
264
+ - spec/dummy/app/controllers/application_controller.rb
265
+ - spec/dummy/app/helpers/application_helper.rb
266
+ - spec/dummy/app/models/admin_user.rb
267
+ - spec/dummy/app/views/layouts/application.html.erb
268
+ - spec/dummy/config.ru
269
+ - spec/dummy/config/application.rb
270
+ - spec/dummy/config/boot.rb
271
+ - spec/dummy/config/database.yml
272
+ - spec/dummy/config/environment.rb
273
+ - spec/dummy/config/environments/development.rb
274
+ - spec/dummy/config/environments/production.rb
275
+ - spec/dummy/config/environments/test.rb
276
+ - spec/dummy/config/initializers/active_admin.rb
277
+ - spec/dummy/config/initializers/active_admin_footer_patch.rb
278
+ - spec/dummy/config/initializers/backtrace_silencers.rb
279
+ - spec/dummy/config/initializers/devise.rb
280
+ - spec/dummy/config/initializers/ecm_sliders.rb
281
+ - spec/dummy/config/initializers/inflections.rb
282
+ - spec/dummy/config/initializers/mime_types.rb
283
+ - spec/dummy/config/initializers/secret_token.rb
284
+ - spec/dummy/config/initializers/session_store.rb
285
+ - spec/dummy/config/initializers/wrap_parameters.rb
286
+ - spec/dummy/config/locales/de.yml
287
+ - spec/dummy/config/locales/devise.en.yml
288
+ - spec/dummy/config/locales/en.yml
289
+ - spec/dummy/config/routes.rb
290
+ - spec/dummy/db/migrate/20120922100801_create_ecm_sliders_sliders.ecm_sliders_engine.rb
291
+ - spec/dummy/db/migrate/20120922100802_create_ecm_sliders_items.ecm_sliders_engine.rb
292
+ - spec/dummy/db/migrate/20120922105221_devise_create_admin_users.rb
293
+ - spec/dummy/db/migrate/20120922105247_create_admin_notes.rb
294
+ - spec/dummy/db/migrate/20120922105248_move_admin_notes_to_comments.rb
295
+ - spec/dummy/db/schema.rb
296
+ - spec/dummy/lib/locale_generator.rb
297
+ - spec/dummy/lib/tasks/stub_locales.rake
298
+ - spec/dummy/public/404.html
299
+ - spec/dummy/public/422.html
300
+ - spec/dummy/public/500.html
301
+ - spec/dummy/public/favicon.ico
302
+ - spec/dummy/script/rails
303
+ - spec/factories/ecm/sliders/items.rb
304
+ - spec/factories/ecm/sliders/sliders.rb
305
+ - spec/features/ecm/sliders/slider_items_admin_spec.rb
306
+ - spec/features/ecm/sliders/sliders_admin_spec.rb
307
+ - spec/files/ecm/sliders/items/example.png
308
+ - spec/helpers/ecm/sliders_helper_spec.rb
309
+ - spec/models/ecm/sliders/item_spec.rb
310
+ - spec/models/ecm/sliders/slider_spec.rb
311
+ - spec/models/generic_spec.rb
312
+ - spec/requests/ecm/sliders/sliders_spec.rb
313
+ - spec/routing/ecm/sliders/routes_spec.rb
314
+ - spec/spec_helper.rb
315
+ - spec/support/active_admin/sign_in_helper.rb
316
+ - spec/support/capybara.rb
317
+ - spec/support/factory_girl.rb
318
+ - spec/support/ffaker.rb
319
+ - spec/support/shoulda.rb
320
+ - spec/views/ecm/sliders/sliders/index_spec.rb
321
+ homepage: https://github.com/robotex82/ecm_sliders
322
+ licenses: []
323
+ metadata: {}
324
+ post_install_message:
325
+ rdoc_options: []
326
+ require_paths:
327
+ - lib
328
+ required_ruby_version: !ruby/object:Gem::Requirement
329
+ requirements:
330
+ - - ">="
331
+ - !ruby/object:Gem::Version
332
+ version: '0'
333
+ required_rubygems_version: !ruby/object:Gem::Requirement
334
+ requirements:
335
+ - - ">="
336
+ - !ruby/object:Gem::Version
337
+ version: '0'
338
+ requirements: []
339
+ rubyforge_project:
340
+ rubygems_version: 2.6.11
341
+ signing_key:
342
+ specification_version: 4
343
+ summary: ECM Module Template.
344
+ test_files: []