Kobold 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Kobold/invoke.rb +2 -4
- data/lib/Kobold/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: 1b01ef45723db1d81362231eaf2c96f48c4100417815c857ff7081e5afaca6a7
|
4
|
+
data.tar.gz: df39075df665002608e5c6d2dfe197ca4430eee17710f25f3bd6d3ef10089f94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f95193cfad4df42f9a60c85067d877ebf94feefe076e88e6fe01615e017d552184fa635f82e59f0226b6aad1d5355ec826caf78090a614ebc47f8f0fcc78d24
|
7
|
+
data.tar.gz: 5aae8bb42f77bf81d728fad33f36ae38ca3c896611a5cda3b78cb386f196bce3f48134c6de6393ba250baee1870c974bebbbe44768e02915bc2d063ef675bd53
|
data/lib/Kobold/invoke.rb
CHANGED
@@ -144,9 +144,6 @@ module Kobold
|
|
144
144
|
symlink2 = File.symlink? value["dir"]
|
145
145
|
|
146
146
|
if !(symlink1 || symlink2)
|
147
|
-
puts "value['dir'] #{value['dir']}"
|
148
|
-
puts "value['repo'] #{value['repo']}"
|
149
|
-
puts "target_symlink #{target_symlink}"
|
150
147
|
File.symlink(target_symlink, "#{value['dir']}/#{value['repo'].split('/').last}")
|
151
148
|
end
|
152
149
|
#File.symlink(target_symlink, "#{value['dir']}/#{key.split('/').last}")
|
@@ -158,7 +155,7 @@ module Kobold
|
|
158
155
|
FileUtils.mkdir_p dir_components
|
159
156
|
File.symlink(target_symlink, value["dir"]) if !File.symlink? value["dir"]
|
160
157
|
|
161
|
-
symlink1 = File.symlink?(value["dir"] + ['repo'].split('/').last)
|
158
|
+
symlink1 = File.symlink?(value["dir"] + value['repo'].split('/').last)
|
162
159
|
symlink2 = File.symlink? value["dir"]
|
163
160
|
|
164
161
|
if !(symlink1 || symlink2)
|
@@ -180,6 +177,7 @@ module Kobold
|
|
180
177
|
else
|
181
178
|
raise "Wrong format version"
|
182
179
|
end
|
180
|
+
puts "Done!"
|
183
181
|
end
|
184
182
|
|
185
183
|
private
|
data/lib/Kobold/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Kobold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CatsAtTheRodeo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-option
|