wupee 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +30 -0
  4. data/app/controllers/wupee/api/notifications_controller.rb +33 -0
  5. data/app/controllers/wupee/application_controller.rb +4 -0
  6. data/app/mailers/wupee/notifications_mailer.rb +30 -0
  7. data/app/models/concerns/wupee/attached_object.rb +9 -0
  8. data/app/models/concerns/wupee/receiver.rb +16 -0
  9. data/app/models/wupee/notification.rb +16 -0
  10. data/app/models/wupee/notification_type.rb +18 -0
  11. data/app/models/wupee/notification_type_configuration.rb +17 -0
  12. data/app/models/wupee/notifier.rb +73 -0
  13. data/app/views/wupee/api/notifications/_notification.json.jbuilder +5 -0
  14. data/app/views/wupee/api/notifications/index.json.jbuilder +1 -0
  15. data/app/views/wupee/api/notifications/show.json.jbuilder +1 -0
  16. data/db/migrate/20151029113101_create_wupee_notification_type_configurations.rb +13 -0
  17. data/db/migrate/20151029113107_create_wupee_notifications.rb +14 -0
  18. data/db/migrate/20151029113122_create_wupee_notification_types.rb +10 -0
  19. data/lib/generators/wupee/install/USAGE +15 -0
  20. data/lib/generators/wupee/install/install_generator.rb +24 -0
  21. data/lib/generators/wupee/install/templates/notifications_mailer.rb +4 -0
  22. data/lib/generators/wupee/install/templates/wupee.rb +6 -0
  23. data/lib/generators/wupee/notification_type/USAGE +11 -0
  24. data/lib/generators/wupee/notification_type/notification_type_generator.rb +26 -0
  25. data/lib/tasks/wupee_tasks.rake +4 -0
  26. data/lib/wupee.rb +11 -0
  27. data/lib/wupee/engine.rb +12 -0
  28. data/lib/wupee/version.rb +3 -0
  29. data/spec/controllers/notifications_controller_spec.rb +65 -0
  30. data/spec/dummy/README.rdoc +28 -0
  31. data/spec/dummy/Rakefile +6 -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/helpers/application_helper.rb +2 -0
  36. data/spec/dummy/app/mailers/notifications_mailer.rb +4 -0
  37. data/spec/dummy/app/models/message.rb +3 -0
  38. data/spec/dummy/app/models/user.rb +3 -0
  39. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  40. data/spec/dummy/app/views/notifications/_admin_user_created.html.erb +0 -0
  41. data/spec/dummy/app/views/notifications/_notify_new_message.html.erb +0 -0
  42. data/spec/dummy/app/views/notifications_mailer/notify_new_message.html.erb +0 -0
  43. data/spec/dummy/app/views/wupee/api/notifications/_notification.json.jbuilder +5 -0
  44. data/spec/dummy/app/views/wupee/api/notifications/_notify_new_message.json.jbuilder +3 -0
  45. data/spec/dummy/app/views/wupee/api/notifications/index.json.jbuilder +1 -0
  46. data/spec/dummy/app/views/wupee/api/notifications/show.json.jbuilder +1 -0
  47. data/spec/dummy/app/views/wupee/notifications/_notify_new_message.html.erb +0 -0
  48. data/spec/dummy/bin/bundle +3 -0
  49. data/spec/dummy/bin/rails +4 -0
  50. data/spec/dummy/bin/rake +4 -0
  51. data/spec/dummy/bin/setup +29 -0
  52. data/spec/dummy/config.ru +4 -0
  53. data/spec/dummy/config/application.rb +32 -0
  54. data/spec/dummy/config/boot.rb +5 -0
  55. data/spec/dummy/config/database.yml +25 -0
  56. data/spec/dummy/config/environment.rb +5 -0
  57. data/spec/dummy/config/environments/development.rb +41 -0
  58. data/spec/dummy/config/environments/production.rb +79 -0
  59. data/spec/dummy/config/environments/test.rb +42 -0
  60. data/spec/dummy/config/initializers/assets.rb +11 -0
  61. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  62. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  63. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  64. data/spec/dummy/config/initializers/inflections.rb +16 -0
  65. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  66. data/spec/dummy/config/initializers/session_store.rb +3 -0
  67. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  68. data/spec/dummy/config/initializers/wupee.rb +6 -0
  69. data/spec/dummy/config/locales/en.yml +5 -0
  70. data/spec/dummy/config/routes.rb +3 -0
  71. data/spec/dummy/config/secrets.yml +22 -0
  72. data/spec/dummy/db/development.sqlite3 +0 -0
  73. data/spec/dummy/db/migrate/20150213150625_create_users.rb +10 -0
  74. data/spec/dummy/db/migrate/20150213152846_create_messages.rb +9 -0
  75. data/spec/dummy/db/schema.rb +61 -0
  76. data/spec/dummy/db/test.sqlite3 +0 -0
  77. data/spec/dummy/log/development.log +1750 -0
  78. data/spec/dummy/log/test.log +76399 -0
  79. data/spec/dummy/public/404.html +67 -0
  80. data/spec/dummy/public/422.html +67 -0
  81. data/spec/dummy/public/500.html +66 -0
  82. data/spec/dummy/public/favicon.ico +0 -0
  83. data/spec/factories/message.rb +5 -0
  84. data/spec/factories/notification.rb +7 -0
  85. data/spec/factories/notification_type.rb +5 -0
  86. data/spec/factories/notification_type_configuration.rb +6 -0
  87. data/spec/factories/user.rb +9 -0
  88. data/spec/mailers/notifications_mailer_spec.rb +33 -0
  89. data/spec/models/concerns/attached_object_spec.rb +11 -0
  90. data/spec/models/concerns/receiver_spec.rb +37 -0
  91. data/spec/models/message_spec.rb +5 -0
  92. data/spec/models/notification_spec.rb +54 -0
  93. data/spec/models/notification_type_configuration_spec.rb +43 -0
  94. data/spec/models/notifier_spec.rb +42 -0
  95. data/spec/models/user_spec.rb +5 -0
  96. data/spec/rails_helper.rb +52 -0
  97. data/spec/spec_helper.rb +87 -0
  98. data/spec/support/factory_girl.rb +3 -0
  99. data/spec/wupee_spec.rb +15 -0
  100. metadata +291 -0
