gem-grep 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/CHANGES.md +5 -0
- data/README.md +5 -1
- data/Rakefile +1 -1
- data/gem-grep.gemspec +5 -5
- data/lib/rubygems/commands/grep_command.rb +6 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8ab504a4ad7b9aabc8c337fe6bf184ad9ecda66
|
4
|
+
data.tar.gz: 5a8cd415fe17fe298e28abc909ca4cba96ecdbd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b12807e58dd32cbf6c4272e6e6d8f78822e913859b2bc9b10aed3b0ca638aaced3dc79fcf0fb053931b3a4ece20a50da11ef8bddf647f9a6118711413bd6cc8
|
7
|
+
data.tar.gz: 244c5f898dea2b8945a6bdcae9c5faf65b3e08a9265a0aaf4d928e61356996b7282eaf3717272ec565a58486438d796401f7c9fedb3fec0f474243c195ae672b
|
data/.travis.yml
CHANGED
data/CHANGES.md
CHANGED
data/README.md
CHANGED
@@ -33,7 +33,11 @@ By default it would pick `grep` if nothing is set. However we recommend
|
|
33
33
|
|
34
34
|
Use `--` to pass arguments to `$GEM_GREP`, such as `--color`, `-E`, or `-A`.
|
35
35
|
|
36
|
+
Also checkout [gem.fish][] for [fish][] completion.
|
37
|
+
|
36
38
|
[ag]: https://github.com/ggreer/the_silver_searcher
|
39
|
+
[gem.fish]: https://github.com/godfat/dev-tool/blob/master/.config/fish/completions/gem.fish
|
40
|
+
[fish]: http://fishshell.com/
|
37
41
|
|
38
42
|
### grep gem
|
39
43
|
|
@@ -72,7 +76,7 @@ Use `--` to pass arguments to `$GEM_GREP`, such as `--color`, `-E`, or `-A`.
|
|
72
76
|
|
73
77
|
Apache License 2.0
|
74
78
|
|
75
|
-
Copyright (c) 2013, Lin Jen-Shin (godfat)
|
79
|
+
Copyright (c) 2013-2014, Lin Jen-Shin (godfat)
|
76
80
|
|
77
81
|
Licensed under the Apache License, Version 2.0 (the "License");
|
78
82
|
you may not use this file except in compliance with the License.
|
data/Rakefile
CHANGED
data/gem-grep.gemspec
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: gem-grep 0.6.
|
2
|
+
# stub: gem-grep 0.6.1 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "gem-grep"
|
6
|
-
s.version = "0.6.
|
6
|
+
s.version = "0.6.1"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
|
+
s.require_paths = ["lib"]
|
9
10
|
s.authors = ["Lin Jen-Shin (godfat)"]
|
10
|
-
s.date = "
|
11
|
+
s.date = "2014-03-24"
|
11
12
|
s.description = "grep the gem for a given name or grep the file for a given require path.\n\nAlso checkout [gem-eit][].\n\n[gem-eit]: https://github.com/godfat/gem-eit"
|
12
13
|
s.email = ["godfat (XD) godfat.org"]
|
13
14
|
s.files = [
|
@@ -25,8 +26,7 @@ Gem::Specification.new do |s|
|
|
25
26
|
"task/gemgem.rb"]
|
26
27
|
s.homepage = "https://github.com/godfat/gem-grep"
|
27
28
|
s.licenses = ["Apache License 2.0"]
|
28
|
-
s.
|
29
|
-
s.rubygems_version = "2.1.11"
|
29
|
+
s.rubygems_version = "2.2.2"
|
30
30
|
s.summary = "grep the gem for a given name or grep the file for a given require path."
|
31
31
|
|
32
32
|
if s.respond_to? :specification_version then
|
@@ -1,15 +1,15 @@
|
|
1
1
|
|
2
2
|
require 'stringio'
|
3
3
|
|
4
|
-
class
|
5
|
-
|
6
|
-
|
4
|
+
class Gem::Commands::GrepCommand < Gem::Command
|
5
|
+
class CapturedUI < Gem::StreamUI
|
6
|
+
def initialize
|
7
|
+
super($stdin, StringIO.new, $stderr, false)
|
8
|
+
end
|
7
9
|
end
|
8
|
-
end
|
9
10
|
|
10
|
-
class Gem::Commands::GrepCommand < Gem::Command
|
11
11
|
def description
|
12
|
-
'
|
12
|
+
'Grep the gem for a given name or grep the file for a given require path'
|
13
13
|
end
|
14
14
|
|
15
15
|
def initialize
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem-grep
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
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: 2014-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem-path
|
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
version: '0'
|
69
69
|
requirements: []
|
70
70
|
rubyforge_project:
|
71
|
-
rubygems_version: 2.
|
71
|
+
rubygems_version: 2.2.2
|
72
72
|
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: grep the gem for a given name or grep the file for a given require path.
|