thor_repl 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 89a7669c7a9edd5a37fb8d17f679098d243c824a5ff72d0408e5fea4785ac1c1
4
- data.tar.gz: f15c2e5c827b781317535c7ae8348385ff7d056a22b31db6e0061c7268176b39
3
+ metadata.gz: ac94b059c6746d52c7cb0df6f376eb93aa96342ba8d8aa9a7f0c59c9ba14d8a5
4
+ data.tar.gz: 10c5cebf2da33007f2e2efe42448df25dbcf9fd6e06daa9cc72fd2d165d1331b
5
5
  SHA512:
6
- metadata.gz: bcaa384d8c6dd68c94fa9043282d8c3c93029b0b2820c73b2506fdb0bef8725c2638b70fb818fa9067d4721a8968b5f0113141f37093e5d970ab392783855863
7
- data.tar.gz: 827f1112fa3e4c722052f2d576a3424893e4f8be967ec283a7374db77c81a2e33dd935b80c6b6e713655fcce8e509f8a950a9b0764a0424e3b0dc35749565c24
6
+ metadata.gz: c264aa253414a59ffe792be35a1030786567e8a571f6c389615b1e0fc57049a12c95e4de8478cba1e0320af55612774648f8316aa6f1f04f31b24836a7d0b4b1
7
+ data.tar.gz: 34243f4d79c768cc05edfb58343dd0ebf82aef561b55a2d7a15b6e0f7b5b1f255ac7e3b315ec3d798ddb0a1e2caa8de24effdb4b0ee703da12fe63ea639d2665
@@ -2,7 +2,3 @@ source :rubygems
2
2
 
3
3
  gem 'thor'
4
4
  gem 'thor_repl', path: '../'
5
-
6
- group :development do
7
- gem 'pry'
8
- end
@@ -6,18 +6,12 @@ PATH
6
6
  GEM
7
7
  remote: http://rubygems.org/
8
8
  specs:
9
- coderay (1.1.2)
10
- method_source (0.9.2)
11
- pry (0.12.2)
12
- coderay (~> 1.1.0)
13
- method_source (~> 0.9.0)
14
9
  thor (0.20.3)
15
10
 
16
11
  PLATFORMS
17
12
  ruby
18
13
 
19
14
  DEPENDENCIES
20
- pry
21
15
  thor
22
16
  thor_repl!
23
17
 
@@ -1,3 +1,5 @@
1
+ require 'csv'
2
+
1
3
  module ThorRepl
2
4
  class Looper
3
5
  def initialize(thor_commands_class:, readline_class: Readline, welcome_message: true, prompt: ">")
@@ -11,7 +13,7 @@ module ThorRepl
11
13
  puts "Welcome to interactive mode. Use 'help' to list available commands" if @welcome_message
12
14
 
13
15
  repl(-> () { @readline_class.readline(@prompt, true) }) do |input|
14
- args = input.split("\s")
16
+ args = CSV.parse_line(input, col_sep: "\s")
15
17
  @thor_commands_class.start(args)
16
18
  end
17
19
  end
@@ -1,3 +1,3 @@
1
1
  module ThorRepl
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor_repl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mik Freedman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-21 00:00:00.000000000 Z
11
+ date: 2019-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler