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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75fef6957b1c19312541b59a16ac8570a1b86e5b7f41f79dba2c41800be12191
4
- data.tar.gz: 017ddeb8d702b82e6394fb39728e88cf4d1b9ee0faeea5fb5d576adad2bb0836
3
+ metadata.gz: 1b01ef45723db1d81362231eaf2c96f48c4100417815c857ff7081e5afaca6a7
4
+ data.tar.gz: df39075df665002608e5c6d2dfe197ca4430eee17710f25f3bd6d3ef10089f94
5
5
  SHA512:
6
- metadata.gz: ad1f5519736e748bde54452c285e236d3c3512affb98f66052a8af32a11eb1a1108a46880d026c5fd6362bf118886b45c9e1e449050566e45db00f711b0f4db8
7
- data.tar.gz: e135292d11f7009d8202d357bfe6fecf93fb5fa0f5811dc4e807c2e221e4e9d6cfc4483b5a4392072d69eaf164e6bf30bc3cd1981d07d8cd5a7d1c8d2db40b46
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
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kobold
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.3"
5
5
  FORMAT_VERSION = "0.3.0"
6
6
  end
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.1
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-09-09 00:00:00.000000000 Z
11
+ date: 2023-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-option