react_on_rails 11.1.6 → 11.1.7

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
  SHA256:
3
- metadata.gz: dbd4d6b1d0c16a03c9e308b676d793c50107fc7d488ea705eb57ad70f32ce629
4
- data.tar.gz: 5cc182e1b5c1f0485436cf742b6db788b98ed31044e996cbfa4af6a15ededc98
3
+ metadata.gz: f438e5ff9e6b2697d00f7232f748c3829b53099f5e048c68db7df913e7b0e778
4
+ data.tar.gz: a285c7806a308fafb386dd1e9800a3650349a0d38ff09c03ec190ee3f795075f
5
5
  SHA512:
6
- metadata.gz: 80eca369a33e9d6935d65d1676dc086d12f45eef21dbc43f5a0a9cc54f122557a476e46113c26141f6b122fa817a71e472fdb81b6a36ddd4bd92473621f4429a
7
- data.tar.gz: 35175de9e26d8fc1bbbf02aa4094ce8716c2ac6e36c6548211ae4754619fc1e3434b581e383a329eda574daa18300c2abbb1849fea440c1ad0f6f0c3d0e425cb
6
+ metadata.gz: 153503d0d3913c8bdd74f818d5892da1d14aace2de687aa44b6539772dcef49d8555a4265f5ce56f531ea4fad428f882f0e66cf99e6149a7af1dd708e0c22201
7
+ data.tar.gz: 6766c004cbd7358501179fadfffe8e5c50682be85b38bcc5c147e5c72f92a15f2a1afcf6cf36303fe2f9e45e2b22cf6cf38234d93b63da3cc7cf1ba2b309d271
@@ -16,6 +16,9 @@ Changes since last non-beta release.
16
16
 
17
17
  *Please add entries here for your pull requests that are not yet released.*
18
18
 
19
+ ### [11.1.7] - 2018-10-10
20
+ #### Fixed
21
+ - Fixed bug where intl parsing would fail when trying to parse integers or blank entries. by [sepehr500](https://github.com/sepehr500)
19
22
 
20
23
  ### [11.1.6] - 2018-10-05
21
24
  #### Fixed
@@ -831,7 +834,8 @@ Best done with Object destructing:
831
834
  ##### Fixed
832
835
  - Fix several generator related issues.
833
836
 
834
- [Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.1.6...master
837
+ [Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.1.7...master
838
+ [11.1.7]: https://github.com/shakacode/react_on_rails/compare/11.1.6...11.1.7
835
839
  [11.1.6]: https://github.com/shakacode/react_on_rails/compare/11.1.5...11.1.6
836
840
  [11.1.5]: https://github.com/shakacode/react_on_rails/compare/11.1.4...11.1.5
837
841
  [11.1.4]: https://github.com/shakacode/react_on_rails/compare/11.1.3...11.1.4
@@ -107,8 +107,10 @@ module ReactOnRails
107
107
  translations.each_with_object({}) do |(k, v), h|
108
108
  if v.is_a? Hash
109
109
  flatten(v).map { |hk, hv| h["#{k}.#{hk}".to_sym] = hv }
110
- elsif !v.is_a? Array # Arrays are not supported by react-intl
110
+ elsif v.is_a?(String)
111
111
  h[k] = v.gsub("%{", "{")
112
+ elsif !v.is_a?(Array)
113
+ h[k] = v
112
114
  end
113
115
  end
114
116
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "11.1.6".freeze
4
+ VERSION = "11.1.7".freeze
5
5
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "11.1.6",
3
+ "version": "11.1.7",
4
4
  "description": "react-on-rails JavaScript for react_on_rails Ruby gem",
5
5
  "main": "node_package/lib/ReactOnRails.js",
6
6
  "directories": {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.1.6
4
+ version: 11.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-06 00:00:00.000000000 Z
11
+ date: 2018-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable