json_q_l 1.1.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1b78b6264d9a84a2bf61ca3fc70b385b9fdddf7
4
- data.tar.gz: 2abc2a6bf75fc64cbd415ac964771ba9d40f04af
3
+ metadata.gz: 1d2cb3367bec37553bd15394f1b1ee86c3dc1c49
4
+ data.tar.gz: 96cf52b92994b527e279eab96f1d780d44386013
5
5
  SHA512:
6
- metadata.gz: 3b285b055b2b2a4abdf4dbb89e03fcd61dc029fa7472efd4c197ed02b5cbeafc068868dcccd50cdd490200282711a5a9057d7b65d6d1f327b20d39db90ea4189
7
- data.tar.gz: a21102d1effb762e44ad35675d140846753cb8bf7ffb7184ed45563a92efe064399dbe5e50ba8f402214a874d03d4494c41e5ffda2c0d169e8c21b8e5aefaf4c
6
+ metadata.gz: f39fcc168aa28dd88e29b598e14323a8e61b0dc709893247792ef91e2dced23e80effc6fa814647a2d1226446115a16c89d28587f344ae21a8f6b36e6d446391
7
+ data.tar.gz: acf3cbd921a97af1cc72a8e32f26b7542db32bb04e352ce4c777950cd4702dbe8b60aa95ccb3c9633f1f8fd7646cd951315c38829334712f4fa6799a2f8afd5c
data/exe/jql CHANGED
@@ -5,7 +5,7 @@ require 'json'
5
5
 
6
6
  file_path = File.dirname(__FILE__) + "/../" + ARGV.first
7
7
  puts file_path
8
- executor = JsonQL::Executor.new(dataset: JSON.parse(File.read(file_path)))
8
+ executor = JsonQL::Executor.new(JSON.parse(File.read(file_path)))
9
9
 
10
10
  while line = Readline.readline('jql~> ', true)
11
11
  begin
@@ -1,6 +1,6 @@
1
1
  module JsonQL
2
2
  class Executor
3
- def initialize(dataset:)
3
+ def initialize(dataset)
4
4
  @dataset = dataset
5
5
  end
6
6
 
@@ -1,3 +1,3 @@
1
1
  module JsonQL
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_q_l
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Eddy