zio 0.0.3 → 0.0.4

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: 52403445fc9727cf1916c1a85624ca3d9ae1326d
4
- data.tar.gz: 0a1cd727f98a07d017f42a61673000ff150bdc9c
3
+ metadata.gz: aa38d94926c3489c12f2975941c86e7d6aa856a5
4
+ data.tar.gz: f49ccf68d052a8ee42ab48e4facc78e575f47f2a
5
5
  SHA512:
6
- metadata.gz: de0de46ae91ba696828d174f80f9ddd0db13f69a5cfa099cfda297c9f8e68994a64a027fbbb5996396219add57423110e32c3f72730af3ed56fa155d546c73e2
7
- data.tar.gz: edeb75423017cbd2fa819f3a380d4640336d72d51f4a86c20446d32bfdb351c340d1984169b0d99b8d2897e4d4503b160f1b92daf8597f1f588e6b60561364d7
6
+ metadata.gz: 8072b9b03346fa3d495ca15961a56c6c0f12dacf8e6daf967989bca8e04dda07a483120022749f2325a64bed740d971c19487a276ba7bee4292b02aa12684a3d
7
+ data.tar.gz: d369d566690d7e9d0ec6936bc1a27901a09e2299b5a02a0d13ee3a0443bb0aedc8d71783603c32627d1a0797bd48675ddd336211d7037860aca666f6d7681e2d
data/bin/zio CHANGED
@@ -29,9 +29,12 @@ command :up do |c|
29
29
  c.desc 'Git repos set'
30
30
  c.flag [:s, :repos_set]
31
31
 
32
+ c.desc 'Slow down!'
33
+ c.switch [:l, :slow]
34
+
32
35
  c.action do |_global_options, options, _args|
33
36
  logger = Zio::UpLogger.new
34
- opts = { dir: options[:d] }
37
+ opts = { dir: options[:d], slow: options[:l] }
35
38
  opts[:set] = $dirsets[options[:s]] if options[:s]
36
39
  Zio::Up.new(opts).up
37
40
  logger.print
@@ -59,6 +59,7 @@ module Zio
59
59
  def up
60
60
  publish 'up_paths', _paths
61
61
  _paths.each do |path|
62
+ sleep 0.2 if options[:slow]
62
63
  self.class.new(options).async.pull(path)
63
64
  end
64
65
  end
@@ -1,3 +1,3 @@
1
1
  module Zio
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Your Name Here
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-13 00:00:00.000000000 Z
11
+ date: 2016-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -104,7 +104,6 @@ extra_rdoc_files:
104
104
  - zio.rdoc
105
105
  files:
106
106
  - ".gitignore"
107
- - ".ruby-version"
108
107
  - Gemfile
109
108
  - README.rdoc
110
109
  - Rakefile
@@ -146,9 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
145
  version: '0'
147
146
  requirements: []
148
147
  rubyforge_project:
149
- rubygems_version: 2.2.2
148
+ rubygems_version: 2.4.5.1
150
149
  signing_key:
151
150
  specification_version: 4
152
151
  summary: A description of your project
153
152
  test_files: []
154
- has_rdoc: true
@@ -1 +0,0 @@
1
- 2.1.2