blower 5.0a3 → 6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6369e5b4ff95c392dbe748cf592958afe1964df32bf53207e82c3a21f7e8c071
4
- data.tar.gz: 193302c6641c9ce020bde5f52e2c06da7d3df84cdd57c1a2a222f2f4a5f06752
3
+ metadata.gz: b43c163f31a76c68c8327d1c696bda453f2c6fefcfc673fdcf338f8c840e3a6c
4
+ data.tar.gz: e33fde4f43223527937dd57d11da5609bb2f124a66dc21dfa71d2f79a119a765
5
5
  SHA512:
6
- metadata.gz: 39655aa9b776541e74953935aa5201041c530e4847c62a4972dd0b8048b65cdf75d23880dc7d8064e6160305c2654a51f9f71853f2808f5753170c288a34703a
7
- data.tar.gz: f0987ab1d943d0285ac29bdd6afcc9ff19548b833ac7350cee853ffabd6086d6bf2dd09e634ecb2e4bbf28803bac15bd3b22847eb6ac75445fbd8c60b587367c
6
+ metadata.gz: 11ee37db482dad0ea13f9cdf42cb29007d6018a995f404bc06fb27f971ba3c6c2073f0a44165d0790c75f8cd931d37cd197ffda7d59e2f43368d9ebad14957a1
7
+ data.tar.gz: '0860054ed01d01203c7a616ae03fbc0653e0e3519e3516786530a88163207aef206f3da6e4be1ddcf78642314ddbde62d4cd427c1aecbfa64e0b73dc9f7465a9'
data/bin/blow CHANGED
@@ -2,6 +2,9 @@
2
2
  require 'blower'
3
3
  require 'pathname'
4
4
  require 'optparse'
5
+ require 'dotenv'
6
+
7
+ Dotenv.load
5
8
 
6
9
  path = []
7
10
 
data/lib/blower/host.rb CHANGED
@@ -55,7 +55,7 @@ module Blower
55
55
  # Copy files or directories to the host.
56
56
  # @api private
57
57
  def cp (froms, to, as: nil, quiet: false, delete: false)
58
- sleep DELAY if DELAY
58
+ sleep DELAY if defined?(DELAY)
59
59
  as ||= @user
60
60
  output = ""
61
61
  synchronize do
@@ -111,7 +111,7 @@ module Blower
111
111
  # Execute a command on the host and return its output.
112
112
  # @api private
113
113
  def sh (command, as: nil, quiet: false)
114
- sleep DELAY if DELAY
114
+ sleep DELAY if defined?(DELAY)
115
115
  as ||= @user
116
116
  output = ""
117
117
  synchronize do
@@ -1,3 +1,3 @@
1
1
  module Blower
2
- VERSION = "5.0a3"
2
+ VERSION = "6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blower
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0a3
4
+ version: '6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Baum
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-17 00:00:00.000000000 Z
11
+ date: 2021-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: dotenv
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: yard
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -144,7 +158,7 @@ homepage: http://www.github.org/nbaum/blower
144
158
  licenses:
145
159
  - MIT
146
160
  metadata: {}
147
- post_install_message:
161
+ post_install_message:
148
162
  rdoc_options: []
149
163
  require_paths:
150
164
  - lib
@@ -155,12 +169,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
155
169
  version: '0'
156
170
  required_rubygems_version: !ruby/object:Gem::Requirement
157
171
  requirements:
158
- - - ">"
172
+ - - ">="
159
173
  - !ruby/object:Gem::Version
160
- version: 1.3.1
174
+ version: '0'
161
175
  requirements: []
162
- rubygems_version: 3.0.3
163
- signing_key:
176
+ rubygems_version: 3.2.3
177
+ signing_key:
164
178
  specification_version: 4
165
179
  summary: Really simple server orchestration
166
180
  test_files: []