flash-messenger 0.1.0 → 0.1.1

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: 1f151f635a1072befe5078584b3277fe78b99925
4
- data.tar.gz: cf2bcef1886493130b6953aa7d3300db5dfabfbe
3
+ metadata.gz: 0f70fa2a6af0ec4ae7b6a881d08d1b61799d6943
4
+ data.tar.gz: e35854d4464f603ca260e882a223e1eba8eab7a4
5
5
  SHA512:
6
- metadata.gz: 1b206d177a2242d519b798eeeb13bc3c02393a79c09961acac791732e2d738137a8ac657aa376319113337be1120002a4c1edf06be2fccc7b4833d57d35b3efb
7
- data.tar.gz: 6a197f1a085aa6023f97a4a3c1940868638a68073ae8ea2ad404e68ddcac0ab3e6a91070b4b73d04128fb64ca32041552e30c9b11261537d75d971e0d13646f8
6
+ metadata.gz: cc68330e6146525a919f6c3fb3bb9dbde11b270af928727907afc26a0d3991f9c565bd29f28758cc1009732fc3ab20497e98cb072ca6469448892913ed127bd4
7
+ data.tar.gz: d3c59501426a88e489332347136c61f2c00a4691ce96b3a55bc3fecd1085bf87ed2e2550a070d0f13d802de5678573443a658f858c688c95bca235aa4cc79d6f
@@ -1,3 +1,7 @@
1
+ # v0.1.1 / 2016-04-17
2
+
3
+ Fixed model errors issue.
4
+
1
5
  # v0.1.0 / 2016-04-14
2
6
 
3
7
  Create project
@@ -20,7 +20,7 @@ module FlashMessenger
20
20
 
21
21
  def flash_model_error(errors, options = nil)
22
22
  errors = errors.errors if errors.is_a? ActiveRecord::Base
23
- push_flash(errors.to_h, options, 'modelError')
23
+ push_flash(errors.as_json, options, 'modelError')
24
24
  end
25
25
  end
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module FlashMessenger
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash-messenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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: 2016-04-16 00:00:00.000000000 Z
11
+ date: 2016-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: request_store
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  version: '0'
201
201
  requirements: []
202
202
  rubyforge_project:
203
- rubygems_version: 2.4.8
203
+ rubygems_version: 2.5.1
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: Integrate with flash-messenger to provide a simple flash messages.