letter_opener_web 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/LICENSE.txt +2 -2
- data/demo/Gemfile.lock +1 -1
- data/lib/letter_opener_web/engine.rb +4 -0
- data/lib/letter_opener_web/version.rb +1 -1
- data/spec/models/letter_opener_web/letter_spec.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 635c1ee37b5f5af26958ed5352c8c2f993836837
|
4
|
+
data.tar.gz: 0f726ba70c2dc43486f1dd1aa08ee723f7ba4ed3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd1ef70c5276f5b97907d6e088d96303c9dd2b59bae2e33b680264046fd7b25c9bacf6474ef911e3c9966a659b7fe9e2398a39ce5c0487362231da92141e988e
|
7
|
+
data.tar.gz: e56d00193cc694602d18749cb76e9dc111d6456b1cab5266762851fc0b7b40379db9aba93ae9628cea9139985e8bcfb25485dd2cc9692a927a0da4cca6e3db11
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## [1.1.3](https://github.com/fgrehm/letter_opener_web/compare/v1.1.2...master) (Feb 21, 2014)
|
2
|
+
|
3
|
+
- Include assets into `precompile` list [#21](https://github.com/fgrehm/letter_opener_web/pull/21)
|
4
|
+
|
1
5
|
## [1.1.2](https://github.com/fgrehm/letter_opener_web/compare/v1.1.1...v1.1.2) (Dec 12, 2013)
|
2
6
|
|
3
7
|
- Nicely handle empty links [#18](https://github.com/fgrehm/letter_opener_web/pull/18)
|
data/Gemfile.lock
CHANGED
data/LICENSE.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Copyright (c) 2013 Fabio Rehm
|
1
|
+
Copyright (c) 2013-2014 Fabio Rehm
|
2
2
|
|
3
3
|
MIT License
|
4
4
|
|
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
19
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
20
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
21
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/demo/Gemfile.lock
CHANGED
@@ -11,5 +11,9 @@ module LetterOpenerWeb
|
|
11
11
|
initializer "letter_opener_web.add_delivery_method" do
|
12
12
|
ActionMailer::Base.add_delivery_method :letter_opener_web, LetterOpenerWeb::DeliveryMethod, :location => Rails.root.join("tmp", "letter_opener")
|
13
13
|
end
|
14
|
+
|
15
|
+
initializer "assets" do |app|
|
16
|
+
Rails.application.config.assets.precompile += %w( letter_opener_web/application.js letter_opener_web/application.css )
|
17
|
+
end
|
14
18
|
end
|
15
19
|
end
|
@@ -40,12 +40,10 @@ MAIL
|
|
40
40
|
it { should =~ /Rich text for 1111_1111/ }
|
41
41
|
|
42
42
|
it 'changes links to show up on a new window' do
|
43
|
-
return pending 'This spec if failing randomly on ruby 1.8' if RUBY_VERSION =~ /^1.8/
|
44
43
|
subject.should include("<a href='a-link.html' target='_blank'>\n <img src='an-image.jpg'/>\n Link text\n</a>")
|
45
44
|
end
|
46
45
|
|
47
46
|
it 'always rewrites links with a closing tag rather than making them selfclosing' do
|
48
|
-
return pending 'This spec if failing randomly on ruby 1.8' if RUBY_VERSION =~ /^1.8/
|
49
47
|
subject.should include("<a class='blank' href='example.html' target='_blank'></a>")
|
50
48
|
end
|
51
49
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: letter_opener_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabio Rehm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|