souls 0.23.1 → 0.23.5
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/.rubocop.yml +3 -0
- data/Gemfile.lock +1 -1
- data/exe/souls +8 -3
- data/lib/souls.rb +3 -7
- data/lib/souls/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e09d9dc9509bac041e641146ab747465b1d4d4dd3cec39833ec857b0f551eb05
|
4
|
+
data.tar.gz: a120f36e8a70ebdec8ee0c8d89a68b04a927be192d350ffe7e6f42b10a0ad068
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de868fbe3a0b5ff9999a38350af392c856d2b94727e939fdceee6b735c437985adc47c88cdbb9bef6333d4ed978085c591bd7d199b4dacb1a537c3cff1c20fc6
|
7
|
+
data.tar.gz: d468bdb5faafe05b2e5b809e4f78027a282a6a5beebaea70c399c0c37ad5d8d41d60fc689dfd3b72bd2f873fef75491d164a9d4fbf352d808cca8a66384042f1
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
data/exe/souls
CHANGED
@@ -64,13 +64,18 @@ begin
|
|
64
64
|
send_method = ARGV[1]
|
65
65
|
Souls.send send_method
|
66
66
|
when "gcloud"
|
67
|
-
|
68
|
-
|
67
|
+
status = Paint["Running Gcloud Commands...", :yellow]
|
68
|
+
Whirly.start spinner: "clock", interval: 420, stop: "🎉" do
|
69
|
+
Whirly.status = status
|
70
|
+
send_method = ARGV[1]
|
71
|
+
Souls::Gcloud.send send_method
|
72
|
+
Whirly.status = "Done!"
|
73
|
+
end
|
69
74
|
when "-v", "--version"
|
70
75
|
puts Paint[Souls::VERSION, :white]
|
71
76
|
when "gem:update", "gemfile:update"
|
72
77
|
status = Paint["Checking for updates...", :yellow]
|
73
|
-
Whirly.start spinner: "clock", interval:
|
78
|
+
Whirly.start spinner: "clock", interval: 420, stop: "🎉" do
|
74
79
|
Whirly.status = status
|
75
80
|
Souls.update_gemfile
|
76
81
|
Whirly.status = "Done!"
|
data/lib/souls.rb
CHANGED
@@ -77,7 +77,6 @@ module Souls
|
|
77
77
|
updated_gems = []
|
78
78
|
updated_gem_versions = []
|
79
79
|
updated_lines = []
|
80
|
-
console_log = []
|
81
80
|
from_dev = false
|
82
81
|
File.open(file_path, "r") do |f|
|
83
82
|
f.each_line do |line|
|
@@ -96,17 +95,11 @@ module Souls
|
|
96
95
|
updated_gems << (gem[0]).to_s
|
97
96
|
updated_gem_versions << data["version"]
|
98
97
|
system "gem update #{gem[0]}"
|
99
|
-
console_log << if gem[0] == "souls"
|
100
|
-
"#{gem[0]} v#{gem[1]} → v#{data["version"]}\n\nSOULs Doc: https://souls.elsoul.nl"
|
101
|
-
else
|
102
|
-
"#{gem[0]} v#{gem[1]} → v#{data["version"]}"
|
103
|
-
end
|
104
98
|
end
|
105
99
|
end
|
106
100
|
{
|
107
101
|
gems: updated_gems,
|
108
102
|
lines: updated_lines,
|
109
|
-
console_log: console_log,
|
110
103
|
updated_gem_versions: updated_gem_versions
|
111
104
|
}
|
112
105
|
end
|
@@ -151,6 +144,9 @@ module Souls
|
|
151
144
|
}
|
152
145
|
]
|
153
146
|
end
|
147
|
+
if gem[0] == "souls"
|
148
|
+
logs << Paint["\nSOULs Doc: %{cyan_text}", :white, { cyan_text: ["https://souls.elsoul.nl\n", :cyan] }]
|
149
|
+
end
|
154
150
|
new_line.write "#{new_gems[:lines][@i]}\n"
|
155
151
|
@i += 1
|
156
152
|
else
|
data/lib/souls/version.rb
CHANGED