vx-instrumentation 0.1.5 → 0.1.6

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: 289dd50d14c5373ac36ea8522fa59bebb7ccd64d
4
- data.tar.gz: f66d4d6580280d1d7f655cade76539feabe69b52
3
+ metadata.gz: 7a8e0740a5e2ad7866765f6acd3d7762ffdb739f
4
+ data.tar.gz: 853ea685b1f20ff65c426c2789b8ec23808272a8
5
5
  SHA512:
6
- metadata.gz: 8bca2a36364fc802da1e9d9ea0579b5c05a73d7c5cee5ff2606b251c1e7e72649ad6f8d943de0671bc7ccc9b3e24f6b092c639ce412dbd3b864637abe262393e
7
- data.tar.gz: ce4d170eeb0901606342e71a4081648fe3e4f28c9fa2cd14ae3d81a476b9c20ee95ba99853892e8e9f313288428ff58be4f4b330cb3caf8c4ac160cf1e182958
6
+ metadata.gz: 791d47a680cceac1c4d004a5c15b6abf4f3975303de88d5066e84716464c7b7d511cb34cd519cc1c4420496dbb50537a147db39fe0cc8f7b3265966bc3accf39
7
+ data.tar.gz: 27f99f8a3269ddb9dba13d7be1ae7568860a7686397679cfc9f074798775d2d5fa6669bb3a55632b24f5cd66f6cd3ff1bd7262eef8c78bf6087930cb12187f17
@@ -91,7 +91,11 @@ module Vx
91
91
 
92
92
  values = make_safe_hash(values)
93
93
 
94
- ::JSON.dump(values) + "\n"
94
+ if ENV['VX_INSTRUMENTATION_PRETTY']
95
+ ::JSON.pretty_generate(values) + "\n"
96
+ else
97
+ ::JSON.dump(values) + "\n"
98
+ end
95
99
  end
96
100
 
97
101
  end
@@ -1,5 +1,5 @@
1
1
  module Vx
2
2
  module Instrumentation
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vx-instrumentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Galinsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-18 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport