thorium 0.3.1 → 0.3.2
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/thorium/base.rb +1 -1
- data/lib/thorium/version.rb +1 -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: 7d3aa3492009a3196b4b9e1fb4536b3d67c528d9
|
4
|
+
data.tar.gz: 7f2cfad46f9e1c95036d39a72e35dbfde90fe677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7f0e101967546c9c28b32cbfa49d8142222575e63b3e2756861b9dda8484e1fcfe106414aef885a909be9ab543c05c975f8a51154400236defcd13a380c9343
|
7
|
+
data.tar.gz: ae5600f280de12b28aee26c9caba27850ac2ef9656d453e92e5aba9602001c19acf810db177af3a5a32c1474a905970d8732161d1f864b695237a8809c157fbe
|
data/lib/thorium/base.rb
CHANGED
@@ -29,7 +29,7 @@ module ThoriumCLI
|
|
29
29
|
end
|
30
30
|
answers = ["n"] + ("1".."#{public_keys.size}").to_a
|
31
31
|
index = ask("Which key do you want in your clipboard (n for none)?", :green, :limited_to => answers)
|
32
|
-
run "pbcopy < #{public_keys[index.to_i]}" unless index == "n"
|
32
|
+
run "pbcopy < #{public_keys[index.to_i - 1]}" unless index == "n"
|
33
33
|
else
|
34
34
|
say "No public keys have been found.", :red
|
35
35
|
generate_new = yes?("Do you want to generate a new one?", :green)
|
data/lib/thorium/version.rb
CHANGED