gem-grep 0.6.0 → 0.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 171cbf2118f105c6aa76eeea5c5903b887380ef7
4
- data.tar.gz: 898bb303c267f382a28151b284da2b6faf93890e
3
+ metadata.gz: c8ab504a4ad7b9aabc8c337fe6bf184ad9ecda66
4
+ data.tar.gz: 5a8cd415fe17fe298e28abc909ca4cba96ecdbd6
5
5
  SHA512:
6
- metadata.gz: f7e5f847dbf7ab2e0f0e1ffbbe29693af1c1eb17a51499e82258f6712c476cac129551d1ae1d0e02019bbfd2c0ba630e45150a92c6df06f434fed9a4226318f9
7
- data.tar.gz: e54c624bd5bed53dd7dda4d6b64eb28380a5861f65066a72ba27eaef582c837b87c5451f86972c0bee81e3783fc4e770365da6ff9cf4332c45e4a786d5337758
6
+ metadata.gz: 5b12807e58dd32cbf6c4272e6e6d8f78822e913859b2bc9b10aed3b0ca638aaced3dc79fcf0fb053931b3a4ece20a50da11ef8bddf647f9a6118711413bd6cc8
7
+ data.tar.gz: 244c5f898dea2b8945a6bdcae9c5faf65b3e08a9265a0aaf4d928e61356996b7282eaf3717272ec565a58486438d796401f7c9fedb3fec0f474243c195ae672b
@@ -4,5 +4,6 @@ script: 'ruby -r bundler/setup -S rake test'
4
4
  rvm:
5
5
  - 1.9.3
6
6
  - 2.0.0
7
- - rbx-2.1.1
8
- - jruby-head
7
+ - ruby
8
+ - rbx
9
+ - jruby
data/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGES
2
2
 
3
+ ## gem-grep 0.6.1 -- 2014-03-24
4
+
5
+ * Fixed gem command description.
6
+ * Moved CapturedUI under Gem::Commands::GrepCommand.
7
+
3
8
  ## gem-grep 0.6.0 -- 2013-11-26
4
9
 
5
10
  * Accept `$GEM_GREP` for the grep command. Recommend [ag][].
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
@@ -8,6 +8,6 @@ end
8
8
 
9
9
  Gemgem.init(dir) do |s|
10
10
  s.name = 'gem-grep'
11
- s.version = '0.6.0'
11
+ s.version = '0.6.1'
12
12
  s.add_runtime_dependency('gem-path')
13
13
  end
@@ -1,13 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: gem-grep 0.6.0 ruby lib
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.0"
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 = "2013-11-27"
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.require_paths = ["lib"]
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 CapturedUI < Gem::StreamUI
5
- def initialize
6
- super($stdin, StringIO.new, $stderr, false)
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
- 'Edit the gem for a given name or edit the file for a given require path'
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.0
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: 2013-11-27 00:00:00.000000000 Z
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.1.11
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.