wolf_core 0.1.51 → 0.1.52
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wolf_core/utils/file_utils.rb +5 -5
- data/lib/wolf_core/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: 6f74762f0c705aef833133df24c40412e470105162cc565bf35cb412dd35955a
|
4
|
+
data.tar.gz: 3d150c7f02cd9b0ef8f41afc0908b7374fd0db42583dce8966be99a22c3f4040
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 151c5439548ac233db5b96235e0bb910042cc9afe11904bb4db01711bc586d5bd1beb0f04664b8c45150caea3d2f61114d166e08468ca23dc0d8029003123d9f
|
7
|
+
data.tar.gz: ef952813004928e82cff0a122da53941b11b28276a8fb79697098172a7b2aef6111524e43e4391288b958d87245aa6e800de58844662d927dae94103c0ca3eba
|
@@ -9,7 +9,7 @@ module WolfCore
|
|
9
9
|
def require_relative_folder(*folders)
|
10
10
|
folder_files = File.join(*folders, '**', '*.rb')
|
11
11
|
files_to_require = Dir[folder_files].sort
|
12
|
-
log_object files_to_require, title: 'Files to require are'
|
12
|
+
# log_object files_to_require, title: 'Files to require are'
|
13
13
|
safe_require(files_to_require)
|
14
14
|
end
|
15
15
|
|
@@ -19,10 +19,10 @@ module WolfCore
|
|
19
19
|
missing_files = []
|
20
20
|
files_to_require.each do |file|
|
21
21
|
begin
|
22
|
-
log_object "Requiring file: #{file}"
|
22
|
+
# log_object "Requiring file: #{file}"
|
23
23
|
require_relative file
|
24
24
|
rescue NameError
|
25
|
-
log_object "Error requiring file: #{file}"
|
25
|
+
# log_object "Error requiring file: #{file}"
|
26
26
|
missing_files << file
|
27
27
|
end
|
28
28
|
end
|
@@ -34,10 +34,10 @@ module WolfCore
|
|
34
34
|
files_to_delete = Dir.glob(pattern)
|
35
35
|
files_to_delete.each do |file|
|
36
36
|
File.delete(file)
|
37
|
-
log_object "File deleted: #{file}"
|
37
|
+
# log_object "File deleted: #{file}"
|
38
38
|
end
|
39
39
|
|
40
|
-
log_object "File Deleting Process Finished! (#{files_to_delete.size} files deleted)"
|
40
|
+
# log_object "File Deleting Process Finished! (#{files_to_delete.size} files deleted)"
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
data/lib/wolf_core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolf_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.52
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Roncallo
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|