@@ -0,0 +1,5 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe User, type: :model do
4
+ it_behaves_like "Wupee::Receiver"
5
+ end
@@ -0,0 +1,52 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV['RAILS_ENV'] ||= 'test'
3
+ require 'spec_helper'
4
+ require File.expand_path('../dummy/config/environment', __FILE__)
5
+ require 'rspec/rails'
6
+ require 'factory_girl_rails'
7
+
8
+ # Add additional requires below this line. Rails is not loaded until this point!
9
+
10
+ # Requires supporting ruby files with custom matchers and macros, etc, in
11
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
12
+ # run as spec files by default. This means that files in spec/support that end
13
+ # in _spec.rb will both be required and run as specs, causing the specs to be
14
+ # run twice. It is recommended that you do not name files matching this glob to
15
+ # end with _spec.rb. You can configure this pattern with the --pattern
16
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
17
+ #
18
+ # The following line is provided for convenience purposes. It has the downside
19
+ # of increasing the boot-up time by auto-requiring all files in the support
20
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
21
+ # require only the support files necessary.
22
+ #
23
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
24
+
25
+ # Checks for pending migrations before tests are run.
26
+ # If you are not using ActiveRecord, you can remove this line.
27
+ ActiveRecord::Migration.maintain_test_schema!
28
+
29
+ RSpec.configure do |config|
30
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
31
+ config.fixture_path = "#{File.dirname(__FILE__)}/fixtures"
32
+
33
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
34
+ # examples within a transaction, remove the following line or assign false
35
+ # instead of true.
36
+ config.use_transactional_fixtures = true
37
+
38
+ # RSpec Rails can automatically mix in different behaviours to your tests
39
+ # based on their file location, for example enabling you to call `get` and
40
+ # `post` in specs under `spec/controllers`.
41
+ #
42
+ # You can disable this behaviour by removing the line below, and instead
43
+ # explicitly tag your specs with their type, e.g.:
44
+ #
45
+ # RSpec.describe UsersController, :type => :controller do
46
+ # # ...
47
+ # end
48
+ #
49
+ # The different available types are documented in the features, such as in
50
+ # https://relishapp.com/rspec/rspec-rails/docs
51
+ config.infer_spec_type_from_file_location!
52
+ end
@@ -0,0 +1,87 @@
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
4
+ # this file to always be loaded, without a need to explicitly require it in any
5
+ # files.
6
+ #
7
+ # Given that it is always loaded, you are encouraged to keep this file as
8
+ # light-weight as possible. Requiring heavyweight dependencies from this file
9
+ # will add to the boot time of your test suite on EVERY test run, even for an
10
+ # individual file that may not need all of that loaded. Instead, consider making
11
+ # a separate helper file that requires the additional dependencies and performs
12
+ # the additional setup, and require it from the spec files that actually need
13
+ # it.
14
+ #
15
+ # The `.rspec` file also contains a few flags that are not defaults but that
16
+ # users commonly want.
17
+ #
18
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
+ RSpec.configure do |config|
20
+ # rspec-expectations config goes here. You can use an alternate
21
+ # assertion/expectation library such as wrong or the stdlib/minitest
22
+ # assertions if you prefer.
23
+ config.expect_with :rspec do |expectations|
24
+ # This option will default to `true` in RSpec 4. It makes the `description`
25
+ # and `failure_message` of custom matchers include text for helper methods
26
+ # defined using `chain`, e.g.:
27
+ # be_bigger_than(2).and_smaller_than(4).description
28
+ # # => "be bigger than 2 and smaller than 4"
29
+ # ...rather than:
30
+ # # => "be bigger than 2"
31
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
32
+ end
33
+
34
+ # rspec-mocks config goes here. You can use an alternate test double
35
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
36
+ config.mock_with :rspec do |mocks|
37
+ # Prevents you from mocking or stubbing a method that does not exist on
38
+ # a real object. This is generally recommended, and will default to
39
+ # `true` in RSpec 4.
40
+ mocks.verify_partial_doubles = true
41
+ end
42
+
43
+ # The settings below are suggested to provide a good initial experience
44
+ # with RSpec, but feel free to customize to your heart's content.
45
+ =begin
46
+ # These two settings work together to allow you to limit a spec run
47
+ # to individual examples or groups you care about by tagging them with
48
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
49
+ # get run.
50
+ config.filter_run :focus
51
+ config.run_all_when_everything_filtered = true
52
+
53
+ # Limits the available syntax to the non-monkey patched syntax that is
54
+ # recommended. For more details, see:
55
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
56
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
57
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
58
+ config.disable_monkey_patching!
59
+
60
+ # Many RSpec users commonly either run the entire suite or an individual
61
+ # file, and it's useful to allow more verbose output when running an
62
+ # individual spec file.
63
+ if config.files_to_run.one?
64
+ # Use the documentation formatter for detailed output,
65
+ # unless a formatter has already been configured
66
+ # (e.g. via a command-line flag).
67
+ config.default_formatter = 'doc'
68
+ end
69
+
70
+ # Print the 10 slowest examples and example groups at the
71
+ # end of the spec run, to help surface which specs are running
72
+ # particularly slow.
73
+ config.profile_examples = 10
74
+
75
+ # Run specs in random order to surface order dependencies. If you find an
76
+ # order dependency and want to debug it, you can fix the order by providing
77
+ # the seed, which is printed after each run.
78
+ # --seed 1234
79
+ config.order = :random
80
+
81
+ # Seed global randomization in this process using the `--seed` CLI option.
82
+ # Setting this allows you to use `--seed` to deterministically reproduce
83
+ # test failures related to randomization by passing the same `--seed` value
84
+ # as the one that triggered the failure.
85
+ Kernel.srand config.seed
86
+ =end
87
+ end
@@ -0,0 +1,3 @@
1
+ RSpec.configure do |config|
2
+ config.include FactoryGirl::Syntax::Methods
3
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ describe Wupee do
4
+ it "has a setter for mailer" do
5
+ expect(Wupee).to respond_to(:mailer=).with(1).argument
6
+ end
7
+
8
+ it "has a getter for mailer" do
9
+ expect(Wupee).to respond_to(:mailer)
10
+ end
11
+
12
+ it "has method notify" do
13
+ expect(Wupee).to respond_to(:notify)
14
+ end
15
+ end
metadata ADDED
@@ -0,0 +1,291 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wupee
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Peng DU
8
+ - Nicolas Florentin
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-11-02 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '4.2'
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 4.2.0
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - "~>"
29
+ - !ruby/object:Gem::Version
30
+ version: '4.2'
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 4.2.0
34
+ - !ruby/object:Gem::Dependency
35
+ name: jbuilder
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ type: :runtime
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
48
+ - !ruby/object:Gem::Dependency
49
+ name: sqlite3
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rspec-rails
64
+ requirement: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ type: :development
70
+ prerelease: false
71
+ version_requirements: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ - !ruby/object:Gem::Dependency
77
+ name: factory_girl_rails
78
+ requirement: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ description: A simple notification system for sleede rails project
91
+ email:
92
+ - peng@sleede.com
93
+ - nicolas@sleede.com
94
+ executables: []
95
+ extensions: []
96
+ extra_rdoc_files: []
97
+ files:
98
+ - MIT-LICENSE
99
+ - Rakefile
100
+ - app/controllers/wupee/api/notifications_controller.rb
101
+ - app/controllers/wupee/application_controller.rb
102
+ - app/mailers/wupee/notifications_mailer.rb
103
+ - app/models/concerns/wupee/attached_object.rb
104
+ - app/models/concerns/wupee/receiver.rb
105
+ - app/models/wupee/notification.rb
106
+ - app/models/wupee/notification_type.rb
107
+ - app/models/wupee/notification_type_configuration.rb
108
+ - app/models/wupee/notifier.rb
109
+ - app/views/wupee/api/notifications/_notification.json.jbuilder
110
+ - app/views/wupee/api/notifications/index.json.jbuilder
111
+ - app/views/wupee/api/notifications/show.json.jbuilder
112
+ - db/migrate/20151029113101_create_wupee_notification_type_configurations.rb
113
+ - db/migrate/20151029113107_create_wupee_notifications.rb
114
+ - db/migrate/20151029113122_create_wupee_notification_types.rb
115
+ - lib/generators/wupee/install/USAGE
116
+ - lib/generators/wupee/install/install_generator.rb
117
+ - lib/generators/wupee/install/templates/notifications_mailer.rb
118
+ - lib/generators/wupee/install/templates/wupee.rb
119
+ - lib/generators/wupee/notification_type/USAGE
120
+ - lib/generators/wupee/notification_type/notification_type_generator.rb
121
+ - lib/tasks/wupee_tasks.rake
122
+ - lib/wupee.rb
123
+ - lib/wupee/engine.rb
124
+ - lib/wupee/version.rb
125
+ - spec/controllers/notifications_controller_spec.rb
126
+ - spec/dummy/README.rdoc
127
+ - spec/dummy/Rakefile
128
+ - spec/dummy/app/assets/javascripts/application.js
129
+ - spec/dummy/app/assets/stylesheets/application.css
130
+ - spec/dummy/app/controllers/application_controller.rb
131
+ - spec/dummy/app/helpers/application_helper.rb
132
+ - spec/dummy/app/mailers/notifications_mailer.rb
133
+ - spec/dummy/app/models/message.rb
134
+ - spec/dummy/app/models/user.rb
135
+ - spec/dummy/app/views/layouts/application.html.erb
136
+ - spec/dummy/app/views/notifications/_admin_user_created.html.erb
137
+ - spec/dummy/app/views/notifications/_notify_new_message.html.erb
138
+ - spec/dummy/app/views/notifications_mailer/notify_new_message.html.erb
139
+ - spec/dummy/app/views/wupee/api/notifications/_notification.json.jbuilder
140
+ - spec/dummy/app/views/wupee/api/notifications/_notify_new_message.json.jbuilder
141
+ - spec/dummy/app/views/wupee/api/notifications/index.json.jbuilder
142
+ - spec/dummy/app/views/wupee/api/notifications/show.json.jbuilder
143
+ - spec/dummy/app/views/wupee/notifications/_notify_new_message.html.erb
144
+ - spec/dummy/bin/bundle
145
+ - spec/dummy/bin/rails
146
+ - spec/dummy/bin/rake
147
+ - spec/dummy/bin/setup
148
+ - spec/dummy/config.ru
149
+ - spec/dummy/config/application.rb
150
+ - spec/dummy/config/boot.rb
151
+ - spec/dummy/config/database.yml
152
+ - spec/dummy/config/environment.rb
153
+ - spec/dummy/config/environments/development.rb
154
+ - spec/dummy/config/environments/production.rb
155
+ - spec/dummy/config/environments/test.rb
156
+ - spec/dummy/config/initializers/assets.rb
157
+ - spec/dummy/config/initializers/backtrace_silencers.rb
158
+ - spec/dummy/config/initializers/cookies_serializer.rb
159
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
160
+ - spec/dummy/config/initializers/inflections.rb
161
+ - spec/dummy/config/initializers/mime_types.rb
162
+ - spec/dummy/config/initializers/session_store.rb
163
+ - spec/dummy/config/initializers/wrap_parameters.rb
164
+ - spec/dummy/config/initializers/wupee.rb
165
+ - spec/dummy/config/locales/en.yml
166
+ - spec/dummy/config/routes.rb
167
+ - spec/dummy/config/secrets.yml
168
+ - spec/dummy/db/development.sqlite3
169
+ - spec/dummy/db/migrate/20150213150625_create_users.rb
170
+ - spec/dummy/db/migrate/20150213152846_create_messages.rb
171
+ - spec/dummy/db/schema.rb
172
+ - spec/dummy/db/test.sqlite3
173
+ - spec/dummy/log/development.log
174
+ - spec/dummy/log/test.log
175
+ - spec/dummy/public/404.html
176
+ - spec/dummy/public/422.html
177
+ - spec/dummy/public/500.html
178
+ - spec/dummy/public/favicon.ico
179
+ - spec/factories/message.rb
180
+ - spec/factories/notification.rb
181
+ - spec/factories/notification_type.rb
182
+ - spec/factories/notification_type_configuration.rb
183
+ - spec/factories/user.rb
184
+ - spec/mailers/notifications_mailer_spec.rb
185
+ - spec/models/concerns/attached_object_spec.rb
186
+ - spec/models/concerns/receiver_spec.rb
187
+ - spec/models/message_spec.rb
188
+ - spec/models/notification_spec.rb
189
+ - spec/models/notification_type_configuration_spec.rb
190
+ - spec/models/notifier_spec.rb
191
+ - spec/models/user_spec.rb
192
+ - spec/rails_helper.rb
193
+ - spec/spec_helper.rb
194
+ - spec/support/factory_girl.rb
195
+ - spec/wupee_spec.rb
196
+ homepage: https://github.com/sleede/wupee
197
+ licenses:
198
+ - MIT
199
+ metadata: {}
200
+ post_install_message:
201
+ rdoc_options: []
202
+ require_paths:
203
+ - lib
204
+ required_ruby_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
209
+ required_rubygems_version: !ruby/object:Gem::Requirement
210
+ requirements:
211
+ - - ">="
212
+ - !ruby/object:Gem::Version
213
+ version: '0'
214
+ requirements: []
215
+ rubyforge_project:
216
+ rubygems_version: 2.4.8
217
+ signing_key:
218
+ specification_version: 4
219
+ summary: A simple notification system for sleede rails project
220
+ test_files:
221
+ - spec/controllers/notifications_controller_spec.rb
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/helpers/application_helper.rb
226
+ - spec/dummy/app/mailers/notifications_mailer.rb
227
+ - spec/dummy/app/models/message.rb
228
+ - spec/dummy/app/models/user.rb
229
+ - spec/dummy/app/views/layouts/application.html.erb
230
+ - spec/dummy/app/views/notifications/_admin_user_created.html.erb
231
+ - spec/dummy/app/views/notifications/_notify_new_message.html.erb
232
+ - spec/dummy/app/views/notifications_mailer/notify_new_message.html.erb
233
+ - spec/dummy/app/views/wupee/api/notifications/_notification.json.jbuilder
234
+ - spec/dummy/app/views/wupee/api/notifications/_notify_new_message.json.jbuilder
235
+ - spec/dummy/app/views/wupee/api/notifications/index.json.jbuilder
236
+ - spec/dummy/app/views/wupee/api/notifications/show.json.jbuilder
237
+ - spec/dummy/app/views/wupee/notifications/_notify_new_message.html.erb
238
+ - spec/dummy/bin/bundle
239
+ - spec/dummy/bin/rails
240
+ - spec/dummy/bin/rake
241
+ - spec/dummy/bin/setup
242
+ - spec/dummy/config/application.rb
243
+ - spec/dummy/config/boot.rb
244
+ - spec/dummy/config/database.yml
245
+ - spec/dummy/config/environment.rb
246
+ - spec/dummy/config/environments/development.rb
247
+ - spec/dummy/config/environments/production.rb
248
+ - spec/dummy/config/environments/test.rb
249
+ - spec/dummy/config/initializers/assets.rb
250
+ - spec/dummy/config/initializers/backtrace_silencers.rb
251
+ - spec/dummy/config/initializers/cookies_serializer.rb
252
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
253
+ - spec/dummy/config/initializers/inflections.rb
254
+ - spec/dummy/config/initializers/mime_types.rb
255
+ - spec/dummy/config/initializers/session_store.rb
256
+ - spec/dummy/config/initializers/wrap_parameters.rb
257
+ - spec/dummy/config/initializers/wupee.rb
258
+ - spec/dummy/config/locales/en.yml
259
+ - spec/dummy/config/routes.rb
260
+ - spec/dummy/config/secrets.yml
261
+ - spec/dummy/config.ru
262
+ - spec/dummy/db/development.sqlite3
263
+ - spec/dummy/db/migrate/20150213150625_create_users.rb
264
+ - spec/dummy/db/migrate/20150213152846_create_messages.rb
265
+ - spec/dummy/db/schema.rb
266
+ - spec/dummy/db/test.sqlite3
267
+ - spec/dummy/log/development.log
268
+ - spec/dummy/log/test.log
269
+ - spec/dummy/public/404.html
270
+ - spec/dummy/public/422.html
271
+ - spec/dummy/public/500.html
272
+ - spec/dummy/public/favicon.ico
273
+ - spec/dummy/Rakefile
274
+ - spec/dummy/README.rdoc
275
+ - spec/factories/message.rb
276
+ - spec/factories/notification.rb
277
+ - spec/factories/notification_type.rb
278
+ - spec/factories/notification_type_configuration.rb
279
+ - spec/factories/user.rb
280
+ - spec/mailers/notifications_mailer_spec.rb
281
+ - spec/models/concerns/attached_object_spec.rb
282
+ - spec/models/concerns/receiver_spec.rb
283
+ - spec/models/message_spec.rb
284
+ - spec/models/notification_spec.rb
285
+ - spec/models/notification_type_configuration_spec.rb
286
+ - spec/models/notifier_spec.rb
287
+ - spec/models/user_spec.rb
288
+ - spec/rails_helper.rb
289
+ - spec/spec_helper.rb
290
+ - spec/support/factory_girl.rb
291
+ - spec/wupee_spec.rb