letter_opener_web 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +3 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +27 -0
  5. data/.travis.yml +21 -4
  6. data/CHANGELOG.md +7 -0
  7. data/Gemfile +3 -7
  8. data/README.md +15 -4
  9. data/Rakefile +6 -35
  10. data/app/assets/javascripts/letter_opener_web/application.js +1 -1
  11. data/app/controllers/letter_opener_web/application_controller.rb +2 -0
  12. data/app/controllers/letter_opener_web/letters_controller.rb +19 -21
  13. data/app/models/letter_opener_web/letter.rb +27 -23
  14. data/app/views/layouts/letter_opener_web/{application.html.erb → letters.html.erb} +0 -2
  15. data/app/views/letter_opener_web/letters/index.html.erb +8 -8
  16. data/{script → bin}/rails +4 -1
  17. data/bin/setup +6 -0
  18. data/config/routes.rb +2 -0
  19. data/letter_opener_web.gemspec +13 -11
  20. data/lib/letter_opener_web.rb +20 -1
  21. data/lib/letter_opener_web/delivery_method.rb +5 -3
  22. data/lib/letter_opener_web/engine.rb +12 -7
  23. data/lib/letter_opener_web/version.rb +3 -1
  24. data/script/pre-push +2 -0
  25. data/spec/controllers/letter_opener_web/letters_controller_spec.rb +50 -32
  26. data/spec/dummy/Rakefile +8 -0
  27. data/spec/dummy/app/assets/config/manifest.js +5 -0
  28. data/spec/{internal/public/favicon.ico → dummy/app/assets/images/.keep} +0 -0
  29. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  30. data/spec/dummy/app/assets/stylesheets/application.css +31 -0
  31. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  32. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  33. data/spec/dummy/app/controllers/home_controller.rb +10 -0
  34. data/spec/dummy/app/helpers/application_helper.rb +4 -0
  35. data/spec/dummy/app/mailers/application_mailer.rb +6 -0
  36. data/spec/dummy/app/mailers/contact_mailer.rb +14 -0
  37. data/spec/dummy/app/views/contact_mailer/new_message.html.erb +21 -0
  38. data/spec/dummy/app/views/contact_mailer/new_message.text.erb +3 -0
  39. data/spec/dummy/app/views/home/index.html.erb +50 -0
  40. data/spec/dummy/app/views/layouts/application.html.erb +18 -0
  41. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  42. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  43. data/spec/dummy/bin/bundle +5 -0
  44. data/spec/dummy/bin/rails +6 -0
  45. data/spec/dummy/bin/rake +6 -0
  46. data/spec/dummy/bin/setup +36 -0
  47. data/spec/dummy/bin/update +31 -0
  48. data/spec/dummy/config.ru +7 -0
  49. data/spec/dummy/config/application.rb +23 -0
  50. data/spec/dummy/config/boot.rb +7 -0
  51. data/spec/dummy/config/environment.rb +7 -0
  52. data/spec/dummy/config/environments/development.rb +40 -0
  53. data/spec/dummy/config/environments/production.rb +85 -0
  54. data/spec/dummy/config/environments/test.rb +37 -0
  55. data/spec/dummy/config/initializers/application_controller_renderer.rb +7 -0
  56. data/spec/dummy/config/initializers/assets.rb +13 -0
  57. data/spec/dummy/config/initializers/backtrace_silencers.rb +8 -0
  58. data/spec/dummy/config/initializers/cookies_serializer.rb +7 -0
  59. data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
  60. data/spec/dummy/config/initializers/inflections.rb +17 -0
  61. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  62. data/spec/dummy/config/initializers/new_framework_defaults.rb +10 -0
  63. data/spec/dummy/config/initializers/session_store.rb +5 -0
  64. data/spec/dummy/config/initializers/wrap_parameters.rb +16 -0
  65. data/spec/dummy/config/locales/en.yml +23 -0
  66. data/spec/dummy/config/puma.rb +49 -0
  67. data/spec/dummy/config/routes.rb +8 -0
  68. data/spec/dummy/config/secrets.yml +22 -0
  69. data/spec/dummy/config/spring.rb +8 -0
  70. data/spec/dummy/lib/assets/.keep +0 -0
  71. data/spec/dummy/public/404.html +67 -0
  72. data/spec/dummy/public/422.html +67 -0
  73. data/spec/dummy/public/500.html +66 -0
  74. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  75. data/spec/dummy/public/apple-touch-icon.png +0 -0
  76. data/spec/dummy/public/favicon.ico +0 -0
  77. data/spec/letter_opener_web_spec.rb +44 -0
  78. data/spec/models/letter_opener_web/letter_spec.rb +23 -15
  79. data/spec/rails_helper.rb +8 -0
  80. data/spec/spec_helper.rb +2 -16
  81. metadata +142 -30
  82. data/Gemfile.lock +0 -167
  83. data/Guardfile +0 -14
  84. data/lib/tasks/letter_opener_web_tasks.rake +0 -4
  85. data/spec/internal/config/database.yml +0 -3
  86. data/spec/internal/config/routes.rb +0 -7
  87. data/spec/internal/db/schema.rb +0 -3
  88. data/spec/internal/log/.gitignore +0 -1
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ # frozen_string_literal: true
2
2
 
