virtual_mails 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf0fc2a0b32a73be32e8a34e7d0d97439f88595e
4
- data.tar.gz: aa594ea4eedc11af74541d99be7ca54e3fa1201e
3
+ metadata.gz: e909c7f473255d34647aae95722a1df4729ae79d
4
+ data.tar.gz: c3097c313b5ccfe4056a305fec7c7158d5e150d5
5
5
  SHA512:
6
- metadata.gz: 30f3c2b542920db7c70a54c7549b25e371ccf16faaad4317696af1d9bb529d66c1e68913a7a47ea20546394df5e2603523ef4af52b040b22b834f4b9375638d7
7
- data.tar.gz: 3cd93a12e797542e2faeb8c06587d0f5d1b3f15e2020aa1fd316b2c08864a9f14208a517239f3f94ece5145fb689ce90bc6274fc84e257a50b2b3618dc01042c
6
+ metadata.gz: 5f0631b7de83a3293058b7971566ce636ab2763226866ff0fd50117ca6bf346e220b7ec4d5d43795816a781c4d5c8c82cde437fa568925b95b0d038ce9bb5bcb
7
+ data.tar.gz: 549b87ee07ab809cb26a189470b9440eb1bbf51d53688803c0c0b536f132d420738637719d18ace66c9c37170b253af3baf7e923ae7f6afb0b47051d6f48c816
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## v0.2.0 / 2017-06-17
4
+ ### Added
5
+ - Rails 5 support
6
+
3
7
  ## v0.1.3 / 2017-03-09
4
8
  ### Fixed
5
9
  - csrf issue.
data/README.md CHANGED
@@ -39,6 +39,11 @@ config.action_mailer.delivery_method = :virtual
39
39
  ## Usage
40
40
  Now, you can go to http://localhost:3000/virtual_mails and check the emails!
41
41
 
42
+ ## Rails 5
43
+ You have to enable caching in development in Rails 5
44
+
45
+ rails dev:cache
46
+
42
47
  ## License
43
48
 
44
49
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -3,7 +3,7 @@ module VirtualMails
3
3
  before_action :find_mail, :only => [:show, :raw]
4
4
 
5
5
  def index
6
- @emails = Email.all
6
+ @emails = Email.all.reverse
7
7
  end
8
8
 
9
9
  def show
@@ -1,3 +1,3 @@
1
1
  module VirtualMails
2
- VERSION = "0.1.3"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virtual_mails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chen, Yi-Cyuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-09 00:00:00.000000000 Z
11
+ date: 2017-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 4.2.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.2.3
27
27
  - !ruby/object:Gem::Dependency