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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 748f7585d505b4b67ca5233b1ba66a64f2e7c36c
4
- data.tar.gz: daaa6a77e9ce24dc9c2074d9e876fb4c611e3ef3
3
+ metadata.gz: 635c1ee37b5f5af26958ed5352c8c2f993836837
4
+ data.tar.gz: 0f726ba70c2dc43486f1dd1aa08ee723f7ba4ed3
5
5
  SHA512:
6
- metadata.gz: 2b6dc02e0341d730d0aac32c3f048aaf99a61dd510b9c3eabd544de4c04de1184fff4f931324cac5fbd3edda2250a23b4abc55ae33f79c4bbac4fd620352e5f8
7
- data.tar.gz: a627b71d467033c5b99cf1e1e63c5ff685faf52f5d12f6abcfbcdad2f2c2fedf62aef1a260e0cd678ae4fcda0d9e426224445c1623b553693c306ce05f04d98b
6
+ metadata.gz: bd1ef70c5276f5b97907d6e088d96303c9dd2b59bae2e33b680264046fd7b25c9bacf6474ef911e3c9966a659b7fe9e2398a39ce5c0487362231da92141e988e
7
+ data.tar.gz: e56d00193cc694602d18749cb76e9dc111d6456b1cab5266762851fc0b7b40379db9aba93ae9628cea9139985e8bcfb25485dd2cc9692a927a0da4cca6e3db11
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  bundler_args: --without devonly
3
3
  rvm:
4
+ - 2.1.0
4
5
  - 2.0.0
5
6
  - 1.9.3
6
- - 1.8.7
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- letter_opener_web (1.1.2)
4
+ letter_opener_web (1.1.3)
5
5
  letter_opener (~> 1.0)
6
6
  rails (>= 3.2)
7
7
 
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../
3
3
  specs:
4
- letter_opener_web (1.1.2)
4
+ letter_opener_web (1.1.3.dev)
5
5
  letter_opener (~> 1.0)
6
6
  rails (>= 3.2)
7
7
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module LetterOpenerWeb
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  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.2
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: 2013-12-13 00:00:00.000000000 Z
11
+ date: 2014-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails