gig 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gig/version.rb +1 -1
  3. data/lib/gig.rb +3 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f943dab3aba7fb52891beaaeb7408e835a60fc190f964f7afa6bab43145d7e81
4
- data.tar.gz: 8b1139ef896f849a8013602ceeb16d5d370daa56ad0d0fa2e3f3ded5c7923dfe
3
+ metadata.gz: 785f02b1f7a04d0fa96af92511cf12c29a1c763b7d43025121c98b099b1691e7
4
+ data.tar.gz: 144e595ca087d97893d91cb33057748061bb8b096c2418941339a3af51807636
5
5
  SHA512:
6
- metadata.gz: 3e3f4a87eee4b3bcfe6cbd517eef485efe2ebb61f902790b81455dfbba57b4d4652803ff533d10fdf816613a8221806b6310c169f554218a4a5b6a029cc4a73e
7
- data.tar.gz: 29e571ba1108209a2fc4f1d4bafc8ff40f28b03f2f1f55c4dbde1e151fa3bdd930cb202abbc0fa81b19f2fe1d277955c8daf80331c23ff2674c7c1b67fd57de9
6
+ metadata.gz: a77901432fc4f2d3fef4801e10359ab6dd7194e3fdf008fefa637a1066fbe12dde02d203e1caf64bfd302e9ce9b12dbfd0b332a45216f1f41d3c187982bb8d14
7
+ data.tar.gz: 8016de8c6e26aa710017abb65cab68051e244660b57ff9486878585eaa8dfc19259828cc0f401574a3936cbdc7253013b9b1c95146e5ba87cc3cf705ce33c3cb
data/lib/gig/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gig
4
- VERSION = "0.0.6"
4
+ VERSION = "0.0.7"
5
5
  end
data/lib/gig.rb CHANGED
@@ -18,8 +18,9 @@ module Gig
18
18
  fs_files = Dir.glob('**/*', File::FNM_DOTMATCH).reject { |f| File.lstat(f).ftype == 'directory' }
19
19
 
20
20
  spec = Gem::Specification.load(gemspec_filename) || abort("gemspec did not load: #{gemspec_filename}")
21
+ spec_files = spec.files + spec.test_files + spec.executables.map { |fn| File.join(spec.bindir, fn) }
21
22
 
22
- files = Set.new + git_files + fs_files + spec.files + spec.test_files
23
+ files = Set.new + git_files + fs_files + spec_files
23
24
 
24
25
  file_errors = []
25
26
  file_error = -> (msg) {
@@ -30,7 +31,7 @@ module Gig
30
31
  files.each do |file|
31
32
  in_git = git_files.include?(file)
32
33
  in_fs = fs_files.include?(file)
33
- in_spec = spec.files.include?(file) || spec.test_files.include?(file)
34
+ in_spec = spec_files.include?(file)
34
35
  in_ignore = ignore_files.include?(file)
35
36
 
36
37
  if in_spec
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-10 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0'
58
58
  requirements: []
59
- rubygems_version: 3.1.6
59
+ rubygems_version: 3.5.22
60
60
  signing_key:
61
61
  specification_version: 4
62
62
  summary: gig