activity_notification 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -5
- data/CHANGELOG.md +13 -2
- data/Gemfile +1 -1
- data/Gemfile.lock +78 -71
- data/README.md +64 -43
- data/activity_notification.gemspec +5 -4
- data/app/controllers/activity_notification/notifications_controller.rb +1 -1
- data/app/controllers/activity_notification/subscriptions_controller.rb +1 -1
- data/gemfiles/Gemfile.rails-4.2 +1 -1
- data/gemfiles/Gemfile.rails-4.2.lock +71 -62
- data/gemfiles/Gemfile.rails-5.0 +1 -1
- data/gemfiles/Gemfile.rails-5.0.lock +74 -67
- data/lib/activity_notification.rb +9 -2
- data/lib/activity_notification/apis/notification_api.rb +142 -76
- data/lib/activity_notification/apis/subscription_api.rb +72 -0
- data/lib/activity_notification/config.rb +12 -0
- data/lib/activity_notification/models/concerns/notifiable.rb +56 -6
- data/lib/activity_notification/models/concerns/notifier.rb +8 -1
- data/lib/activity_notification/models/concerns/subscriber.rb +13 -10
- data/lib/activity_notification/models/concerns/target.rb +7 -5
- data/lib/activity_notification/models/notification.rb +2 -270
- data/lib/activity_notification/models/subscription.rb +3 -101
- data/lib/activity_notification/optional_targets/base.rb +5 -1
- data/lib/activity_notification/orm/active_record.rb +16 -0
- data/lib/activity_notification/orm/active_record/notification.rb +252 -0
- data/lib/activity_notification/orm/active_record/subscription.rb +52 -0
- data/lib/activity_notification/orm/mongoid.rb +63 -0
- data/lib/activity_notification/orm/mongoid/notification.rb +255 -0
- data/lib/activity_notification/orm/mongoid/subscription.rb +73 -0
- data/lib/activity_notification/rails/routes.rb +7 -3
- data/lib/activity_notification/renderable.rb +5 -1
- data/lib/activity_notification/roles/acts_as_notifiable.rb +4 -18
- data/lib/activity_notification/version.rb +1 -1
- data/lib/generators/activity_notification/install_generator.rb +3 -5
- data/lib/generators/templates/activity_notification.rb +9 -4
- data/spec/concerns/apis/notification_api_spec.rb +27 -14
- data/spec/concerns/models/notifiable_spec.rb +10 -8
- data/spec/concerns/models/subscriber_spec.rb +12 -12
- data/spec/concerns/models/target_spec.rb +61 -51
- data/spec/controllers/subscriptions_controller_shared_examples.rb +0 -1
- data/spec/helpers/view_helpers_spec.rb +24 -7
- data/spec/models/notification_spec.rb +63 -52
- data/spec/models/subscription_spec.rb +6 -3
- data/spec/optional_targets/amazon_sns_spec.rb +8 -5
- data/spec/optional_targets/base_spec.rb +3 -1
- data/spec/optional_targets/slack_spec.rb +5 -5
- data/spec/rails_app/app/models/comment.rb +1 -1
- data/spec/rails_app/app/views/activity_notification/notifications/users/overriden/custom/_test.html.erb +1 -0
- data/spec/rails_app/config/application.rb +7 -0
- data/spec/rails_app/config/initializers/activity_notification.rb +5 -0
- data/spec/rails_app/config/mongoid.yml +13 -0
- data/spec/rails_app/db/seeds.rb +1 -1
- data/spec/rails_app/lib/custom_optional_targets/console_output.rb +7 -4
- data/spec/rails_app/lib/custom_optional_targets/wrong_target.rb +3 -0
- data/spec/roles/acts_as_notifiable_spec.rb +77 -16
- data/spec/spec_helper.rb +7 -0
- metadata +38 -14
@@ -21,17 +21,18 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.required_ruby_version = '>= 2.1.0'
|
22
22
|
|
23
23
|
s.add_dependency 'railties', '>= 4.2.0', '< 5.1'
|
24
|
-
s.add_dependency 'i18n', '>= 0.5.0'
|
25
24
|
s.add_dependency 'activerecord', '>= 4.2.0'
|
25
|
+
s.add_dependency 'i18n', '>= 0.5.0'
|
26
26
|
s.add_dependency 'jquery-rails', '>= 3.1.1'
|
27
27
|
|
28
|
+
s.add_development_dependency 'mongoid', '>= 4.0.0'
|
28
29
|
s.add_development_dependency 'sqlite3', '~> 1.3.13'
|
29
30
|
s.add_development_dependency 'rspec-rails', '~> 3.5.1'
|
30
31
|
s.add_development_dependency 'factory_girl_rails', '~> 4.8.0'
|
31
|
-
s.add_development_dependency 'simplecov', '~> 0.
|
32
|
-
s.add_development_dependency 'yard', '~> 0.9.
|
32
|
+
s.add_development_dependency 'simplecov', '~> 0.14.1'
|
33
|
+
s.add_development_dependency 'yard', '~> 0.9.8'
|
33
34
|
s.add_development_dependency 'yard-activesupport-concern', '~> 0.0.1'
|
34
|
-
s.add_development_dependency 'devise', '~> 4.2.
|
35
|
+
s.add_development_dependency 'devise', '~> 4.2.1'
|
35
36
|
s.add_development_dependency 'aws-sdk', '~> 2'
|
36
37
|
s.add_development_dependency 'slack-notifier', '>= 1.5.1'
|
37
38
|
end
|
@@ -123,7 +123,7 @@ module ActivityNotification
|
|
123
123
|
# @api protected
|
124
124
|
# @return [Object] Notification instance (Returns HTTP 403 when the target of notification is different from specified target by request parameter)
|
125
125
|
def set_notification
|
126
|
-
validate_target(@notification = Notification.
|
126
|
+
validate_target(@notification = Notification.with_target.find(params[:id]))
|
127
127
|
end
|
128
128
|
|
129
129
|
# Sets options to load notification index from request parameters.
|
@@ -171,7 +171,7 @@ module ActivityNotification
|
|
171
171
|
# @api protected
|
172
172
|
# @return [Object] Subscription instance (Returns HTTP 403 when the target of subscription is different from specified target by request parameter)
|
173
173
|
def set_subscription
|
174
|
-
validate_target(@subscription = Subscription.
|
174
|
+
validate_target(@subscription = Subscription.with_target.find(params[:id]))
|
175
175
|
end
|
176
176
|
|
177
177
|
# Only allow a trusted parameter "white list" through.
|
data/gemfiles/Gemfile.rails-4.2
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ..
|
3
3
|
specs:
|
4
|
-
activity_notification (1.
|
4
|
+
activity_notification (1.3.0)
|
5
5
|
activerecord (>= 4.2.0)
|
6
6
|
i18n (>= 0.5.0)
|
7
7
|
jquery-rails (>= 3.1.1)
|
@@ -10,38 +10,37 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actionmailer (4.2.
|
14
|
-
actionpack (= 4.2.
|
15
|
-
actionview (= 4.2.
|
16
|
-
activejob (= 4.2.
|
13
|
+
actionmailer (4.2.8)
|
14
|
+
actionpack (= 4.2.8)
|
15
|
+
actionview (= 4.2.8)
|
16
|
+
activejob (= 4.2.8)
|
17
17
|
mail (~> 2.5, >= 2.5.4)
|
18
18
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
19
|
-
actionpack (4.2.
|
20
|
-
actionview (= 4.2.
|
21
|
-
activesupport (= 4.2.
|
19
|
+
actionpack (4.2.8)
|
20
|
+
actionview (= 4.2.8)
|
21
|
+
activesupport (= 4.2.8)
|
22
22
|
rack (~> 1.6)
|
23
23
|
rack-test (~> 0.6.2)
|
24
24
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
25
25
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
26
|
-
actionview (4.2.
|
27
|
-
activesupport (= 4.2.
|
26
|
+
actionview (4.2.8)
|
27
|
+
activesupport (= 4.2.8)
|
28
28
|
builder (~> 3.1)
|
29
29
|
erubis (~> 2.7.0)
|
30
30
|
rails-dom-testing (~> 1.0, >= 1.0.5)
|
31
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
32
|
-
activejob (4.2.
|
33
|
-
activesupport (= 4.2.
|
31
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
32
|
+
activejob (4.2.8)
|
33
|
+
activesupport (= 4.2.8)
|
34
34
|
globalid (>= 0.3.0)
|
35
|
-
activemodel (4.2.
|
36
|
-
activesupport (= 4.2.
|
35
|
+
activemodel (4.2.8)
|
36
|
+
activesupport (= 4.2.8)
|
37
37
|
builder (~> 3.1)
|
38
|
-
activerecord (4.2.
|
39
|
-
activemodel (= 4.2.
|
40
|
-
activesupport (= 4.2.
|
38
|
+
activerecord (4.2.8)
|
39
|
+
activemodel (= 4.2.8)
|
40
|
+
activesupport (= 4.2.8)
|
41
41
|
arel (~> 6.0)
|
42
|
-
activesupport (4.2.
|
42
|
+
activesupport (4.2.8)
|
43
43
|
i18n (~> 0.7)
|
44
|
-
json (~> 1.7, >= 1.7.7)
|
45
44
|
minitest (~> 5.1)
|
46
45
|
thread_safe (~> 0.3, >= 0.3.4)
|
47
46
|
tzinfo (~> 1.1)
|
@@ -50,30 +49,31 @@ GEM
|
|
50
49
|
railties (>= 3.0)
|
51
50
|
rspec-rails (>= 2.2)
|
52
51
|
arel (6.0.4)
|
53
|
-
aws-sdk (2.
|
54
|
-
aws-sdk-resources (= 2.
|
55
|
-
aws-sdk-core (2.
|
52
|
+
aws-sdk (2.9.1)
|
53
|
+
aws-sdk-resources (= 2.9.1)
|
54
|
+
aws-sdk-core (2.9.1)
|
56
55
|
aws-sigv4 (~> 1.0)
|
57
56
|
jmespath (~> 1.0)
|
58
|
-
aws-sdk-resources (2.
|
59
|
-
aws-sdk-core (= 2.
|
57
|
+
aws-sdk-resources (2.9.1)
|
58
|
+
aws-sdk-core (= 2.9.1)
|
60
59
|
aws-sigv4 (1.0.0)
|
61
60
|
bcrypt (3.1.11)
|
62
|
-
|
63
|
-
|
64
|
-
|
61
|
+
bson (4.2.1)
|
62
|
+
builder (3.2.3)
|
63
|
+
concurrent-ruby (1.0.5)
|
64
|
+
coveralls (0.8.20)
|
65
65
|
json (>= 1.8, < 3)
|
66
|
-
simplecov (~> 0.
|
66
|
+
simplecov (~> 0.14.1)
|
67
67
|
term-ansicolor (~> 1.3)
|
68
|
-
thor (~> 0.19.
|
68
|
+
thor (~> 0.19.4)
|
69
69
|
tins (~> 1.6)
|
70
|
-
devise (4.2.
|
70
|
+
devise (4.2.1)
|
71
71
|
bcrypt (~> 3.0)
|
72
72
|
orm_adapter (~> 0.1)
|
73
73
|
railties (>= 4.1.0, < 5.1)
|
74
74
|
responders
|
75
75
|
warden (~> 1.2.3)
|
76
|
-
diff-lcs (1.
|
76
|
+
diff-lcs (1.3)
|
77
77
|
docile (1.1.5)
|
78
78
|
erubis (2.7.0)
|
79
79
|
factory_girl (4.8.0)
|
@@ -83,13 +83,13 @@ GEM
|
|
83
83
|
railties (>= 3.0.0)
|
84
84
|
globalid (0.3.7)
|
85
85
|
activesupport (>= 4.1.0)
|
86
|
-
i18n (0.
|
86
|
+
i18n (0.8.1)
|
87
87
|
jmespath (1.3.1)
|
88
|
-
jquery-rails (4.
|
88
|
+
jquery-rails (4.3.1)
|
89
89
|
rails-dom-testing (>= 1, < 3)
|
90
90
|
railties (>= 4.2.0)
|
91
91
|
thor (>= 0.14, < 2.0)
|
92
|
-
json (
|
92
|
+
json (2.0.3)
|
93
93
|
loofah (2.0.3)
|
94
94
|
nokogiri (>= 1.5.9)
|
95
95
|
mail (2.6.4)
|
@@ -99,22 +99,30 @@ GEM
|
|
99
99
|
mime-types-data (3.2016.0521)
|
100
100
|
mini_portile2 (2.1.0)
|
101
101
|
minitest (5.10.1)
|
102
|
-
|
102
|
+
mongo (2.4.1)
|
103
|
+
bson (>= 4.2.1, < 5.0.0)
|
104
|
+
mongoid (5.2.0)
|
105
|
+
activemodel (~> 4.0)
|
106
|
+
mongo (>= 2.4.1, < 3.0.0)
|
107
|
+
origin (~> 2.3)
|
108
|
+
tzinfo (>= 0.3.37)
|
109
|
+
nokogiri (1.7.1)
|
103
110
|
mini_portile2 (~> 2.1.0)
|
111
|
+
origin (2.3.0)
|
104
112
|
orm_adapter (0.5.0)
|
105
113
|
rack (1.6.5)
|
106
114
|
rack-test (0.6.3)
|
107
115
|
rack (>= 1.0)
|
108
|
-
rails (4.2.
|
109
|
-
actionmailer (= 4.2.
|
110
|
-
actionpack (= 4.2.
|
111
|
-
actionview (= 4.2.
|
112
|
-
activejob (= 4.2.
|
113
|
-
activemodel (= 4.2.
|
114
|
-
activerecord (= 4.2.
|
115
|
-
activesupport (= 4.2.
|
116
|
+
rails (4.2.8)
|
117
|
+
actionmailer (= 4.2.8)
|
118
|
+
actionpack (= 4.2.8)
|
119
|
+
actionview (= 4.2.8)
|
120
|
+
activejob (= 4.2.8)
|
121
|
+
activemodel (= 4.2.8)
|
122
|
+
activerecord (= 4.2.8)
|
123
|
+
activesupport (= 4.2.8)
|
116
124
|
bundler (>= 1.3.0, < 2.0)
|
117
|
-
railties (= 4.2.
|
125
|
+
railties (= 4.2.8)
|
118
126
|
sprockets-rails
|
119
127
|
rails-deprecated_sanitizer (1.0.3)
|
120
128
|
activesupport (>= 4.2.0.alpha)
|
@@ -124,9 +132,9 @@ GEM
|
|
124
132
|
rails-deprecated_sanitizer (>= 1.0.1)
|
125
133
|
rails-html-sanitizer (1.0.3)
|
126
134
|
loofah (~> 2.0)
|
127
|
-
railties (4.2.
|
128
|
-
actionpack (= 4.2.
|
129
|
-
activesupport (= 4.2.
|
135
|
+
railties (4.2.8)
|
136
|
+
actionpack (= 4.2.8)
|
137
|
+
activesupport (= 4.2.8)
|
130
138
|
rake (>= 0.8.7)
|
131
139
|
thor (>= 0.18.1, < 2.0)
|
132
140
|
rake (12.0.0)
|
@@ -149,12 +157,12 @@ GEM
|
|
149
157
|
rspec-mocks (~> 3.5.0)
|
150
158
|
rspec-support (~> 3.5.0)
|
151
159
|
rspec-support (3.5.0)
|
152
|
-
simplecov (0.
|
160
|
+
simplecov (0.14.1)
|
153
161
|
docile (~> 1.1.0)
|
154
162
|
json (>= 1.8, < 3)
|
155
163
|
simplecov-html (~> 0.10.0)
|
156
164
|
simplecov-html (0.10.0)
|
157
|
-
slack-notifier (2.
|
165
|
+
slack-notifier (2.1.0)
|
158
166
|
sprockets (3.7.1)
|
159
167
|
concurrent-ruby (~> 1.0)
|
160
168
|
rack (> 1, < 3)
|
@@ -163,17 +171,17 @@ GEM
|
|
163
171
|
activesupport (>= 4.0)
|
164
172
|
sprockets (>= 3.0.0)
|
165
173
|
sqlite3 (1.3.13)
|
166
|
-
term-ansicolor (1.
|
174
|
+
term-ansicolor (1.5.0)
|
167
175
|
tins (~> 1.0)
|
168
176
|
thor (0.19.4)
|
169
|
-
thread_safe (0.3.
|
177
|
+
thread_safe (0.3.6)
|
170
178
|
timecop (0.8.1)
|
171
|
-
tins (1.13.
|
172
|
-
tzinfo (1.2.
|
179
|
+
tins (1.13.2)
|
180
|
+
tzinfo (1.2.3)
|
173
181
|
thread_safe (~> 0.1)
|
174
|
-
warden (1.2.
|
182
|
+
warden (1.2.7)
|
175
183
|
rack (>= 1.0)
|
176
|
-
yard (0.9.
|
184
|
+
yard (0.9.8)
|
177
185
|
yard-activesupport-concern (0.0.1)
|
178
186
|
yard (>= 0.8)
|
179
187
|
|
@@ -185,16 +193,17 @@ DEPENDENCIES
|
|
185
193
|
ammeter
|
186
194
|
aws-sdk (~> 2)
|
187
195
|
coveralls
|
188
|
-
devise (~> 4.2.
|
196
|
+
devise (~> 4.2.1)
|
189
197
|
factory_girl_rails (~> 4.8.0)
|
190
|
-
|
198
|
+
mongoid (>= 4.0.0)
|
199
|
+
rails (~> 4.2)
|
191
200
|
rspec-rails (~> 3.5.1)
|
192
|
-
simplecov (~> 0.
|
201
|
+
simplecov (~> 0.14.1)
|
193
202
|
slack-notifier (>= 1.5.1)
|
194
203
|
sqlite3 (~> 1.3.13)
|
195
204
|
timecop
|
196
|
-
yard (~> 0.9.
|
205
|
+
yard (~> 0.9.8)
|
197
206
|
yard-activesupport-concern (~> 0.0.1)
|
198
207
|
|
199
208
|
BUNDLED WITH
|
200
|
-
1.
|
209
|
+
1.14.6
|
data/gemfiles/Gemfile.rails-5.0
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ..
|
3
3
|
specs:
|
4
|
-
activity_notification (1.
|
4
|
+
activity_notification (1.3.0)
|
5
5
|
activerecord (>= 4.2.0)
|
6
6
|
i18n (>= 0.5.0)
|
7
7
|
jquery-rails (>= 3.1.1)
|
@@ -10,39 +10,39 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actioncable (5.0.
|
14
|
-
actionpack (= 5.0.
|
15
|
-
nio4r (
|
13
|
+
actioncable (5.0.2)
|
14
|
+
actionpack (= 5.0.2)
|
15
|
+
nio4r (>= 1.2, < 3.0)
|
16
16
|
websocket-driver (~> 0.6.1)
|
17
|
-
actionmailer (5.0.
|
18
|
-
actionpack (= 5.0.
|
19
|
-
actionview (= 5.0.
|
20
|
-
activejob (= 5.0.
|
17
|
+
actionmailer (5.0.2)
|
18
|
+
actionpack (= 5.0.2)
|
19
|
+
actionview (= 5.0.2)
|
20
|
+
activejob (= 5.0.2)
|
21
21
|
mail (~> 2.5, >= 2.5.4)
|
22
22
|
rails-dom-testing (~> 2.0)
|
23
|
-
actionpack (5.0.
|
24
|
-
actionview (= 5.0.
|
25
|
-
activesupport (= 5.0.
|
23
|
+
actionpack (5.0.2)
|
24
|
+
actionview (= 5.0.2)
|
25
|
+
activesupport (= 5.0.2)
|
26
26
|
rack (~> 2.0)
|
27
27
|
rack-test (~> 0.6.3)
|
28
28
|
rails-dom-testing (~> 2.0)
|
29
29
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
30
|
-
actionview (5.0.
|
31
|
-
activesupport (= 5.0.
|
30
|
+
actionview (5.0.2)
|
31
|
+
activesupport (= 5.0.2)
|
32
32
|
builder (~> 3.1)
|
33
33
|
erubis (~> 2.7.0)
|
34
34
|
rails-dom-testing (~> 2.0)
|
35
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
36
|
-
activejob (5.0.
|
37
|
-
activesupport (= 5.0.
|
35
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
36
|
+
activejob (5.0.2)
|
37
|
+
activesupport (= 5.0.2)
|
38
38
|
globalid (>= 0.3.6)
|
39
|
-
activemodel (5.0.
|
40
|
-
activesupport (= 5.0.
|
41
|
-
activerecord (5.0.
|
42
|
-
activemodel (= 5.0.
|
43
|
-
activesupport (= 5.0.
|
39
|
+
activemodel (5.0.2)
|
40
|
+
activesupport (= 5.0.2)
|
41
|
+
activerecord (5.0.2)
|
42
|
+
activemodel (= 5.0.2)
|
43
|
+
activesupport (= 5.0.2)
|
44
44
|
arel (~> 7.0)
|
45
|
-
activesupport (5.0.
|
45
|
+
activesupport (5.0.2)
|
46
46
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
47
47
|
i18n (~> 0.7)
|
48
48
|
minitest (~> 5.1)
|
@@ -52,30 +52,31 @@ GEM
|
|
52
52
|
railties (>= 3.0)
|
53
53
|
rspec-rails (>= 2.2)
|
54
54
|
arel (7.1.4)
|
55
|
-
aws-sdk (2.
|
56
|
-
aws-sdk-resources (= 2.
|
57
|
-
aws-sdk-core (2.
|
55
|
+
aws-sdk (2.9.1)
|
56
|
+
aws-sdk-resources (= 2.9.1)
|
57
|
+
aws-sdk-core (2.9.1)
|
58
58
|
aws-sigv4 (~> 1.0)
|
59
59
|
jmespath (~> 1.0)
|
60
|
-
aws-sdk-resources (2.
|
61
|
-
aws-sdk-core (= 2.
|
60
|
+
aws-sdk-resources (2.9.1)
|
61
|
+
aws-sdk-core (= 2.9.1)
|
62
62
|
aws-sigv4 (1.0.0)
|
63
63
|
bcrypt (3.1.11)
|
64
|
-
|
65
|
-
|
66
|
-
|
64
|
+
bson (4.2.1)
|
65
|
+
builder (3.2.3)
|
66
|
+
concurrent-ruby (1.0.5)
|
67
|
+
coveralls (0.8.20)
|
67
68
|
json (>= 1.8, < 3)
|
68
|
-
simplecov (~> 0.
|
69
|
+
simplecov (~> 0.14.1)
|
69
70
|
term-ansicolor (~> 1.3)
|
70
|
-
thor (~> 0.19.
|
71
|
+
thor (~> 0.19.4)
|
71
72
|
tins (~> 1.6)
|
72
|
-
devise (4.2.
|
73
|
+
devise (4.2.1)
|
73
74
|
bcrypt (~> 3.0)
|
74
75
|
orm_adapter (~> 0.1)
|
75
76
|
railties (>= 4.1.0, < 5.1)
|
76
77
|
responders
|
77
78
|
warden (~> 1.2.3)
|
78
|
-
diff-lcs (1.
|
79
|
+
diff-lcs (1.3)
|
79
80
|
docile (1.1.5)
|
80
81
|
erubis (2.7.0)
|
81
82
|
factory_girl (4.8.0)
|
@@ -85,13 +86,13 @@ GEM
|
|
85
86
|
railties (>= 3.0.0)
|
86
87
|
globalid (0.3.7)
|
87
88
|
activesupport (>= 4.1.0)
|
88
|
-
i18n (0.
|
89
|
+
i18n (0.8.1)
|
89
90
|
jmespath (1.3.1)
|
90
|
-
jquery-rails (4.
|
91
|
+
jquery-rails (4.3.1)
|
91
92
|
rails-dom-testing (>= 1, < 3)
|
92
93
|
railties (>= 4.2.0)
|
93
94
|
thor (>= 0.14, < 2.0)
|
94
|
-
json (2.0.
|
95
|
+
json (2.0.3)
|
95
96
|
loofah (2.0.3)
|
96
97
|
nokogiri (>= 1.5.9)
|
97
98
|
mail (2.6.4)
|
@@ -102,24 +103,29 @@ GEM
|
|
102
103
|
mime-types-data (3.2016.0521)
|
103
104
|
mini_portile2 (2.1.0)
|
104
105
|
minitest (5.10.1)
|
105
|
-
|
106
|
-
|
106
|
+
mongo (2.4.1)
|
107
|
+
bson (>= 4.2.1, < 5.0.0)
|
108
|
+
mongoid (6.1.0)
|
109
|
+
activemodel (~> 5.0)
|
110
|
+
mongo (>= 2.4.1, < 3.0.0)
|
111
|
+
nio4r (2.0.0)
|
112
|
+
nokogiri (1.7.1)
|
107
113
|
mini_portile2 (~> 2.1.0)
|
108
114
|
orm_adapter (0.5.0)
|
109
115
|
rack (2.0.1)
|
110
116
|
rack-test (0.6.3)
|
111
117
|
rack (>= 1.0)
|
112
|
-
rails (5.0.
|
113
|
-
actioncable (= 5.0.
|
114
|
-
actionmailer (= 5.0.
|
115
|
-
actionpack (= 5.0.
|
116
|
-
actionview (= 5.0.
|
117
|
-
activejob (= 5.0.
|
118
|
-
activemodel (= 5.0.
|
119
|
-
activerecord (= 5.0.
|
120
|
-
activesupport (= 5.0.
|
118
|
+
rails (5.0.2)
|
119
|
+
actioncable (= 5.0.2)
|
120
|
+
actionmailer (= 5.0.2)
|
121
|
+
actionpack (= 5.0.2)
|
122
|
+
actionview (= 5.0.2)
|
123
|
+
activejob (= 5.0.2)
|
124
|
+
activemodel (= 5.0.2)
|
125
|
+
activerecord (= 5.0.2)
|
126
|
+
activesupport (= 5.0.2)
|
121
127
|
bundler (>= 1.3.0, < 2.0)
|
122
|
-
railties (= 5.0.
|
128
|
+
railties (= 5.0.2)
|
123
129
|
sprockets-rails (>= 2.0.0)
|
124
130
|
rails-controller-testing (1.0.1)
|
125
131
|
actionpack (~> 5.x)
|
@@ -130,9 +136,9 @@ GEM
|
|
130
136
|
nokogiri (~> 1.6)
|
131
137
|
rails-html-sanitizer (1.0.3)
|
132
138
|
loofah (~> 2.0)
|
133
|
-
railties (5.0.
|
134
|
-
actionpack (= 5.0.
|
135
|
-
activesupport (= 5.0.
|
139
|
+
railties (5.0.2)
|
140
|
+
actionpack (= 5.0.2)
|
141
|
+
activesupport (= 5.0.2)
|
136
142
|
method_source
|
137
143
|
rake (>= 0.8.7)
|
138
144
|
thor (>= 0.18.1, < 2.0)
|
@@ -156,12 +162,12 @@ GEM
|
|
156
162
|
rspec-mocks (~> 3.5.0)
|
157
163
|
rspec-support (~> 3.5.0)
|
158
164
|
rspec-support (3.5.0)
|
159
|
-
simplecov (0.
|
165
|
+
simplecov (0.14.1)
|
160
166
|
docile (~> 1.1.0)
|
161
167
|
json (>= 1.8, < 3)
|
162
168
|
simplecov-html (~> 0.10.0)
|
163
169
|
simplecov-html (0.10.0)
|
164
|
-
slack-notifier (2.
|
170
|
+
slack-notifier (2.1.0)
|
165
171
|
sprockets (3.7.1)
|
166
172
|
concurrent-ruby (~> 1.0)
|
167
173
|
rack (> 1, < 3)
|
@@ -170,20 +176,20 @@ GEM
|
|
170
176
|
activesupport (>= 4.0)
|
171
177
|
sprockets (>= 3.0.0)
|
172
178
|
sqlite3 (1.3.13)
|
173
|
-
term-ansicolor (1.
|
179
|
+
term-ansicolor (1.5.0)
|
174
180
|
tins (~> 1.0)
|
175
181
|
thor (0.19.4)
|
176
|
-
thread_safe (0.3.
|
182
|
+
thread_safe (0.3.6)
|
177
183
|
timecop (0.8.1)
|
178
|
-
tins (1.13.
|
179
|
-
tzinfo (1.2.
|
184
|
+
tins (1.13.2)
|
185
|
+
tzinfo (1.2.3)
|
180
186
|
thread_safe (~> 0.1)
|
181
|
-
warden (1.2.
|
187
|
+
warden (1.2.7)
|
182
188
|
rack (>= 1.0)
|
183
|
-
websocket-driver (0.6.
|
189
|
+
websocket-driver (0.6.5)
|
184
190
|
websocket-extensions (>= 0.1.0)
|
185
191
|
websocket-extensions (0.1.2)
|
186
|
-
yard (0.9.
|
192
|
+
yard (0.9.8)
|
187
193
|
yard-activesupport-concern (0.0.1)
|
188
194
|
yard (>= 0.8)
|
189
195
|
|
@@ -195,17 +201,18 @@ DEPENDENCIES
|
|
195
201
|
ammeter
|
196
202
|
aws-sdk (~> 2)
|
197
203
|
coveralls
|
198
|
-
devise (~> 4.2.
|
204
|
+
devise (~> 4.2.1)
|
199
205
|
factory_girl_rails (~> 4.8.0)
|
200
|
-
|
206
|
+
mongoid (>= 4.0.0)
|
207
|
+
rails (~> 5.0)
|
201
208
|
rails-controller-testing
|
202
209
|
rspec-rails (~> 3.5.1)
|
203
|
-
simplecov (~> 0.
|
210
|
+
simplecov (~> 0.14.1)
|
204
211
|
slack-notifier (>= 1.5.1)
|
205
212
|
sqlite3 (~> 1.3.13)
|
206
213
|
timecop
|
207
|
-
yard (~> 0.9.
|
214
|
+
yard (~> 0.9.8)
|
208
215
|
yard-activesupport-concern (~> 0.0.1)
|
209
216
|
|
210
217
|
BUNDLED WITH
|
211
|
-
1.
|
218
|
+
1.14.6
|