3
3
  describe LetterOpenerWeb::Letter do
4
4
  let(:location) { File.expand_path('../../../tmp', __FILE__) }
@@ -18,30 +18,38 @@ MAIL
18
18
  end
19
19
 
20
20
  before :each do
21
- allow(described_class).to receive(:letters_location).and_return(location)
22
- allow_any_instance_of(described_class).to receive(:letters_location).and_return(location)
21
+ LetterOpenerWeb.configure { |config| config.letters_location = location }
23
22
 
24
- ['1111_1111', '2222_2222'].each do |folder|
23
+ %w[1111_1111 2222_2222].each do |folder|
25
24
  FileUtils.mkdir_p("#{location}/#{folder}")
26
- File.open("#{location}/#{folder}/plain.html", 'w') {|f| f.write("Plain text for #{folder}") }
27
- File.open("#{location}/#{folder}/rich.html", 'w') {|f| f.write(rich_text(folder)) }
25
+ File.open("#{location}/#{folder}/plain.html", 'w') { |f| f.write("Plain text for #{folder}") }
26
+ File.open("#{location}/#{folder}/rich.html", 'w') { |f| f.write(rich_text(folder)) }
28
27
  FileUtils.mkdir_p("#{Rails.root.join('tmp', 'letter_opener')}/#{folder}")
29
- File.open("#{Rails.root.join('tmp', 'letter_opener')}/#{folder}/rich.html", 'w') {|f| f.write("Rich text for #{folder}") }
28
+ File.open("#{Rails.root.join('tmp', 'letter_opener')}/#{folder}/rich.html", 'w') do |f|
29
+ f.write("Rich text for #{folder}")
30
+ end
30
31
  end
31
32
  end
32
33
 
33
34
  after :each do
35
+ LetterOpenerWeb.reset!
34
36
  FileUtils.rm_rf(location)
35
37
  end
36
38
 
37
39
  describe 'rich text version' do
38
40
  let(:id) { '1111_1111' }
39
- subject { described_class.new(:id => id).rich_text }
41
+ subject { described_class.new(id: id).rich_text }
40
42
 
41
43
  it { is_expected.to match(/Rich text for 1111_1111/) }
42
44
 
43
45
  it 'changes links to show up on a new window' do
44
- expect(subject).to include("<a href='a-link.html' target='_blank'>\n <img src='an-image.jpg'/>\n Link text\n</a>")
46
+ link_html = [
47
+ "<a href='a-link.html' target='_blank'>",
48
+ "<img src='an-image.jpg'/>",
49
+ "Link text\n</a>"
50
+ ].join("\n ")
51
+
52
+ expect(subject).to include(link_html)
45
53
  end
46
54
 
47
55
  it 'always rewrites links with a closing tag rather than making them selfclosing' do
@@ -51,21 +59,21 @@ MAIL
51
59
 
52
60
  describe 'plain text version' do
53
61
  let(:id) { '2222_2222' }
54
- subject { described_class.new(:id => id).plain_text }
62
+ subject { described_class.new(id: id).plain_text }
55
63
 
56
64
  it { is_expected.to match(/Plain text for 2222_2222/) }
57
65
  end
58
66
 
59
67
  describe 'default style' do
60
68
  let(:id) { '2222_2222' }
61
- subject { described_class.new(:id => id) }
69
+ subject { described_class.new(id: id) }
62
70
 
63
71
  it 'returns rich if rich text version is present' do
64
72
  expect(subject.default_style).to eq('rich')
65
73
  end
66
74
 
67
75
  it 'returns plain if rich text version is not present' do
68
- allow(File).to receive_messages(:exists? => false)
76
+ allow(File).to receive_messages(exist?: false)
69
77
  expect(subject.default_style).to eq('plain')
70
78
  end
71
79
  end
@@ -75,7 +83,7 @@ MAIL
75
83
  let(:attachments_dir) { "#{location}/#{id}/attachments" }
76
84
  let(:id) { '1111_1111' }
77
85
 
78
- subject { described_class.new(:id => id) }
86
+ subject { described_class.new(id: id) }
79
87
 
80
88
  before do
81
89
  FileUtils.mkdir_p(attachments_dir)
@@ -83,7 +91,7 @@ MAIL
83
91
  end
84
92
 
85
93
  it 'builds a hash with file name as key and full path as value' do
86
- expect(subject.attachments).to eq({ file => "#{attachments_dir}/#{file}" })
94
+ expect(subject.attachments).to eq(file => "#{attachments_dir}/#{file}")
87
95
  end
88
96
  end
89
97
 
@@ -120,7 +128,7 @@ MAIL
120
128
 
121
129
  describe '#delete' do
122
130
  let(:id) { '1111_1111' }
123
- subject { described_class.new(:id => id).delete }
131
+ subject { described_class.new(id: id).delete }
124
132
 
125
133
  it'removes the letter with given id' do
126
134
  subject
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ ENV['RAILS_ENV'] ||= 'test'
4
+ require File.expand_path('../dummy/config/environment', __FILE__)
5
+ require 'spec_helper'
6
+ require 'rspec/rails'
7
+
8
+ RSpec.configure(&:infer_spec_type_from_file_location!)
data/spec/spec_helper.rb CHANGED
@@ -1,22 +1,8 @@
1
- require 'rubygems'
2
- require 'bundler/setup'
1
+ # frozen_string_literal: true
3
2
 
4
- require 'combustion'
5
- Bundler.require :default, :test
6
-
7
- Combustion.initialize! :action_controller, :action_view, :action_mailer
8
-
9
- require 'rspec/rails'
10
3
  require 'shoulda-matchers'
11
4
 
12
5
  RSpec.configure do |config|
13
- config.filter_run :focus => true
6
+ config.filter_run focus: true
14
7
  config.run_all_when_everything_filtered = true
15
- config.infer_spec_type_from_file_location!
16
-
17
- # Run specs in random order to surface order dependencies. If you find an
18
- # order dependency and want to debug it, you can fix the order by providing
19
- # the seed, which is printed after each run.
20
- # --seed 1234
21
- config.order = "random"
22
8
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: letter_opener_web
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Rehm
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-07 00:00:00.000000000 Z
11
+ date: 2018-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: railties
14
+ name: actionmailer
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,7 +25,21 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: actionmailer
28
+ name: letter_opener
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: railties
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - ">="
@@ -39,19 +53,19 @@ dependencies:
39
53
  - !ruby/object:Gem::Version
40
54
  version: '3.2'
41
55
  - !ruby/object:Gem::Dependency
42
- name: letter_opener
56
+ name: rails
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '1.0'
48
- type: :runtime
61
+ version: 4.2.0
62
+ type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '1.0'
68
+ version: 4.2.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rspec-rails
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -67,33 +81,33 @@ dependencies:
67
81
  - !ruby/object:Gem::Version
68
82
  version: '3.0'
69
83
  - !ruby/object:Gem::Dependency
