tapp 1.2.0 → 1.3.0

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.
data/bin/tapp ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'tapp/command'
4
+
5
+ Tapp::Command.start
@@ -0,0 +1,10 @@
1
+ require 'thor'
2
+
3
+ module Tapp
4
+ class Command < Thor
5
+ desc 'grep [<git-grep-options>]', 'Print lines using tapp'
6
+ def grep(*)
7
+ system 'git', 'grep', '--word-regexp', '-e', 'tapp', *ARGV.drop(1)
8
+ end
9
+ end
10
+ end
data/lib/tapp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tapp
2
- VERSION = "1.2.0"
2
+ VERSION = '1.3.0'
3
3
  end
data/tapp.gemspec CHANGED
@@ -15,4 +15,6 @@ Gem::Specification.new do |s|
15
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  s.require_paths = ["lib"]
18
+
19
+ s.add_runtime_dependency 'thor'
18
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-27 00:00:00.000000000Z
13
- dependencies: []
12
+ date: 2011-11-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: thor
16
+ requirement: &15119680 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *15119680
14
25
  description: tap { pp self }
15
26
  email:
16
27
  - ursm@ursm.jp
17
- executables: []
28
+ executables:
29
+ - tapp
18
30
  extensions: []
19
31
  extra_rdoc_files: []
20
32
  files:
@@ -24,7 +36,9 @@ files:
24
36
  - LICENSE
25
37
  - README.rdoc
26
38
  - Rakefile
39
+ - bin/tapp
27
40
  - lib/tapp.rb
41
+ - lib/tapp/command.rb
28
42
  - lib/tapp/version.rb
29
43
  - tapp.gemspec
30
44
  homepage: http://github.com/esminc/tapp
@@ -47,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
61
  version: '0'
48
62
  requirements: []
49
63
  rubyforge_project:
50
- rubygems_version: 1.8.6
64
+ rubygems_version: 1.8.11
51
65
  signing_key:
52
66
  specification_version: 3
53
67
  summary: tap { pp self }