activity_notification 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/app/jobs/activity_notification/cascading_notification_job.rb +123 -0
- data/docs/Functions.md +197 -1
- data/lib/activity_notification/apis/cascading_notification_api.rb +208 -0
- data/lib/activity_notification/apis/notification_api.rb +3 -0
- data/lib/activity_notification/config.rb +10 -0
- data/lib/activity_notification/mailers/helpers.rb +27 -1
- data/lib/activity_notification/version.rb +1 -1
- data/lib/generators/templates/activity_notification.rb +8 -0
- metadata +5 -441
- data/.codeclimate.yml +0 -33
- data/.coveralls.yml +0 -1
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -22
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -17
- data/.github/pull_request_template.md +0 -13
- data/.github/workflows/build.yml +0 -100
- data/.gitignore +0 -74
- data/.rspec +0 -3
- data/.rubocop.yml +0 -1157
- data/.yardopts +0 -6
- data/CHANGELOG.md +0 -452
- data/Gemfile +0 -31
- data/Procfile +0 -2
- data/Rakefile +0 -28
- data/activity_notification.gemspec +0 -44
- data/ai-curated-specs/issues/172/design.md +0 -220
- data/ai-curated-specs/issues/172/tasks.md +0 -326
- data/ai-curated-specs/issues/188/design.md +0 -227
- data/ai-curated-specs/issues/188/requirements.md +0 -78
- data/ai-curated-specs/issues/188/tasks.md +0 -203
- data/ai-curated-specs/issues/188/upstream-contributions.md +0 -592
- data/ai-curated-specs/issues/50/design.md +0 -235
- data/ai-curated-specs/issues/50/requirements.md +0 -49
- data/ai-curated-specs/issues/50/tasks.md +0 -232
- data/bin/_dynamodblocal +0 -4
- data/bin/bundle_update.sh +0 -7
- data/bin/deploy_on_heroku.sh +0 -16
- data/bin/install_dynamodblocal.sh +0 -5
- data/bin/start_dynamodblocal.sh +0 -47
- data/bin/stop_dynamodblocal.sh +0 -34
- data/gemfiles/Gemfile.rails-5.0 +0 -25
- data/gemfiles/Gemfile.rails-5.1 +0 -25
- data/gemfiles/Gemfile.rails-5.2 +0 -24
- data/gemfiles/Gemfile.rails-6.0 +0 -23
- data/gemfiles/Gemfile.rails-6.1 +0 -22
- data/gemfiles/Gemfile.rails-7.0 +0 -25
- data/gemfiles/Gemfile.rails-7.1 +0 -23
- data/gemfiles/Gemfile.rails-7.2 +0 -23
- data/gemfiles/Gemfile.rails-8.0 +0 -24
- data/package.json +0 -8
- data/spec/channels/notification_api_channel_shared_examples.rb +0 -59
- data/spec/channels/notification_api_channel_spec.rb +0 -49
- data/spec/channels/notification_api_with_devise_channel_spec.rb +0 -76
- data/spec/channels/notification_channel_shared_examples.rb +0 -59
- data/spec/channels/notification_channel_spec.rb +0 -48
- data/spec/channels/notification_with_devise_channel_spec.rb +0 -97
- data/spec/concerns/apis/notification_api_spec.rb +0 -1627
- data/spec/concerns/apis/subscription_api_spec.rb +0 -474
- data/spec/concerns/common_spec.rb +0 -213
- data/spec/concerns/models/group_spec.rb +0 -61
- data/spec/concerns/models/notifiable_spec.rb +0 -782
- data/spec/concerns/models/notifier_spec.rb +0 -71
- data/spec/concerns/models/subscriber_spec.rb +0 -800
- data/spec/concerns/models/target_spec.rb +0 -1285
- data/spec/concerns/renderable_spec.rb +0 -129
- data/spec/config_spec.rb +0 -85
- data/spec/controllers/common_controller_spec.rb +0 -25
- data/spec/controllers/controller_spec_utility.rb +0 -100
- data/spec/controllers/dummy_common_controller.rb +0 -5
- data/spec/controllers/notifications_api_controller_shared_examples.rb +0 -619
- data/spec/controllers/notifications_api_controller_spec.rb +0 -19
- data/spec/controllers/notifications_api_with_devise_controller_spec.rb +0 -60
- data/spec/controllers/notifications_controller_shared_examples.rb +0 -743
- data/spec/controllers/notifications_controller_spec.rb +0 -11
- data/spec/controllers/notifications_with_devise_controller_spec.rb +0 -97
- data/spec/controllers/subscriptions_api_controller_shared_examples.rb +0 -750
- data/spec/controllers/subscriptions_api_controller_spec.rb +0 -19
- data/spec/controllers/subscriptions_api_with_devise_controller_spec.rb +0 -60
- data/spec/controllers/subscriptions_controller_shared_examples.rb +0 -946
- data/spec/controllers/subscriptions_controller_spec.rb +0 -11
- data/spec/controllers/subscriptions_with_devise_controller_spec.rb +0 -97
- data/spec/factories/admins.rb +0 -5
- data/spec/factories/articles.rb +0 -5
- data/spec/factories/comments.rb +0 -6
- data/spec/factories/dummy/dummy_group.rb +0 -4
- data/spec/factories/dummy/dummy_notifiable.rb +0 -4
- data/spec/factories/dummy/dummy_notifier.rb +0 -4
- data/spec/factories/dummy/dummy_subscriber.rb +0 -4
- data/spec/factories/dummy/dummy_target.rb +0 -4
- data/spec/factories/notifications.rb +0 -7
- data/spec/factories/subscriptions.rb +0 -8
- data/spec/factories/users.rb +0 -11
- data/spec/generators/controllers_generator_spec.rb +0 -85
- data/spec/generators/install_generator_spec.rb +0 -43
- data/spec/generators/migration/migration_generator_spec.rb +0 -80
- data/spec/generators/models_generator_spec.rb +0 -96
- data/spec/generators/views_generator_spec.rb +0 -195
- data/spec/helpers/polymorphic_helpers_spec.rb +0 -89
- data/spec/helpers/view_helpers_spec.rb +0 -547
- data/spec/jobs/notification_resilience_job_spec.rb +0 -167
- data/spec/jobs/notify_all_job_spec.rb +0 -23
- data/spec/jobs/notify_job_spec.rb +0 -23
- data/spec/jobs/notify_to_job_spec.rb +0 -23
- data/spec/mailers/mailer_spec.rb +0 -214
- data/spec/mailers/notification_resilience_spec.rb +0 -263
- data/spec/models/dummy/dummy_group_spec.rb +0 -10
- data/spec/models/dummy/dummy_notifiable_spec.rb +0 -10
- data/spec/models/dummy/dummy_notifier_spec.rb +0 -10
- data/spec/models/dummy/dummy_subscriber_spec.rb +0 -8
- data/spec/models/dummy/dummy_target_spec.rb +0 -10
- data/spec/models/notification_spec.rb +0 -472
- data/spec/models/subscription_spec.rb +0 -215
- data/spec/optional_targets/action_cable_api_channel_spec.rb +0 -34
- data/spec/optional_targets/action_cable_channel_spec.rb +0 -41
- data/spec/optional_targets/amazon_sns_spec.rb +0 -47
- data/spec/optional_targets/base_spec.rb +0 -45
- data/spec/optional_targets/slack_spec.rb +0 -44
- data/spec/orm/dynamoid_spec.rb +0 -115
- data/spec/rails_app/Rakefile +0 -15
- data/spec/rails_app/app/assets/config/manifest.js +0 -3
- data/spec/rails_app/app/assets/images/.keep +0 -0
- data/spec/rails_app/app/assets/javascripts/application.js +0 -3
- data/spec/rails_app/app/assets/javascripts/cable.js +0 -12
- data/spec/rails_app/app/assets/stylesheets/application.css +0 -15
- data/spec/rails_app/app/assets/stylesheets/reset.css +0 -85
- data/spec/rails_app/app/assets/stylesheets/style.css +0 -244
- data/spec/rails_app/app/controllers/admins_controller.rb +0 -21
- data/spec/rails_app/app/controllers/application_controller.rb +0 -5
- data/spec/rails_app/app/controllers/articles_controller.rb +0 -67
- data/spec/rails_app/app/controllers/comments_controller.rb +0 -36
- data/spec/rails_app/app/controllers/concerns/.keep +0 -0
- data/spec/rails_app/app/controllers/spa_controller.rb +0 -7
- data/spec/rails_app/app/controllers/users/notifications_controller.rb +0 -2
- data/spec/rails_app/app/controllers/users/notifications_with_devise_controller.rb +0 -2
- data/spec/rails_app/app/controllers/users/subscriptions_controller.rb +0 -2
- data/spec/rails_app/app/controllers/users/subscriptions_with_devise_controller.rb +0 -2
- data/spec/rails_app/app/controllers/users_controller.rb +0 -26
- data/spec/rails_app/app/helpers/application_helper.rb +0 -2
- data/spec/rails_app/app/helpers/devise_helper.rb +0 -2
- data/spec/rails_app/app/javascript/App.vue +0 -40
- data/spec/rails_app/app/javascript/components/DeviseTokenAuth.vue +0 -82
- data/spec/rails_app/app/javascript/components/Top.vue +0 -98
- data/spec/rails_app/app/javascript/components/notifications/Index.vue +0 -200
- data/spec/rails_app/app/javascript/components/notifications/Notification.vue +0 -133
- data/spec/rails_app/app/javascript/components/notifications/NotificationContent.vue +0 -122
- data/spec/rails_app/app/javascript/components/subscriptions/Index.vue +0 -279
- data/spec/rails_app/app/javascript/components/subscriptions/NewSubscription.vue +0 -112
- data/spec/rails_app/app/javascript/components/subscriptions/NotificationKey.vue +0 -141
- data/spec/rails_app/app/javascript/components/subscriptions/Subscription.vue +0 -226
- data/spec/rails_app/app/javascript/config/development.js +0 -5
- data/spec/rails_app/app/javascript/config/environment.js +0 -7
- data/spec/rails_app/app/javascript/config/production.js +0 -5
- data/spec/rails_app/app/javascript/config/test.js +0 -5
- data/spec/rails_app/app/javascript/packs/application.js +0 -18
- data/spec/rails_app/app/javascript/packs/spa.js +0 -14
- data/spec/rails_app/app/javascript/router/index.js +0 -73
- data/spec/rails_app/app/javascript/store/index.js +0 -37
- data/spec/rails_app/app/mailers/.keep +0 -0
- data/spec/rails_app/app/mailers/custom_notification_mailer.rb +0 -5
- data/spec/rails_app/app/models/admin.rb +0 -35
- data/spec/rails_app/app/models/article.rb +0 -54
- data/spec/rails_app/app/models/comment.rb +0 -81
- data/spec/rails_app/app/models/dummy/dummy_base.rb +0 -11
- data/spec/rails_app/app/models/dummy/dummy_group.rb +0 -23
- data/spec/rails_app/app/models/dummy/dummy_notifiable.rb +0 -15
- data/spec/rails_app/app/models/dummy/dummy_notifiable_target.rb +0 -27
- data/spec/rails_app/app/models/dummy/dummy_notifier.rb +0 -15
- data/spec/rails_app/app/models/dummy/dummy_subscriber.rb +0 -14
- data/spec/rails_app/app/models/dummy/dummy_target.rb +0 -16
- data/spec/rails_app/app/models/user.rb +0 -73
- data/spec/rails_app/app/views/activity_notification/mailer/dummy_subscribers/test_key.text.erb +0 -1
- data/spec/rails_app/app/views/activity_notification/notifications/default/article/_update.html.erb +0 -146
- data/spec/rails_app/app/views/activity_notification/notifications/default/custom/_path_test.html.erb +0 -1
- data/spec/rails_app/app/views/activity_notification/notifications/default/custom/_test.html.erb +0 -1
- data/spec/rails_app/app/views/activity_notification/notifications/users/_custom_index.html.erb +0 -1
- data/spec/rails_app/app/views/activity_notification/notifications/users/custom/_test.html.erb +0 -1
- data/spec/rails_app/app/views/activity_notification/notifications/users/overridden/custom/_test.html.erb +0 -1
- data/spec/rails_app/app/views/activity_notification/optional_targets/admins/amazon_sns/comment/_default.text.erb +0 -10
- data/spec/rails_app/app/views/articles/_form.html.erb +0 -24
- data/spec/rails_app/app/views/articles/edit.html.erb +0 -8
- data/spec/rails_app/app/views/articles/index.html.erb +0 -113
- data/spec/rails_app/app/views/articles/new.html.erb +0 -7
- data/spec/rails_app/app/views/articles/show.html.erb +0 -49
- data/spec/rails_app/app/views/layouts/_header.html.erb +0 -46
- data/spec/rails_app/app/views/layouts/application.html.erb +0 -15
- data/spec/rails_app/app/views/spa/index.html.erb +0 -2
- data/spec/rails_app/babel.config.js +0 -72
- data/spec/rails_app/bin/bundle +0 -3
- data/spec/rails_app/bin/rails +0 -4
- data/spec/rails_app/bin/rake +0 -4
- data/spec/rails_app/bin/setup +0 -29
- data/spec/rails_app/bin/webpack +0 -18
- data/spec/rails_app/bin/webpack-dev-server +0 -18
- data/spec/rails_app/config/application.rb +0 -54
- data/spec/rails_app/config/boot.rb +0 -5
- data/spec/rails_app/config/cable.yml +0 -8
- data/spec/rails_app/config/database.yml +0 -36
- data/spec/rails_app/config/dynamoid.rb +0 -13
- data/spec/rails_app/config/environment.rb +0 -26
- data/spec/rails_app/config/environments/development.rb +0 -60
- data/spec/rails_app/config/environments/production.rb +0 -85
- data/spec/rails_app/config/environments/test.rb +0 -53
- data/spec/rails_app/config/initializers/activity_notification.rb +0 -104
- data/spec/rails_app/config/initializers/assets.rb +0 -11
- data/spec/rails_app/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/rails_app/config/initializers/cookies_serializer.rb +0 -3
- data/spec/rails_app/config/initializers/copy_it.aws.rb.template +0 -6
- data/spec/rails_app/config/initializers/devise.rb +0 -278
- data/spec/rails_app/config/initializers/devise_token_auth.rb +0 -55
- data/spec/rails_app/config/initializers/filter_parameter_logging.rb +0 -4
- data/spec/rails_app/config/initializers/inflections.rb +0 -16
- data/spec/rails_app/config/initializers/mime_types.rb +0 -4
- data/spec/rails_app/config/initializers/mysql.rb +0 -9
- data/spec/rails_app/config/initializers/session_store.rb +0 -3
- data/spec/rails_app/config/initializers/wrap_parameters.rb +0 -14
- data/spec/rails_app/config/initializers/zeitwerk.rb +0 -10
- data/spec/rails_app/config/locales/activity_notification.en.yml +0 -26
- data/spec/rails_app/config/locales/devise.en.yml +0 -62
- data/spec/rails_app/config/mongoid.yml +0 -13
- data/spec/rails_app/config/routes.rb +0 -50
- data/spec/rails_app/config/secrets.yml +0 -22
- data/spec/rails_app/config/webpack/development.js +0 -5
- data/spec/rails_app/config/webpack/environment.js +0 -7
- data/spec/rails_app/config/webpack/loaders/vue.js +0 -6
- data/spec/rails_app/config/webpack/production.js +0 -5
- data/spec/rails_app/config/webpack/test.js +0 -5
- data/spec/rails_app/config/webpacker.yml +0 -97
- data/spec/rails_app/config.ru +0 -4
- data/spec/rails_app/db/migrate/20160716000000_create_test_tables.rb +0 -42
- data/spec/rails_app/db/migrate/20181209000000_create_activity_notification_tables.rb +0 -33
- data/spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb +0 -10
- data/spec/rails_app/db/schema.rb +0 -98
- data/spec/rails_app/db/seeds.rb +0 -95
- data/spec/rails_app/lib/custom_optional_targets/console_output.rb +0 -16
- data/spec/rails_app/lib/custom_optional_targets/raise_error.rb +0 -14
- data/spec/rails_app/lib/custom_optional_targets/wrong_target.rb +0 -13
- data/spec/rails_app/lib/mailer_previews/mailer_preview.rb +0 -29
- data/spec/rails_app/package.json +0 -23
- data/spec/rails_app/postcss.config.js +0 -12
- data/spec/rails_app/public/404.html +0 -67
- data/spec/rails_app/public/422.html +0 -67
- data/spec/rails_app/public/500.html +0 -66
- data/spec/rails_app/public/favicon.ico +0 -0
- data/spec/roles/acts_as_group_spec.rb +0 -30
- data/spec/roles/acts_as_notifiable_spec.rb +0 -432
- data/spec/roles/acts_as_notifier_spec.rb +0 -30
- data/spec/roles/acts_as_target_spec.rb +0 -36
- data/spec/spec_helper.rb +0 -56
- data/spec/version_spec.rb +0 -31
|
@@ -45,6 +45,14 @@ ActivityNotification.configure do |config|
|
|
|
45
45
|
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
|
|
46
46
|
config.mailer_sender = 'please-change-me-at-config-initializers-activity_notification@example.com'
|
|
47
47
|
|
|
48
|
+
# Configure the carbon copy (CC) email address(es) for notification emails.
|
|
49
|
+
# You can set a single email address, an array of email addresses, or a Proc that returns either.
|
|
50
|
+
# Note that this can be overridden per target by defining a mailer_cc method in the target model,
|
|
51
|
+
# or per notification by defining overriding_notification_email_cc in the notifiable model.
|
|
52
|
+
# config.mailer_cc = 'admin@example.com'
|
|
53
|
+
# config.mailer_cc = ['admin@example.com', 'support@example.com']
|
|
54
|
+
# config.mailer_cc = ->(key){ key.include?('urgent') ? 'urgent@example.com' : nil }
|
|
55
|
+
|
|
48
56
|
# Configure the class responsible to send e-mails.
|
|
49
57
|
# config.mailer = "ActivityNotification::Mailer"
|
|
50
58
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activity_notification
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shota Yamazaki
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -317,32 +317,8 @@ executables: []
|
|
|
317
317
|
extensions: []
|
|
318
318
|
extra_rdoc_files: []
|
|
319
319
|
files:
|
|
320
|
-
- ".codeclimate.yml"
|
|
321
|
-
- ".coveralls.yml"
|
|
322
|
-
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
|
323
|
-
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
|
324
|
-
- ".github/pull_request_template.md"
|
|
325
|
-
- ".github/workflows/build.yml"
|
|
326
|
-
- ".gitignore"
|
|
327
|
-
- ".rspec"
|
|
328
|
-
- ".rubocop.yml"
|
|
329
|
-
- ".yardopts"
|
|
330
|
-
- CHANGELOG.md
|
|
331
|
-
- Gemfile
|
|
332
320
|
- MIT-LICENSE
|
|
333
|
-
- Procfile
|
|
334
321
|
- README.md
|
|
335
|
-
- Rakefile
|
|
336
|
-
- activity_notification.gemspec
|
|
337
|
-
- ai-curated-specs/issues/172/design.md
|
|
338
|
-
- ai-curated-specs/issues/172/tasks.md
|
|
339
|
-
- ai-curated-specs/issues/188/design.md
|
|
340
|
-
- ai-curated-specs/issues/188/requirements.md
|
|
341
|
-
- ai-curated-specs/issues/188/tasks.md
|
|
342
|
-
- ai-curated-specs/issues/188/upstream-contributions.md
|
|
343
|
-
- ai-curated-specs/issues/50/design.md
|
|
344
|
-
- ai-curated-specs/issues/50/requirements.md
|
|
345
|
-
- ai-curated-specs/issues/50/tasks.md
|
|
346
322
|
- app/channels/activity_notification/notification_api_channel.rb
|
|
347
323
|
- app/channels/activity_notification/notification_api_with_devise_channel.rb
|
|
348
324
|
- app/channels/activity_notification/notification_channel.rb
|
|
@@ -356,6 +332,7 @@ files:
|
|
|
356
332
|
- app/controllers/activity_notification/subscriptions_api_with_devise_controller.rb
|
|
357
333
|
- app/controllers/activity_notification/subscriptions_controller.rb
|
|
358
334
|
- app/controllers/activity_notification/subscriptions_with_devise_controller.rb
|
|
335
|
+
- app/jobs/activity_notification/cascading_notification_job.rb
|
|
359
336
|
- app/jobs/activity_notification/notify_all_job.rb
|
|
360
337
|
- app/jobs/activity_notification/notify_job.rb
|
|
361
338
|
- app/jobs/activity_notification/notify_to_job.rb
|
|
@@ -390,27 +367,13 @@ files:
|
|
|
390
367
|
- app/views/activity_notification/subscriptions/default/unsubscribe.js.erb
|
|
391
368
|
- app/views/activity_notification/subscriptions/default/unsubscribe_to_email.js.erb
|
|
392
369
|
- app/views/activity_notification/subscriptions/default/unsubscribe_to_optional_target.js.erb
|
|
393
|
-
- bin/_dynamodblocal
|
|
394
|
-
- bin/bundle_update.sh
|
|
395
|
-
- bin/deploy_on_heroku.sh
|
|
396
|
-
- bin/install_dynamodblocal.sh
|
|
397
|
-
- bin/start_dynamodblocal.sh
|
|
398
|
-
- bin/stop_dynamodblocal.sh
|
|
399
370
|
- docs/CODE_OF_CONDUCT.md
|
|
400
371
|
- docs/CONTRIBUTING.md
|
|
401
372
|
- docs/Functions.md
|
|
402
373
|
- docs/Setup.md
|
|
403
374
|
- docs/Testing.md
|
|
404
|
-
- gemfiles/Gemfile.rails-5.0
|
|
405
|
-
- gemfiles/Gemfile.rails-5.1
|
|
406
|
-
- gemfiles/Gemfile.rails-5.2
|
|
407
|
-
- gemfiles/Gemfile.rails-6.0
|
|
408
|
-
- gemfiles/Gemfile.rails-6.1
|
|
409
|
-
- gemfiles/Gemfile.rails-7.0
|
|
410
|
-
- gemfiles/Gemfile.rails-7.1
|
|
411
|
-
- gemfiles/Gemfile.rails-7.2
|
|
412
|
-
- gemfiles/Gemfile.rails-8.0
|
|
413
375
|
- lib/activity_notification.rb
|
|
376
|
+
- lib/activity_notification/apis/cascading_notification_api.rb
|
|
414
377
|
- lib/activity_notification/apis/notification_api.rb
|
|
415
378
|
- lib/activity_notification/apis/subscription_api.rb
|
|
416
379
|
- lib/activity_notification/apis/swagger.rb
|
|
@@ -488,206 +451,6 @@ files:
|
|
|
488
451
|
- lib/generators/templates/models/notification.rb
|
|
489
452
|
- lib/generators/templates/models/subscription.rb
|
|
490
453
|
- lib/tasks/activity_notification_tasks.rake
|
|
491
|
-
- package.json
|
|
492
|
-
- spec/channels/notification_api_channel_shared_examples.rb
|
|
493
|
-
- spec/channels/notification_api_channel_spec.rb
|
|
494
|
-
- spec/channels/notification_api_with_devise_channel_spec.rb
|
|
495
|
-
- spec/channels/notification_channel_shared_examples.rb
|
|
496
|
-
- spec/channels/notification_channel_spec.rb
|
|
497
|
-
- spec/channels/notification_with_devise_channel_spec.rb
|
|
498
|
-
- spec/concerns/apis/notification_api_spec.rb
|
|
499
|
-
- spec/concerns/apis/subscription_api_spec.rb
|
|
500
|
-
- spec/concerns/common_spec.rb
|
|
501
|
-
- spec/concerns/models/group_spec.rb
|
|
502
|
-
- spec/concerns/models/notifiable_spec.rb
|
|
503
|
-
- spec/concerns/models/notifier_spec.rb
|
|
504
|
-
- spec/concerns/models/subscriber_spec.rb
|
|
505
|
-
- spec/concerns/models/target_spec.rb
|
|
506
|
-
- spec/concerns/renderable_spec.rb
|
|
507
|
-
- spec/config_spec.rb
|
|
508
|
-
- spec/controllers/common_controller_spec.rb
|
|
509
|
-
- spec/controllers/controller_spec_utility.rb
|
|
510
|
-
- spec/controllers/dummy_common_controller.rb
|
|
511
|
-
- spec/controllers/notifications_api_controller_shared_examples.rb
|
|
512
|
-
- spec/controllers/notifications_api_controller_spec.rb
|
|
513
|
-
- spec/controllers/notifications_api_with_devise_controller_spec.rb
|
|
514
|
-
- spec/controllers/notifications_controller_shared_examples.rb
|
|
515
|
-
- spec/controllers/notifications_controller_spec.rb
|
|
516
|
-
- spec/controllers/notifications_with_devise_controller_spec.rb
|
|
517
|
-
- spec/controllers/subscriptions_api_controller_shared_examples.rb
|
|
518
|
-
- spec/controllers/subscriptions_api_controller_spec.rb
|
|
519
|
-
- spec/controllers/subscriptions_api_with_devise_controller_spec.rb
|
|
520
|
-
- spec/controllers/subscriptions_controller_shared_examples.rb
|
|
521
|
-
- spec/controllers/subscriptions_controller_spec.rb
|
|
522
|
-
- spec/controllers/subscriptions_with_devise_controller_spec.rb
|
|
523
|
-
- spec/factories/admins.rb
|
|
524
|
-
- spec/factories/articles.rb
|
|
525
|
-
- spec/factories/comments.rb
|
|
526
|
-
- spec/factories/dummy/dummy_group.rb
|
|
527
|
-
- spec/factories/dummy/dummy_notifiable.rb
|
|
528
|
-
- spec/factories/dummy/dummy_notifier.rb
|
|
529
|
-
- spec/factories/dummy/dummy_subscriber.rb
|
|
530
|
-
- spec/factories/dummy/dummy_target.rb
|
|
531
|
-
- spec/factories/notifications.rb
|
|
532
|
-
- spec/factories/subscriptions.rb
|
|
533
|
-
- spec/factories/users.rb
|
|
534
|
-
- spec/generators/controllers_generator_spec.rb
|
|
535
|
-
- spec/generators/install_generator_spec.rb
|
|
536
|
-
- spec/generators/migration/migration_generator_spec.rb
|
|
537
|
-
- spec/generators/models_generator_spec.rb
|
|
538
|
-
- spec/generators/views_generator_spec.rb
|
|
539
|
-
- spec/helpers/polymorphic_helpers_spec.rb
|
|
540
|
-
- spec/helpers/view_helpers_spec.rb
|
|
541
|
-
- spec/jobs/notification_resilience_job_spec.rb
|
|
542
|
-
- spec/jobs/notify_all_job_spec.rb
|
|
543
|
-
- spec/jobs/notify_job_spec.rb
|
|
544
|
-
- spec/jobs/notify_to_job_spec.rb
|
|
545
|
-
- spec/mailers/mailer_spec.rb
|
|
546
|
-
- spec/mailers/notification_resilience_spec.rb
|
|
547
|
-
- spec/models/dummy/dummy_group_spec.rb
|
|
548
|
-
- spec/models/dummy/dummy_notifiable_spec.rb
|
|
549
|
-
- spec/models/dummy/dummy_notifier_spec.rb
|
|
550
|
-
- spec/models/dummy/dummy_subscriber_spec.rb
|
|
551
|
-
- spec/models/dummy/dummy_target_spec.rb
|
|
552
|
-
- spec/models/notification_spec.rb
|
|
553
|
-
- spec/models/subscription_spec.rb
|
|
554
|
-
- spec/optional_targets/action_cable_api_channel_spec.rb
|
|
555
|
-
- spec/optional_targets/action_cable_channel_spec.rb
|
|
556
|
-
- spec/optional_targets/amazon_sns_spec.rb
|
|
557
|
-
- spec/optional_targets/base_spec.rb
|
|
558
|
-
- spec/optional_targets/slack_spec.rb
|
|
559
|
-
- spec/orm/dynamoid_spec.rb
|
|
560
|
-
- spec/rails_app/Rakefile
|
|
561
|
-
- spec/rails_app/app/assets/config/manifest.js
|
|
562
|
-
- spec/rails_app/app/assets/images/.keep
|
|
563
|
-
- spec/rails_app/app/assets/javascripts/application.js
|
|
564
|
-
- spec/rails_app/app/assets/javascripts/cable.js
|
|
565
|
-
- spec/rails_app/app/assets/stylesheets/application.css
|
|
566
|
-
- spec/rails_app/app/assets/stylesheets/reset.css
|
|
567
|
-
- spec/rails_app/app/assets/stylesheets/style.css
|
|
568
|
-
- spec/rails_app/app/controllers/admins_controller.rb
|
|
569
|
-
- spec/rails_app/app/controllers/application_controller.rb
|
|
570
|
-
- spec/rails_app/app/controllers/articles_controller.rb
|
|
571
|
-
- spec/rails_app/app/controllers/comments_controller.rb
|
|
572
|
-
- spec/rails_app/app/controllers/concerns/.keep
|
|
573
|
-
- spec/rails_app/app/controllers/spa_controller.rb
|
|
574
|
-
- spec/rails_app/app/controllers/users/notifications_controller.rb
|
|
575
|
-
- spec/rails_app/app/controllers/users/notifications_with_devise_controller.rb
|
|
576
|
-
- spec/rails_app/app/controllers/users/subscriptions_controller.rb
|
|
577
|
-
- spec/rails_app/app/controllers/users/subscriptions_with_devise_controller.rb
|
|
578
|
-
- spec/rails_app/app/controllers/users_controller.rb
|
|
579
|
-
- spec/rails_app/app/helpers/application_helper.rb
|
|
580
|
-
- spec/rails_app/app/helpers/devise_helper.rb
|
|
581
|
-
- spec/rails_app/app/javascript/App.vue
|
|
582
|
-
- spec/rails_app/app/javascript/components/DeviseTokenAuth.vue
|
|
583
|
-
- spec/rails_app/app/javascript/components/Top.vue
|
|
584
|
-
- spec/rails_app/app/javascript/components/notifications/Index.vue
|
|
585
|
-
- spec/rails_app/app/javascript/components/notifications/Notification.vue
|
|
586
|
-
- spec/rails_app/app/javascript/components/notifications/NotificationContent.vue
|
|
587
|
-
- spec/rails_app/app/javascript/components/subscriptions/Index.vue
|
|
588
|
-
- spec/rails_app/app/javascript/components/subscriptions/NewSubscription.vue
|
|
589
|
-
- spec/rails_app/app/javascript/components/subscriptions/NotificationKey.vue
|
|
590
|
-
- spec/rails_app/app/javascript/components/subscriptions/Subscription.vue
|
|
591
|
-
- spec/rails_app/app/javascript/config/development.js
|
|
592
|
-
- spec/rails_app/app/javascript/config/environment.js
|
|
593
|
-
- spec/rails_app/app/javascript/config/production.js
|
|
594
|
-
- spec/rails_app/app/javascript/config/test.js
|
|
595
|
-
- spec/rails_app/app/javascript/packs/application.js
|
|
596
|
-
- spec/rails_app/app/javascript/packs/spa.js
|
|
597
|
-
- spec/rails_app/app/javascript/router/index.js
|
|
598
|
-
- spec/rails_app/app/javascript/store/index.js
|
|
599
|
-
- spec/rails_app/app/mailers/.keep
|
|
600
|
-
- spec/rails_app/app/mailers/custom_notification_mailer.rb
|
|
601
|
-
- spec/rails_app/app/models/admin.rb
|
|
602
|
-
- spec/rails_app/app/models/article.rb
|
|
603
|
-
- spec/rails_app/app/models/comment.rb
|
|
604
|
-
- spec/rails_app/app/models/dummy/dummy_base.rb
|
|
605
|
-
- spec/rails_app/app/models/dummy/dummy_group.rb
|
|
606
|
-
- spec/rails_app/app/models/dummy/dummy_notifiable.rb
|
|
607
|
-
- spec/rails_app/app/models/dummy/dummy_notifiable_target.rb
|
|
608
|
-
- spec/rails_app/app/models/dummy/dummy_notifier.rb
|
|
609
|
-
- spec/rails_app/app/models/dummy/dummy_subscriber.rb
|
|
610
|
-
- spec/rails_app/app/models/dummy/dummy_target.rb
|
|
611
|
-
- spec/rails_app/app/models/user.rb
|
|
612
|
-
- spec/rails_app/app/views/activity_notification/mailer/dummy_subscribers/test_key.text.erb
|
|
613
|
-
- spec/rails_app/app/views/activity_notification/notifications/default/article/_update.html.erb
|
|
614
|
-
- spec/rails_app/app/views/activity_notification/notifications/default/custom/_path_test.html.erb
|
|
615
|
-
- spec/rails_app/app/views/activity_notification/notifications/default/custom/_test.html.erb
|
|
616
|
-
- spec/rails_app/app/views/activity_notification/notifications/users/_custom_index.html.erb
|
|
617
|
-
- spec/rails_app/app/views/activity_notification/notifications/users/custom/_test.html.erb
|
|
618
|
-
- spec/rails_app/app/views/activity_notification/notifications/users/overridden/custom/_test.html.erb
|
|
619
|
-
- spec/rails_app/app/views/activity_notification/optional_targets/admins/amazon_sns/comment/_default.text.erb
|
|
620
|
-
- spec/rails_app/app/views/articles/_form.html.erb
|
|
621
|
-
- spec/rails_app/app/views/articles/edit.html.erb
|
|
622
|
-
- spec/rails_app/app/views/articles/index.html.erb
|
|
623
|
-
- spec/rails_app/app/views/articles/new.html.erb
|
|
624
|
-
- spec/rails_app/app/views/articles/show.html.erb
|
|
625
|
-
- spec/rails_app/app/views/layouts/_header.html.erb
|
|
626
|
-
- spec/rails_app/app/views/layouts/application.html.erb
|
|
627
|
-
- spec/rails_app/app/views/spa/index.html.erb
|
|
628
|
-
- spec/rails_app/babel.config.js
|
|
629
|
-
- spec/rails_app/bin/bundle
|
|
630
|
-
- spec/rails_app/bin/rails
|
|
631
|
-
- spec/rails_app/bin/rake
|
|
632
|
-
- spec/rails_app/bin/setup
|
|
633
|
-
- spec/rails_app/bin/webpack
|
|
634
|
-
- spec/rails_app/bin/webpack-dev-server
|
|
635
|
-
- spec/rails_app/config.ru
|
|
636
|
-
- spec/rails_app/config/application.rb
|
|
637
|
-
- spec/rails_app/config/boot.rb
|
|
638
|
-
- spec/rails_app/config/cable.yml
|
|
639
|
-
- spec/rails_app/config/database.yml
|
|
640
|
-
- spec/rails_app/config/dynamoid.rb
|
|
641
|
-
- spec/rails_app/config/environment.rb
|
|
642
|
-
- spec/rails_app/config/environments/development.rb
|
|
643
|
-
- spec/rails_app/config/environments/production.rb
|
|
644
|
-
- spec/rails_app/config/environments/test.rb
|
|
645
|
-
- spec/rails_app/config/initializers/activity_notification.rb
|
|
646
|
-
- spec/rails_app/config/initializers/assets.rb
|
|
647
|
-
- spec/rails_app/config/initializers/backtrace_silencers.rb
|
|
648
|
-
- spec/rails_app/config/initializers/cookies_serializer.rb
|
|
649
|
-
- spec/rails_app/config/initializers/copy_it.aws.rb.template
|
|
650
|
-
- spec/rails_app/config/initializers/devise.rb
|
|
651
|
-
- spec/rails_app/config/initializers/devise_token_auth.rb
|
|
652
|
-
- spec/rails_app/config/initializers/filter_parameter_logging.rb
|
|
653
|
-
- spec/rails_app/config/initializers/inflections.rb
|
|
654
|
-
- spec/rails_app/config/initializers/mime_types.rb
|
|
655
|
-
- spec/rails_app/config/initializers/mysql.rb
|
|
656
|
-
- spec/rails_app/config/initializers/session_store.rb
|
|
657
|
-
- spec/rails_app/config/initializers/wrap_parameters.rb
|
|
658
|
-
- spec/rails_app/config/initializers/zeitwerk.rb
|
|
659
|
-
- spec/rails_app/config/locales/activity_notification.en.yml
|
|
660
|
-
- spec/rails_app/config/locales/devise.en.yml
|
|
661
|
-
- spec/rails_app/config/mongoid.yml
|
|
662
|
-
- spec/rails_app/config/routes.rb
|
|
663
|
-
- spec/rails_app/config/secrets.yml
|
|
664
|
-
- spec/rails_app/config/webpack/development.js
|
|
665
|
-
- spec/rails_app/config/webpack/environment.js
|
|
666
|
-
- spec/rails_app/config/webpack/loaders/vue.js
|
|
667
|
-
- spec/rails_app/config/webpack/production.js
|
|
668
|
-
- spec/rails_app/config/webpack/test.js
|
|
669
|
-
- spec/rails_app/config/webpacker.yml
|
|
670
|
-
- spec/rails_app/db/migrate/20160716000000_create_test_tables.rb
|
|
671
|
-
- spec/rails_app/db/migrate/20181209000000_create_activity_notification_tables.rb
|
|
672
|
-
- spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
|
|
673
|
-
- spec/rails_app/db/schema.rb
|
|
674
|
-
- spec/rails_app/db/seeds.rb
|
|
675
|
-
- spec/rails_app/lib/custom_optional_targets/console_output.rb
|
|
676
|
-
- spec/rails_app/lib/custom_optional_targets/raise_error.rb
|
|
677
|
-
- spec/rails_app/lib/custom_optional_targets/wrong_target.rb
|
|
678
|
-
- spec/rails_app/lib/mailer_previews/mailer_preview.rb
|
|
679
|
-
- spec/rails_app/package.json
|
|
680
|
-
- spec/rails_app/postcss.config.js
|
|
681
|
-
- spec/rails_app/public/404.html
|
|
682
|
-
- spec/rails_app/public/422.html
|
|
683
|
-
- spec/rails_app/public/500.html
|
|
684
|
-
- spec/rails_app/public/favicon.ico
|
|
685
|
-
- spec/roles/acts_as_group_spec.rb
|
|
686
|
-
- spec/roles/acts_as_notifiable_spec.rb
|
|
687
|
-
- spec/roles/acts_as_notifier_spec.rb
|
|
688
|
-
- spec/roles/acts_as_target_spec.rb
|
|
689
|
-
- spec/spec_helper.rb
|
|
690
|
-
- spec/version_spec.rb
|
|
691
454
|
homepage: https://github.com/simukappu/activity_notification
|
|
692
455
|
licenses:
|
|
693
456
|
- MIT
|
|
@@ -711,203 +474,4 @@ rubygems_version: 3.5.22
|
|
|
711
474
|
signing_key:
|
|
712
475
|
specification_version: 4
|
|
713
476
|
summary: Integrated user activity notifications for Ruby on Rails
|
|
714
|
-
test_files:
|
|
715
|
-
- spec/channels/notification_api_channel_shared_examples.rb
|
|
716
|
-
- spec/channels/notification_api_channel_spec.rb
|
|
717
|
-
- spec/channels/notification_api_with_devise_channel_spec.rb
|
|
718
|
-
- spec/channels/notification_channel_shared_examples.rb
|
|
719
|
-
- spec/channels/notification_channel_spec.rb
|
|
720
|
-
- spec/channels/notification_with_devise_channel_spec.rb
|
|
721
|
-
- spec/concerns/apis/notification_api_spec.rb
|
|
722
|
-
- spec/concerns/apis/subscription_api_spec.rb
|
|
723
|
-
- spec/concerns/common_spec.rb
|
|
724
|
-
- spec/concerns/models/group_spec.rb
|
|
725
|
-
- spec/concerns/models/notifiable_spec.rb
|
|
726
|
-
- spec/concerns/models/notifier_spec.rb
|
|
727
|
-
- spec/concerns/models/subscriber_spec.rb
|
|
728
|
-
- spec/concerns/models/target_spec.rb
|
|
729
|
-
- spec/concerns/renderable_spec.rb
|
|
730
|
-
- spec/config_spec.rb
|
|
731
|
-
- spec/controllers/common_controller_spec.rb
|
|
732
|
-
- spec/controllers/controller_spec_utility.rb
|
|
733
|
-
- spec/controllers/dummy_common_controller.rb
|
|
734
|
-
- spec/controllers/notifications_api_controller_shared_examples.rb
|
|
735
|
-
- spec/controllers/notifications_api_controller_spec.rb
|
|
736
|
-
- spec/controllers/notifications_api_with_devise_controller_spec.rb
|
|
737
|
-
- spec/controllers/notifications_controller_shared_examples.rb
|
|
738
|
-
- spec/controllers/notifications_controller_spec.rb
|
|
739
|
-
- spec/controllers/notifications_with_devise_controller_spec.rb
|
|
740
|
-
- spec/controllers/subscriptions_api_controller_shared_examples.rb
|
|
741
|
-
- spec/controllers/subscriptions_api_controller_spec.rb
|
|
742
|
-
- spec/controllers/subscriptions_api_with_devise_controller_spec.rb
|
|
743
|
-
- spec/controllers/subscriptions_controller_shared_examples.rb
|
|
744
|
-
- spec/controllers/subscriptions_controller_spec.rb
|
|
745
|
-
- spec/controllers/subscriptions_with_devise_controller_spec.rb
|
|
746
|
-
- spec/factories/admins.rb
|
|
747
|
-
- spec/factories/articles.rb
|
|
748
|
-
- spec/factories/comments.rb
|
|
749
|
-
- spec/factories/dummy/dummy_group.rb
|
|
750
|
-
- spec/factories/dummy/dummy_notifiable.rb
|
|
751
|
-
- spec/factories/dummy/dummy_notifier.rb
|
|
752
|
-
- spec/factories/dummy/dummy_subscriber.rb
|
|
753
|
-
- spec/factories/dummy/dummy_target.rb
|
|
754
|
-
- spec/factories/notifications.rb
|
|
755
|
-
- spec/factories/subscriptions.rb
|
|
756
|
-
- spec/factories/users.rb
|
|
757
|
-
- spec/generators/controllers_generator_spec.rb
|
|
758
|
-
- spec/generators/install_generator_spec.rb
|
|
759
|
-
- spec/generators/migration/migration_generator_spec.rb
|
|
760
|
-
- spec/generators/models_generator_spec.rb
|
|
761
|
-
- spec/generators/views_generator_spec.rb
|
|
762
|
-
- spec/helpers/polymorphic_helpers_spec.rb
|
|
763
|
-
- spec/helpers/view_helpers_spec.rb
|
|
764
|
-
- spec/jobs/notification_resilience_job_spec.rb
|
|
765
|
-
- spec/jobs/notify_all_job_spec.rb
|
|
766
|
-
- spec/jobs/notify_job_spec.rb
|
|
767
|
-
- spec/jobs/notify_to_job_spec.rb
|
|
768
|
-
- spec/mailers/mailer_spec.rb
|
|
769
|
-
- spec/mailers/notification_resilience_spec.rb
|
|
770
|
-
- spec/models/dummy/dummy_group_spec.rb
|
|
771
|
-
- spec/models/dummy/dummy_notifiable_spec.rb
|
|
772
|
-
- spec/models/dummy/dummy_notifier_spec.rb
|
|
773
|
-
- spec/models/dummy/dummy_subscriber_spec.rb
|
|
774
|
-
- spec/models/dummy/dummy_target_spec.rb
|
|
775
|
-
- spec/models/notification_spec.rb
|
|
776
|
-
- spec/models/subscription_spec.rb
|
|
777
|
-
- spec/optional_targets/action_cable_api_channel_spec.rb
|
|
778
|
-
- spec/optional_targets/action_cable_channel_spec.rb
|
|
779
|
-
- spec/optional_targets/amazon_sns_spec.rb
|
|
780
|
-
- spec/optional_targets/base_spec.rb
|
|
781
|
-
- spec/optional_targets/slack_spec.rb
|
|
782
|
-
- spec/orm/dynamoid_spec.rb
|
|
783
|
-
- spec/rails_app/Rakefile
|
|
784
|
-
- spec/rails_app/app/assets/config/manifest.js
|
|
785
|
-
- spec/rails_app/app/assets/images/.keep
|
|
786
|
-
- spec/rails_app/app/assets/javascripts/application.js
|
|
787
|
-
- spec/rails_app/app/assets/javascripts/cable.js
|
|
788
|
-
- spec/rails_app/app/assets/stylesheets/application.css
|
|
789
|
-
- spec/rails_app/app/assets/stylesheets/reset.css
|
|
790
|
-
- spec/rails_app/app/assets/stylesheets/style.css
|
|
791
|
-
- spec/rails_app/app/controllers/admins_controller.rb
|
|
792
|
-
- spec/rails_app/app/controllers/application_controller.rb
|
|
793
|
-
- spec/rails_app/app/controllers/articles_controller.rb
|
|
794
|
-
- spec/rails_app/app/controllers/comments_controller.rb
|
|
795
|
-
- spec/rails_app/app/controllers/concerns/.keep
|
|
796
|
-
- spec/rails_app/app/controllers/spa_controller.rb
|
|
797
|
-
- spec/rails_app/app/controllers/users/notifications_controller.rb
|
|
798
|
-
- spec/rails_app/app/controllers/users/notifications_with_devise_controller.rb
|
|
799
|
-
- spec/rails_app/app/controllers/users/subscriptions_controller.rb
|
|
800
|
-
- spec/rails_app/app/controllers/users/subscriptions_with_devise_controller.rb
|
|
801
|
-
- spec/rails_app/app/controllers/users_controller.rb
|
|
802
|
-
- spec/rails_app/app/helpers/application_helper.rb
|
|
803
|
-
- spec/rails_app/app/helpers/devise_helper.rb
|
|
804
|
-
- spec/rails_app/app/javascript/App.vue
|
|
805
|
-
- spec/rails_app/app/javascript/components/DeviseTokenAuth.vue
|
|
806
|
-
- spec/rails_app/app/javascript/components/Top.vue
|
|
807
|
-
- spec/rails_app/app/javascript/components/notifications/Index.vue
|
|
808
|
-
- spec/rails_app/app/javascript/components/notifications/Notification.vue
|
|
809
|
-
- spec/rails_app/app/javascript/components/notifications/NotificationContent.vue
|
|
810
|
-
- spec/rails_app/app/javascript/components/subscriptions/Index.vue
|
|
811
|
-
- spec/rails_app/app/javascript/components/subscriptions/NewSubscription.vue
|
|
812
|
-
- spec/rails_app/app/javascript/components/subscriptions/NotificationKey.vue
|
|
813
|
-
- spec/rails_app/app/javascript/components/subscriptions/Subscription.vue
|
|
814
|
-
- spec/rails_app/app/javascript/config/development.js
|
|
815
|
-
- spec/rails_app/app/javascript/config/environment.js
|
|
816
|
-
- spec/rails_app/app/javascript/config/production.js
|
|
817
|
-
- spec/rails_app/app/javascript/config/test.js
|
|
818
|
-
- spec/rails_app/app/javascript/packs/application.js
|
|
819
|
-
- spec/rails_app/app/javascript/packs/spa.js
|
|
820
|
-
- spec/rails_app/app/javascript/router/index.js
|
|
821
|
-
- spec/rails_app/app/javascript/store/index.js
|
|
822
|
-
- spec/rails_app/app/mailers/.keep
|
|
823
|
-
- spec/rails_app/app/mailers/custom_notification_mailer.rb
|
|
824
|
-
- spec/rails_app/app/models/admin.rb
|
|
825
|
-
- spec/rails_app/app/models/article.rb
|
|
826
|
-
- spec/rails_app/app/models/comment.rb
|
|
827
|
-
- spec/rails_app/app/models/dummy/dummy_base.rb
|
|
828
|
-
- spec/rails_app/app/models/dummy/dummy_group.rb
|
|
829
|
-
- spec/rails_app/app/models/dummy/dummy_notifiable.rb
|
|
830
|
-
- spec/rails_app/app/models/dummy/dummy_notifiable_target.rb
|
|
831
|
-
- spec/rails_app/app/models/dummy/dummy_notifier.rb
|
|
832
|
-
- spec/rails_app/app/models/dummy/dummy_subscriber.rb
|
|
833
|
-
- spec/rails_app/app/models/dummy/dummy_target.rb
|
|
834
|
-
- spec/rails_app/app/models/user.rb
|
|
835
|
-
- spec/rails_app/app/views/activity_notification/mailer/dummy_subscribers/test_key.text.erb
|
|
836
|
-
- spec/rails_app/app/views/activity_notification/notifications/default/article/_update.html.erb
|
|
837
|
-
- spec/rails_app/app/views/activity_notification/notifications/default/custom/_path_test.html.erb
|
|
838
|
-
- spec/rails_app/app/views/activity_notification/notifications/default/custom/_test.html.erb
|
|
839
|
-
- spec/rails_app/app/views/activity_notification/notifications/users/_custom_index.html.erb
|
|
840
|
-
- spec/rails_app/app/views/activity_notification/notifications/users/custom/_test.html.erb
|
|
841
|
-
- spec/rails_app/app/views/activity_notification/notifications/users/overridden/custom/_test.html.erb
|
|
842
|
-
- spec/rails_app/app/views/activity_notification/optional_targets/admins/amazon_sns/comment/_default.text.erb
|
|
843
|
-
- spec/rails_app/app/views/articles/_form.html.erb
|
|
844
|
-
- spec/rails_app/app/views/articles/edit.html.erb
|
|
845
|
-
- spec/rails_app/app/views/articles/index.html.erb
|
|
846
|
-
- spec/rails_app/app/views/articles/new.html.erb
|
|
847
|
-
- spec/rails_app/app/views/articles/show.html.erb
|
|
848
|
-
- spec/rails_app/app/views/layouts/_header.html.erb
|
|
849
|
-
- spec/rails_app/app/views/layouts/application.html.erb
|
|
850
|
-
- spec/rails_app/app/views/spa/index.html.erb
|
|
851
|
-
- spec/rails_app/babel.config.js
|
|
852
|
-
- spec/rails_app/bin/bundle
|
|
853
|
-
- spec/rails_app/bin/rails
|
|
854
|
-
- spec/rails_app/bin/rake
|
|
855
|
-
- spec/rails_app/bin/setup
|
|
856
|
-
- spec/rails_app/bin/webpack
|
|
857
|
-
- spec/rails_app/bin/webpack-dev-server
|
|
858
|
-
- spec/rails_app/config.ru
|
|
859
|
-
- spec/rails_app/config/application.rb
|
|
860
|
-
- spec/rails_app/config/boot.rb
|
|
861
|
-
- spec/rails_app/config/cable.yml
|
|
862
|
-
- spec/rails_app/config/database.yml
|
|
863
|
-
- spec/rails_app/config/dynamoid.rb
|
|
864
|
-
- spec/rails_app/config/environment.rb
|
|
865
|
-
- spec/rails_app/config/environments/development.rb
|
|
866
|
-
- spec/rails_app/config/environments/production.rb
|
|
867
|
-
- spec/rails_app/config/environments/test.rb
|
|
868
|
-
- spec/rails_app/config/initializers/activity_notification.rb
|
|
869
|
-
- spec/rails_app/config/initializers/assets.rb
|
|
870
|
-
- spec/rails_app/config/initializers/backtrace_silencers.rb
|
|
871
|
-
- spec/rails_app/config/initializers/cookies_serializer.rb
|
|
872
|
-
- spec/rails_app/config/initializers/copy_it.aws.rb.template
|
|
873
|
-
- spec/rails_app/config/initializers/devise.rb
|
|
874
|
-
- spec/rails_app/config/initializers/devise_token_auth.rb
|
|
875
|
-
- spec/rails_app/config/initializers/filter_parameter_logging.rb
|
|
876
|
-
- spec/rails_app/config/initializers/inflections.rb
|
|
877
|
-
- spec/rails_app/config/initializers/mime_types.rb
|
|
878
|
-
- spec/rails_app/config/initializers/mysql.rb
|
|
879
|
-
- spec/rails_app/config/initializers/session_store.rb
|
|
880
|
-
- spec/rails_app/config/initializers/wrap_parameters.rb
|
|
881
|
-
- spec/rails_app/config/initializers/zeitwerk.rb
|
|
882
|
-
- spec/rails_app/config/locales/activity_notification.en.yml
|
|
883
|
-
- spec/rails_app/config/locales/devise.en.yml
|
|
884
|
-
- spec/rails_app/config/mongoid.yml
|
|
885
|
-
- spec/rails_app/config/routes.rb
|
|
886
|
-
- spec/rails_app/config/secrets.yml
|
|
887
|
-
- spec/rails_app/config/webpack/development.js
|
|
888
|
-
- spec/rails_app/config/webpack/environment.js
|
|
889
|
-
- spec/rails_app/config/webpack/loaders/vue.js
|
|
890
|
-
- spec/rails_app/config/webpack/production.js
|
|
891
|
-
- spec/rails_app/config/webpack/test.js
|
|
892
|
-
- spec/rails_app/config/webpacker.yml
|
|
893
|
-
- spec/rails_app/db/migrate/20160716000000_create_test_tables.rb
|
|
894
|
-
- spec/rails_app/db/migrate/20181209000000_create_activity_notification_tables.rb
|
|
895
|
-
- spec/rails_app/db/migrate/20191201000000_add_tokens_to_users.rb
|
|
896
|
-
- spec/rails_app/db/schema.rb
|
|
897
|
-
- spec/rails_app/db/seeds.rb
|
|
898
|
-
- spec/rails_app/lib/custom_optional_targets/console_output.rb
|
|
899
|
-
- spec/rails_app/lib/custom_optional_targets/raise_error.rb
|
|
900
|
-
- spec/rails_app/lib/custom_optional_targets/wrong_target.rb
|
|
901
|
-
- spec/rails_app/lib/mailer_previews/mailer_preview.rb
|
|
902
|
-
- spec/rails_app/package.json
|
|
903
|
-
- spec/rails_app/postcss.config.js
|
|
904
|
-
- spec/rails_app/public/404.html
|
|
905
|
-
- spec/rails_app/public/422.html
|
|
906
|
-
- spec/rails_app/public/500.html
|
|
907
|
-
- spec/rails_app/public/favicon.ico
|
|
908
|
-
- spec/roles/acts_as_group_spec.rb
|
|
909
|
-
- spec/roles/acts_as_notifiable_spec.rb
|
|
910
|
-
- spec/roles/acts_as_notifier_spec.rb
|
|
911
|
-
- spec/roles/acts_as_target_spec.rb
|
|
912
|
-
- spec/spec_helper.rb
|
|
913
|
-
- spec/version_spec.rb
|
|
477
|
+
test_files: []
|
data/.codeclimate.yml
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
engines:
|
|
3
|
-
brakeman:
|
|
4
|
-
enabled: true
|
|
5
|
-
bundler-audit:
|
|
6
|
-
enabled: true
|
|
7
|
-
duplication:
|
|
8
|
-
enabled: true
|
|
9
|
-
config:
|
|
10
|
-
languages:
|
|
11
|
-
- ruby
|
|
12
|
-
- javascript
|
|
13
|
-
- python
|
|
14
|
-
- php
|
|
15
|
-
fixme:
|
|
16
|
-
enabled: true
|
|
17
|
-
rubocop:
|
|
18
|
-
enabled: true
|
|
19
|
-
ratings:
|
|
20
|
-
paths:
|
|
21
|
-
- Gemfile.lock
|
|
22
|
-
- "**.erb"
|
|
23
|
-
- "**.haml"
|
|
24
|
-
- "**.rb"
|
|
25
|
-
- "**.rhtml"
|
|
26
|
-
- "**.slim"
|
|
27
|
-
- "**.inc"
|
|
28
|
-
- "**.js"
|
|
29
|
-
- "**.jsx"
|
|
30
|
-
- "**.module"
|
|
31
|
-
exclude_paths:
|
|
32
|
-
- spec/
|
|
33
|
-
- lib/generators/templates/
|
data/.coveralls.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
service_name: travis-ci
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Bug report
|
|
3
|
-
about: Create a report to help us improve
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
### Steps to reproduce
|
|
11
|
-
<!-- Tell us how to reproduce the issue -->
|
|
12
|
-
|
|
13
|
-
### Expected behavior
|
|
14
|
-
<!-- Tell us what should happen -->
|
|
15
|
-
|
|
16
|
-
### Actual behavior
|
|
17
|
-
<!-- Tell us what happens instead -->
|
|
18
|
-
|
|
19
|
-
### System configuration
|
|
20
|
-
**activity_notification gem version**:
|
|
21
|
-
**Rails version**:
|
|
22
|
-
**ORM (ActiveRecord, Mongoid or Dynamoid)**:
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Feature request
|
|
3
|
-
about: Suggest an idea for this project
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
### Problem or use case
|
|
11
|
-
<!-- Tell us what the problem is if your feature request is related to a problem -->
|
|
12
|
-
|
|
13
|
-
### Expected solution
|
|
14
|
-
<!-- Tell us what you want to happen -->
|
|
15
|
-
|
|
16
|
-
### Alternatives
|
|
17
|
-
<!-- Tell us any alternative solutions or features you've considered -->
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
**Issue #, if available**:
|
|
2
|
-
|
|
3
|
-
### Summary
|
|
4
|
-
|
|
5
|
-
<!-- Provide a general description of the code changes in your pull request.
|
|
6
|
-
Were there any bugs you had fixed? If so, mention them.
|
|
7
|
-
If these bugs have open GitHub issues, be sure to tag them here as well, to keep the conversation linked together. -->
|
|
8
|
-
|
|
9
|
-
### Other Information
|
|
10
|
-
|
|
11
|
-
<!-- If there's anything else that's important and relevant to your pull request, mention that information here.
|
|
12
|
-
|
|
13
|
-
Thank you for contributing to activity_notification! -->
|