70
- name: shoulda-matchers
84
+ name: rubocop
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: '2.5'
89
+ version: '0.47'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: '2.5'
96
+ version: '0.47'
83
97
  - !ruby/object:Gem::Dependency
84
- name: combustion
98
+ name: shoulda-matchers
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: '0.5'
103
+ version: '2.5'
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
108
  - - "~>"
95
109
  - !ruby/object:Gem::Version
96
- version: '0.5'
110
+ version: '2.5'
97
111
  description: Gives letter_opener an interface for browsing sent emails
98
112
  email:
99
113
  - fgrehm@gmail.com
@@ -103,11 +117,10 @@ extra_rdoc_files: []
103
117
  files:
104
118
  - ".gitignore"
105
119
  - ".rspec"
120
+ - ".rubocop.yml"
106
121
  - ".travis.yml"
107
122
  - CHANGELOG.md
108
123
  - Gemfile
109
- - Gemfile.lock
110
- - Guardfile
111
124
  - LICENSE.txt
112
125
  - README.md
113
126
  - Rakefile
@@ -116,23 +129,73 @@ files:
116
129
  - app/controllers/letter_opener_web/application_controller.rb
117
130
  - app/controllers/letter_opener_web/letters_controller.rb
118
131
  - app/models/letter_opener_web/letter.rb
119
- - app/views/layouts/letter_opener_web/application.html.erb
132
+ - app/views/layouts/letter_opener_web/letters.html.erb
120
133
  - app/views/letter_opener_web/letters/index.html.erb
134
+ - bin/rails
135
+ - bin/setup
121
136
  - config/routes.rb
122
137
  - letter_opener_web.gemspec
123
138
  - lib/letter_opener_web.rb
124
139
  - lib/letter_opener_web/delivery_method.rb
125
140
  - lib/letter_opener_web/engine.rb
126
141
  - lib/letter_opener_web/version.rb
127
- - lib/tasks/letter_opener_web_tasks.rake
128
- - script/rails
142
+ - script/pre-push
129
143
  - spec/controllers/letter_opener_web/letters_controller_spec.rb
130
- - spec/internal/config/database.yml
131
- - spec/internal/config/routes.rb
132
- - spec/internal/db/schema.rb
133
- - spec/internal/log/.gitignore
134
- - spec/internal/public/favicon.ico
144
+ - spec/dummy/Rakefile
145
+ - spec/dummy/app/assets/config/manifest.js
146
+ - spec/dummy/app/assets/images/.keep
147
+ - spec/dummy/app/assets/javascripts/application.js
148
+ - spec/dummy/app/assets/stylesheets/application.css
149
+ - spec/dummy/app/controllers/application_controller.rb
150
+ - spec/dummy/app/controllers/concerns/.keep
151
+ - spec/dummy/app/controllers/home_controller.rb
152
+ - spec/dummy/app/helpers/application_helper.rb
153
+ - spec/dummy/app/mailers/application_mailer.rb
154
+ - spec/dummy/app/mailers/contact_mailer.rb
155
+ - spec/dummy/app/views/contact_mailer/new_message.html.erb
156
+ - spec/dummy/app/views/contact_mailer/new_message.text.erb
157
+ - spec/dummy/app/views/home/index.html.erb
158
+ - spec/dummy/app/views/layouts/application.html.erb
159
+ - spec/dummy/app/views/layouts/mailer.html.erb
160
+ - spec/dummy/app/views/layouts/mailer.text.erb
161
+ - spec/dummy/bin/bundle
162
+ - spec/dummy/bin/rails
163
+ - spec/dummy/bin/rake
164
+ - spec/dummy/bin/setup
165
+ - spec/dummy/bin/update
166
+ - spec/dummy/config.ru
167
+ - spec/dummy/config/application.rb
168
+ - spec/dummy/config/boot.rb
169
+ - spec/dummy/config/environment.rb
170
+ - spec/dummy/config/environments/development.rb
171
+ - spec/dummy/config/environments/production.rb
172
+ - spec/dummy/config/environments/test.rb
173
+ - spec/dummy/config/initializers/application_controller_renderer.rb
174
+ - spec/dummy/config/initializers/assets.rb
175
+ - spec/dummy/config/initializers/backtrace_silencers.rb
176
+ - spec/dummy/config/initializers/cookies_serializer.rb
177
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
178
+ - spec/dummy/config/initializers/inflections.rb
179
+ - spec/dummy/config/initializers/mime_types.rb
180
+ - spec/dummy/config/initializers/new_framework_defaults.rb
181
+ - spec/dummy/config/initializers/session_store.rb
182
+ - spec/dummy/config/initializers/wrap_parameters.rb
183
+ - spec/dummy/config/locales/en.yml
184
+ - spec/dummy/config/puma.rb
185
+ - spec/dummy/config/routes.rb
186
+ - spec/dummy/config/secrets.yml
187
+ - spec/dummy/config/spring.rb
188
+ - spec/dummy/lib/assets/.keep
189
+ - spec/dummy/log/.keep
190
+ - spec/dummy/public/404.html
191
+ - spec/dummy/public/422.html
192
+ - spec/dummy/public/500.html
193
+ - spec/dummy/public/apple-touch-icon-precomposed.png
194
+ - spec/dummy/public/apple-touch-icon.png
195
+ - spec/dummy/public/favicon.ico
196
+ - spec/letter_opener_web_spec.rb
135
197
  - spec/models/letter_opener_web/letter_spec.rb
