bundle-diff 1.2.1 → 1.2.2
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/CHANGES.md +5 -0
- data/bundle-diff.gemspec +1 -1
- data/lib/bundler/diff.rb +1 -1
- data/lib/bundler/diff/tool.rb +11 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b93f18c4e3bd1b48f80fe132fceed9bd1ebd68ece90ce7d2ea85887186bb31a1
|
4
|
+
data.tar.gz: 9d048cbc9595c38ac6b6a821c845e95869ba5641b1550ad7c3eadd29e31f09f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54828f54dbf3db526438929fd3fe7b38465034b156d5b2f72b6902db98a02885e3b4c5bef4a989f4847138deb916afae350af9a780de99a20aca051195760751
|
7
|
+
data.tar.gz: 9b0f1adbf7577d077825e11f2c394abebd47e5aa4e05766b5412838ac41f2e2c31f9aa0c03e9b47649c2456a9c0e3210172609075d8e08a1ffe192eaafeee21a
|
data/CHANGES.md
CHANGED
data/bundle-diff.gemspec
CHANGED
data/lib/bundler/diff.rb
CHANGED
data/lib/bundler/diff/tool.rb
CHANGED
@@ -63,8 +63,18 @@ class Bundler::Diff::Tool
|
|
63
63
|
|
64
64
|
private
|
65
65
|
|
66
|
+
if Pathname.instance_methods.include?(:glob) # Ruby 2.5+
|
67
|
+
def glob(pathname)
|
68
|
+
pathname.glob('**/*')
|
69
|
+
end
|
70
|
+
else
|
71
|
+
def glob(pathname)
|
72
|
+
Dir.glob(File.join(pathname.to_s, '**', '*')).map { |path| Pathname(path) }
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
66
76
|
def file_list(dir_path)
|
67
|
-
|
77
|
+
glob(dir_path).select(&:file?).map { |path|
|
68
78
|
path.relative_path_from(dir_path)
|
69
79
|
}.reject { |path| path.to_s.start_with?('ext/') }
|
70
80
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundle-diff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Craft
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -50,7 +50,7 @@ homepage: https://github.com/readysteady/bundle-diff
|
|
50
50
|
licenses:
|
51
51
|
- GPL-3.0
|
52
52
|
metadata: {}
|
53
|
-
post_install_message:
|
53
|
+
post_install_message:
|
54
54
|
rdoc_options: []
|
55
55
|
require_paths:
|
56
56
|
- lib
|
@@ -65,8 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
|
-
rubygems_version: 3.
|
69
|
-
signing_key:
|
68
|
+
rubygems_version: 3.1.2
|
69
|
+
signing_key:
|
70
70
|
specification_version: 4
|
71
71
|
summary: See description
|
72
72
|
test_files: []
|