rak 1.0 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/bin/rak +281 -351
  2. data/lib/rak.rb +1 -1
  3. data/spec/help_spec.rb +33 -27
  4. data/spec/rak_spec.rb +435 -363
  5. metadata +31 -61
  6. data/Rakefile +0 -14
metadata CHANGED
@@ -1,86 +1,56 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rak
3
- version: !ruby/object:Gem::Version
4
- version: "1.0"
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.2'
5
+ prerelease:
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Daniel Lucraft
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
-
12
- date: 2009-09-27 00:00:00 +01:00
13
- default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: hoe
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 2.3.3
24
- version:
25
- description: |-
26
- Replacement for grep. Recursively scans directories to match a given
27
- Ruby regular expression. Prints highlighted results.
28
-
29
- Based on the Perl tool 'ack' by Andy Lester.
30
-
31
- Examples with similar grep:
32
-
33
- $ rak pattern
34
- $ grep pattern $(find . | grep -v .svn)
35
-
36
- $ rak --ruby pattern
37
- $ grep pattern $(find . -name '*.rb' | grep -v .svn)
12
+ date: 2008-02-03 00:00:00.000000000 +00:00
13
+ default_executable: rak
14
+ dependencies: []
15
+ description: ! " Grep replacement, recursively scans directories to match a given
16
+ Ruby regular expression. Prints highlighted results.\n Based on the Perl tool
17
+ 'ack' by Andy Lester. \n"
38
18
  email: dan@fluentradical.com
39
- executables:
19
+ executables:
40
20
  - rak
41
21
  extensions: []
42
-
43
- extra_rdoc_files:
22
+ extra_rdoc_files: []
23
+ files:
44
24
  - History.txt
45
25
  - Manifest.txt
46
26
  - README.txt
47
- files:
48
- - History.txt
49
- - Manifest.txt
50
- - README.txt
51
- - Rakefile
52
27
  - bin/rak
53
28
  - lib/rak.rb
54
29
  - spec/rak_spec.rb
55
30
  - spec/help_spec.rb
56
31
  has_rdoc: true
57
- homepage: http://rubyforge.org/projects/rak
32
+ homepage: http://rak.rubyforge.org
58
33
  licenses: []
59
-
60
34
  post_install_message:
61
- rdoc_options:
62
- - --main
63
- - README.txt
64
- require_paths:
35
+ rdoc_options: []
36
+ require_paths:
65
37
  - lib
66
- required_ruby_version: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: "0"
71
- version:
72
- required_rubygems_version: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: "0"
77
- version:
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ required_rubygems_version: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ! '>='
48
+ - !ruby/object:Gem::Version
49
+ version: '0'
78
50
  requirements: []
79
-
80
51
  rubyforge_project: rak
81
- rubygems_version: 1.3.4
52
+ rubygems_version: 1.6.2
82
53
  signing_key:
83
54
  specification_version: 3
84
- summary: A grep replacement in Ruby, type "$rak pattern".
55
+ summary: A grep replacement in Ruby, type "rak pattern".
85
56
  test_files: []
86
-
data/Rakefile DELETED
@@ -1,14 +0,0 @@
1
-
2
- require 'rubygems'
3
- require 'hoe'
4
- require 'lib/rak'
5
-
6
- Hoe.new('rak', Rak::VERSION) do |p|
7
- p.rubyforge_name = 'rak'
8
- p.author = 'Daniel Lucraft'
9
- p.email = 'dan@fluentradical.com'
10
- p.summary = 'A grep replacement in Ruby, type "$rak pattern".'
11
- p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
12
- p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
13
- p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
14
- end