shopifydev 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -289,9 +289,9 @@ shopifydev_command_set = Pry::CommandSet.new do
289
289
  when args.empty?
290
290
  _pry_.switch.reset # reset to the first menu page
291
291
  output.puts _pry_.switch.menu.print
292
- print "ima ask for input:"
293
- choice = $stdin.gets
294
- puts "you chose #{choice}"
292
+ # print "ima ask for input:"
293
+ # choice = $stdin.gets
294
+ # puts "you chose #{choice}"
295
295
  when (args.length == 1)
296
296
  ix = args.first.to_i
297
297
  output.puts _pry_.switch.pick(ix)
@@ -313,11 +313,7 @@ shopifydev_command_set = Pry::CommandSet.new do
313
313
  end
314
314
 
315
315
  block_command "tree", "display directory using unix 'tree'" do |path|
316
- dir ||= Pathname.getwd
317
- dir = Pathname.new(dir) unless dir.is_a?(Pathname)
318
- puts Color.blue{ "listing #{dir}..."}
319
- puts `cd #{dir.expand_path.to_s}; tree`.gsub(%r{(^[^\w]+)}, Color.black{'\1'})
320
-
316
+ UnixTree.print_tree(path) # moved to module so can use in save_json & load_json
321
317
  end
322
318
 
323
319
  end
@@ -1,3 +1,3 @@
1
1
  module Shopifydev
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopifydev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -250,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
250
250
  version: '0'
251
251
  segments:
252
252
  - 0
253
- hash: 3714550711815646135
253
+ hash: 2691546243454101872
254
254
  required_rubygems_version: !ruby/object:Gem::Requirement
255
255
  none: false
256
256
  requirements:
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
259
  version: '0'
260
260
  segments:
261
261
  - 0
262
- hash: 3714550711815646135
262
+ hash: 2691546243454101872
263
263
  requirements: []
264
264
  rubyforge_project:
265
265
  rubygems_version: 1.8.25