firespring_dev_commands 2.1.29 → 2.1.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/firespring_dev_commands/common.rb +2 -2
- data/lib/firespring_dev_commands/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c98960c1647053a0e07d700b5405cfe56d4924d2178172ddbbf5a8e0234045b5
|
4
|
+
data.tar.gz: ad88cd46712794d5fea9a5bfddf239088d165364a6056d5a44ec4d714849df8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd276c75d35da37bff2a454e9ffa75140a211255178c81808cdfd74381cc804643cc9cde32c2731dceae7afb80762451494b9f679be15ba9a25e28741b8aab58
|
7
|
+
data.tar.gz: 1e34152a7bd5b4c50841e66c845b5a5862924e52ac13d4ddc8946e532c776a2aa42ee2e4dccd0812d7847465afac122dbaf293132a04af90052f88d47693eeb4
|
@@ -100,8 +100,8 @@ module Dev
|
|
100
100
|
# Receive a string from the user on stdin unless non_interactive is set to true
|
101
101
|
# If a default value was specified and no answer was given, return the default
|
102
102
|
def gather_input(default: nil)
|
103
|
-
answer = $stdin.gets
|
104
|
-
answer.to_s.strip
|
103
|
+
answer = $stdin.gets unless ENV['NON_INTERACTIVE'] == 'true'
|
104
|
+
answer = answer.to_s.strip
|
105
105
|
return default if default && answer.empty?
|
106
106
|
|
107
107
|
answer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firespring_dev_commands
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|