bundler-grep 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bundler-grep.gemspec +1 -1
- data/lib/bundler/grep/version.rb +1 -1
- data/lib/bundler/grep.rb +2 -2
- metadata +8 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a1122f094605cc30c80c22759f435d056e6b05e8b69d3814fa3db3c3f1abd672
|
4
|
+
data.tar.gz: 77e55a2e88e87dad17b444132b027faa6d871fd4525fa1f508c7ca64855217db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8494cbda0c6b5fe3f3aec658dda5dab009de83c4fee9fe5b151bbd03f22b278005085a2034890f7a628dee24df809936a631098c5f4991e6796bedc5e288eb47
|
7
|
+
data.tar.gz: b7adfc68f5b8015bb258fe938a833540c6b25e025ca81f0d295e027c5438db0e3e5c84eb7772fcaa7c25ca70ad740960d537ce21e161d4ca2b5483e81b5e2b40
|
data/bundler-grep.gemspec
CHANGED
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ["lib"]
|
23
23
|
|
24
|
-
spec.add_dependency "bundler", "~>
|
24
|
+
spec.add_dependency "bundler", "~> 2.0"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
26
26
|
end
|
data/lib/bundler/grep/version.rb
CHANGED
data/lib/bundler/grep.rb
CHANGED
@@ -52,11 +52,11 @@ module Bundler
|
|
52
52
|
return Bundler.load.specs if @gems.empty? && @ignore_gems.empty?
|
53
53
|
|
54
54
|
Bundler.load.specs.find_all {|spec|
|
55
|
-
|
55
|
+
collected_gem?(spec.name) && not_ignored_gem?(spec.name)
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
59
|
-
def
|
59
|
+
def collected_gem?(gem_name)
|
60
60
|
@gems.empty? || @gems.include?(gem_name)
|
61
61
|
end
|
62
62
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler-grep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- takkanm
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -62,7 +62,7 @@ homepage: https://github.com/takkanm/bundler-grep
|
|
62
62
|
licenses:
|
63
63
|
- MIT
|
64
64
|
metadata: {}
|
65
|
-
post_install_message:
|
65
|
+
post_install_message:
|
66
66
|
rdoc_options: []
|
67
67
|
require_paths:
|
68
68
|
- lib
|
@@ -77,10 +77,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
|
81
|
-
|
82
|
-
signing_key:
|
80
|
+
rubygems_version: 3.5.3
|
81
|
+
signing_key:
|
83
82
|
specification_version: 4
|
84
83
|
summary: bundle grep subcommand
|
85
84
|
test_files: []
|
86
|
-
has_rdoc:
|