react_on_rails 7.0.3 → 7.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -2
- data/app/helpers/react_on_rails_helper.rb +1 -1
- data/lib/react_on_rails/version.rb +1 -1
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c09c0e266eff11daec5d1c570b125e6d7562aa6
|
4
|
+
data.tar.gz: 666d703c93be4097189a0001c083e7c7a3c54918
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09dcad342d1dd0c8f4879e31a6f44633a88d9286089d4a4ce35c9738fab1942ccb4ee43aaa470016f05e7b6042720457b0a1a2bad7f6561e0a8e43ad16acf3f0'
|
7
|
+
data.tar.gz: a45fa0ca99b488dbe3d99ee0a4d40240773266b19316ccdc3df2e7411f1d4d4b17a7154970fe13ecb3471cfd03c380471a9ff190710214515af845b843015426
|
data/CHANGELOG.md
CHANGED
@@ -4,7 +4,16 @@ All notable changes to this project's source code will be documented in this fil
|
|
4
4
|
Contributors: please follow the recommendations outlined at [keepachangelog.com](http://keepachangelog.com/). Please use the existing headings and styling as a guide, and add a link for the version diff at the bottom of the file. Also, please update the `Unreleased` link to compare to the latest release version.
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
|
-
|
7
|
+
*Please add entries here for your pull requests.*
|
8
|
+
|
9
|
+
## [7.0.4] - 2017-04-27
|
10
|
+
- Return empty json when nil in json_safe_and_pretty [#824](https://github.com/shakacode/react_on_rails/pull/824) by [dzirtusss](https://github.com/dzirtusss)
|
11
|
+
|
12
|
+
## [7.0.3] - 2017-04-27
|
13
|
+
Same as 7.0.1.
|
14
|
+
|
15
|
+
## 7.0.2 - 2017-04-27
|
16
|
+
*Accidental release of beta gem here*
|
8
17
|
|
9
18
|
## [7.0.1] - 2017-04-27
|
10
19
|
### Fixed
|
@@ -547,7 +556,9 @@ Best done with Object destructing:
|
|
547
556
|
##### Fixed
|
548
557
|
- Fix several generator related issues.
|
549
558
|
|
550
|
-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/7.0.
|
559
|
+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/7.0.4...master
|
560
|
+
[7.0.4]: https://github.com/shakacode/react_on_rails/compare/7.0.3...7.0.4
|
561
|
+
[7.0.3]: https://github.com/shakacode/react_on_rails/compare/7.0.1...7.0.3
|
551
562
|
[7.0.1]: https://github.com/shakacode/react_on_rails/compare/7.0.0...7.0.1
|
552
563
|
[7.0.0]: https://github.com/shakacode/react_on_rails/compare/6.10.1...7.0.0
|
553
564
|
[6.10.1]: https://github.com/shakacode/react_on_rails/compare/6.10.0...6.10.1
|
@@ -231,7 +231,7 @@ module ReactOnRailsHelper
|
|
231
231
|
end
|
232
232
|
|
233
233
|
def json_safe_and_pretty(hash_or_string)
|
234
|
-
return if hash_or_string.nil?
|
234
|
+
return "{}" if hash_or_string.nil?
|
235
235
|
unless hash_or_string.class.in?([Hash, String])
|
236
236
|
raise "#{__method__} only accepts String or Hash as argument "\
|
237
237
|
"(#{hash_or_string.class} given)."
|
data/package.json
CHANGED
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: 7.0.
|
4
|
+
version: 7.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|