letter_opener_web 1.0.0.rc2 → 1.0.0.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/letter_opener_web/delivery_method.rb +1 -1
- data/lib/letter_opener_web/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -7,7 +7,7 @@ browsing sent emails.
|
|
7
7
|
|
8
8
|
First add the gem to your development environment and run the `bundle` command to install it.
|
9
9
|
|
10
|
-
gem 'letter_opener_web', '1.0.0.
|
10
|
+
gem 'letter_opener_web', '1.0.0.rc3', :group => :development
|
11
11
|
|
12
12
|
## Usage
|
13
13
|
|
@@ -4,7 +4,7 @@ module LetterOpenerWeb
|
|
4
4
|
class DeliveryMethod < LetterOpener::DeliveryMethod
|
5
5
|
def deliver!(mail)
|
6
6
|
location = File.join(settings[:location], "#{Time.now.to_i}_#{Digest::SHA1.hexdigest(mail.encoded)[0..6]}")
|
7
|
-
messages = Message.rendered_messages(location, mail)
|
7
|
+
messages = LetterOpener::Message.rendered_messages(location, mail)
|
8
8
|
# Launchy.open(URI.parse(URI.escape(messages.first.filepath)))
|
9
9
|
end
|
10
10
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: letter_opener_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc3
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -151,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
151
151
|
version: '0'
|
152
152
|
segments:
|
153
153
|
- 0
|
154
|
-
hash: -
|
154
|
+
hash: -4352111280043590471
|
155
155
|
none: false
|
156
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|