outbox-rails 0.5.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +12 -7
- data/.travis.yml +9 -3
- data/Appraisals +15 -0
- data/gemfiles/rails_5.0.gemfile +7 -0
- data/gemfiles/rails_5.0.gemfile.lock +173 -0
- data/gemfiles/rails_5.1.gemfile +7 -0
- data/gemfiles/rails_5.1.gemfile.lock +173 -0
- data/gemfiles/rails_5.2.gemfile +7 -0
- data/gemfiles/rails_5.2.gemfile.lock +181 -0
- data/gemfiles/rails_6.0.gemfile +7 -0
- data/gemfiles/rails_6.0.gemfile.lock +197 -0
- data/lib/outbox/notifier.rb +18 -7
- data/lib/outbox/rails/version.rb +1 -1
- data/outbox-rails.gemspec +3 -3
- data/spec/internal/app/notifiers/base_notifier.rb +4 -0
- data/spec/internal/app/views/base_notifier/only_sms_template.text+sms.erb +1 -0
- data/spec/outbox/notifier_spec.rb +18 -12
- data/spec/spec_helper.rb +1 -1
- metadata +25 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d65a311c6c875177f8f0e77ed219b78b7593a7e7a9b661f652263ceef5a301de
|
4
|
+
data.tar.gz: f88eb5bed33a7f8b54f012d818ef5752b78ce55f72175b7aae4298fea2c21455
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55c2ee50e899cd96e4ae5e417eb00742f4449fa7a43929fa44ebada8d50bb90e6cae44d59e05670bd58ae02fed5019c7dc87187df5b7d6072daf7a1ca58d5e7f
|
7
|
+
data.tar.gz: 58bc6d3d794c7cfbe99039ff7c803f0db037330b656829fef18a260105dba33f31a1fd477c64ce660cb456c6d0e7e5b4bd23d2c2c161288df121544dd021b690
|
data/.rubocop.yml
CHANGED
@@ -1,25 +1,30 @@
|
|
1
1
|
AllCops:
|
2
2
|
Exclude:
|
3
|
-
-
|
4
|
-
-
|
3
|
+
- 'gemfiles/**/*'
|
4
|
+
- 'vendor/**/*'
|
5
|
+
- 'lib/generators/*/notifier/templates/*'
|
5
6
|
DisplayCopNames: true
|
6
7
|
DisplayStyleGuide: true
|
7
8
|
|
8
|
-
Style/Documentation:
|
9
|
-
Enabled: false
|
10
|
-
|
11
9
|
Metrics/BlockLength:
|
12
10
|
Exclude:
|
13
|
-
-
|
11
|
+
- 'spec/**/*'
|
14
12
|
|
15
13
|
Metrics/ClassLength:
|
16
14
|
Max: 150
|
17
15
|
|
18
16
|
Metrics/LineLength:
|
19
17
|
Exclude:
|
20
|
-
-
|
18
|
+
- 'outbox-rails.gemspec'
|
21
19
|
IgnoreCopDirectives: true
|
22
20
|
Max: 100
|
23
21
|
|
24
22
|
Metrics/MethodLength:
|
25
23
|
Max: 15
|
24
|
+
|
25
|
+
Style/Documentation:
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
Style/FileName:
|
29
|
+
Exclude:
|
30
|
+
- 'Appraisals'
|
data/.travis.yml
CHANGED
@@ -2,9 +2,15 @@ sudo: false
|
|
2
2
|
cache: bundler
|
3
3
|
language: ruby
|
4
4
|
rvm:
|
5
|
-
- 2.
|
6
|
-
- 2.
|
7
|
-
|
5
|
+
- 2.6.6
|
6
|
+
- 2.7.1
|
7
|
+
gemfile:
|
8
|
+
- gemfiles/rails_5.0.gemfile
|
9
|
+
- gemfiles/rails_5.1.gemfile
|
10
|
+
- gemfiles/rails_5.2.gemfile
|
11
|
+
- gemfiles/rails_6.0.gemfile
|
12
|
+
before_install:
|
13
|
+
- gem install bundler:2.1.4
|
8
14
|
script:
|
9
15
|
- bundle exec rubocop
|
10
16
|
- bundle exec rspec
|
data/Appraisals
ADDED
@@ -0,0 +1,173 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
outbox-rails (1.0.0)
|
5
|
+
outbox (~> 0.2.0)
|
6
|
+
rails (>= 5.0, < 7)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
actioncable (5.0.7.2)
|
12
|
+
actionpack (= 5.0.7.2)
|
13
|
+
nio4r (>= 1.2, < 3.0)
|
14
|
+
websocket-driver (~> 0.6.1)
|
15
|
+
actionmailer (5.0.7.2)
|
16
|
+
actionpack (= 5.0.7.2)
|
17
|
+
actionview (= 5.0.7.2)
|
18
|
+
activejob (= 5.0.7.2)
|
19
|
+
mail (~> 2.5, >= 2.5.4)
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
actionpack (5.0.7.2)
|
22
|
+
actionview (= 5.0.7.2)
|
23
|
+
activesupport (= 5.0.7.2)
|
24
|
+
rack (~> 2.0)
|
25
|
+
rack-test (~> 0.6.3)
|
26
|
+
rails-dom-testing (~> 2.0)
|
27
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
+
actionview (5.0.7.2)
|
29
|
+
activesupport (= 5.0.7.2)
|
30
|
+
builder (~> 3.1)
|
31
|
+
erubis (~> 2.7.0)
|
32
|
+
rails-dom-testing (~> 2.0)
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
34
|
+
activejob (5.0.7.2)
|
35
|
+
activesupport (= 5.0.7.2)
|
36
|
+
globalid (>= 0.3.6)
|
37
|
+
activemodel (5.0.7.2)
|
38
|
+
activesupport (= 5.0.7.2)
|
39
|
+
activerecord (5.0.7.2)
|
40
|
+
activemodel (= 5.0.7.2)
|
41
|
+
activesupport (= 5.0.7.2)
|
42
|
+
arel (~> 7.0)
|
43
|
+
activesupport (5.0.7.2)
|
44
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
45
|
+
i18n (>= 0.7, < 2)
|
46
|
+
minitest (~> 5.1)
|
47
|
+
tzinfo (~> 1.1)
|
48
|
+
appraisal (2.3.0)
|
49
|
+
bundler
|
50
|
+
rake
|
51
|
+
thor (>= 0.14.0)
|
52
|
+
arel (7.1.4)
|
53
|
+
ast (2.4.1)
|
54
|
+
builder (3.2.4)
|
55
|
+
combustion (1.3.0)
|
56
|
+
activesupport (>= 3.0.0)
|
57
|
+
railties (>= 3.0.0)
|
58
|
+
thor (>= 0.14.6)
|
59
|
+
concurrent-ruby (1.1.6)
|
60
|
+
crass (1.0.6)
|
61
|
+
diff-lcs (1.3)
|
62
|
+
erubis (2.7.0)
|
63
|
+
globalid (0.4.2)
|
64
|
+
activesupport (>= 4.2.0)
|
65
|
+
i18n (1.8.3)
|
66
|
+
concurrent-ruby (~> 1.0)
|
67
|
+
loofah (2.6.0)
|
68
|
+
crass (~> 1.0.2)
|
69
|
+
nokogiri (>= 1.5.9)
|
70
|
+
mail (2.7.1)
|
71
|
+
mini_mime (>= 0.1.1)
|
72
|
+
method_source (1.0.0)
|
73
|
+
mini_mime (1.0.2)
|
74
|
+
mini_portile2 (2.4.0)
|
75
|
+
minitest (5.14.1)
|
76
|
+
nio4r (2.5.2)
|
77
|
+
nokogiri (1.10.9)
|
78
|
+
mini_portile2 (~> 2.4.0)
|
79
|
+
outbox (0.2.1)
|
80
|
+
mail (~> 2.6)
|
81
|
+
parser (2.7.1.4)
|
82
|
+
ast (~> 2.4.1)
|
83
|
+
powerpack (0.1.2)
|
84
|
+
rack (2.2.3)
|
85
|
+
rack-test (0.6.3)
|
86
|
+
rack (>= 1.0)
|
87
|
+
rails (5.0.7.2)
|
88
|
+
actioncable (= 5.0.7.2)
|
89
|
+
actionmailer (= 5.0.7.2)
|
90
|
+
actionpack (= 5.0.7.2)
|
91
|
+
actionview (= 5.0.7.2)
|
92
|
+
activejob (= 5.0.7.2)
|
93
|
+
activemodel (= 5.0.7.2)
|
94
|
+
activerecord (= 5.0.7.2)
|
95
|
+
activesupport (= 5.0.7.2)
|
96
|
+
bundler (>= 1.3.0)
|
97
|
+
railties (= 5.0.7.2)
|
98
|
+
sprockets-rails (>= 2.0.0)
|
99
|
+
rails-dom-testing (2.0.3)
|
100
|
+
activesupport (>= 4.2.0)
|
101
|
+
nokogiri (>= 1.6)
|
102
|
+
rails-html-sanitizer (1.3.0)
|
103
|
+
loofah (~> 2.3)
|
104
|
+
railties (5.0.7.2)
|
105
|
+
actionpack (= 5.0.7.2)
|
106
|
+
activesupport (= 5.0.7.2)
|
107
|
+
method_source
|
108
|
+
rake (>= 0.8.7)
|
109
|
+
thor (>= 0.18.1, < 2.0)
|
110
|
+
rainbow (2.2.2)
|
111
|
+
rake
|
112
|
+
rake (13.0.1)
|
113
|
+
rspec (3.5.0)
|
114
|
+
rspec-core (~> 3.5.0)
|
115
|
+
rspec-expectations (~> 3.5.0)
|
116
|
+
rspec-mocks (~> 3.5.0)
|
117
|
+
rspec-core (3.5.4)
|
118
|
+
rspec-support (~> 3.5.0)
|
119
|
+
rspec-expectations (3.5.0)
|
120
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
121
|
+
rspec-support (~> 3.5.0)
|
122
|
+
rspec-mocks (3.5.0)
|
123
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
124
|
+
rspec-support (~> 3.5.0)
|
125
|
+
rspec-rails (3.5.2)
|
126
|
+
actionpack (>= 3.0)
|
127
|
+
activesupport (>= 3.0)
|
128
|
+
railties (>= 3.0)
|
129
|
+
rspec-core (~> 3.5.0)
|
130
|
+
rspec-expectations (~> 3.5.0)
|
131
|
+
rspec-mocks (~> 3.5.0)
|
132
|
+
rspec-support (~> 3.5.0)
|
133
|
+
rspec-support (3.5.0)
|
134
|
+
rubocop (0.48.1)
|
135
|
+
parser (>= 2.3.3.1, < 3.0)
|
136
|
+
powerpack (~> 0.1)
|
137
|
+
rainbow (>= 1.99.1, < 3.0)
|
138
|
+
ruby-progressbar (~> 1.7)
|
139
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
140
|
+
ruby-progressbar (1.10.1)
|
141
|
+
sprockets (4.0.2)
|
142
|
+
concurrent-ruby (~> 1.0)
|
143
|
+
rack (> 1, < 3)
|
144
|
+
sprockets-rails (3.2.1)
|
145
|
+
actionpack (>= 4.0)
|
146
|
+
activesupport (>= 4.0)
|
147
|
+
sprockets (>= 3.0.0)
|
148
|
+
sqlite3 (1.4.2)
|
149
|
+
thor (1.0.1)
|
150
|
+
thread_safe (0.3.6)
|
151
|
+
tzinfo (1.2.7)
|
152
|
+
thread_safe (~> 0.1)
|
153
|
+
unicode-display_width (1.7.0)
|
154
|
+
websocket-driver (0.6.5)
|
155
|
+
websocket-extensions (>= 0.1.0)
|
156
|
+
websocket-extensions (0.1.5)
|
157
|
+
|
158
|
+
PLATFORMS
|
159
|
+
ruby
|
160
|
+
|
161
|
+
DEPENDENCIES
|
162
|
+
appraisal (~> 2.3.0)
|
163
|
+
combustion (~> 1.1)
|
164
|
+
outbox-rails!
|
165
|
+
rails (~> 5.0.0)
|
166
|
+
rake (>= 12.3.3)
|
167
|
+
rspec (~> 3.5.0)
|
168
|
+
rspec-rails (~> 3.5.2)
|
169
|
+
rubocop (~> 0.48.1)
|
170
|
+
sqlite3
|
171
|
+
|
172
|
+
BUNDLED WITH
|
173
|
+
2.1.4
|
@@ -0,0 +1,173 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
outbox-rails (1.0.0)
|
5
|
+
outbox (~> 0.2.0)
|
6
|
+
rails (>= 5.0, < 7)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
actioncable (5.1.7)
|
12
|
+
actionpack (= 5.1.7)
|
13
|
+
nio4r (~> 2.0)
|
14
|
+
websocket-driver (~> 0.6.1)
|
15
|
+
actionmailer (5.1.7)
|
16
|
+
actionpack (= 5.1.7)
|
17
|
+
actionview (= 5.1.7)
|
18
|
+
activejob (= 5.1.7)
|
19
|
+
mail (~> 2.5, >= 2.5.4)
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
actionpack (5.1.7)
|
22
|
+
actionview (= 5.1.7)
|
23
|
+
activesupport (= 5.1.7)
|
24
|
+
rack (~> 2.0)
|
25
|
+
rack-test (>= 0.6.3)
|
26
|
+
rails-dom-testing (~> 2.0)
|
27
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
+
actionview (5.1.7)
|
29
|
+
activesupport (= 5.1.7)
|
30
|
+
builder (~> 3.1)
|
31
|
+
erubi (~> 1.4)
|
32
|
+
rails-dom-testing (~> 2.0)
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
34
|
+
activejob (5.1.7)
|
35
|
+
activesupport (= 5.1.7)
|
36
|
+
globalid (>= 0.3.6)
|
37
|
+
activemodel (5.1.7)
|
38
|
+
activesupport (= 5.1.7)
|
39
|
+
activerecord (5.1.7)
|
40
|
+
activemodel (= 5.1.7)
|
41
|
+
activesupport (= 5.1.7)
|
42
|
+
arel (~> 8.0)
|
43
|
+
activesupport (5.1.7)
|
44
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
45
|
+
i18n (>= 0.7, < 2)
|
46
|
+
minitest (~> 5.1)
|
47
|
+
tzinfo (~> 1.1)
|
48
|
+
appraisal (2.3.0)
|
49
|
+
bundler
|
50
|
+
rake
|
51
|
+
thor (>= 0.14.0)
|
52
|
+
arel (8.0.0)
|
53
|
+
ast (2.4.1)
|
54
|
+
builder (3.2.4)
|
55
|
+
combustion (1.3.0)
|
56
|
+
activesupport (>= 3.0.0)
|
57
|
+
railties (>= 3.0.0)
|
58
|
+
thor (>= 0.14.6)
|
59
|
+
concurrent-ruby (1.1.6)
|
60
|
+
crass (1.0.6)
|
61
|
+
diff-lcs (1.3)
|
62
|
+
erubi (1.9.0)
|
63
|
+
globalid (0.4.2)
|
64
|
+
activesupport (>= 4.2.0)
|
65
|
+
i18n (1.8.3)
|
66
|
+
concurrent-ruby (~> 1.0)
|
67
|
+
loofah (2.6.0)
|
68
|
+
crass (~> 1.0.2)
|
69
|
+
nokogiri (>= 1.5.9)
|
70
|
+
mail (2.7.1)
|
71
|
+
mini_mime (>= 0.1.1)
|
72
|
+
method_source (1.0.0)
|
73
|
+
mini_mime (1.0.2)
|
74
|
+
mini_portile2 (2.4.0)
|
75
|
+
minitest (5.14.1)
|
76
|
+
nio4r (2.5.2)
|
77
|
+
nokogiri (1.10.9)
|
78
|
+
mini_portile2 (~> 2.4.0)
|
79
|
+
outbox (0.2.1)
|
80
|
+
mail (~> 2.6)
|
81
|
+
parser (2.7.1.4)
|
82
|
+
ast (~> 2.4.1)
|
83
|
+
powerpack (0.1.2)
|
84
|
+
rack (2.2.3)
|
85
|
+
rack-test (1.1.0)
|
86
|
+
rack (>= 1.0, < 3)
|
87
|
+
rails (5.1.7)
|
88
|
+
actioncable (= 5.1.7)
|
89
|
+
actionmailer (= 5.1.7)
|
90
|
+
actionpack (= 5.1.7)
|
91
|
+
actionview (= 5.1.7)
|
92
|
+
activejob (= 5.1.7)
|
93
|
+
activemodel (= 5.1.7)
|
94
|
+
activerecord (= 5.1.7)
|
95
|
+
activesupport (= 5.1.7)
|
96
|
+
bundler (>= 1.3.0)
|
97
|
+
railties (= 5.1.7)
|
98
|
+
sprockets-rails (>= 2.0.0)
|
99
|
+
rails-dom-testing (2.0.3)
|
100
|
+
activesupport (>= 4.2.0)
|
101
|
+
nokogiri (>= 1.6)
|
102
|
+
rails-html-sanitizer (1.3.0)
|
103
|
+
loofah (~> 2.3)
|
104
|
+
railties (5.1.7)
|
105
|
+
actionpack (= 5.1.7)
|
106
|
+
activesupport (= 5.1.7)
|
107
|
+
method_source
|
108
|
+
rake (>= 0.8.7)
|
109
|
+
thor (>= 0.18.1, < 2.0)
|
110
|
+
rainbow (2.2.2)
|
111
|
+
rake
|
112
|
+
rake (13.0.1)
|
113
|
+
rspec (3.5.0)
|
114
|
+
rspec-core (~> 3.5.0)
|
115
|
+
rspec-expectations (~> 3.5.0)
|
116
|
+
rspec-mocks (~> 3.5.0)
|
117
|
+
rspec-core (3.5.4)
|
118
|
+
rspec-support (~> 3.5.0)
|
119
|
+
rspec-expectations (3.5.0)
|
120
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
121
|
+
rspec-support (~> 3.5.0)
|
122
|
+
rspec-mocks (3.5.0)
|
123
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
124
|
+
rspec-support (~> 3.5.0)
|
125
|
+
rspec-rails (3.5.2)
|
126
|
+
actionpack (>= 3.0)
|
127
|
+
activesupport (>= 3.0)
|
128
|
+
railties (>= 3.0)
|
129
|
+
rspec-core (~> 3.5.0)
|
130
|
+
rspec-expectations (~> 3.5.0)
|
131
|
+
rspec-mocks (~> 3.5.0)
|
132
|
+
rspec-support (~> 3.5.0)
|
133
|
+
rspec-support (3.5.0)
|
134
|
+
rubocop (0.48.1)
|
135
|
+
parser (>= 2.3.3.1, < 3.0)
|
136
|
+
powerpack (~> 0.1)
|
137
|
+
rainbow (>= 1.99.1, < 3.0)
|
138
|
+
ruby-progressbar (~> 1.7)
|
139
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
140
|
+
ruby-progressbar (1.10.1)
|
141
|
+
sprockets (4.0.2)
|
142
|
+
concurrent-ruby (~> 1.0)
|
143
|
+
rack (> 1, < 3)
|
144
|
+
sprockets-rails (3.2.1)
|
145
|
+
actionpack (>= 4.0)
|
146
|
+
activesupport (>= 4.0)
|
147
|
+
sprockets (>= 3.0.0)
|
148
|
+
sqlite3 (1.4.2)
|
149
|
+
thor (1.0.1)
|
150
|
+
thread_safe (0.3.6)
|
151
|
+
tzinfo (1.2.7)
|
152
|
+
thread_safe (~> 0.1)
|
153
|
+
unicode-display_width (1.7.0)
|
154
|
+
websocket-driver (0.6.5)
|
155
|
+
websocket-extensions (>= 0.1.0)
|
156
|
+
websocket-extensions (0.1.5)
|
157
|
+
|
158
|
+
PLATFORMS
|
159
|
+
ruby
|
160
|
+
|
161
|
+
DEPENDENCIES
|
162
|
+
appraisal (~> 2.3.0)
|
163
|
+
combustion (~> 1.1)
|
164
|
+
outbox-rails!
|
165
|
+
rails (~> 5.1.0)
|
166
|
+
rake (>= 12.3.3)
|
167
|
+
rspec (~> 3.5.0)
|
168
|
+
rspec-rails (~> 3.5.2)
|
169
|
+
rubocop (~> 0.48.1)
|
170
|
+
sqlite3
|
171
|
+
|
172
|
+
BUNDLED WITH
|
173
|
+
2.1.4
|
@@ -0,0 +1,181 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
outbox-rails (1.0.0)
|
5
|
+
outbox (~> 0.2.0)
|
6
|
+
rails (>= 5.0, < 7)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
actioncable (5.2.4.3)
|
12
|
+
actionpack (= 5.2.4.3)
|
13
|
+
nio4r (~> 2.0)
|
14
|
+
websocket-driver (>= 0.6.1)
|
15
|
+
actionmailer (5.2.4.3)
|
16
|
+
actionpack (= 5.2.4.3)
|
17
|
+
actionview (= 5.2.4.3)
|
18
|
+
activejob (= 5.2.4.3)
|
19
|
+
mail (~> 2.5, >= 2.5.4)
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
actionpack (5.2.4.3)
|
22
|
+
actionview (= 5.2.4.3)
|
23
|
+
activesupport (= 5.2.4.3)
|
24
|
+
rack (~> 2.0, >= 2.0.8)
|
25
|
+
rack-test (>= 0.6.3)
|
26
|
+
rails-dom-testing (~> 2.0)
|
27
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
+
actionview (5.2.4.3)
|
29
|
+
activesupport (= 5.2.4.3)
|
30
|
+
builder (~> 3.1)
|
31
|
+
erubi (~> 1.4)
|
32
|
+
rails-dom-testing (~> 2.0)
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
34
|
+
activejob (5.2.4.3)
|
35
|
+
activesupport (= 5.2.4.3)
|
36
|
+
globalid (>= 0.3.6)
|
37
|
+
activemodel (5.2.4.3)
|
38
|
+
activesupport (= 5.2.4.3)
|
39
|
+
activerecord (5.2.4.3)
|
40
|
+
activemodel (= 5.2.4.3)
|
41
|
+
activesupport (= 5.2.4.3)
|
42
|
+
arel (>= 9.0)
|
43
|
+
activestorage (5.2.4.3)
|
44
|
+
actionpack (= 5.2.4.3)
|
45
|
+
activerecord (= 5.2.4.3)
|
46
|
+
marcel (~> 0.3.1)
|
47
|
+
activesupport (5.2.4.3)
|
48
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
49
|
+
i18n (>= 0.7, < 2)
|
50
|
+
minitest (~> 5.1)
|
51
|
+
tzinfo (~> 1.1)
|
52
|
+
appraisal (2.3.0)
|
53
|
+
bundler
|
54
|
+
rake
|
55
|
+
thor (>= 0.14.0)
|
56
|
+
arel (9.0.0)
|
57
|
+
ast (2.4.1)
|
58
|
+
builder (3.2.4)
|
59
|
+
combustion (1.3.0)
|
60
|
+
activesupport (>= 3.0.0)
|
61
|
+
railties (>= 3.0.0)
|
62
|
+
thor (>= 0.14.6)
|
63
|
+
concurrent-ruby (1.1.6)
|
64
|
+
crass (1.0.6)
|
65
|
+
diff-lcs (1.3)
|
66
|
+
erubi (1.9.0)
|
67
|
+
globalid (0.4.2)
|
68
|
+
activesupport (>= 4.2.0)
|
69
|
+
i18n (1.8.3)
|
70
|
+
concurrent-ruby (~> 1.0)
|
71
|
+
loofah (2.6.0)
|
72
|
+
crass (~> 1.0.2)
|
73
|
+
nokogiri (>= 1.5.9)
|
74
|
+
mail (2.7.1)
|
75
|
+
mini_mime (>= 0.1.1)
|
76
|
+
marcel (0.3.3)
|
77
|
+
mimemagic (~> 0.3.2)
|
78
|
+
method_source (1.0.0)
|
79
|
+
mimemagic (0.3.5)
|
80
|
+
mini_mime (1.0.2)
|
81
|
+
mini_portile2 (2.4.0)
|
82
|
+
minitest (5.14.1)
|
83
|
+
nio4r (2.5.2)
|
84
|
+
nokogiri (1.10.9)
|
85
|
+
mini_portile2 (~> 2.4.0)
|
86
|
+
outbox (0.2.1)
|
87
|
+
mail (~> 2.6)
|
88
|
+
parser (2.7.1.4)
|
89
|
+
ast (~> 2.4.1)
|
90
|
+
powerpack (0.1.2)
|
91
|
+
rack (2.2.3)
|
92
|
+
rack-test (1.1.0)
|
93
|
+
rack (>= 1.0, < 3)
|
94
|
+
rails (5.2.4.3)
|
95
|
+
actioncable (= 5.2.4.3)
|
96
|
+
actionmailer (= 5.2.4.3)
|
97
|
+
actionpack (= 5.2.4.3)
|
98
|
+
actionview (= 5.2.4.3)
|
99
|
+
activejob (= 5.2.4.3)
|
100
|
+
activemodel (= 5.2.4.3)
|
101
|
+
activerecord (= 5.2.4.3)
|
102
|
+
activestorage (= 5.2.4.3)
|
103
|
+
activesupport (= 5.2.4.3)
|
104
|
+
bundler (>= 1.3.0)
|
105
|
+
railties (= 5.2.4.3)
|
106
|
+
sprockets-rails (>= 2.0.0)
|
107
|
+
rails-dom-testing (2.0.3)
|
108
|
+
activesupport (>= 4.2.0)
|
109
|
+
nokogiri (>= 1.6)
|
110
|
+
rails-html-sanitizer (1.3.0)
|
111
|
+
loofah (~> 2.3)
|
112
|
+
railties (5.2.4.3)
|
113
|
+
actionpack (= 5.2.4.3)
|
114
|
+
activesupport (= 5.2.4.3)
|
115
|
+
method_source
|
116
|
+
rake (>= 0.8.7)
|
117
|
+
thor (>= 0.19.0, < 2.0)
|
118
|
+
rainbow (2.2.2)
|
119
|
+
rake
|
120
|
+
rake (13.0.1)
|
121
|
+
rspec (3.5.0)
|
122
|
+
rspec-core (~> 3.5.0)
|
123
|
+
rspec-expectations (~> 3.5.0)
|
124
|
+
rspec-mocks (~> 3.5.0)
|
125
|
+
rspec-core (3.5.4)
|
126
|
+
rspec-support (~> 3.5.0)
|
127
|
+
rspec-expectations (3.5.0)
|
128
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
129
|
+
rspec-support (~> 3.5.0)
|
130
|
+
rspec-mocks (3.5.0)
|
131
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
132
|
+
rspec-support (~> 3.5.0)
|
133
|
+
rspec-rails (3.5.2)
|
134
|
+
actionpack (>= 3.0)
|
135
|
+
activesupport (>= 3.0)
|
136
|
+
railties (>= 3.0)
|
137
|
+
rspec-core (~> 3.5.0)
|
138
|
+
rspec-expectations (~> 3.5.0)
|
139
|
+
rspec-mocks (~> 3.5.0)
|
140
|
+
rspec-support (~> 3.5.0)
|
141
|
+
rspec-support (3.5.0)
|
142
|
+
rubocop (0.48.1)
|
143
|
+
parser (>= 2.3.3.1, < 3.0)
|
144
|
+
powerpack (~> 0.1)
|
145
|
+
rainbow (>= 1.99.1, < 3.0)
|
146
|
+
ruby-progressbar (~> 1.7)
|
147
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
148
|
+
ruby-progressbar (1.10.1)
|
149
|
+
sprockets (4.0.2)
|
150
|
+
concurrent-ruby (~> 1.0)
|
151
|
+
rack (> 1, < 3)
|
152
|
+
sprockets-rails (3.2.1)
|
153
|
+
actionpack (>= 4.0)
|
154
|
+
activesupport (>= 4.0)
|
155
|
+
sprockets (>= 3.0.0)
|
156
|
+
sqlite3 (1.4.2)
|
157
|
+
thor (1.0.1)
|
158
|
+
thread_safe (0.3.6)
|
159
|
+
tzinfo (1.2.7)
|
160
|
+
thread_safe (~> 0.1)
|
161
|
+
unicode-display_width (1.7.0)
|
162
|
+
websocket-driver (0.7.2)
|
163
|
+
websocket-extensions (>= 0.1.0)
|
164
|
+
websocket-extensions (0.1.5)
|
165
|
+
|
166
|
+
PLATFORMS
|
167
|
+
ruby
|
168
|
+
|
169
|
+
DEPENDENCIES
|
170
|
+
appraisal (~> 2.3.0)
|
171
|
+
combustion (~> 1.1)
|
172
|
+
outbox-rails!
|
173
|
+
rails (~> 5.2.0)
|
174
|
+
rake (>= 12.3.3)
|
175
|
+
rspec (~> 3.5.0)
|
176
|
+
rspec-rails (~> 3.5.2)
|
177
|
+
rubocop (~> 0.48.1)
|
178
|
+
sqlite3
|
179
|
+
|
180
|
+
BUNDLED WITH
|
181
|
+
2.1.4
|
@@ -0,0 +1,197 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
outbox-rails (1.0.0)
|
5
|
+
outbox (~> 0.2.0)
|
6
|
+
rails (>= 5.0, < 7)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
actioncable (6.0.3.2)
|
12
|
+
actionpack (= 6.0.3.2)
|
13
|
+
nio4r (~> 2.0)
|
14
|
+
websocket-driver (>= 0.6.1)
|
15
|
+
actionmailbox (6.0.3.2)
|
16
|
+
actionpack (= 6.0.3.2)
|
17
|
+
activejob (= 6.0.3.2)
|
18
|
+
activerecord (= 6.0.3.2)
|
19
|
+
activestorage (= 6.0.3.2)
|
20
|
+
activesupport (= 6.0.3.2)
|
21
|
+
mail (>= 2.7.1)
|
22
|
+
actionmailer (6.0.3.2)
|
23
|
+
actionpack (= 6.0.3.2)
|
24
|
+
actionview (= 6.0.3.2)
|
25
|
+
activejob (= 6.0.3.2)
|
26
|
+
mail (~> 2.5, >= 2.5.4)
|
27
|
+
rails-dom-testing (~> 2.0)
|
28
|
+
actionpack (6.0.3.2)
|
29
|
+
actionview (= 6.0.3.2)
|
30
|
+
activesupport (= 6.0.3.2)
|
31
|
+
rack (~> 2.0, >= 2.0.8)
|
32
|
+
rack-test (>= 0.6.3)
|
33
|
+
rails-dom-testing (~> 2.0)
|
34
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
35
|
+
actiontext (6.0.3.2)
|
36
|
+
actionpack (= 6.0.3.2)
|
37
|
+
activerecord (= 6.0.3.2)
|
38
|
+
activestorage (= 6.0.3.2)
|
39
|
+
activesupport (= 6.0.3.2)
|
40
|
+
nokogiri (>= 1.8.5)
|
41
|
+
actionview (6.0.3.2)
|
42
|
+
activesupport (= 6.0.3.2)
|
43
|
+
builder (~> 3.1)
|
44
|
+
erubi (~> 1.4)
|
45
|
+
rails-dom-testing (~> 2.0)
|
46
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
47
|
+
activejob (6.0.3.2)
|
48
|
+
activesupport (= 6.0.3.2)
|
49
|
+
globalid (>= 0.3.6)
|
50
|
+
activemodel (6.0.3.2)
|
51
|
+
activesupport (= 6.0.3.2)
|
52
|
+
activerecord (6.0.3.2)
|
53
|
+
activemodel (= 6.0.3.2)
|
54
|
+
activesupport (= 6.0.3.2)
|
55
|
+
activestorage (6.0.3.2)
|
56
|
+
actionpack (= 6.0.3.2)
|
57
|
+
activejob (= 6.0.3.2)
|
58
|
+
activerecord (= 6.0.3.2)
|
59
|
+
marcel (~> 0.3.1)
|
60
|
+
activesupport (6.0.3.2)
|
61
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
62
|
+
i18n (>= 0.7, < 2)
|
63
|
+
minitest (~> 5.1)
|
64
|
+
tzinfo (~> 1.1)
|
65
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
66
|
+
appraisal (2.3.0)
|
67
|
+
bundler
|
68
|
+
rake
|
69
|
+
thor (>= 0.14.0)
|
70
|
+
ast (2.4.1)
|
71
|
+
builder (3.2.4)
|
72
|
+
combustion (1.3.0)
|
73
|
+
activesupport (>= 3.0.0)
|
74
|
+
railties (>= 3.0.0)
|
75
|
+
thor (>= 0.14.6)
|
76
|
+
concurrent-ruby (1.1.6)
|
77
|
+
crass (1.0.6)
|
78
|
+
diff-lcs (1.3)
|
79
|
+
erubi (1.9.0)
|
80
|
+
globalid (0.4.2)
|
81
|
+
activesupport (>= 4.2.0)
|
82
|
+
i18n (1.8.3)
|
83
|
+
concurrent-ruby (~> 1.0)
|
84
|
+
loofah (2.6.0)
|
85
|
+
crass (~> 1.0.2)
|
86
|
+
nokogiri (>= 1.5.9)
|
87
|
+
mail (2.7.1)
|
88
|
+
mini_mime (>= 0.1.1)
|
89
|
+
marcel (0.3.3)
|
90
|
+
mimemagic (~> 0.3.2)
|
91
|
+
method_source (1.0.0)
|
92
|
+
mimemagic (0.3.5)
|
93
|
+
mini_mime (1.0.2)
|
94
|
+
mini_portile2 (2.4.0)
|
95
|
+
minitest (5.14.1)
|
96
|
+
nio4r (2.5.2)
|
97
|
+
nokogiri (1.10.9)
|
98
|
+
mini_portile2 (~> 2.4.0)
|
99
|
+
outbox (0.2.1)
|
100
|
+
mail (~> 2.6)
|
101
|
+
parser (2.7.1.4)
|
102
|
+
ast (~> 2.4.1)
|
103
|
+
powerpack (0.1.2)
|
104
|
+
rack (2.2.3)
|
105
|
+
rack-test (1.1.0)
|
106
|
+
rack (>= 1.0, < 3)
|
107
|
+
rails (6.0.3.2)
|
108
|
+
actioncable (= 6.0.3.2)
|
109
|
+
actionmailbox (= 6.0.3.2)
|
110
|
+
actionmailer (= 6.0.3.2)
|
111
|
+
actionpack (= 6.0.3.2)
|
112
|
+
actiontext (= 6.0.3.2)
|
113
|
+
actionview (= 6.0.3.2)
|
114
|
+
activejob (= 6.0.3.2)
|
115
|
+
activemodel (= 6.0.3.2)
|
116
|
+
activerecord (= 6.0.3.2)
|
117
|
+
activestorage (= 6.0.3.2)
|
118
|
+
activesupport (= 6.0.3.2)
|
119
|
+
bundler (>= 1.3.0)
|
120
|
+
railties (= 6.0.3.2)
|
121
|
+
sprockets-rails (>= 2.0.0)
|
122
|
+
rails-dom-testing (2.0.3)
|
123
|
+
activesupport (>= 4.2.0)
|
124
|
+
nokogiri (>= 1.6)
|
125
|
+
rails-html-sanitizer (1.3.0)
|
126
|
+
loofah (~> 2.3)
|
127
|
+
railties (6.0.3.2)
|
128
|
+
actionpack (= 6.0.3.2)
|
129
|
+
activesupport (= 6.0.3.2)
|
130
|
+
method_source
|
131
|
+
rake (>= 0.8.7)
|
132
|
+
thor (>= 0.20.3, < 2.0)
|
133
|
+
rainbow (2.2.2)
|
134
|
+
rake
|
135
|
+
rake (13.0.1)
|
136
|
+
rspec (3.5.0)
|
137
|
+
rspec-core (~> 3.5.0)
|
138
|
+
rspec-expectations (~> 3.5.0)
|
139
|
+
rspec-mocks (~> 3.5.0)
|
140
|
+
rspec-core (3.5.4)
|
141
|
+
rspec-support (~> 3.5.0)
|
142
|
+
rspec-expectations (3.5.0)
|
143
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
144
|
+
rspec-support (~> 3.5.0)
|
145
|
+
rspec-mocks (3.5.0)
|
146
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
147
|
+
rspec-support (~> 3.5.0)
|
148
|
+
rspec-rails (3.5.2)
|
149
|
+
actionpack (>= 3.0)
|
150
|
+
activesupport (>= 3.0)
|
151
|
+
railties (>= 3.0)
|
152
|
+
rspec-core (~> 3.5.0)
|
153
|
+
rspec-expectations (~> 3.5.0)
|
154
|
+
rspec-mocks (~> 3.5.0)
|
155
|
+
rspec-support (~> 3.5.0)
|
156
|
+
rspec-support (3.5.0)
|
157
|
+
rubocop (0.48.1)
|
158
|
+
parser (>= 2.3.3.1, < 3.0)
|
159
|
+
powerpack (~> 0.1)
|
160
|
+
rainbow (>= 1.99.1, < 3.0)
|
161
|
+
ruby-progressbar (~> 1.7)
|
162
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
163
|
+
ruby-progressbar (1.10.1)
|
164
|
+
sprockets (4.0.2)
|
165
|
+
concurrent-ruby (~> 1.0)
|
166
|
+
rack (> 1, < 3)
|
167
|
+
sprockets-rails (3.2.1)
|
168
|
+
actionpack (>= 4.0)
|
169
|
+
activesupport (>= 4.0)
|
170
|
+
sprockets (>= 3.0.0)
|
171
|
+
sqlite3 (1.4.2)
|
172
|
+
thor (1.0.1)
|
173
|
+
thread_safe (0.3.6)
|
174
|
+
tzinfo (1.2.7)
|
175
|
+
thread_safe (~> 0.1)
|
176
|
+
unicode-display_width (1.7.0)
|
177
|
+
websocket-driver (0.7.2)
|
178
|
+
websocket-extensions (>= 0.1.0)
|
179
|
+
websocket-extensions (0.1.5)
|
180
|
+
zeitwerk (2.3.0)
|
181
|
+
|
182
|
+
PLATFORMS
|
183
|
+
ruby
|
184
|
+
|
185
|
+
DEPENDENCIES
|
186
|
+
appraisal (~> 2.3.0)
|
187
|
+
combustion (~> 1.1)
|
188
|
+
outbox-rails!
|
189
|
+
rails (~> 6.0.0)
|
190
|
+
rake (>= 12.3.3)
|
191
|
+
rspec (~> 3.5.0)
|
192
|
+
rspec-rails (~> 3.5.2)
|
193
|
+
rubocop (~> 0.48.1)
|
194
|
+
sqlite3
|
195
|
+
|
196
|
+
BUNDLED WITH
|
197
|
+
2.1.4
|
data/lib/outbox/notifier.rb
CHANGED
@@ -92,7 +92,7 @@ module Outbox
|
|
92
92
|
protected
|
93
93
|
|
94
94
|
def details_for_lookup
|
95
|
-
{ variants:
|
95
|
+
{ variants: [:email] }
|
96
96
|
end
|
97
97
|
|
98
98
|
def build_message
|
@@ -122,7 +122,7 @@ module Outbox
|
|
122
122
|
def render_message_types(options)
|
123
123
|
templates = find_message_type_templates(options)
|
124
124
|
templates.each do |template|
|
125
|
-
variants = (template
|
125
|
+
variants = template_variants(template)
|
126
126
|
if variants.empty?
|
127
127
|
assign_body(render(template: template))
|
128
128
|
else
|
@@ -142,11 +142,12 @@ module Outbox
|
|
142
142
|
end
|
143
143
|
|
144
144
|
def assign_body(body, only_message_types = nil)
|
145
|
-
only_message_types =
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
145
|
+
only_message_types =
|
146
|
+
if only_message_types
|
147
|
+
only_message_types.map(&:to_sym)
|
148
|
+
else
|
149
|
+
message_types_without_email
|
150
|
+
end
|
150
151
|
@_message.each_message_type do |message_type, message|
|
151
152
|
if message && message.body.nil? && message_type.in?(only_message_types)
|
152
153
|
message.body = body
|
@@ -162,6 +163,16 @@ module Outbox
|
|
162
163
|
message_types - [:email]
|
163
164
|
end
|
164
165
|
|
166
|
+
def template_variants(template)
|
167
|
+
if template.respond_to?(:variant)
|
168
|
+
[template.variant].compact
|
169
|
+
elsif template.respond_to?(:variants)
|
170
|
+
template.variants.compact
|
171
|
+
else
|
172
|
+
[]
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
165
176
|
ActiveSupport.run_load_hooks(:outbox_notifier, self)
|
166
177
|
end
|
167
178
|
end
|
data/lib/outbox/rails/version.rb
CHANGED
data/outbox-rails.gemspec
CHANGED
@@ -20,10 +20,10 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
22
|
spec.add_runtime_dependency 'outbox', '~> 0.2.0'
|
23
|
-
spec.add_runtime_dependency 'rails', ['>=
|
24
|
-
spec.add_development_dependency '
|
23
|
+
spec.add_runtime_dependency 'rails', ['>= 5.0', '< 7']
|
24
|
+
spec.add_development_dependency 'appraisal', '~> 2.3.0'
|
25
25
|
spec.add_development_dependency 'combustion', '~> 1.1'
|
26
|
-
spec.add_development_dependency 'rake', '
|
26
|
+
spec.add_development_dependency 'rake', '>= 12.3.3'
|
27
27
|
spec.add_development_dependency 'rspec', '~> 3.5.0'
|
28
28
|
spec.add_development_dependency 'rspec-rails', '~> 3.5.2'
|
29
29
|
spec.add_development_dependency 'rubocop', '~> 0.48.1'
|
@@ -0,0 +1 @@
|
|
1
|
+
Only SMS
|
@@ -98,18 +98,24 @@ describe Outbox::Notifier do
|
|
98
98
|
end.to raise_error(ActionView::MissingTemplate)
|
99
99
|
end
|
100
100
|
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
101
|
+
it 'supports implicit variants by message type' do
|
102
|
+
message = BaseNotifier.implicit_variants
|
103
|
+
expect(message.email.body.encoded.strip).to eql('Email Variant')
|
104
|
+
expect(message.sms.body.strip).to eql('SMS Variant')
|
105
|
+
end
|
106
|
+
|
107
|
+
it 'supports layout variants' do
|
108
|
+
message = BaseNotifier.implicit_variants('notification')
|
109
|
+
expect(message.email.body.encoded.strip).to eql('Email Layout: Email Variant')
|
110
|
+
expect(message.sms.body.strip).to eql('SMS Layout: SMS Variant')
|
111
|
+
end
|
112
|
+
|
113
|
+
it 'only renders the SMS template once', :focus do
|
114
|
+
notifier = BaseNotifier.new(:only_sms_template)
|
115
|
+
expect(notifier).to receive(:render).once.and_return('Only SMS')
|
116
|
+
message = notifier.message
|
117
|
+
expect(message.email).to_not be_present
|
118
|
+
expect(message.sms.body).to eql('Only SMS')
|
113
119
|
end
|
114
120
|
end
|
115
121
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -2,7 +2,7 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
|
2
2
|
|
3
3
|
require 'combustion'
|
4
4
|
|
5
|
-
Combustion.initialize!(:
|
5
|
+
Combustion.initialize!(:action_mailer) do
|
6
6
|
config.outbox.use_test_client = true
|
7
7
|
config.outbox.default_email_client_settings = { option_1: true }
|
8
8
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: outbox-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Browne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: outbox
|
@@ -30,34 +30,34 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '5.0'
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
36
|
+
version: '7'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
43
|
+
version: '5.0'
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '7'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
48
|
+
name: appraisal
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
53
|
+
version: 2.3.0
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
60
|
+
version: 2.3.0
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: combustion
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -76,16 +76,16 @@ dependencies:
|
|
76
76
|
name: rake
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - "
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: 12.
|
81
|
+
version: 12.3.3
|
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: 12.
|
88
|
+
version: 12.3.3
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: rspec
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,11 +154,20 @@ files:
|
|
154
154
|
- ".rspec"
|
155
155
|
- ".rubocop.yml"
|
156
156
|
- ".travis.yml"
|
157
|
+
- Appraisals
|
157
158
|
- Gemfile
|
158
159
|
- LICENSE.txt
|
159
160
|
- README.md
|
160
161
|
- Rakefile
|
161
162
|
- config.ru
|
163
|
+
- gemfiles/rails_5.0.gemfile
|
164
|
+
- gemfiles/rails_5.0.gemfile.lock
|
165
|
+
- gemfiles/rails_5.1.gemfile
|
166
|
+
- gemfiles/rails_5.1.gemfile.lock
|
167
|
+
- gemfiles/rails_5.2.gemfile
|
168
|
+
- gemfiles/rails_5.2.gemfile.lock
|
169
|
+
- gemfiles/rails_6.0.gemfile
|
170
|
+
- gemfiles/rails_6.0.gemfile.lock
|
162
171
|
- lib/generators/erb/notifier/notifier_generator.rb
|
163
172
|
- lib/generators/erb/notifier/templates/view.text.erb
|
164
173
|
- lib/generators/outbox/notifier/USAGE
|
@@ -184,6 +193,7 @@ files:
|
|
184
193
|
- spec/internal/app/views/base_notifier/implicit_multipart.text.erb
|
185
194
|
- spec/internal/app/views/base_notifier/implicit_variants.text+email.erb
|
186
195
|
- spec/internal/app/views/base_notifier/implicit_variants.text+sms.erb
|
196
|
+
- spec/internal/app/views/base_notifier/only_sms_template.text+sms.erb
|
187
197
|
- spec/internal/app/views/base_notifier/welcome.erb
|
188
198
|
- spec/internal/app/views/customized_notifier/with_defaults.erb
|
189
199
|
- spec/internal/app/views/layouts/notification.text+email.erb
|
@@ -216,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
226
|
- !ruby/object:Gem::Version
|
217
227
|
version: '0'
|
218
228
|
requirements: []
|
219
|
-
rubygems_version: 3.
|
229
|
+
rubygems_version: 3.1.4
|
220
230
|
signing_key:
|
221
231
|
specification_version: 4
|
222
232
|
summary: Rails Railtie for sending email, SMS, and push notifications using the Outbox
|
@@ -231,6 +241,7 @@ test_files:
|
|
231
241
|
- spec/internal/app/views/base_notifier/implicit_multipart.text.erb
|
232
242
|
- spec/internal/app/views/base_notifier/implicit_variants.text+email.erb
|
233
243
|
- spec/internal/app/views/base_notifier/implicit_variants.text+sms.erb
|
244
|
+
- spec/internal/app/views/base_notifier/only_sms_template.text+sms.erb
|
234
245
|
- spec/internal/app/views/base_notifier/welcome.erb
|
235
246
|
- spec/internal/app/views/customized_notifier/with_defaults.erb
|
236
247
|
- spec/internal/app/views/layouts/notification.text+email.erb
|