grep-fu 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -117,6 +117,10 @@ The list of files with matches will display on a single line:
117
117
 
118
118
  ./test/unit/calamity_test.rb ./test/unit/havoc_test.rb ./test/unit/mayhem_test.rb...
119
119
 
120
+ This is handy if you want to go ahead and load all the files it finds into a text editor.
121
+
122
+ gvim -p `gx "#TODO"`
123
+
120
124
  Ignoring More Stuff
121
125
  ---------------------
122
126
 
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
- require 'spec/rake/spectask'
3
+ require 'rspec/core/rake_task'
4
4
 
5
5
  begin
6
6
  require 'jeweler'
@@ -38,20 +38,12 @@ rescue LoadError
38
38
  end
39
39
 
40
40
  desc "Run all specs"
41
- Spec::Rake::SpecTask.new('run_specs') do |t|
42
- t.spec_files = FileList['spec/**/*.rb']
41
+ RSpec::Core::RakeTask.new do |t|
42
+ t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
43
+ t.pattern = 'spec/**/*_spec.rb'
43
44
  end
44
45
 
45
46
  task :test => [:check_dependencies, :run_specs]
46
47
 
47
48
  task :default => :test
48
49
 
49
- require 'rake/rdoctask'
50
- Rake::RDocTask.new do |rdoc|
51
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
52
-
53
- rdoc.rdoc_dir = 'rdoc'
54
- rdoc.title = "grep-fu #{version}"
55
- rdoc.rdoc_files.include('README*')
56
- rdoc.rdoc_files.include('lib/**/*.rb')
57
- end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -1,56 +1,46 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{grep-fu}
8
- s.version = "0.5.0"
7
+ s.name = "grep-fu"
8
+ s.version = "0.5.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Eric Budd"]
12
- s.date = %q{2010-06-16}
13
- s.default_executable = %q{grep-fu}
14
- s.description = %q{Grep-Fu is a very fast, Rails-oriented command-line helper script for grep.}
15
- s.email = %q{calamitous@calamitylane.com}
12
+ s.date = "2015-04-29"
13
+ s.description = "Grep-Fu is a very fast, Rails-oriented command-line helper script for grep."
14
+ s.email = "calamitous@calamitylane.com"
16
15
  s.executables = ["grep-fu"]
17
16
  s.extra_rdoc_files = [
18
17
  "LICENSE",
19
- "README.md"
18
+ "README.md"
20
19
  ]
21
20
  s.files = [
22
- ".gitignore",
23
- "LICENSE",
24
- "README.md",
25
- "Rakefile",
26
- "VERSION",
27
- "bin/grep-fu",
28
- "grep-fu.gemspec",
29
- "lib/grep-fu.rb",
30
- "lib/grep-fu/find_builder.rb",
31
- "lib/grep-fu/options.rb",
32
- "spec/find_builder_spec.rb",
33
- "spec/grep_fu_spec.rb",
34
- "spec/options_spec.rb",
35
- "spec/spec_helper.rb"
36
- ]
37
- s.homepage = %q{http://github.com/Calamitous/grep-fu}
38
- s.rdoc_options = ["--charset=UTF-8"]
39
- s.require_paths = ["lib"]
40
- s.rubygems_version = %q{1.3.6}
41
- s.summary = %q{Grep-Fu is a very fast, Rails-oriented command-line helper script for grep.}
42
- s.test_files = [
21
+ "LICENSE",
22
+ "README.md",
23
+ "Rakefile",
24
+ "VERSION",
25
+ "bin/grep-fu",
26
+ "grep-fu.gemspec",
27
+ "lib/grep-fu.rb",
28
+ "lib/grep-fu/find_builder.rb",
29
+ "lib/grep-fu/options.rb",
43
30
  "spec/find_builder_spec.rb",
44
- "spec/options_spec.rb",
45
- "spec/spec_helper.rb",
46
- "spec/grep_fu_spec.rb"
31
+ "spec/grep_fu_spec.rb",
32
+ "spec/options_spec.rb",
33
+ "spec/spec_helper.rb"
47
34
  ]
35
+ s.homepage = "http://github.com/Calamitous/grep-fu"
36
+ s.require_paths = ["lib"]
37
+ s.rubygems_version = "1.8.24"
38
+ s.summary = "Grep-Fu is a very fast, Rails-oriented command-line helper script for grep."
48
39
 
49
40
  if s.respond_to? :specification_version then
50
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
51
41
  s.specification_version = 3
52
42
 
53
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
43
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
44
  else
55
45
  end
56
46
  else
@@ -1,6 +1,6 @@
1
1
  module GrepFu
2
2
  class FindBuilder
3
- PRUNE_PATHS = ['/.svn', '/.git', '/vendor', '/log', '/public', '/tmp', '/coverage']
3
+ PRUNE_PATHS = %w{/.svn /.git /vendor /log /public /tmp /coverage /build /node_modules /static}
4
4
 
5
5
  def self.delicious_prunes
6
6
  "-path '*#{PRUNE_PATHS.join("' -prune -o -path '*")}' -prune -o"
metadata CHANGED
@@ -1,34 +1,26 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: grep-fu
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 5
8
- - 0
9
- version: 0.5.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.5.1
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Eric Budd
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2010-06-16 00:00:00 -05:00
18
- default_executable: grep-fu
12
+ date: 2015-04-29 00:00:00.000000000 Z
19
13
  dependencies: []
20
-
21
- description: Grep-Fu is a very fast, Rails-oriented command-line helper script for grep.
14
+ description: Grep-Fu is a very fast, Rails-oriented command-line helper script for
15
+ grep.
22
16
  email: calamitous@calamitylane.com
23
- executables:
17
+ executables:
24
18
  - grep-fu
25
19
  extensions: []
26
-
27
- extra_rdoc_files:
20
+ extra_rdoc_files:
28
21
  - LICENSE
29
22
  - README.md
30
- files:
31
- - .gitignore
23
+ files:
32
24
  - LICENSE
33
25
  - README.md
34
26
  - Rakefile
@@ -42,38 +34,28 @@ files:
42
34
  - spec/grep_fu_spec.rb
43
35
  - spec/options_spec.rb
44
36
  - spec/spec_helper.rb
45
- has_rdoc: true
46
37
  homepage: http://github.com/Calamitous/grep-fu
47
38
  licenses: []
48
-
49
39
  post_install_message:
50
- rdoc_options:
51
- - --charset=UTF-8
52
- require_paths:
40
+ rdoc_options: []
41
+ require_paths:
53
42
  - lib
54
- required_ruby_version: !ruby/object:Gem::Requirement
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- segments:
59
- - 0
60
- version: "0"
61
- required_rubygems_version: !ruby/object:Gem::Requirement
62
- requirements:
63
- - - ">="
64
- - !ruby/object:Gem::Version
65
- segments:
66
- - 0
67
- version: "0"
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ! '>='
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
68
55
  requirements: []
69
-
70
56
  rubyforge_project:
71
- rubygems_version: 1.3.6
57
+ rubygems_version: 1.8.24
72
58
  signing_key:
73
59
  specification_version: 3
74
60
  summary: Grep-Fu is a very fast, Rails-oriented command-line helper script for grep.
75
- test_files:
76
- - spec/find_builder_spec.rb
77
- - spec/options_spec.rb
78
- - spec/spec_helper.rb
79
- - spec/grep_fu_spec.rb
61
+ test_files: []
data/.gitignore DELETED
@@ -1 +0,0 @@
1
- pkg