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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 549eec0328ebf62ba6671dccf3a0cba4fb17f42840f025202631dc08e9e68ea1
4
- data.tar.gz: e1294dcca926174cbb17d2f30010701ff57acd8f1979b8b7b45a7adc767d577c
3
+ metadata.gz: eddf299be5a682f0c4020e880af4e8077a8fe43ed4988004d6e512f2e4cdbd6b
4
+ data.tar.gz: 19c7610dd780c1f8a7a93bad5d880bb8162a49cf00ad0e159360ce1a681cb617
5
5
  SHA512:
6
- metadata.gz: 732666dc83957b70f060ac20ee7e5b615dd48e2b65e42274d7b220d65f6d824a1fa8aa590ee95a5af221bfc9470d98a24142fa3383026fd09501460ffbec8dd2
7
- data.tar.gz: 2c3bab8727ce1b884f9c20ea295d639df2136a75712abc9fc45aa1b06e354ed8ad521a88b1668dd78ed5fc953138488e6d6f556617ce0745227dd680202a8f48
6
+ metadata.gz: 5c93f50d99d5152a1610a2cd17ecc489a6b9533a9e794cd3287ee9ced5553530208922da3b59b954a9d4b7bce442ff5c3627f2dd33d80a2516b530f867f74a85
7
+ data.tar.gz: 74ca8dd673c508fe1ca287d96beba66468d5ea112dd47dc3188d6027ec22a4f196cc142d22bc0b5ffe21ed0f5ffd6e5796a3bca18939c446e748238d8c109ddd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tagrity (0.2.9)
4
+ tagrity (0.2.10)
5
5
  cli-ui (~> 1.3.0)
6
6
  listen (~> 3.0)
7
7
  pry (~> 0.9.9)
@@ -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.partition('.').last) }
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.partition('.').last) || @config.path_ignored?(fname)
94
+ @config.ignore_extension?(fname.split('.').last) || @config.path_ignored?(fname)
95
95
  end
96
96
 
97
97
  def tagf
@@ -1,3 +1,3 @@
1
1
  module Tagrity
2
- VERSION = "0.2.9"
2
+ VERSION = "0.2.10"
3
3
  end
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.9
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-09 00:00:00.000000000 Z
11
+ date: 2020-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor