yq 0.2.0 → 0.3.0
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 +4 -4
- data/.gitignore +2 -2
- data/Gemfile +2 -0
- data/README.md +3 -13
- data/lib/yq/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13ea307e53dc5f5891524a3125352b0f3f4f147c
|
4
|
+
data.tar.gz: ba5b55d4b0e2439dad0cd185c27757668d4ba10b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bd15e2af64b6e19996adfae54cc82d99060d6d2cae379e73b712416f5aea746ffbf0a5939d4d155183e568511b6395238e20a24c893aa6aa85e2b1bda6d4f34
|
7
|
+
data.tar.gz: a161c1fa39350c40ba7786641dcfe3bed038749a1c5fa22d7827c3e0e515ba56105795b132c4ec38b224bfa4393b5f168717c9395c68944ee5f312f7d1550541
|
data/.gitignore
CHANGED
@@ -109,8 +109,8 @@ build/
|
|
109
109
|
# for a library or gem, you might want to ignore these files since the code is
|
110
110
|
# intended to run in multiple environments; otherwise, check them in:
|
111
111
|
Gemfile.lock
|
112
|
-
.ruby-version
|
113
|
-
.ruby-gemset
|
112
|
+
.ruby-version*
|
113
|
+
.ruby-gemset*
|
114
114
|
|
115
115
|
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
116
116
|
.rvmrc
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -4,21 +4,11 @@
|
|
4
4
|
[](https://travis-ci.org/jim80net/yq)
|
5
5
|
[](https://coveralls.io/github/jim80net/yq?branch=master)
|
6
6
|
|
7
|
-
Use `yq` to parse YAML documents using [jq](https://stedolan.github.io/jq/). This gem is a simple wrapper around the executable. `jq`
|
7
|
+
Use `yq` to parse YAML documents using [jq](https://stedolan.github.io/jq/). This gem is a simple wrapper around the executable. It will convert the YAML input into JSON, run `jq` against it, then convert the output back into YAML. Sometimes, `jq` will output non-JSON, but `yq` will just turn that into valid YAML.
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
Add this line to your application's Gemfile:
|
12
|
-
|
13
|
-
```ruby
|
14
|
-
gem 'yq'
|
15
|
-
```
|
9
|
+
`jq` should be available in your `$PATH` to use this gem.
|
16
10
|
|
17
|
-
|
18
|
-
|
19
|
-
$ bundle
|
20
|
-
|
21
|
-
Or install it yourself as:
|
11
|
+
## Installation
|
22
12
|
|
23
13
|
$ gem install yq
|
24
14
|
|
data/lib/yq/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Park
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
|
-
rubygems_version: 2.4.
|
114
|
+
rubygems_version: 2.4.8
|
115
115
|
signing_key:
|
116
116
|
specification_version: 4
|
117
117
|
summary: A JQ wrapper for YAML
|