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.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -2
  3. data/Gemfile +2 -0
  4. data/README.md +3 -13
  5. data/lib/yq/version.rb +1 -1
  6. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0df4607bd133443c36744c12e135d7f57ec02f2
4
- data.tar.gz: 3141a098d8867570ccb20dc1c401763a52a63e11
3
+ metadata.gz: 13ea307e53dc5f5891524a3125352b0f3f4f147c
4
+ data.tar.gz: ba5b55d4b0e2439dad0cd185c27757668d4ba10b
5
5
  SHA512:
6
- metadata.gz: 4ad934af4fbcf11be95bd2b39b122381811307c16c4345701c75d889d8e22fe59c5589e5667a127f51dd8de85eeaa9c10831ad80d0eb3bf8ad84f4912e29d1c9
7
- data.tar.gz: d9e4567ac0c06ca1e9b396563bcc8ac054f7dc237f84246aef625e210797f2a7e48d90db9a74d30224038088b481f37f0c303c94c7f8d51299db98a48bda487e
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
@@ -1,5 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'json2yaml'
4
+
3
5
  group :development, :test do
4
6
  gem 'pry'
5
7
  gem 'rspec', '~> 3.3'
data/README.md CHANGED
@@ -4,21 +4,11 @@
4
4
  [![Build Status](https://travis-ci.org/jim80net/yq.svg?branch=master)](https://travis-ci.org/jim80net/yq)
5
5
  [![Coverage Status](https://coveralls.io/repos/jim80net/yq/badge.svg?branch=master&service=github)](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` should be available in your path to use this gem.
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
- ## Installation
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
- And then execute:
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
@@ -1,3 +1,3 @@
1
1
  module Yq
2
- VERSION = '0.2.0'
2
+ VERSION = '0.3.0'
3
3
  end
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.2.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: 2015-09-15 00:00:00.000000000 Z
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.3
114
+ rubygems_version: 2.4.8
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: A JQ wrapper for YAML