activity_notification 1.2.1 → 1.3.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.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -5
  3. data/CHANGELOG.md +13 -2
  4. data/Gemfile +1 -1
  5. data/Gemfile.lock +78 -71
  6. data/README.md +64 -43
  7. data/activity_notification.gemspec +5 -4
  8. data/app/controllers/activity_notification/notifications_controller.rb +1 -1
  9. data/app/controllers/activity_notification/subscriptions_controller.rb +1 -1
  10. data/gemfiles/Gemfile.rails-4.2 +1 -1
  11. data/gemfiles/Gemfile.rails-4.2.lock +71 -62
  12. data/gemfiles/Gemfile.rails-5.0 +1 -1
  13. data/gemfiles/Gemfile.rails-5.0.lock +74 -67
  14. data/lib/activity_notification.rb +9 -2
  15. data/lib/activity_notification/apis/notification_api.rb +142 -76
  16. data/lib/activity_notification/apis/subscription_api.rb +72 -0
  17. data/lib/activity_notification/config.rb +12 -0
  18. data/lib/activity_notification/models/concerns/notifiable.rb +56 -6
  19. data/lib/activity_notification/models/concerns/notifier.rb +8 -1
  20. data/lib/activity_notification/models/concerns/subscriber.rb +13 -10
  21. data/lib/activity_notification/models/concerns/target.rb +7 -5
  22. data/lib/activity_notification/models/notification.rb +2 -270
  23. data/lib/activity_notification/models/subscription.rb +3 -101
  24. data/lib/activity_notification/optional_targets/base.rb +5 -1
  25. data/lib/activity_notification/orm/active_record.rb +16 -0
  26. data/lib/activity_notification/orm/active_record/notification.rb +252 -0
  27. data/lib/activity_notification/orm/active_record/subscription.rb +52 -0
  28. data/lib/activity_notification/orm/mongoid.rb +63 -0
  29. data/lib/activity_notification/orm/mongoid/notification.rb +255 -0
  30. data/lib/activity_notification/orm/mongoid/subscription.rb +73 -0
  31. data/lib/activity_notification/rails/routes.rb +7 -3
  32. data/lib/activity_notification/renderable.rb +5 -1
  33. data/lib/activity_notification/roles/acts_as_notifiable.rb +4 -18
  34. data/lib/activity_notification/version.rb +1 -1
  35. data/lib/generators/activity_notification/install_generator.rb +3 -5
  36. data/lib/generators/templates/activity_notification.rb +9 -4
  37. data/spec/concerns/apis/notification_api_spec.rb +27 -14
  38. data/spec/concerns/models/notifiable_spec.rb +10 -8
  39. data/spec/concerns/models/subscriber_spec.rb +12 -12
  40. data/spec/concerns/models/target_spec.rb +61 -51
  41. data/spec/controllers/subscriptions_controller_shared_examples.rb +0 -1
  42. data/spec/helpers/view_helpers_spec.rb +24 -7
  43. data/spec/models/notification_spec.rb +63 -52
  44. data/spec/models/subscription_spec.rb +6 -3
  45. data/spec/optional_targets/amazon_sns_spec.rb +8 -5
  46. data/spec/optional_targets/base_spec.rb +3 -1
  47. data/spec/optional_targets/slack_spec.rb +5 -5
  48. data/spec/rails_app/app/models/comment.rb +1 -1
  49. data/spec/rails_app/app/views/activity_notification/notifications/users/overriden/custom/_test.html.erb +1 -0
  50. data/spec/rails_app/config/application.rb +7 -0
  51. data/spec/rails_app/config/initializers/activity_notification.rb +5 -0
  52. data/spec/rails_app/config/mongoid.yml +13 -0
  53. data/spec/rails_app/db/seeds.rb +1 -1
  54. data/spec/rails_app/lib/custom_optional_targets/console_output.rb +7 -4
  55. data/spec/rails_app/lib/custom_optional_targets/wrong_target.rb +3 -0
  56. data/spec/roles/acts_as_notifiable_spec.rb +77 -16
  57. data/spec/spec_helper.rb +7 -0
  58. 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.12.0'
