gem-bgrep 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +5 -0
- data/Rakefile +2 -1
- data/gem-bgrep.gemspec +31 -28
- data/lib/rubygems/commands/bgrep_command.rb +10 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02812e5a6c95d2aa420ae4655d4dd2b6ab802c2a
|
4
|
+
data.tar.gz: ce86b6f65cc9badabee524f3c9f4a803b49d4499
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e9a42c6d176b0242c1cc80757f4eec4f3cd516c8b648d4559593bdd13f8ef66f6a39d17df6a6d7d7a22274e1e348894dd71fe644fe4e92a9611f854b40f6a6a
|
7
|
+
data.tar.gz: 679c09a42bcb281577253e51af9aa4951cd31e931fbcbfaecb8e32f262c065974a87de3babcd0b6523fcc30c2e929c663239d679bf4124ee321edeb737e2170f
|
data/CHANGES.md
CHANGED
data/Rakefile
CHANGED
data/gem-bgrep.gemspec
CHANGED
@@ -1,43 +1,46 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: gem-bgrep 0.6.
|
2
|
+
# stub: gem-bgrep 0.6.3 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
|
-
s.name = "gem-bgrep"
|
6
|
-
s.version = "0.6.
|
5
|
+
s.name = "gem-bgrep".freeze
|
6
|
+
s.version = "0.6.3"
|
7
7
|
|
8
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
|
-
s.require_paths = ["lib"]
|
10
|
-
s.authors = ["Lin Jen-Shin (godfat)"]
|
11
|
-
s.date = "
|
12
|
-
s.description = "Can't find some codes from your app? gem-bgrep let you grep from your Gemfile.\n\nAlso checkout [gem-grep][].\n\n[gem-grep]: https://github.com/godfat/gem-grep"
|
13
|
-
s.email = ["godfat (XD) godfat.org"]
|
8
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
|
+
s.require_paths = ["lib".freeze]
|
10
|
+
s.authors = ["Lin Jen-Shin (godfat)".freeze]
|
11
|
+
s.date = "2016-05-29"
|
12
|
+
s.description = "Can't find some codes from your app? gem-bgrep let you grep from your Gemfile.\n\nAlso checkout [gem-grep][].\n\n[gem-grep]: https://github.com/godfat/gem-grep".freeze
|
13
|
+
s.email = ["godfat (XD) godfat.org".freeze]
|
14
14
|
s.files = [
|
15
|
-
".gitignore",
|
16
|
-
".gitmodules",
|
17
|
-
".travis.yml",
|
18
|
-
"CHANGES.md",
|
19
|
-
"LICENSE",
|
20
|
-
"README.md",
|
21
|
-
"Rakefile",
|
22
|
-
"gem-bgrep.gemspec",
|
23
|
-
"lib/rubygems/commands/bgrep_command.rb",
|
24
|
-
"lib/rubygems_plugin.rb",
|
25
|
-
"task/README.md",
|
26
|
-
"task/gemgem.rb"]
|
27
|
-
s.homepage = "https://github.com/godfat/gem-bgrep"
|
28
|
-
s.licenses = ["Apache License 2.0"]
|
29
|
-
s.rubygems_version = "2.
|
30
|
-
s.summary = "Can't find some codes from your app? gem-bgrep let you grep from your Gemfile."
|
15
|
+
".gitignore".freeze,
|
16
|
+
".gitmodules".freeze,
|
17
|
+
".travis.yml".freeze,
|
18
|
+
"CHANGES.md".freeze,
|
19
|
+
"LICENSE".freeze,
|
20
|
+
"README.md".freeze,
|
21
|
+
"Rakefile".freeze,
|
22
|
+
"gem-bgrep.gemspec".freeze,
|
23
|
+
"lib/rubygems/commands/bgrep_command.rb".freeze,
|
24
|
+
"lib/rubygems_plugin.rb".freeze,
|
25
|
+
"task/README.md".freeze,
|
26
|
+
"task/gemgem.rb".freeze]
|
27
|
+
s.homepage = "https://github.com/godfat/gem-bgrep".freeze
|
28
|
+
s.licenses = ["Apache License 2.0".freeze]
|
29
|
+
s.rubygems_version = "2.6.4".freeze
|
30
|
+
s.summary = "Can't find some codes from your app? gem-bgrep let you grep from your Gemfile.".freeze
|
31
31
|
|
32
32
|
if s.respond_to? :specification_version then
|
33
33
|
s.specification_version = 4
|
34
34
|
|
35
35
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
36
|
-
s.add_runtime_dependency(%q<gem-grep
|
36
|
+
s.add_runtime_dependency(%q<gem-grep>.freeze, [">= 0.6.2"])
|
37
|
+
s.add_runtime_dependency(%q<bundler>.freeze, [">= 0"])
|
37
38
|
else
|
38
|
-
s.add_dependency(%q<gem-grep
|
39
|
+
s.add_dependency(%q<gem-grep>.freeze, [">= 0.6.2"])
|
40
|
+
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
39
41
|
end
|
40
42
|
else
|
41
|
-
s.add_dependency(%q<gem-grep
|
43
|
+
s.add_dependency(%q<gem-grep>.freeze, [">= 0.6.2"])
|
44
|
+
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
42
45
|
end
|
43
46
|
end
|
@@ -12,8 +12,17 @@ class Gem::Commands::BgrepCommand < Gem::Command
|
|
12
12
|
require 'rubygems/commands/grep_command'
|
13
13
|
require 'rubygems/commands/path_command'
|
14
14
|
require 'bundler/setup'
|
15
|
+
|
16
|
+
if Bundler::SharedHelpers.in_bundle?
|
17
|
+
grep_gems
|
18
|
+
else
|
19
|
+
say("No Gemfile detected.")
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def grep_gems
|
15
24
|
cmd = Gem::Commands::GrepCommand.new
|
16
|
-
Bundler.
|
25
|
+
Bundler.load.requested_specs.each do |spec|
|
17
26
|
system(*cmd.grep_command([spec.name, spec.version],
|
18
27
|
options[:args] + options[:build_args]))
|
19
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem-bgrep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lin Jen-Shin (godfat)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem-grep
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.6.2
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: |-
|
28
42
|
Can't find some codes from your app? gem-bgrep let you grep from your Gemfile.
|
29
43
|
|
@@ -68,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
82
|
version: '0'
|
69
83
|
requirements: []
|
70
84
|
rubyforge_project:
|
71
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.6.4
|
72
86
|
signing_key:
|
73
87
|
specification_version: 4
|
74
88
|
summary: Can't find some codes from your app? gem-bgrep let you grep from your Gemfile.
|