rubyment 0.1.25418433 → 0.2.25418435
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 +4 -4
- data/lib/rubyment.rb +4 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fe84d44d47b82b4bcf6b53d9b68925465e82e94
|
4
|
+
data.tar.gz: 84cf0304d95e5c44ec2b11d6a2ec2af076c03c48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8f401d97f26cd65391180a6704a0ca3ccc3bc3ba1e7d343f7ffb07ce57c0c9aaca9b6f3d335a77c8820ac64f8d366d8c10c4043c977339a1e4142b33637db04
|
7
|
+
data.tar.gz: 9f86ecea526dba67141a9cbfc6a77b3cb2bf2a834d2536889264e6abdb7bdc2a4da3de28d8da86d63bdcdf5a0fd57883b294a983ea626b3a3d16d923faef3400
|
data/lib/rubyment.rb
CHANGED
@@ -60,7 +60,7 @@ class Rubyment
|
|
60
60
|
:stdout => STDOUT,
|
61
61
|
:stdin => STDIN,
|
62
62
|
:time => Time.now,
|
63
|
-
:major_version => "0.
|
63
|
+
:major_version => "0.2",
|
64
64
|
:basic_version => (Time.now.to_i / 60), # new one every minute
|
65
65
|
:filepath => __FILE__,
|
66
66
|
:running_dir => Dir.pwd,
|
@@ -1228,9 +1228,12 @@ end
|
|
1228
1228
|
# returns
|
1229
1229
|
# key_contents (String)
|
1230
1230
|
def gem_get_api_key args=ARGV
|
1231
|
+
stderr = @memory[:stderr]
|
1231
1232
|
require 'fileutils'
|
1232
1233
|
username, password, file_destination = args
|
1234
|
+
stderr.print "username - "
|
1233
1235
|
username = input_single_line [username]
|
1236
|
+
stderr.print "password - "
|
1234
1237
|
password = input_single_line_non_echo [password]
|
1235
1238
|
file_destination = file_destination.to_s.split("\0").first || "/dev/null"
|
1236
1239
|
FileUtils.mkdir_p File.dirname file_destination
|