tagrity 0.2.9 → 0.2.10
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/Gemfile.lock +1 -1
- data/lib/tagrity/tag_generator.rb +3 -3
- data/lib/tagrity/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: eddf299be5a682f0c4020e880af4e8077a8fe43ed4988004d6e512f2e4cdbd6b
|
|
4
|
+
data.tar.gz: 19c7610dd780c1f8a7a93bad5d880bb8162a49cf00ad0e159360ce1a681cb617
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c93f50d99d5152a1610a2cd17ecc489a6b9533a9e794cd3287ee9ced5553530208922da3b59b954a9d4b7bce442ff5c3627f2dd33d80a2516b530f867f74a85
|
|
7
|
+
data.tar.gz: 74ca8dd673c508fe1ca287d96beba66468d5ea112dd47dc3188d6027ec22a4f196cc142d22bc0b5ffe21ed0f5ffd6e5796a3bca18939c446e748238d8c109ddd
|
data/Gemfile.lock
CHANGED
|
@@ -20,7 +20,7 @@ module Tagrity
|
|
|
20
20
|
cmd = if check_git?
|
|
21
21
|
'git ls-files 2> /dev/null'
|
|
22
22
|
else
|
|
23
|
-
'find * 2> /dev/null'
|
|
23
|
+
'find * -type f 2> /dev/null'
|
|
24
24
|
end
|
|
25
25
|
files = `#{cmd}`.split("\n")
|
|
26
26
|
if $?.exitstatus == 0
|
|
@@ -34,7 +34,7 @@ module Tagrity
|
|
|
34
34
|
return if files.empty?
|
|
35
35
|
files
|
|
36
36
|
.select { |file| generate_tags?(file) }
|
|
37
|
-
.group_by { |file| @config.command_for_extension(file.
|
|
37
|
+
.group_by { |file| @config.command_for_extension(file.split('.').last) }
|
|
38
38
|
.each do |cmd, fnames|
|
|
39
39
|
Tempfile.create do |tmpf|
|
|
40
40
|
IO::write(tmpf.path, fnames.join("\n"))
|
|
@@ -91,7 +91,7 @@ module Tagrity
|
|
|
91
91
|
end
|
|
92
92
|
|
|
93
93
|
def file_excluded?(fname)
|
|
94
|
-
@config.ignore_extension?(fname.
|
|
94
|
+
@config.ignore_extension?(fname.split('.').last) || @config.path_ignored?(fname)
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
def tagf
|
data/lib/tagrity/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tagrity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adam P. Regasz-Rethy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-01-
|
|
11
|
+
date: 2020-01-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|