198
+ - spec/rails_helper.rb
136
199
  - spec/spec_helper.rb
137
200
  - vendor/assets/images/letter_opener_web/blue-dot.ico
138
201
  - vendor/assets/images/letter_opener_web/glyphicons-halflings-white.png
@@ -162,16 +225,65 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
225
  version: '0'
163
226
  requirements: []
164
227
  rubyforge_project:
165
- rubygems_version: 2.5.1
228
+ rubygems_version: 2.7.4
166
229
  signing_key:
167
230
  specification_version: 4
168
231
  summary: Gives letter_opener an interface for browsing sent emails
169
232
  test_files:
170
233
  - spec/controllers/letter_opener_web/letters_controller_spec.rb
171
- - spec/internal/config/database.yml
172
- - spec/internal/config/routes.rb
173
- - spec/internal/db/schema.rb
174
- - spec/internal/log/.gitignore
175
- - spec/internal/public/favicon.ico
234
+ - spec/dummy/Rakefile
235
+ - spec/dummy/app/assets/config/manifest.js
236
+ - spec/dummy/app/assets/images/.keep
237
+ - spec/dummy/app/assets/javascripts/application.js
238
+ - spec/dummy/app/assets/stylesheets/application.css
239
+ - spec/dummy/app/controllers/application_controller.rb
240
+ - spec/dummy/app/controllers/concerns/.keep
241
+ - spec/dummy/app/controllers/home_controller.rb
242
+ - spec/dummy/app/helpers/application_helper.rb
243
+ - spec/dummy/app/mailers/application_mailer.rb
244
+ - spec/dummy/app/mailers/contact_mailer.rb
245
+ - spec/dummy/app/views/contact_mailer/new_message.html.erb
246
+ - spec/dummy/app/views/contact_mailer/new_message.text.erb
247
+ - spec/dummy/app/views/home/index.html.erb
248
+ - spec/dummy/app/views/layouts/application.html.erb
249
+ - spec/dummy/app/views/layouts/mailer.html.erb
250
+ - spec/dummy/app/views/layouts/mailer.text.erb
251
+ - spec/dummy/bin/bundle
252
+ - spec/dummy/bin/rails
253
+ - spec/dummy/bin/rake
254
+ - spec/dummy/bin/setup
255
+ - spec/dummy/bin/update
256
+ - spec/dummy/config.ru
257
+ - spec/dummy/config/application.rb
258
+ - spec/dummy/config/boot.rb
259
+ - spec/dummy/config/environment.rb
260
+ - spec/dummy/config/environments/development.rb
261
+ - spec/dummy/config/environments/production.rb
262
+ - spec/dummy/config/environments/test.rb
263
+ - spec/dummy/config/initializers/application_controller_renderer.rb
264
+ - spec/dummy/config/initializers/assets.rb
265
+ - spec/dummy/config/initializers/backtrace_silencers.rb
266
+ - spec/dummy/config/initializers/cookies_serializer.rb
267
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
268
+ - spec/dummy/config/initializers/inflections.rb
269
+ - spec/dummy/config/initializers/mime_types.rb
270
+ - spec/dummy/config/initializers/new_framework_defaults.rb
271
+ - spec/dummy/config/initializers/session_store.rb
272
+ - spec/dummy/config/initializers/wrap_parameters.rb
273
+ - spec/dummy/config/locales/en.yml
274
+ - spec/dummy/config/puma.rb
275
+ - spec/dummy/config/routes.rb
276
+ - spec/dummy/config/secrets.yml
277
+ - spec/dummy/config/spring.rb
278
+ - spec/dummy/lib/assets/.keep
279
+ - spec/dummy/log/.keep
280
+ - spec/dummy/public/404.html
281
+ - spec/dummy/public/422.html
282
+ - spec/dummy/public/500.html
283
+ - spec/dummy/public/apple-touch-icon-precomposed.png
284
+ - spec/dummy/public/apple-touch-icon.png
285
+ - spec/dummy/public/favicon.ico
286
+ - spec/letter_opener_web_spec.rb
176
287
  - spec/models/letter_opener_web/letter_spec.rb
