tb_banners 1.2.0.beta1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.markdown +9 -14
- data/Rakefile +2 -5
- data/app/assets/javascripts/admin/banners/banner_sets.js +4 -1
- data/app/assets/javascripts/admin/banners/banners.js +49 -56
- data/app/assets/stylesheets/admin/banners/banners.css.scss +6 -1
- data/app/controllers/admin/banner_sets_controller.rb +15 -23
- data/app/controllers/admin/banners_controller.rb +32 -61
- data/app/helpers/spud_banners_helper.rb +24 -19
- data/app/models/spud_banner.rb +33 -20
- data/app/models/spud_banner_set.rb +16 -19
- data/app/views/admin/banner_sets/index.html.erb +1 -1
- data/app/views/admin/banner_sets/show.html.erb +2 -1
- data/app/views/admin/banners/_banner.html.erb +4 -1
- data/app/views/admin/banners/_form.html.erb +3 -5
- data/db/migrate/20121116195139_create_spud_banners.rb +1 -1
- data/db/migrate/20121116195312_create_spud_banner_sets.rb +1 -1
- data/db/migrate/20130614132846_add_rich_text_to_spud_banners.rb +1 -1
- data/db/migrate/20140721142719_add_start_and_end_dates_to_spud_banners.rb +1 -1
- data/lib/spud_banners/configuration.rb +6 -5
- data/lib/spud_banners/engine.rb +13 -11
- data/lib/spud_banners/version.rb +1 -1
- data/lib/tb_banners.rb +1 -2
- data/spec/controllers/admin/banner_sets_controller_spec.rb +57 -58
- data/spec/dummy/config.ru +1 -1
- data/spec/dummy/config/application.rb +2 -3
- data/spec/dummy/config/boot.rb +1 -1
- data/spec/dummy/config/environments/production.rb +1 -1
- data/spec/dummy/config/environments/test.rb +3 -4
- data/spec/dummy/config/initializers/secret_token.rb +0 -1
- data/spec/dummy/db/migrate/20121127192246_create_spud_admin_permissions.spud_core.rb +1 -1
- data/spec/dummy/db/migrate/20121127192247_create_spud_users.spud_core.rb +13 -13
- data/spec/dummy/db/migrate/20121127192248_add_time_zone_to_spud_user.spud_core.rb +1 -2
- data/spec/dummy/db/migrate/20121127192249_add_scope_to_spud_admin_permissions.spud_core.rb +1 -2
- data/spec/dummy/db/migrate/20121127192250_create_spud_user_settings.spud_core.rb +1 -1
- data/spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb +1 -1
- data/spec/dummy/db/migrate/20130920154443_create_spud_permissions.tb_core.rb +4 -4
- data/spec/dummy/db/migrate/20130920154444_create_spud_role_permissions.tb_core.rb +3 -3
- data/spec/dummy/db/migrate/20130920154445_drop_spud_admin_permissions.tb_core.rb +1 -1
- data/spec/dummy/db/migrate/20160310164644_add_requires_password_change_to_spud_users.tb_core.rb +6 -0
- data/spec/dummy/db/schema.rb +70 -84
- data/spec/dummy/script/rails +2 -2
- data/spec/factories/spud_banner_sets.rb +9 -0
- data/spec/factories/spud_banners.rb +7 -0
- data/spec/models/spud_banner_spec.rb +27 -0
- data/spec/rails_helper.rb +81 -0
- data/spec/spec_helper.rb +77 -34
- metadata +79 -109
- data/app/views/admin/banners/legacy.js.erb +0 -5
- data/lib/spud_banners/liquid_tags.rb +0 -31
- data/spec/dummy/db/migrate/20130920154446_create_spud_banners.tb_banners.rb +0 -16
- data/spec/dummy/db/migrate/20130920154447_create_spud_banner_sets.tb_banners.rb +0 -13
- data/spec/dummy/db/migrate/20130920154448_add_rich_text_to_spud_banners.tb_banners.rb +0 -7
- data/spec/dummy/db/migrate/20140120174546_create_tb_liquid_spud_liquid_tags.tb_liquid.rb +0 -13
- data/spec/support/authlogic_helper.rb +0 -2
@@ -0,0 +1,81 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV['RAILS_ENV'] ||= 'test'
|
3
|
+
|
4
|
+
require File.expand_path('dummy/config/environment.rb', __dir__)
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'authlogic/test_case'
|
7
|
+
require 'rspec/rails'
|
8
|
+
require 'rails-controller-testing'
|
9
|
+
require 'database_cleaner'
|
10
|
+
require 'simplecov'
|
11
|
+
require 'factory_bot_rails'
|
12
|
+
|
13
|
+
SimpleCov.start 'rails'
|
14
|
+
|
15
|
+
# Add additional requires below this line. Rails is not loaded until this point!
|
16
|
+
|
17
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
18
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
19
|
+
# run as spec files by default. This means that files in spec/support that end
|
20
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
21
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
22
|
+
# end with _spec.rb. You can configure this pattern with the --pattern
|
23
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
24
|
+
#
|
25
|
+
# The following line is provided for convenience purposes. It has the downside
|
26
|
+
# of increasing the boot-up time by auto-requiring all files in the support
|
27
|
+
# directory. Alternatively, in the individual `*_spec.rb` files, manually
|
28
|
+
# require only the support files necessary.
|
29
|
+
#
|
30
|
+
# Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
31
|
+
|
32
|
+
# Checks for pending migrations before tests are run.
|
33
|
+
# If you are not using ActiveRecord, you can remove this line.
|
34
|
+
# ActiveRecord::Migration.maintain_test_schema!
|
35
|
+
|
36
|
+
RSpec.configure do |config|
|
37
|
+
include FactoryBot::Syntax::Methods
|
38
|
+
include Authlogic::TestCase
|
39
|
+
|
40
|
+
[:controller, :view, :request].each do |type|
|
41
|
+
config.include ::Rails::Controller::Testing::TestProcess, type: type
|
42
|
+
config.include ::Rails::Controller::Testing::TemplateAssertions, type: type
|
43
|
+
config.include ::Rails::Controller::Testing::Integration, type: type
|
44
|
+
end
|
45
|
+
|
46
|
+
config.raise_errors_for_deprecations!
|
47
|
+
config.infer_base_class_for_anonymous_controllers = false
|
48
|
+
|
49
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
50
|
+
# examples within a transaction, remove the following line or assign false
|
51
|
+
# instead of true.
|
52
|
+
config.use_transactional_fixtures = true
|
53
|
+
|
54
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
55
|
+
# based on their file location, for example enabling you to call `get` and
|
56
|
+
# `post` in specs under `spec/controllers`.
|
57
|
+
#
|
58
|
+
# You can disable this behaviour by removing the line below, and instead
|
59
|
+
# explicitly tag your specs with their type, e.g.:
|
60
|
+
#
|
61
|
+
# RSpec.describe UsersController, :type => :controller do
|
62
|
+
# # ...
|
63
|
+
# end
|
64
|
+
#
|
65
|
+
# The different available types are documented in the features, such as in
|
66
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
67
|
+
# config.infer_spec_type_from_file_location!
|
68
|
+
|
69
|
+
# Clean the database as needed
|
70
|
+
# https://github.com/DatabaseCleaner/database_cleaner#rspec-example
|
71
|
+
config.before(:suite) do
|
72
|
+
DatabaseCleaner.strategy = :transaction
|
73
|
+
DatabaseCleaner.clean_with(:truncation)
|
74
|
+
end
|
75
|
+
config.around(:each) do |example|
|
76
|
+
DatabaseCleaner.cleaning do
|
77
|
+
example.run
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,40 +1,83 @@
|
|
1
|
-
#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
#
|
9
|
-
|
10
|
-
|
11
|
-
require
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
# Requires supporting ruby files with custom matchers and macros, etc,
|
19
|
-
# in spec/support/ and its subdirectories.
|
20
|
-
ENGINE_RAILS_ROOT=File.join(File.dirname(__FILE__), '../')
|
21
|
-
Dir[File.join(ENGINE_RAILS_ROOT,"spec/support/**/*.rb"), File.join(ENGINE_RAILS_ROOT,"factories/*")].each {|f| require f}
|
22
|
-
|
1
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause this
|
4
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
5
|
+
#
|
6
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
7
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
8
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
9
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
10
|
+
# a separate helper file that requires the additional dependencies and performs
|
11
|
+
# the additional setup, and require it from the spec files that actually need it.
|
12
|
+
#
|
13
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
14
|
+
# users commonly want.
|
15
|
+
#
|
16
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
23
17
|
RSpec.configure do |config|
|
24
|
-
config.
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
18
|
+
# rspec-expectations config goes here. You can use an alternate
|
19
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
20
|
+
# assertions if you prefer.
|
21
|
+
config.expect_with :rspec do |expectations|
|
22
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
23
|
+
# and `failure_message` of custom matchers include text for helper methods
|
24
|
+
# defined using `chain`, e.g.:
|
25
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
26
|
+
# # => "be bigger than 2 and smaller than 4"
|
27
|
+
# ...rather than:
|
28
|
+
# # => "be bigger than 2"
|
29
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
31
30
|
end
|
32
31
|
|
33
|
-
config.
|
34
|
-
|
32
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
33
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
34
|
+
config.mock_with :rspec do |mocks|
|
35
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
36
|
+
# a real object. This is generally recommended, and will default to
|
37
|
+
# `true` in RSpec 4.
|
38
|
+
mocks.verify_partial_doubles = true
|
35
39
|
end
|
36
40
|
|
37
|
-
|
38
|
-
|
39
|
-
|
41
|
+
# The settings below are suggested to provide a good initial experience
|
42
|
+
# with RSpec, but feel free to customize to your heart's content.
|
43
|
+
# # These two settings work together to allow you to limit a spec run
|
44
|
+
# # to individual examples or groups you care about by tagging them with
|
45
|
+
# # `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
46
|
+
# # get run.
|
47
|
+
# config.filter_run :focus
|
48
|
+
# config.run_all_when_everything_filtered = true
|
49
|
+
#
|
50
|
+
# # Limits the available syntax to the non-monkey patched syntax that is recommended.
|
51
|
+
# # For more details, see:
|
52
|
+
# # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
53
|
+
# # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
54
|
+
# # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
55
|
+
# config.disable_monkey_patching!
|
56
|
+
#
|
57
|
+
# # Many RSpec users commonly either run the entire suite or an individual
|
58
|
+
# # file, and it's useful to allow more verbose output when running an
|
59
|
+
# # individual spec file.
|
60
|
+
# if config.files_to_run.one?
|
61
|
+
# # Use the documentation formatter for detailed output,
|
62
|
+
# # unless a formatter has already been configured
|
63
|
+
# # (e.g. via a command-line flag).
|
64
|
+
# config.default_formatter = 'doc'
|
65
|
+
# end
|
66
|
+
#
|
67
|
+
# # Print the 10 slowest examples and example groups at the
|
68
|
+
# # end of the spec run, to help surface which specs are running
|
69
|
+
# # particularly slow.
|
70
|
+
# config.profile_examples = 10
|
71
|
+
#
|
72
|
+
# # Run specs in random order to surface order dependencies. If you find an
|
73
|
+
# # order dependency and want to debug it, you can fix the order by providing
|
74
|
+
# # the seed, which is printed after each run.
|
75
|
+
# # --seed 1234
|
76
|
+
# config.order = :random
|
77
|
+
#
|
78
|
+
# # Seed global randomization in this process using the `--seed` CLI option.
|
79
|
+
# # Setting this allows you to use `--seed` to deterministically reproduce
|
80
|
+
# # test failures related to randomization by passing the same `--seed` value
|
81
|
+
# # as the one that triggered the failure.
|
82
|
+
# Kernel.srand config.seed
|
40
83
|
end
|
metadata
CHANGED
@@ -1,65 +1,65 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tb_banners
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- Moser Consulting
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: paperclip
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 5.0.0.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 5.0.0.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: tb_core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 1.4.4
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 1.4.4
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: database_cleaner
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
|
-
type: :
|
62
|
+
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: factory_bot_rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,89 +81,61 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - '='
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 2.14.0
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - '='
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 2.14.0
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rspec-rails
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - '='
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 2.14.0
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - '='
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 2.14.0
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: shoulda
|
84
|
+
name: mysql2
|
113
85
|
requirement: !ruby/object:Gem::Requirement
|
114
86
|
requirements:
|
115
|
-
- - "
|
87
|
+
- - ">="
|
116
88
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
89
|
+
version: '0'
|
118
90
|
type: :development
|
119
91
|
prerelease: false
|
120
92
|
version_requirements: !ruby/object:Gem::Requirement
|
121
93
|
requirements:
|
122
|
-
- - "
|
94
|
+
- - ">="
|
123
95
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
96
|
+
version: '0'
|
125
97
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
98
|
+
name: rails-controller-testing
|
127
99
|
requirement: !ruby/object:Gem::Requirement
|
128
100
|
requirements:
|
129
|
-
- - "
|
101
|
+
- - ">="
|
130
102
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
103
|
+
version: '0'
|
132
104
|
type: :development
|
133
105
|
prerelease: false
|
134
106
|
version_requirements: !ruby/object:Gem::Requirement
|
135
107
|
requirements:
|
136
|
-
- - "
|
108
|
+
- - ">="
|
137
109
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
110
|
+
version: '0'
|
139
111
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
112
|
+
name: rspec-rails
|
141
113
|
requirement: !ruby/object:Gem::Requirement
|
142
114
|
requirements:
|
143
|
-
- -
|
115
|
+
- - ">="
|
144
116
|
- !ruby/object:Gem::Version
|
145
|
-
version:
|
117
|
+
version: '0'
|
146
118
|
type: :development
|
147
119
|
prerelease: false
|
148
120
|
version_requirements: !ruby/object:Gem::Requirement
|
149
121
|
requirements:
|
150
|
-
- -
|
122
|
+
- - ">="
|
151
123
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
124
|
+
version: '0'
|
153
125
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
126
|
+
name: rubocop
|
155
127
|
requirement: !ruby/object:Gem::Requirement
|
156
128
|
requirements:
|
157
|
-
- -
|
129
|
+
- - ">="
|
158
130
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0
|
131
|
+
version: '0'
|
160
132
|
type: :development
|
161
133
|
prerelease: false
|
162
134
|
version_requirements: !ruby/object:Gem::Requirement
|
163
135
|
requirements:
|
164
|
-
- -
|
136
|
+
- - ">="
|
165
137
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0
|
138
|
+
version: '0'
|
167
139
|
- !ruby/object:Gem::Dependency
|
168
140
|
name: simplecov
|
169
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -180,7 +152,7 @@ dependencies:
|
|
180
152
|
version: '0'
|
181
153
|
description: Banner Management engine for Twice Baked
|
182
154
|
email:
|
183
|
-
- greg@
|
155
|
+
- greg.woods@moserit.com.com
|
184
156
|
executables: []
|
185
157
|
extensions: []
|
186
158
|
extra_rdoc_files: []
|
@@ -212,7 +184,6 @@ files:
|
|
212
184
|
- app/views/admin/banners/_banner.html.erb
|
213
185
|
- app/views/admin/banners/_form.html.erb
|
214
186
|
- app/views/admin/banners/edit.html.erb
|
215
|
-
- app/views/admin/banners/legacy.js.erb
|
216
187
|
- app/views/admin/banners/new.html.erb
|
217
188
|
- app/views/admin/banners/show.html.erb
|
218
189
|
- config/routes.rb
|
@@ -222,7 +193,6 @@ files:
|
|
222
193
|
- db/migrate/20140721142719_add_start_and_end_dates_to_spud_banners.rb
|
223
194
|
- lib/spud_banners/configuration.rb
|
224
195
|
- lib/spud_banners/engine.rb
|
225
|
-
- lib/spud_banners/liquid_tags.rb
|
226
196
|
- lib/spud_banners/version.rb
|
227
197
|
- lib/tasks/spud_banners_tasks.rake
|
228
198
|
- lib/tb_banners.rb
|
@@ -259,22 +229,22 @@ files:
|
|
259
229
|
- spec/dummy/db/migrate/20130920154443_create_spud_permissions.tb_core.rb
|
260
230
|
- spec/dummy/db/migrate/20130920154444_create_spud_role_permissions.tb_core.rb
|
261
231
|
- spec/dummy/db/migrate/20130920154445_drop_spud_admin_permissions.tb_core.rb
|
262
|
-
- spec/dummy/db/migrate/
|
263
|
-
- spec/dummy/db/migrate/20130920154447_create_spud_banner_sets.tb_banners.rb
|
264
|
-
- spec/dummy/db/migrate/20130920154448_add_rich_text_to_spud_banners.tb_banners.rb
|
265
|
-
- spec/dummy/db/migrate/20140120174546_create_tb_liquid_spud_liquid_tags.tb_liquid.rb
|
232
|
+
- spec/dummy/db/migrate/20160310164644_add_requires_password_change_to_spud_users.tb_core.rb
|
266
233
|
- spec/dummy/db/schema.rb
|
267
234
|
- spec/dummy/public/404.html
|
268
235
|
- spec/dummy/public/422.html
|
269
236
|
- spec/dummy/public/500.html
|
270
237
|
- spec/dummy/public/favicon.ico
|
271
238
|
- spec/dummy/script/rails
|
239
|
+
- spec/factories/spud_banner_sets.rb
|
240
|
+
- spec/factories/spud_banners.rb
|
241
|
+
- spec/models/spud_banner_spec.rb
|
242
|
+
- spec/rails_helper.rb
|
272
243
|
- spec/spec_helper.rb
|
273
|
-
|
274
|
-
homepage: http://bitbucket.org/westlakedesign/tb_banners
|
244
|
+
homepage: http://bitbucket.org/moser-inc/tb_banners
|
275
245
|
licenses: []
|
276
246
|
metadata: {}
|
277
|
-
post_install_message:
|
247
|
+
post_install_message:
|
278
248
|
rdoc_options: []
|
279
249
|
require_paths:
|
280
250
|
- lib
|
@@ -285,58 +255,58 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
285
255
|
version: '0'
|
286
256
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
287
257
|
requirements:
|
288
|
-
- - "
|
258
|
+
- - ">="
|
289
259
|
- !ruby/object:Gem::Version
|
290
|
-
version:
|
260
|
+
version: '0'
|
291
261
|
requirements: []
|
292
|
-
rubyforge_project:
|
293
|
-
rubygems_version: 2.
|
294
|
-
signing_key:
|
262
|
+
rubyforge_project:
|
263
|
+
rubygems_version: 2.7.7
|
264
|
+
signing_key:
|
295
265
|
specification_version: 4
|
296
266
|
summary: Twice Baked Banners
|
297
267
|
test_files:
|
298
|
-
- spec/
|
268
|
+
- spec/spec_helper.rb
|
269
|
+
- spec/dummy/app/controllers/application_controller.rb
|
270
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
299
271
|
- spec/dummy/app/assets/javascripts/application.js
|
300
272
|
- spec/dummy/app/assets/stylesheets/application.css
|
301
|
-
- spec/dummy/app/controllers/application_controller.rb
|
302
273
|
- spec/dummy/app/helpers/application_helper.rb
|
303
|
-
- spec/dummy/
|
304
|
-
- spec/dummy/config/
|
305
|
-
- spec/dummy/config/boot.rb
|
306
|
-
- spec/dummy/config/database.yml
|
307
|
-
- spec/dummy/config/environment.rb
|
308
|
-
- spec/dummy/config/environments/development.rb
|
274
|
+
- spec/dummy/config/routes.rb
|
275
|
+
- spec/dummy/config/locales/en.yml
|
309
276
|
- spec/dummy/config/environments/production.rb
|
277
|
+
- spec/dummy/config/environments/development.rb
|
310
278
|
- spec/dummy/config/environments/test.rb
|
279
|
+
- spec/dummy/config/environment.rb
|
280
|
+
- spec/dummy/config/application.rb
|
281
|
+
- spec/dummy/config/database.yml
|
282
|
+
- spec/dummy/config/boot.rb
|
311
283
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
312
|
-
- spec/dummy/config/initializers/inflections.rb
|
313
284
|
- spec/dummy/config/initializers/mime_types.rb
|
314
|
-
- spec/dummy/config/initializers/secret_token.rb
|
315
285
|
- spec/dummy/config/initializers/session_store.rb
|
316
286
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
317
|
-
- spec/dummy/config/
|
318
|
-
- spec/dummy/config/
|
287
|
+
- spec/dummy/config/initializers/secret_token.rb
|
288
|
+
- spec/dummy/config/initializers/inflections.rb
|
319
289
|
- spec/dummy/config.ru
|
320
|
-
- spec/dummy/
|
321
|
-
- spec/dummy/
|
290
|
+
- spec/dummy/script/rails
|
291
|
+
- spec/dummy/Rakefile
|
292
|
+
- spec/dummy/public/favicon.ico
|
293
|
+
- spec/dummy/public/422.html
|
294
|
+
- spec/dummy/public/500.html
|
295
|
+
- spec/dummy/public/404.html
|
296
|
+
- spec/dummy/db/schema.rb
|
297
|
+
- spec/dummy/db/migrate/20130920154444_create_spud_role_permissions.tb_core.rb
|
322
298
|
- spec/dummy/db/migrate/20121127192248_add_time_zone_to_spud_user.spud_core.rb
|
323
|
-
- spec/dummy/db/migrate/20121127192249_add_scope_to_spud_admin_permissions.spud_core.rb
|
324
|
-
- spec/dummy/db/migrate/20121127192250_create_spud_user_settings.spud_core.rb
|
325
299
|
- spec/dummy/db/migrate/20130920154442_create_spud_roles.tb_core.rb
|
300
|
+
- spec/dummy/db/migrate/20121127192247_create_spud_users.spud_core.rb
|
326
301
|
- spec/dummy/db/migrate/20130920154443_create_spud_permissions.tb_core.rb
|
327
|
-
- spec/dummy/db/migrate/20130920154444_create_spud_role_permissions.tb_core.rb
|
328
302
|
- spec/dummy/db/migrate/20130920154445_drop_spud_admin_permissions.tb_core.rb
|
329
|
-
- spec/dummy/db/migrate/
|
330
|
-
- spec/dummy/db/migrate/
|
331
|
-
- spec/dummy/db/migrate/
|
332
|
-
- spec/dummy/db/migrate/
|
333
|
-
- spec/dummy/db/schema.rb
|
334
|
-
- spec/dummy/public/404.html
|
335
|
-
- spec/dummy/public/422.html
|
336
|
-
- spec/dummy/public/500.html
|
337
|
-
- spec/dummy/public/favicon.ico
|
338
|
-
- spec/dummy/Rakefile
|
303
|
+
- spec/dummy/db/migrate/20121127192246_create_spud_admin_permissions.spud_core.rb
|
304
|
+
- spec/dummy/db/migrate/20121127192250_create_spud_user_settings.spud_core.rb
|
305
|
+
- spec/dummy/db/migrate/20160310164644_add_requires_password_change_to_spud_users.tb_core.rb
|
306
|
+
- spec/dummy/db/migrate/20121127192249_add_scope_to_spud_admin_permissions.spud_core.rb
|
339
307
|
- spec/dummy/README.rdoc
|
340
|
-
- spec/
|
341
|
-
- spec/
|
342
|
-
- spec/
|
308
|
+
- spec/models/spud_banner_spec.rb
|
309
|
+
- spec/factories/spud_banners.rb
|
310
|
+
- spec/factories/spud_banner_sets.rb
|
311
|
+
- spec/controllers/admin/banner_sets_controller_spec.rb
|
312
|
+
- spec/rails_helper.rb
|