producer-stdlib 0.1.2 → 0.1.3

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: b44370b764db68abd79821fa5750a39517758e19
4
- data.tar.gz: 7b0c215df3b7a0dab360a421e9cc8667017df0a7
3
+ metadata.gz: 2a03ccae83c05c88f8ad3b3c5964770747a7dbf7
4
+ data.tar.gz: 6d6ce85fdd76811391caa4127d77fbafd24d327c
5
5
  SHA512:
6
- metadata.gz: d731511a71e3aae3268f51219ae8e12cc6716a052cac4484b6c6013ccf6cd4adeea16ef1ef614559f36a49cef1dc061d9e14d67b92ec94afff58e5d61efd0a36
7
- data.tar.gz: cf10be4f0a4061c2cb5aa4ff7f814be067598e07912dd0e0cdb2fc843d3f06020c5a47e5d215d24508f836b8ede9da730de3ac7a43366ec9b983ce10fde2a2b5
6
+ metadata.gz: 396d5be731721b18791d26a420aeecf9b05e920b43bbd828a8716833f68d29aae3f8572e9cf3d5b54ba07bb97effe3c62168e125d0bb7eb6a4333cb4f793c7b3
7
+ data.tar.gz: f736f721724858701fefdce47c788f13181f5a5dad4b8da63bd74c71e9d9ad37b8ac2a20f720bc798d5977ea9a13667a09b229e27e1212f1303e74b5bf4fa084
@@ -4,13 +4,10 @@ require 'producer/stdlib/json/json_eq'
4
4
  module Producer
5
5
  module STDLib
6
6
  module JSON
7
- #STDLib.define_test :json_eq do |path, data|
8
- # file_eq path, ::JSON.generate(data)
9
- #end
10
7
  STDLib.define_test :json_eq, JSONEq
11
8
 
12
9
  STDLib.define_macro :json_write do |path, data|
13
- file_write path, ::JSON.generate(data)
10
+ file_write path, ::JSON.pretty_generate(data)
14
11
  end
15
12
 
16
13
  STDLib.define_macro :json_write_once do |path, data|
@@ -1,5 +1,5 @@
1
1
  module Producer
2
2
  module STDLib
3
- VERSION = '0.1.2'.freeze
3
+ VERSION = '0.1.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: producer-stdlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibault Jouan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-29 00:00:00.000000000 Z
11
+ date: 2015-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: producer-core