ddr-alerts 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +6 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +10 -0
  5. data/Gemfile +5 -0
  6. data/LICENSE.txt +12 -0
  7. data/README.md +60 -0
  8. data/Rakefile +24 -0
  9. data/app/assets/images/ddr_alerts/.keep +0 -0
  10. data/app/assets/javascripts/ddr_alerts/.keep +0 -0
  11. data/app/assets/stylesheets/ddr_alerts/.keep +0 -0
  12. data/app/controllers/.keep +0 -0
  13. data/app/helpers/.keep +0 -0
  14. data/app/mailers/.keep +0 -0
  15. data/app/models/.keep +0 -0
  16. data/app/views/.keep +0 -0
  17. data/app/views/ddr/alerts/message/_alert_message.html.erb +7 -0
  18. data/bin/rails +12 -0
  19. data/config/routes.rb +2 -0
  20. data/db/migrate/20141215160128_create_ddr_alerts_messages.rb +16 -0
  21. data/db/migrate/20141215161516_create_ddr_alerts_message_contexts.rb +16 -0
  22. data/ddr-alerts.gemspec +29 -0
  23. data/lib/ddr-alerts.rb +1 -0
  24. data/lib/ddr/alerts.rb +18 -0
  25. data/lib/ddr/alerts/engine.rb +11 -0
  26. data/lib/ddr/alerts/message.rb +14 -0
  27. data/lib/ddr/alerts/message_context.rb +15 -0
  28. data/lib/ddr/alerts/version.rb +5 -0
  29. data/spec/dummy/README.rdoc +28 -0
  30. data/spec/dummy/Rakefile +6 -0
  31. data/spec/dummy/app/assets/images/.keep +0 -0
  32. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  33. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  34. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  35. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  36. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  37. data/spec/dummy/app/mailers/.keep +0 -0
  38. data/spec/dummy/app/models/.keep +0 -0
  39. data/spec/dummy/app/models/concerns/.keep +0 -0
  40. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  41. data/spec/dummy/bin/bundle +3 -0
  42. data/spec/dummy/bin/rails +4 -0
  43. data/spec/dummy/bin/rake +4 -0
  44. data/spec/dummy/config.ru +4 -0
  45. data/spec/dummy/config/application.rb +29 -0
  46. data/spec/dummy/config/boot.rb +5 -0
  47. data/spec/dummy/config/database.yml +25 -0
  48. data/spec/dummy/config/environment.rb +5 -0
  49. data/spec/dummy/config/environments/development.rb +37 -0
  50. data/spec/dummy/config/environments/production.rb +78 -0
  51. data/spec/dummy/config/environments/test.rb +39 -0
  52. data/spec/dummy/config/initializers/assets.rb +8 -0
  53. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  54. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  55. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  56. data/spec/dummy/config/initializers/inflections.rb +16 -0
  57. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  58. data/spec/dummy/config/initializers/session_store.rb +3 -0
  59. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  60. data/spec/dummy/config/locales/en.yml +23 -0
  61. data/spec/dummy/config/routes.rb +56 -0
  62. data/spec/dummy/config/secrets.yml +22 -0
  63. data/spec/dummy/db/schema.rb +32 -0
  64. data/spec/dummy/lib/assets/.keep +0 -0
  65. data/spec/dummy/public/404.html +67 -0
  66. data/spec/dummy/public/422.html +67 -0
  67. data/spec/dummy/public/500.html +66 -0
  68. data/spec/dummy/public/favicon.ico +0 -0
  69. data/spec/factories/message_context_factories.rb +15 -0
  70. data/spec/factories/message_factories.rb +23 -0
  71. data/spec/models/message_spec.rb +31 -0
  72. data/spec/spec_helper.rb +94 -0
  73. data/spec/views/_alert_message.html.erb_spec.rb +12 -0
  74. metadata +266 -0
File without changes
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,15 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :message_context, class: Ddr::Alerts::MessageContext do
4
+
5
+ trait :ddr do
6
+ context Ddr::Alerts::MessageContext::CONTEXT_DDR
7
+ end
8
+
9
+ trait :repository do
10
+ context Ddr::Alerts::MessageContext::CONTEXT_REPOSITORY
11
+ end
12
+
13
+ end
14
+
15
+ end
@@ -0,0 +1,23 @@
1
+ FactoryGirl.define do
2
+
3
+ factory :message, class: Ddr::Alerts::Message do
4
+
5
+ trait :active do
6
+ active true
7
+ end
8
+
9
+ trait :inactive do
10
+ active false
11
+ end
12
+
13
+ trait :ddr do
14
+ contexts { [ FactoryGirl.create(:message_context, :ddr) ] }
15
+ end
16
+
17
+ trait :repository do
18
+ contexts { [ FactoryGirl.create(:message_context, :repository) ] }
19
+ end
20
+
21
+ end
22
+
23
+ end
@@ -0,0 +1,31 @@
1
+ require 'spec_helper'
2
+
3
+ module Ddr
4
+ module Alerts
5
+
6
+ RSpec.describe Message, type: :model do
7
+
8
+ context "scopes" do
9
+ context "active" do
10
+ let(:active_msg) { FactoryGirl.create(:message, :active) }
11
+ let(:inactive_msg) { FactoryGirl.create(:message, :inactive) }
12
+ it "should return the correct entries" do
13
+ expect(Message.active).to include(active_msg)
14
+ expect(Message.active).to_not include(inactive_msg)
15
+ end
16
+ end
17
+ context "contexts" do
18
+ let(:ddr_msg) { FactoryGirl.create(:message, :ddr) }
19
+ let(:repository_msg) { FactoryGirl.create(:message, :repository) }
20
+ it "should return the correct entries" do
21
+ expect(Message.ddr).to include(ddr_msg)
22
+ expect(Message.ddr).to_not include(repository_msg)
23
+ expect(Message.repository).to include(repository_msg)
24
+ expect(Message.repository).to_not include(ddr_msg)
25
+ end
26
+ end
27
+ end
28
+ end
29
+
30
+ end
31
+ end
@@ -0,0 +1,94 @@
1
+ ENV['RAILS_ENV'] ||= "test"
2
+
3
+ require "coveralls"
4
+ Coveralls.wear!("rails")
5
+
6
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
7
+
8
+ require "ddr-alerts"
9
+ require "rails"
10
+ require "rspec/rails"
11
+ require "factory_girl_rails"
12
+ require "database_cleaner"
13
+
14
+ DatabaseCleaner.strategy = :truncation
15
+
16
+ RSpec.configure do |config|
17
+
18
+ config.include ActionDispatch::TestProcess
19
+ config.fixture_path = File.join(Ddr::Alerts::Engine.root, "spec", "fixtures")
20
+ config.use_transactional_fixtures = true
21
+
22
+ # rspec-expectations config goes here. You can use an alternate
23
+ # assertion/expectation library such as wrong or the stdlib/minitest
24
+ # assertions if you prefer.
25
+ config.expect_with :rspec do |expectations|
26
+ # This option will default to `true` in RSpec 4. It makes the `description`
27
+ # and `failure_message` of custom matchers include text for helper methods
28
+ # defined using `chain`, e.g.:
29
+ # be_bigger_than(2).and_smaller_than(4).description
30
+ # # => "be bigger than 2 and smaller than 4"
31
+ # ...rather than:
32
+ # # => "be bigger than 2"
33
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
34
+ end
35
+
36
+ # rspec-mocks config goes here. You can use an alternate test double
37
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
38
+ config.mock_with :rspec do |mocks|
39
+ # Prevents you from mocking or stubbing a method that does not exist on
40
+ # a real object. This is generally recommended, and will default to
41
+ # `true` in RSpec 4.
42
+ mocks.verify_partial_doubles = true
43
+ end
44
+
45
+ # These two settings work together to allow you to limit a spec run
46
+ # to individual examples or groups you care about by tagging them with
47
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
48
+ # get run.
49
+ config.filter_run :focus
50
+ config.run_all_when_everything_filtered = true
51
+
52
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
53
+ # For more details, see:
54
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
55
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
56
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
57
+ config.disable_monkey_patching!
58
+
59
+ # This setting enables warnings. It's recommended, but in some cases may
60
+ # be too noisy due to issues in dependencies.
61
+ config.warnings = false
62
+
63
+ # Many RSpec users commonly either run the entire suite or an individual
64
+ # file, and it's useful to allow more verbose output when running an
65
+ # individual spec file.
66
+ if config.files_to_run.one?
67
+ # Use the documentation formatter for detailed output,
68
+ # unless a formatter has already been configured
69
+ # (e.g. via a command-line flag).
70
+ config.default_formatter = 'doc'
71
+ end
72
+
73
+ # Print the 10 slowest examples and example groups at the
74
+ # end of the spec run, to help surface which specs are running
75
+ # particularly slow.
76
+ # config.profile_examples = 10
77
+
78
+ # Run specs in random order to surface order dependencies. If you find an
79
+ # order dependency and want to debug it, you can fix the order by providing
80
+ # the seed, which is printed after each run.
81
+ # --seed 1234
82
+ config.order = :random
83
+
84
+ # Seed global randomization in this process using the `--seed` CLI option.
85
+ # Setting this allows you to use `--seed` to deterministically reproduce
86
+ # test failures related to randomization by passing the same `--seed` value
87
+ # as the one that triggered the failure.
88
+ Kernel.srand config.seed
89
+
90
+ config.before(:suite) do
91
+ DatabaseCleaner.clean
92
+ end
93
+
94
+ end
@@ -0,0 +1,12 @@
1
+ require 'spec_helper'
2
+
3
+ RSpec.describe 'ddr/alerts/message/_alert_message.html.erb', type: :view do
4
+
5
+ let(:msgs) { [ FactoryGirl.create(:message, message: "AAA"), FactoryGirl.create(:message, message: "BBB") ] }
6
+ it "displays the messages" do
7
+ render partial: 'ddr/alerts/message/alert_message.html.erb', locals: { alert_messages: msgs }
8
+ expect(rendered).to match(/AAA/)
9
+ expect(rendered).to match(/BBB/)
10
+ end
11
+
12
+ end
metadata ADDED
@@ -0,0 +1,266 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ddr-alerts
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jim Coble
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 4.1.6
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 4.1.6
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.7'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.7'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sqlite3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
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: rspec-rails
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: factory_girl_rails
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '4.4'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '4.4'
97
+ - !ruby/object:Gem::Dependency
98
+ name: database_cleaner
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
+ description: Alerts for the Duke Digital Repository
112
+ email:
113
+ - lib-drs@duke.edu
114
+ executables:
115
+ - rails
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".rspec"
121
+ - ".travis.yml"
122
+ - Gemfile
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - app/assets/images/ddr_alerts/.keep
127
+ - app/assets/javascripts/ddr_alerts/.keep
128
+ - app/assets/stylesheets/ddr_alerts/.keep
129
+ - app/controllers/.keep
130
+ - app/helpers/.keep
131
+ - app/mailers/.keep
132
+ - app/models/.keep
133
+ - app/views/.keep
134
+ - app/views/ddr/alerts/message/_alert_message.html.erb
135
+ - bin/rails
136
+ - config/routes.rb
137
+ - db/migrate/20141215160128_create_ddr_alerts_messages.rb
138
+ - db/migrate/20141215161516_create_ddr_alerts_message_contexts.rb
139
+ - ddr-alerts.gemspec
140
+ - lib/ddr-alerts.rb
141
+ - lib/ddr/alerts.rb
142
+ - lib/ddr/alerts/engine.rb
143
+ - lib/ddr/alerts/message.rb
144
+ - lib/ddr/alerts/message_context.rb
145
+ - lib/ddr/alerts/version.rb
146
+ - spec/dummy/README.rdoc
147
+ - spec/dummy/Rakefile
148
+ - spec/dummy/app/assets/images/.keep
149
+ - spec/dummy/app/assets/javascripts/application.js
150
+ - spec/dummy/app/assets/stylesheets/application.css
151
+ - spec/dummy/app/controllers/application_controller.rb
152
+ - spec/dummy/app/controllers/concerns/.keep
153
+ - spec/dummy/app/helpers/application_helper.rb
154
+ - spec/dummy/app/mailers/.keep
155
+ - spec/dummy/app/models/.keep
156
+ - spec/dummy/app/models/concerns/.keep
157
+ - spec/dummy/app/views/layouts/application.html.erb
158
+ - spec/dummy/bin/bundle
159
+ - spec/dummy/bin/rails
160
+ - spec/dummy/bin/rake
161
+ - spec/dummy/config.ru
162
+ - spec/dummy/config/application.rb
163
+ - spec/dummy/config/boot.rb
164
+ - spec/dummy/config/database.yml
165
+ - spec/dummy/config/environment.rb
166
+ - spec/dummy/config/environments/development.rb
167
+ - spec/dummy/config/environments/production.rb
168
+ - spec/dummy/config/environments/test.rb
169
+ - spec/dummy/config/initializers/assets.rb
170
+ - spec/dummy/config/initializers/backtrace_silencers.rb
171
+ - spec/dummy/config/initializers/cookies_serializer.rb
172
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
173
+ - spec/dummy/config/initializers/inflections.rb
174
+ - spec/dummy/config/initializers/mime_types.rb
175
+ - spec/dummy/config/initializers/session_store.rb
176
+ - spec/dummy/config/initializers/wrap_parameters.rb
177
+ - spec/dummy/config/locales/en.yml
178
+ - spec/dummy/config/routes.rb
179
+ - spec/dummy/config/secrets.yml
180
+ - spec/dummy/db/development.sqlite3
181
+ - spec/dummy/db/schema.rb
182
+ - spec/dummy/db/test.sqlite3
183
+ - spec/dummy/lib/assets/.keep
184
+ - spec/dummy/log/.keep
185
+ - spec/dummy/public/404.html
186
+ - spec/dummy/public/422.html
187
+ - spec/dummy/public/500.html
188
+ - spec/dummy/public/favicon.ico
189
+ - spec/factories/message_context_factories.rb
190
+ - spec/factories/message_factories.rb
191
+ - spec/models/message_spec.rb
192
+ - spec/spec_helper.rb
193
+ - spec/views/_alert_message.html.erb_spec.rb
194
+ homepage: https://github.com/duke-libraries/ddr-alerts
195
+ licenses:
196
+ - BSD-3-Clause
197
+ metadata: {}
198
+ post_install_message:
199
+ rdoc_options: []
200
+ require_paths:
201
+ - lib
202
+ required_ruby_version: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ required_rubygems_version: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ version: '0'
212
+ requirements: []
213
+ rubyforge_project:
214
+ rubygems_version: 2.2.2
215
+ signing_key:
216
+ specification_version: 4
217
+ summary: Alerts for the Duke Digital Repository
218
+ test_files:
219
+ - spec/dummy/README.rdoc
220
+ - spec/dummy/Rakefile
221
+ - spec/dummy/app/assets/images/.keep
222
+ - spec/dummy/app/assets/javascripts/application.js
223
+ - spec/dummy/app/assets/stylesheets/application.css
224
+ - spec/dummy/app/controllers/application_controller.rb
225
+ - spec/dummy/app/controllers/concerns/.keep
226
+ - spec/dummy/app/helpers/application_helper.rb
227
+ - spec/dummy/app/mailers/.keep
228
+ - spec/dummy/app/models/.keep
229
+ - spec/dummy/app/models/concerns/.keep
230
+ - spec/dummy/app/views/layouts/application.html.erb
231
+ - spec/dummy/bin/bundle
232
+ - spec/dummy/bin/rails
233
+ - spec/dummy/bin/rake
234
+ - spec/dummy/config.ru
235
+ - spec/dummy/config/application.rb
236
+ - spec/dummy/config/boot.rb
237
+ - spec/dummy/config/database.yml
238
+ - spec/dummy/config/environment.rb
239
+ - spec/dummy/config/environments/development.rb
240
+ - spec/dummy/config/environments/production.rb
241
+ - spec/dummy/config/environments/test.rb
242
+ - spec/dummy/config/initializers/assets.rb
243
+ - spec/dummy/config/initializers/backtrace_silencers.rb
244
+ - spec/dummy/config/initializers/cookies_serializer.rb
245
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
246
+ - spec/dummy/config/initializers/inflections.rb
247
+ - spec/dummy/config/initializers/mime_types.rb
248
+ - spec/dummy/config/initializers/session_store.rb
249
+ - spec/dummy/config/initializers/wrap_parameters.rb
250
+ - spec/dummy/config/locales/en.yml
251
+ - spec/dummy/config/routes.rb
252
+ - spec/dummy/config/secrets.yml
253
+ - spec/dummy/db/development.sqlite3
254
+ - spec/dummy/db/schema.rb
255
+ - spec/dummy/db/test.sqlite3
256
+ - spec/dummy/lib/assets/.keep
257
+ - spec/dummy/log/.keep
258
+ - spec/dummy/public/404.html
259
+ - spec/dummy/public/422.html
260
+ - spec/dummy/public/500.html
261
+ - spec/dummy/public/favicon.ico
262
+ - spec/factories/message_context_factories.rb
263
+ - spec/factories/message_factories.rb
264
+ - spec/models/message_spec.rb
265
+ - spec/spec_helper.rb
266
+ - spec/views/_alert_message.html.erb_spec.rb