32
- s.add_development_dependency 'yard', '~> 0.9.5'
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.0'
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.includes(:target).find_by_id!(params[:id]))
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.includes(:target).find_by_id!(params[:id]))
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.
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '../'
4
4
 
5
- gem 'rails', '~> 4.2.0'
5
+ gem 'rails', '~> 4.2'
6
6
 
7
7
  group :test do
8
8
  gem 'ammeter'
@@ -1,7 +1,7 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- activity_notification (1.2.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.7.1)
14
- actionpack (= 4.2.7.1)
15
- actionview (= 4.2.7.1)
16
- activejob (= 4.2.7.1)
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.7.1)
20
- actionview (= 4.2.7.1)
21
- activesupport (= 4.2.7.1)
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.7.1)
27
- activesupport (= 4.2.7.1)
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.2)
32
- activejob (4.2.7.1)
33
- activesupport (= 4.2.7.1)
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.7.1)
36
- activesupport (= 4.2.7.1)
35
+ activemodel (4.2.8)
36
+ activesupport (= 4.2.8)
37
37
  builder (~> 3.1)
38
- activerecord (4.2.7.1)
39
- activemodel (= 4.2.7.1)
40
- activesupport (= 4.2.7.1)
38
+ activerecord (4.2.8)
39
+ activemodel (= 4.2.8)
40
+ activesupport (= 4.2.8)
41
41
  arel (~> 6.0)
42
- activesupport (4.2.7.1)
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.6.44)
54
- aws-sdk-resources (= 2.6.44)
55
- aws-sdk-core (2.6.44)
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.6.44)
59
- aws-sdk-core (= 2.6.44)
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
- builder (3.2.2)
63
- concurrent-ruby (1.0.4)
64
- coveralls (0.8.17)
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.12.0)
66
+ simplecov (~> 0.14.1)
67
67
  term-ansicolor (~> 1.3)
68
- thor (~> 0.19.1)
68
+ thor (~> 0.19.4)
69
69
  tins (~> 1.6)
70
- devise (4.2.0)
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.2.5)
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.7.0)
86
+ i18n (0.8.1)
87
87
  jmespath (1.3.1)
88
- jquery-rails (4.2.2)
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 (1.8.3)
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
- nokogiri (1.7.0.1)
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.7.1)
109
- actionmailer (= 4.2.7.1)
110
- actionpack (= 4.2.7.1)
111
- actionview (= 4.2.7.1)
112
- activejob (= 4.2.7.1)
113
- activemodel (= 4.2.7.1)
114
- activerecord (= 4.2.7.1)
115
- activesupport (= 4.2.7.1)
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.7.1)
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.7.1)
128
- actionpack (= 4.2.7.1)
129
- activesupport (= 4.2.7.1)
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.12.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.0.0)
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.4.0)
174
+ term-ansicolor (1.5.0)
167
175
  tins (~> 1.0)
168
176
  thor (0.19.4)
169
- thread_safe (0.3.5)
177
+ thread_safe (0.3.6)
170
178
  timecop (0.8.1)
171
- tins (1.13.0)
172
- tzinfo (1.2.2)
179
+ tins (1.13.2)
180
+ tzinfo (1.2.3)
173
181
  thread_safe (~> 0.1)
174
- warden (1.2.6)
182
+ warden (1.2.7)
175
183
  rack (>= 1.0)
176
- yard (0.9.5)
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.0)
196
+ devise (~> 4.2.1)
189
197
  factory_girl_rails (~> 4.8.0)
190
- rails (~> 4.2.0)
198
+ mongoid (>= 4.0.0)
199
+ rails (~> 4.2)
191
200
  rspec-rails (~> 3.5.1)
192
- simplecov (~> 0.12.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.5)
205
+ yard (~> 0.9.8)
197
206
  yard-activesupport-concern (~> 0.0.1)
198
207
 
199
208
  BUNDLED WITH
200
- 1.12.5
209
+ 1.14.6
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec path: '../'
4
4
 
5
- gem 'rails', '~> 5.0.0'
5
+ gem 'rails', '~> 5.0'
6
6
 
7
7
  group :test do
8
8
  gem 'rails-controller-testing'
@@ -1,7 +1,7 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- activity_notification (1.2.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.1)
14
- actionpack (= 5.0.1)
15
- nio4r (~> 1.2)
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.1)
18
- actionpack (= 5.0.1)
19
- actionview (= 5.0.1)
20
- activejob (= 5.0.1)
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.1)
24
- actionview (= 5.0.1)
25
- activesupport (= 5.0.1)
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.1)
31
- activesupport (= 5.0.1)
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.2)
36
- activejob (5.0.1)
37
- activesupport (= 5.0.1)
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.1)
40
- activesupport (= 5.0.1)
41
- activerecord (5.0.1)
42
- activemodel (= 5.0.1)
43
- activesupport (= 5.0.1)
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.1)
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.6.44)
56
- aws-sdk-resources (= 2.6.44)
57
- aws-sdk-core (2.6.44)
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.6.44)
61
- aws-sdk-core (= 2.6.44)
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
- builder (3.2.2)
65
- concurrent-ruby (1.0.4)
66
- coveralls (0.8.17)
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.12.0)
69
+ simplecov (~> 0.14.1)
69
70
  term-ansicolor (~> 1.3)
70
- thor (~> 0.19.1)
71
+ thor (~> 0.19.4)
71
72
  tins (~> 1.6)
72
- devise (4.2.0)
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.2.5)
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.7.0)
89
+ i18n (0.8.1)
89
90
  jmespath (1.3.1)
90
- jquery-rails (4.2.2)
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.2)
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
- nio4r (1.2.1)
106
- nokogiri (1.7.0.1)
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.1)
113
- actioncable (= 5.0.1)
114
- actionmailer (= 5.0.1)
115
- actionpack (= 5.0.1)
116
- actionview (= 5.0.1)
117
- activejob (= 5.0.1)
118
- activemodel (= 5.0.1)
119
- activerecord (= 5.0.1)
120
- activesupport (= 5.0.1)
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.1)
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.1)
134
- actionpack (= 5.0.1)
135
- activesupport (= 5.0.1)
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.12.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.0.0)
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.4.0)
179
+ term-ansicolor (1.5.0)
174
180
  tins (~> 1.0)
175
181
  thor (0.19.4)
176
- thread_safe (0.3.5)
182
+ thread_safe (0.3.6)
177
183
  timecop (0.8.1)
178
- tins (1.13.0)
179
- tzinfo (1.2.2)
184
+ tins (1.13.2)
185
+ tzinfo (1.2.3)
180
186
  thread_safe (~> 0.1)
181
- warden (1.2.6)
187
+ warden (1.2.7)
182
188
  rack (>= 1.0)
183
- websocket-driver (0.6.4)
189
+ websocket-driver (0.6.5)
184
190
  websocket-extensions (>= 0.1.0)
185
191
  websocket-extensions (0.1.2)
186
- yard (0.9.5)
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.0)
204
+ devise (~> 4.2.1)
199
205
  factory_girl_rails (~> 4.8.0)
200
- rails (~> 5.0.0)
206
+ mongoid (>= 4.0.0)
207
+ rails (~> 5.0)
201
208
  rails-controller-testing
202
209
  rspec-rails (~> 3.5.1)
203
- simplecov (~> 0.12.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.5)
214
+ yard (~> 0.9.8)
208
215
  yard-activesupport-concern (~> 0.0.1)
209
216
 
210
217
  BUNDLED WITH
211
- 1.12.5
218
+ 1.14.6