letter_opener_web 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,11 +19,13 @@ Or install it yourself as:
19
19
 
20
20
  ## Usage
21
21
 
22
- Add to your routest.rb:
22
+ Add to your routes.rb:
23
23
 
24
24
  ```ruby
25
- if Rails.env.development?
26
- mount LetterOpenerWeb::Engine, at: "/letter_opener"
25
+ Your::Application.routes.draw do
26
+ if Rails.env.development?
27
+ mount LetterOpenerWeb::Engine, at: "/letter_opener"
28
+ end
27
29
  end
28
30
  ```
29
31
 
@@ -16,7 +16,7 @@
16
16
  </tr>
17
17
  </thead>
18
18
  <tbody>
19
- <% if first_letter = @letters.pop %>
19
+ <% if first_letter = @letters.shift %>
20
20
  <tr class="active">
21
21
  <td>
22
22
  <%= link_to(first_letter.id, letter_path(first_letter, style: 'rich'), target: 'mail') %>
@@ -1,3 +1,3 @@
1
1
  module LetterOpenerWeb
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  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: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-04 00:00:00.000000000 Z
12
+ date: 2013-01-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  prerelease: false
@@ -147,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  segments:
149
149
  - 0
150
- hash: -323839013796434470
150
+ hash: 3518792770742069574
151
151
  none: false
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  requirements:
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  segments:
158
158
  - 0
159
- hash: -323839013796434470
159
+ hash: 3518792770742069574
160
160
  none: false
161
161
  requirements: []
162
162
  rubyforge_project: