dotkit 0.0.18 → 0.0.19
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/dotkit.rb +3 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09e3edee62cd4214837df0a7bccb455d21ba0379182cb8355c2d38b5cb05518c'
|
4
|
+
data.tar.gz: cc11be4ade3dad90aceec9755396adbce7db685bd69e8e6e564b60754c3a9dca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0803ea9b303d376e22bac0fa36295adb9211cadda0db973b735814b73c64e349e32cf2799ae977e49ed6d9339555c878bfb2a1568f4815ef8d15703063c317a9'
|
7
|
+
data.tar.gz: 1dea1618c6d317191b928927a16624065c20d4cd7bd7bba84e6245e3976b3a3617190083b5cb3fe8037b56bb9a7b4afc27342a165ceb20143e7506d0d9d418f4
|
data/lib/dotkit.rb
CHANGED
@@ -101,6 +101,7 @@ task :fix do
|
|
101
101
|
end
|
102
102
|
|
103
103
|
def copy_files(source_dir,glob_pattern,target_dir,exclude_pattern)
|
104
|
+
count = 0
|
104
105
|
Dir.chdir(source_dir) do
|
105
106
|
Dir.glob(glob_pattern).each{|file|
|
106
107
|
if(!file.include?(exclude_pattern))
|
@@ -108,8 +109,9 @@ def copy_files(source_dir,glob_pattern,target_dir,exclude_pattern)
|
|
108
109
|
target_parent = File.dirname(target_file)
|
109
110
|
FileUtils.mkdir_p(target_parent) if(!Dir.exist?(target_parent))
|
110
111
|
FileUtils.copy(file,target_file)
|
111
|
-
|
112
|
+
count = count + 1
|
112
113
|
end
|
113
114
|
}
|
114
115
|
end
|
116
|
+
puts " copied #{count} files to " + target_dir
|
115
117
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dotkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '4.8'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: raykit
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.0'
|
69
83
|
description: supports common ci/cd development tasks for dotnet
|
70
84
|
email: lou.parslow@gmail.com
|
71
85
|
executables: []
|