288
+ - spec/rails_helper.rb
177
289
  - spec/spec_helper.rb
data/Gemfile.lock DELETED
@@ -1,167 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- letter_opener_web (1.3.1)
5
- actionmailer (>= 3.2)
6
- letter_opener (~> 1.0)
7
- railties (>= 3.2)
8
-
9
- GEM
10
- remote: http://rubygems.org/
11
- specs:
12
- actionmailer (4.2.0)
13
- actionpack (= 4.2.0)
14
- actionview (= 4.2.0)
15
- activejob (= 4.2.0)
16
- mail (~> 2.5, >= 2.5.4)
17
- rails-dom-testing (~> 1.0, >= 1.0.5)
18
- actionpack (4.2.0)
19
- actionview (= 4.2.0)
20
- activesupport (= 4.2.0)
21
- rack (~> 1.6.0)
22
- rack-test (~> 0.6.2)
23
- rails-dom-testing (~> 1.0, >= 1.0.5)
24
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
25
- actionview (4.2.0)
26
- activesupport (= 4.2.0)
27
- builder (~> 3.1)
28
- erubis (~> 2.7.0)
29
- rails-dom-testing (~> 1.0, >= 1.0.5)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.1)
31
- activejob (4.2.0)
32
- activesupport (= 4.2.0)
33
- globalid (>= 0.3.0)
34
- activesupport (4.2.0)
35
- i18n (~> 0.7)
36
- json (~> 1.7, >= 1.7.7)
37
- minitest (~> 5.1)
38
- thread_safe (~> 0.3, >= 0.3.4)
39
- tzinfo (~> 1.1)
40
- addressable (2.5.0)
41
- public_suffix (~> 2.0, >= 2.0.2)
42
- builder (3.2.2)
43
- celluloid (0.16.0)
44
- timers (~> 4.0.0)
45
- coderay (1.1.0)
46
- combustion (0.5.2)
47
- activesupport (>= 3.0.0)
48
- railties (>= 3.0.0)
49
- thor (>= 0.14.6)
50
- diff-lcs (1.2.5)
51
- erubis (2.7.0)
52
- ffi (1.9.6)
53
- formatador (0.2.5)
54
- globalid (0.3.7)
55
- activesupport (>= 4.1.0)
56
- guard (2.11.1)
57
- formatador (>= 0.2.4)
58
- listen (~> 2.7)
59
- lumberjack (~> 1.0)
60
- nenv (~> 0.1)
61
- notiffany (~> 0.0)
62
- pry (>= 0.9.12)
63
- shellany (~> 0.0)
64
- thor (>= 0.18.1)
65
- guard-compat (1.2.1)
66
- guard-rspec (4.5.0)
67
- guard (~> 2.1)
68
- guard-compat (~> 1.1)
69
- rspec (>= 2.99.0, < 4.0)
70
- hitimes (1.2.2)
71
- i18n (0.7.0)
72
- json (1.8.2)
73
- launchy (2.4.3)
74
- addressable (~> 2.3)
75
- letter_opener (1.4.1)
76
- launchy (~> 2.2)
77
- listen (2.8.5)
78
- celluloid (>= 0.15.2)
79
- rb-fsevent (>= 0.9.3)
80
- rb-inotify (>= 0.9)
81
- loofah (2.0.1)
82
- nokogiri (>= 1.5.9)
83
- lumberjack (1.0.9)
84
- mail (2.6.4)
85
- mime-types (>= 1.16, < 4)
86
- method_source (0.8.2)
87
- mime-types (3.1)
88
- mime-types-data (~> 3.2015)
89
- mime-types-data (3.2016.0521)
90
- mini_portile (0.6.2)
91
- minitest (5.5.1)
92
- nenv (0.2.0)
93
- nokogiri (1.6.6.2)
94
- mini_portile (~> 0.6.0)
95
- notiffany (0.0.3)
96
- nenv (~> 0.1)
97
- shellany (~> 0.0)
98
- pry (0.10.1)
99
- coderay (~> 1.1.0)
100
- method_source (~> 0.8.1)
101
- slop (~> 3.4)
102
- public_suffix (2.0.5)
103
- rack (1.6.0)
104
- rack-test (0.6.3)
105
- rack (>= 1.0)
106
- rails-deprecated_sanitizer (1.0.3)
107
- activesupport (>= 4.2.0.alpha)
108
- rails-dom-testing (1.0.5)
109
- activesupport (>= 4.2.0.beta, < 5.0)
110
- nokogiri (~> 1.6.0)
111
- rails-deprecated_sanitizer (>= 1.0.1)
112
- rails-html-sanitizer (1.0.1)
113
- loofah (~> 2.0)
114
- railties (4.2.0)
115
- actionpack (= 4.2.0)
116
- activesupport (= 4.2.0)
117
- rake (>= 0.8.7)
118
- thor (>= 0.18.1, < 2.0)
119
- rake (10.4.2)
120
- rb-fsevent (0.9.4)
121
- rb-inotify (0.9.5)
122
- ffi (>= 0.5.0)
123
- rspec (3.1.0)
124
- rspec-core (~> 3.1.0)
125
- rspec-expectations (~> 3.1.0)
126
- rspec-mocks (~> 3.1.0)
127
- rspec-core (3.1.7)
128
- rspec-support (~> 3.1.0)
129
- rspec-expectations (3.1.2)
130
- diff-lcs (>= 1.2.0, < 2.0)
131
- rspec-support (~> 3.1.0)
132
- rspec-mocks (3.1.3)
133
- rspec-support (~> 3.1.0)
134
- rspec-rails (3.1.0)
135
- actionpack (>= 3.0)
136
- activesupport (>= 3.0)
137
- railties (>= 3.0)
138
- rspec-core (~> 3.1.0)
139
- rspec-expectations (~> 3.1.0)
140
- rspec-mocks (~> 3.1.0)
141
- rspec-support (~> 3.1.0)
142
- rspec-support (3.1.2)
143
- shellany (0.0.1)
144
- shoulda-matchers (2.8.0)
145
- activesupport (>= 3.0.0)
146
- slop (3.6.0)
147
- thor (0.19.1)
148
- thread_safe (0.3.4)
149
- timers (4.0.1)
150
- hitimes
151
- tzinfo (1.2.2)
152
- thread_safe (~> 0.1)
153
-
154
- PLATFORMS
155
- ruby
156
-
157
- DEPENDENCIES
158
- combustion (~> 0.5)
159
- guard
160
- guard-rspec
161
- letter_opener_web!
162
- rb-inotify
163
- rspec-rails (~> 3.0)
164
- shoulda-matchers (~> 2.5)
165
-
166
- BUNDLED WITH
167
- 1.12.5