activity_notification 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +0 -1
- data/CHANGELOG.md +14 -0
- data/README.md +4 -4
- data/activity_notification.gemspec +9 -9
- data/lib/activity_notification/config.rb +10 -0
- data/lib/activity_notification/mailers/helpers.rb +2 -2
- data/lib/activity_notification/models/concerns/notifiable.rb +1 -1
- data/lib/activity_notification/models/concerns/subscriber.rb +1 -1
- data/lib/activity_notification/orm/active_record/notification.rb +0 -8
- data/lib/activity_notification/version.rb +1 -1
- data/lib/generators/templates/activity_notification.rb +3 -0
- data/spec/concerns/apis/notification_api_spec.rb +8 -8
- data/spec/factories/notifications.rb +1 -1
- data/spec/factories/subscriptions.rb +3 -3
- data/spec/factories/users.rb +3 -3
- data/spec/rails_app/config/initializers/activity_notification.rb +3 -0
- data/spec/rails_app/lib/mailer_previews/mailer_preview.rb +4 -2
- metadata +34 -33
- data/Gemfile.lock +0 -242
- data/gemfiles/Gemfile.rails-4.2.lock +0 -225
- data/gemfiles/Gemfile.rails-5.0.lock +0 -234
- data/gemfiles/Gemfile.rails-5.1.lock +0 -234
- data/gemfiles/Gemfile.rails-5.2.lock +0 -242
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6396ab94a172005c0bd940742471a388e746419e
|
4
|
+
data.tar.gz: 66f4b6b5162212ef397ed3fb26dfadbbe9709d97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3c26fad67e4e3647ac81f32e46181cfe1f420d8dd820b21f2f8f2a3039f87f200b5781a7eb203ec2a6f41d9d7a62c73aea249ee760a2de94341c987c3e16d92
|
7
|
+
data.tar.gz: f7d936e5c59608b736d068ee230c7919c6369ffd98c5c543343029e7fbfed58c611c2d17910ec74be2b398729a596217a02fda5c930a27b87843c1f55f81a892
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1
|
+
## 1.5.1 / 2018-08-26
|
2
|
+
[Full Changelog](http://github.com/simukappu/activity_notification/compare/v1.5.0...v1.5.1)
|
3
|
+
|
4
|
+
Enhancements:
|
5
|
+
|
6
|
+
* Allow configuration of custom mailer templates directory - [#32](https://github.com/simukappu/activity_notification/pull/32)
|
7
|
+
* Make Notifiable#notifiable_path to work when it is defined in a superclass - [#45](https://github.com/simukappu/activity_notification/pull/45)
|
8
|
+
|
9
|
+
Bug Fixes:
|
10
|
+
|
11
|
+
* Fix mongoid development dependency to work with bullet - [#72](https://github.com/simukappu/activity_notification/issues/72)
|
12
|
+
* Remove duplicate scope of filtered_by_type since it is also defined in API - [#78](https://github.com/simukappu/activity_notification/pull/78)
|
13
|
+
* Fix a bug in Subscriber concern about lack of arguments - [#80](https://github.com/simukappu/activity_notification/issues/80)
|
14
|
+
|
1
15
|
## 1.5.0 / 2018-05-05
|
2
16
|
[Full Changelog](http://github.com/simukappu/activity_notification/compare/v1.4.4...v1.5.0)
|
3
17
|
|
data/README.md
CHANGED
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/simukappu/activity_notification.svg?branch=master)](https://travis-ci.org/simukappu/activity_notification)
|
4
4
|
[![Coverage Status](https://coveralls.io/repos/github/simukappu/activity_notification/badge.svg?branch=master)](https://coveralls.io/github/simukappu/activity_notification?branch=master)
|
5
|
-
[![
|
6
|
-
[![Dependency Status](https://gemnasium.com/badges/github.com/simukappu/activity_notification.svg)](https://gemnasium.com/github.com/simukappu/activity_notification)
|
5
|
+
[![Dependency](https://img.shields.io/depfu/simukappu/activity_notification.svg)](https://depfu.com/repos/simukappu/activity_notification)
|
7
6
|
[![Inline docs](http://inch-ci.org/github/simukappu/activity_notification.svg?branch=master)](http://inch-ci.org/github/simukappu/activity_notification)
|
8
|
-
[![Gem Version](https://badge.fury.io/rb/activity_notification.svg)](https://
|
7
|
+
[![Gem Version](https://badge.fury.io/rb/activity_notification.svg)](https://rubygems.org/gems/activity_notification)
|
8
|
+
[![Gem Downloads](https://img.shields.io/gem/dt/activity_notification.svg)](https://rubygems.org/gems/activity_notification)
|
9
9
|
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](MIT-LICENSE)
|
10
10
|
|
11
11
|
*activity_notification* provides integrated user activity notifications for Ruby on Rails. You can easily use it to configure multiple notification targets and make activity notifications with notifiable models, like adding comments, responding etc.
|
@@ -273,7 +273,7 @@ class Comment
|
|
273
273
|
end
|
274
274
|
```
|
275
275
|
|
276
|
-
|
276
|
+
##### Advanced notifiable path
|
277
277
|
|
278
278
|
Sometimes it might be necessary to provide extra information in the *notifiable_path*. In those cases, passing a lambda function to the *notifiable_path* will give you the notifiable object and the notifiable key to play around with:
|
279
279
|
|
@@ -24,16 +24,16 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_dependency 'i18n', '>= 0.5.0'
|
25
25
|
s.add_dependency 'jquery-rails', '>= 3.1.1'
|
26
26
|
|
27
|
-
s.add_development_dependency 'sqlite3', '
|
28
|
-
s.add_development_dependency 'mysql2', '
|
29
|
-
s.add_development_dependency 'pg', '
|
30
|
-
s.add_development_dependency 'mongoid', '>= 4.0.0'
|
31
|
-
s.add_development_dependency 'rspec-rails', '
|
32
|
-
s.add_development_dependency 'factory_bot_rails', '
|
27
|
+
s.add_development_dependency 'sqlite3', '>= 1.3.13'
|
28
|
+
s.add_development_dependency 'mysql2', '>= 0.5.2'
|
29
|
+
s.add_development_dependency 'pg', '>= 1.0.0'
|
30
|
+
s.add_development_dependency 'mongoid', '>= 4.0.0', '< 7.0.0'
|
31
|
+
s.add_development_dependency 'rspec-rails', '>= 3.8.0'
|
32
|
+
s.add_development_dependency 'factory_bot_rails', '>= 4.11.0'
|
33
33
|
s.add_development_dependency 'simplecov', '~> 0'
|
34
|
-
s.add_development_dependency 'yard', '
|
35
|
-
s.add_development_dependency 'yard-activesupport-concern', '
|
36
|
-
s.add_development_dependency 'devise', '
|
34
|
+
s.add_development_dependency 'yard', '>= 0.9.16'
|
35
|
+
s.add_development_dependency 'yard-activesupport-concern', '>= 0.0.1'
|
36
|
+
s.add_development_dependency 'devise', '>= 4.5.0'
|
37
37
|
s.add_development_dependency 'aws-sdk-sns', '~> 1'
|
38
38
|
s.add_development_dependency 'slack-notifier', '>= 1.5.1'
|
39
39
|
end
|
@@ -101,6 +101,15 @@ module ActivityNotification
|
|
101
101
|
# @return [String] Base controller class for notifications_controller.
|
102
102
|
attr_accessor :parent_controller
|
103
103
|
|
104
|
+
# @overload mailer_templates_dir
|
105
|
+
# Returns custom mailer templates directory
|
106
|
+
# @return [String] Custom mailer templates directory.
|
107
|
+
# @overload mailer_templates_dir=(value)
|
108
|
+
# Sets custom mailer templates directory
|
109
|
+
# @param [String] mailer_templates_dir The new custom mailer templates directory
|
110
|
+
# @return [String] Custom mailer templates directory.
|
111
|
+
attr_accessor :mailer_templates_dir
|
112
|
+
|
104
113
|
# @overload opened_index_limit
|
105
114
|
# Returns default limit to query for opened notifications
|
106
115
|
# @return [Integer] Default limit to query for opened notifications.
|
@@ -129,6 +138,7 @@ module ActivityNotification
|
|
129
138
|
@mailer = 'ActivityNotification::Mailer'
|
130
139
|
@parent_mailer = 'ActionMailer::Base'
|
131
140
|
@parent_controller = 'ApplicationController'
|
141
|
+
@mailer_templates_dir = 'activity_notification/mailer'
|
132
142
|
@opened_index_limit = 10
|
133
143
|
@orm = :active_record
|
134
144
|
end
|
@@ -120,8 +120,8 @@ module ActivityNotification
|
|
120
120
|
#
|
121
121
|
# @return [Array<String>] Template paths to find email view
|
122
122
|
def template_paths
|
123
|
-
paths = [
|
124
|
-
paths.unshift("
|
123
|
+
paths = ["#{ActivityNotification.config.mailer_templates_dir}/default"]
|
124
|
+
paths.unshift("#{ActivityNotification.config.mailer_templates_dir}/#{@target.to_resources_name}") if @target.present?
|
125
125
|
paths
|
126
126
|
end
|
127
127
|
|
@@ -166,7 +166,7 @@ module ActivityNotification
|
|
166
166
|
key)
|
167
167
|
unless resolved_parameter
|
168
168
|
begin
|
169
|
-
resolved_parameter = polymorphic_path(self)
|
169
|
+
resolved_parameter = defined?(super) ? super : polymorphic_path(self)
|
170
170
|
rescue NoMethodError, ActionController::UrlGenerationError
|
171
171
|
raise NotImplementedError, "You have to implement #{self.class}##{__method__}, "\
|
172
172
|
"set :notifiable_path in acts_as_notifiable or "\
|
@@ -172,7 +172,7 @@ module ActivityNotification
|
|
172
172
|
# @param [Array] args Arguments of evaluating subscription method
|
173
173
|
# @return [Boolean] If the target subscribes
|
174
174
|
def evaluate_subscription(record, field, default, *args)
|
175
|
-
default ? record.blank? || record.send(field, *args) : record.present? && record.send(field)
|
175
|
+
default ? record.blank? || record.send(field, *args) : record.present? && record.send(field, *args)
|
176
176
|
end
|
177
177
|
|
178
178
|
end
|
@@ -120,14 +120,6 @@ module ActivityNotification
|
|
120
120
|
# @return [ActiveRecord_AssociationRelation<Notificaion>] Database query of filtered notifications
|
121
121
|
scope :filtered_by_instance, ->(notifiable) { where(notifiable: notifiable) }
|
122
122
|
|
123
|
-
# Selects filtered notifications by notifiable_type.
|
124
|
-
# @example Get filtered unopened notificatons of the @user for Comment notifiable class
|
125
|
-
# @notifications = @user.notifications.unopened_only.filtered_by_type('Comment')
|
126
|
-
# @scope class
|
127
|
-
# @param [String] notifiable_type Notifiable type for filter
|
128
|
-
# @return [ActiveRecord_AssociationRelation<Notificaion>] Database query of filtered notifications
|
129
|
-
scope :filtered_by_type, ->(notifiable_type) { where(notifiable_type: notifiable_type) }
|
130
|
-
|
131
123
|
# Selects filtered notifications by group instance.
|
132
124
|
# @example Get filtered unopened notificatons of the @user for @article as group
|
133
125
|
# @notifications = @user.notifications.unopened_only.filtered_by_group(@article)
|
@@ -44,6 +44,9 @@ ActivityNotification.configure do |config|
|
|
44
44
|
# Configure the parent class for activity_notification controllers.
|
45
45
|
# config.parent_controller = 'ApplicationController'
|
46
46
|
|
47
|
+
# Configure the custom mailer templates directory
|
48
|
+
# config.mailer_templates_dir = 'activity_notification/mailer'
|
49
|
+
|
47
50
|
# Configure default limit number of opened notifications you can get from opened* scope
|
48
51
|
config.opened_index_limit = 10
|
49
52
|
|
@@ -51,8 +51,8 @@ shared_examples_for :notification_api do
|
|
51
51
|
end
|
52
52
|
}.to change { ActivityNotification::Mailer.deliveries.size }.by(2)
|
53
53
|
expect(ActivityNotification::Mailer.deliveries.size).to eq(2)
|
54
|
-
expect(ActivityNotification::Mailer.deliveries.first.to[0]).to eq(@
|
55
|
-
expect(ActivityNotification::Mailer.deliveries.last.to[0]).to eq(@
|
54
|
+
expect(ActivityNotification::Mailer.deliveries.first.to[0]).to eq(@author_user.email)
|
55
|
+
expect(ActivityNotification::Mailer.deliveries.last.to[0]).to eq(@user_1.email)
|
56
56
|
end
|
57
57
|
|
58
58
|
it "sends notification email with active job queue" do
|
@@ -66,8 +66,8 @@ shared_examples_for :notification_api do
|
|
66
66
|
it "sends notification email now" do
|
67
67
|
described_class.notify(:users, @comment_2, send_later: false)
|
68
68
|
expect(ActivityNotification::Mailer.deliveries.size).to eq(2)
|
69
|
-
expect(ActivityNotification::Mailer.deliveries.first.to[0]).to eq(@
|
70
|
-
expect(ActivityNotification::Mailer.deliveries.last.to[0]).to eq(@
|
69
|
+
expect(ActivityNotification::Mailer.deliveries.first.to[0]).to eq(@author_user.email)
|
70
|
+
expect(ActivityNotification::Mailer.deliveries.last.to[0]).to eq(@user_1.email)
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
@@ -125,8 +125,8 @@ shared_examples_for :notification_api do
|
|
125
125
|
end
|
126
126
|
}.to change { ActivityNotification::Mailer.deliveries.size }.by(2)
|
127
127
|
expect(ActivityNotification::Mailer.deliveries.size).to eq(2)
|
128
|
-
expect(ActivityNotification::Mailer.deliveries.first.to[0]).to eq(@
|
129
|
-
expect(ActivityNotification::Mailer.deliveries.last.to[0]).to eq(@
|
128
|
+
expect(ActivityNotification::Mailer.deliveries.first.to[0]).to eq(@author_user.email)
|
129
|
+
expect(ActivityNotification::Mailer.deliveries.last.to[0]).to eq(@user_1.email)
|
130
130
|
end
|
131
131
|
|
132
132
|
it "sends notification email with active job queue" do
|
@@ -140,8 +140,8 @@ shared_examples_for :notification_api do
|
|
140
140
|
it "sends notification email now" do
|
141
141
|
described_class.notify_all([@author_user, @user_1], @comment_2, send_later: false)
|
142
142
|
expect(ActivityNotification::Mailer.deliveries.size).to eq(2)
|
143
|
-
expect(ActivityNotification::Mailer.deliveries.first.to[0]).to eq(@
|
144
|
-
expect(ActivityNotification::Mailer.deliveries.last.to[0]).to eq(@
|
143
|
+
expect(ActivityNotification::Mailer.deliveries.first.to[0]).to eq(@author_user.email)
|
144
|
+
expect(ActivityNotification::Mailer.deliveries.last.to[0]).to eq(@user_1.email)
|
145
145
|
end
|
146
146
|
end
|
147
147
|
end
|
@@ -1,8 +1,8 @@
|
|
1
1
|
FactoryBot.define do
|
2
2
|
factory :subscription, class: ActivityNotification::Subscription do
|
3
3
|
association :target, factory: :confirmed_user
|
4
|
-
key "default.default"
|
5
|
-
subscribed_at Time.current
|
6
|
-
subscribed_to_email_at Time.current
|
4
|
+
key { "default.default" }
|
5
|
+
subscribed_at { Time.current }
|
6
|
+
subscribed_to_email_at { Time.current }
|
7
7
|
end
|
8
8
|
end
|
data/spec/factories/users.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
FactoryBot.define do
|
2
2
|
factory :user do
|
3
|
-
email Array.new(10){[*"A".."Z", *"0".."9"].sample}.join + '@example.com'
|
4
|
-
password "password"
|
5
|
-
password_confirmation "password"
|
3
|
+
email { Array.new(10){[*"A".."Z", *"0".."9"].sample}.join + '@example.com' }
|
4
|
+
password { "password" }
|
5
|
+
password_confirmation { "password" }
|
6
6
|
end
|
7
7
|
|
8
8
|
factory :confirmed_user, parent: :user do
|
@@ -44,6 +44,9 @@ ActivityNotification.configure do |config|
|
|
44
44
|
# Configure the parent class for activity_notification controllers.
|
45
45
|
# config.parent_controller = 'ApplicationController'
|
46
46
|
|
47
|
+
# Configure the custom mailer templates directory
|
48
|
+
# config.mailer_templates_dir = 'activity_notification/mailer'
|
49
|
+
|
47
50
|
# Configure default limit number of opened notifications you can get from opened* scope
|
48
51
|
config.opened_index_limit = 10
|
49
52
|
|
@@ -6,12 +6,14 @@ class ActivityNotification::MailerPreview < ActionMailer::Preview
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def send_notification_email_with_group
|
9
|
-
target_notification = ActivityNotification
|
9
|
+
target_notification = ActivityNotification.config.orm == :active_record ?
|
10
|
+
ActivityNotification::Notification.where.not(group: nil).first :
|
11
|
+
ActivityNotification::Notification.where(:group_id.nin => ["", nil]).first
|
10
12
|
ActivityNotification::Mailer.send_notification_email(target_notification)
|
11
13
|
end
|
12
14
|
|
13
15
|
def send_batch_notification_email
|
14
|
-
target = User.
|
16
|
+
target = User.find_by(name: 'Ichiro')
|
15
17
|
target_notifications = target.notification_index_with_attributes(filtered_by_key: 'comment.default')
|
16
18
|
ActivityNotification::Mailer.send_batch_notification_email(target, target_notifications, 'batch.comment.default')
|
17
19
|
end
|
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: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shota Yamazaki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -62,42 +62,42 @@ dependencies:
|
|
62
62
|
name: sqlite3
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- - "
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: 1.3.13
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- - "
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 1.3.13
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: mysql2
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - "
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 0.5.
|
81
|
+
version: 0.5.2
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- - "
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.5.
|
88
|
+
version: 0.5.2
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: pg
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
|
-
- - "
|
93
|
+
- - ">="
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: 1.0.0
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
|
-
- - "
|
100
|
+
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: 1.0.0
|
103
103
|
- !ruby/object:Gem::Dependency
|
@@ -107,6 +107,9 @@ dependencies:
|
|
107
107
|
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: 4.0.0
|
110
|
+
- - "<"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 7.0.0
|
110
113
|
type: :development
|
111
114
|
prerelease: false
|
112
115
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -114,34 +117,37 @@ dependencies:
|
|
114
117
|
- - ">="
|
115
118
|
- !ruby/object:Gem::Version
|
116
119
|
version: 4.0.0
|
120
|
+
- - "<"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 7.0.0
|
117
123
|
- !ruby/object:Gem::Dependency
|
118
124
|
name: rspec-rails
|
119
125
|
requirement: !ruby/object:Gem::Requirement
|
120
126
|
requirements:
|
121
|
-
- - "
|
127
|
+
- - ">="
|
122
128
|
- !ruby/object:Gem::Version
|
123
|
-
version: 3.
|
129
|
+
version: 3.8.0
|
124
130
|
type: :development
|
125
131
|
prerelease: false
|
126
132
|
version_requirements: !ruby/object:Gem::Requirement
|
127
133
|
requirements:
|
128
|
-
- - "
|
134
|
+
- - ">="
|
129
135
|
- !ruby/object:Gem::Version
|
130
|
-
version: 3.
|
136
|
+
version: 3.8.0
|
131
137
|
- !ruby/object:Gem::Dependency
|
132
138
|
name: factory_bot_rails
|
133
139
|
requirement: !ruby/object:Gem::Requirement
|
134
140
|
requirements:
|
135
|
-
- - "
|
141
|
+
- - ">="
|
136
142
|
- !ruby/object:Gem::Version
|
137
|
-
version: 4.
|
143
|
+
version: 4.11.0
|
138
144
|
type: :development
|
139
145
|
prerelease: false
|
140
146
|
version_requirements: !ruby/object:Gem::Requirement
|
141
147
|
requirements:
|
142
|
-
- - "
|
148
|
+
- - ">="
|
143
149
|
- !ruby/object:Gem::Version
|
144
|
-
version: 4.
|
150
|
+
version: 4.11.0
|
145
151
|
- !ruby/object:Gem::Dependency
|
146
152
|
name: simplecov
|
147
153
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,44 +166,44 @@ dependencies:
|
|
160
166
|
name: yard
|
161
167
|
requirement: !ruby/object:Gem::Requirement
|
162
168
|
requirements:
|
163
|
-
- - "
|
169
|
+
- - ">="
|
164
170
|
- !ruby/object:Gem::Version
|
165
|
-
version: 0.9.
|
171
|
+
version: 0.9.16
|
166
172
|
type: :development
|
167
173
|
prerelease: false
|
168
174
|
version_requirements: !ruby/object:Gem::Requirement
|
169
175
|
requirements:
|
170
|
-
- - "
|
176
|
+
- - ">="
|
171
177
|
- !ruby/object:Gem::Version
|
172
|
-
version: 0.9.
|
178
|
+
version: 0.9.16
|
173
179
|
- !ruby/object:Gem::Dependency
|
174
180
|
name: yard-activesupport-concern
|
175
181
|
requirement: !ruby/object:Gem::Requirement
|
176
182
|
requirements:
|
177
|
-
- - "
|
183
|
+
- - ">="
|
178
184
|
- !ruby/object:Gem::Version
|
179
185
|
version: 0.0.1
|
180
186
|
type: :development
|
181
187
|
prerelease: false
|
182
188
|
version_requirements: !ruby/object:Gem::Requirement
|
183
189
|
requirements:
|
184
|
-
- - "
|
190
|
+
- - ">="
|
185
191
|
- !ruby/object:Gem::Version
|
186
192
|
version: 0.0.1
|
187
193
|
- !ruby/object:Gem::Dependency
|
188
194
|
name: devise
|
189
195
|
requirement: !ruby/object:Gem::Requirement
|
190
196
|
requirements:
|
191
|
-
- - "
|
197
|
+
- - ">="
|
192
198
|
- !ruby/object:Gem::Version
|
193
|
-
version: 4.
|
199
|
+
version: 4.5.0
|
194
200
|
type: :development
|
195
201
|
prerelease: false
|
196
202
|
version_requirements: !ruby/object:Gem::Requirement
|
197
203
|
requirements:
|
198
|
-
- - "
|
204
|
+
- - ">="
|
199
205
|
- !ruby/object:Gem::Version
|
200
|
-
version: 4.
|
206
|
+
version: 4.5.0
|
201
207
|
- !ruby/object:Gem::Dependency
|
202
208
|
name: aws-sdk-sns
|
203
209
|
requirement: !ruby/object:Gem::Requirement
|
@@ -244,7 +250,6 @@ files:
|
|
244
250
|
- ".yardopts"
|
245
251
|
- CHANGELOG.md
|
246
252
|
- Gemfile
|
247
|
-
- Gemfile.lock
|
248
253
|
- MIT-LICENSE
|
249
254
|
- README.md
|
250
255
|
- Rakefile
|
@@ -283,13 +288,9 @@ files:
|
|
283
288
|
- app/views/activity_notification/subscriptions/default/unsubscribe_to_email.js.erb
|
284
289
|
- app/views/activity_notification/subscriptions/default/unsubscribe_to_optional_target.js.erb
|
285
290
|
- gemfiles/Gemfile.rails-4.2
|
286
|
-
- gemfiles/Gemfile.rails-4.2.lock
|
287
291
|
- gemfiles/Gemfile.rails-5.0
|
288
|
-
- gemfiles/Gemfile.rails-5.0.lock
|
289
292
|
- gemfiles/Gemfile.rails-5.1
|
290
|
-
- gemfiles/Gemfile.rails-5.1.lock
|
291
293
|
- gemfiles/Gemfile.rails-5.2
|
292
|
-
- gemfiles/Gemfile.rails-5.2.lock
|
293
294
|
- lib/activity_notification.rb
|
294
295
|
- lib/activity_notification/apis/notification_api.rb
|
295
296
|
- lib/activity_notification/apis/subscription_api.rb
|