letter_opener_web 1.2.2 → 1.2.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: c6a68770b043595bf19b9615ae05ed7ebd136c29
4
- data.tar.gz: 35cc68611bee3af314dec5272832a425576f3af9
3
+ metadata.gz: 98d4caac460b92b595077684bae612441ea70dd3
4
+ data.tar.gz: 0ea38b2b8dfc113727e8df0cf649d765479b101a
5
5
  SHA512:
6
- metadata.gz: 5ecc4124d756e3ce10db48afe67600d3ea7cea179f15acbb4b60033da481d43142c8edd5a21fec7faef1ea722bea198e80ff15361669fe6276be9a57ae8b38db
7
- data.tar.gz: 4d0f62dc1159ec23afcb9803f965d363d0a310087df622d1b29e3863f0be2024869a4ff2d6b3b746698bc2f8ee01a66c5af418ab4a59f7e643eaa97d94f71a9b
6
+ metadata.gz: fd2bf222d5ef28727a1d3cb095ef851fae3660f7dc4c9b850c3a10bf485f898bb410c1ffbb834eb5b24d050b319b86567690500bcc50bc9c0252f289010a734a
7
+ data.tar.gz: 73388d0752883b524228fc74287f9a62e1495779ab591dc53f7a3099ee1df04cb1abf7ac8862cbd4b455da27891cb91d52bc5f86e3fdacbe76da1ffcd3b2fc96
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [1.2.3](https://github.com/fgrehm/letter_opener_web/compare/v1.2.2...v1.2.3) (Sep 12, 2014)
2
+
3
+ - Fix exception with `sprockets-rails` >= `2.1.4` [#32](https://github.com/fgrehm/letter_opener_web/issues/32) / [#33](https://github.com/fgrehm/letter_opener_web/pull/33)
4
+
1
5
  ## [1.2.2](https://github.com/fgrehm/letter_opener_web/compare/v1.2.1...v1.2.2) (Jul 17, 2014)
2
6
 
3
7
  - Precompile glyphicons [#30](https://github.com/fgrehm/letter_opener_web/pull/30)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- letter_opener_web (1.2.2)
4
+ letter_opener_web (1.2.3)
5
5
  letter_opener (~> 1.0)
6
6
  rails (>= 3.2)
7
7
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # letter_opener_web
2
2
 
3
- [![Build Status](https://travis-ci.org/fgrehm/letter_opener_web.png?branch=master)](https://travis-ci.org/fgrehm/letter_opener_web) [![Gem Version](https://badge.fury.io/rb/letter_opener_web.png)](http://badge.fury.io/rb/letter_opener_web) [![Code Climate](https://codeclimate.com/github/fgrehm/letter_opener_web.png)](https://codeclimate.com/github/fgrehm/letter_opener_web) [![Gittip](http://img.shields.io/gittip/fgrehm.svg)](https://www.gittip.com/fgrehm/)
3
+ [![Build Status](https://travis-ci.org/fgrehm/letter_opener_web.png?branch=master)](https://travis-ci.org/fgrehm/letter_opener_web) [![Gem Version](https://badge.fury.io/rb/letter_opener_web.png)](http://badge.fury.io/rb/letter_opener_web) [![Code Climate](https://codeclimate.com/github/fgrehm/letter_opener_web.png)](https://codeclimate.com/github/fgrehm/letter_opener_web) [![Gittip](http://img.shields.io/gittip/fgrehm.svg)](https://www.gittip.com/fgrehm/) [![Gitter chat](https://badges.gitter.im/fgrehm/letter_opener_web.png)](https://gitter.im/fgrehm/letter_opener_web)
4
4
 
5
5
  Gives [letter_opener](https://github.com/ryanb/letter_opener) an interface for
6
6
  browsing sent emails.
@@ -11,7 +11,9 @@ Check out http://letter-opener-web.herokuapp.com to see it in action.
11
11
 
12
12
  First add the gem to your development environment and run the `bundle` command to install it.
13
13
 
14
- gem 'letter_opener_web', '~> 1.2.0', :group => :development
14
+ ```ruby
15
+ gem 'letter_opener_web', '~> 1.2.0', :group => :development
16
+ ```
15
17
 
16
18
  ## Usage
17
19
 
@@ -25,7 +27,11 @@ Your::Application.routes.draw do
25
27
  end
26
28
  ```
27
29
 
28
- If you are running the app from a [Vagrant](http://vagrantup.com) box, you
30
+ And make sure you have [`:letter_opener` delivery method](https://github.com/ryanb/letter_opener#rails-setup)
31
+ configured for your app. Then visit `http://localhost:3000/letter_opener` after
32
+ sending an email and have fun.
33
+
34
+ If you are running the app from a [Vagrant](http://vagrantup.com) machine, you
29
35
  might want to skip `letter_opener`'s `launchy` calls and avoid messages like these:
30
36
 
31
37
  ```terminal
@@ -40,12 +46,34 @@ can set `:letter_opener_web` as your delivery method on your
40
46
  `config/environments/development.rb`:
41
47
 
42
48
  ```ruby
43
- config.action_mailer.delivery_method = :letter_opener_web
49
+ config.action_mailer.delivery_method = :letter_opener_web
50
+
51
+ # If not everyone on the team is using vagrant
52
+ config.action_mailer.delivery_method = ENV['USER'] == 'vagrant' ? :letter_opener_web : :letter_opener
53
+ ```
54
+
55
+ ## Usage on Heroku
56
+
57
+ Some people use this gem on staging environments on Heroku and to set that up
58
+ is just a matter of moving the gem out of the `development` group and enabling
59
+ the route for all environments on your `routes.rb`.
60
+
61
+ In order words, your `Gemfile` will have:
44
62
 
45
- # If not everyone on the team is using vagrant
46
- config.action_mailer.delivery_method = ENV['USER'] == 'vagrant' ? :letter_opener_web : :letter_opener
63
+ ```ruby
64
+ gem 'letter_opener_web', '~> 1.2.0'
65
+ ```
66
+
67
+ And your `routes.rb`:
68
+
69
+ ```ruby
70
+ Your::Application.routes.draw do
71
+ mount LetterOpenerWeb::Engine, at: "/letter_opener"
72
+ end
47
73
  ```
48
74
 
75
+ You might also want to have a look at the sources for the [demo](http://letter-opener-web.herokuapp.com)
76
+ available at https://github.com/fgrehm/letter_opener_web_demo.
49
77
 
50
78
  ## Acknowledgements
51
79
 
@@ -4,7 +4,7 @@
4
4
  <title>LetterOpenerWeb</title>
5
5
  <%= stylesheet_link_tag "letter_opener_web/application", :media => "all" %>
6
6
  <%= javascript_include_tag "letter_opener_web/application" %>
7
- <%= favicon_link_tag asset_path("letter_opener_web/blue-dot.ico"), :rel => "icon" %>
7
+ <%= favicon_link_tag "letter_opener_web/blue-dot.ico", :rel => "icon" %>
8
8
  <%= csrf_meta_tags %>
9
9
  </head>
10
10
  <body>
@@ -1,3 +1,3 @@
1
1
  module LetterOpenerWeb
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  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.2.2
4
+ version: 1.2.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: 2014-07-17 00:00:00.000000000 Z
11
+ date: 2014-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails