rbfind 1.7 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rbfind +2 -1
  3. data/lib/rbfind.rb +2 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d413b6a0596612705aacf768c8af9407c2c64161
4
- data.tar.gz: 3ed66abdf7704a6c3b90698049f00cac540334b6
3
+ metadata.gz: aa963adbf03dfe7c4f52cf4ad13b97d8487ed5c1
4
+ data.tar.gz: 02d28ba1afd4e8c5df2f0eff7c704302ee4f8d18
5
5
  SHA512:
6
- metadata.gz: e6458cc0c355cdd83fecaadf2deca6d139bd2300e5316a3664976b9491636d5e15fe51a5d0e684fdc0359f38cfecc22c9fb09be27bebadae90dd4a7e50f22506
7
- data.tar.gz: 4768b3d7faa520c476bcc75c9e8803f06d2edb9682231e001b3d3b12fabb711de6eb109d39850707beb0c88bcf212b36f42c52afba7523488c32fc2b8e3c0b35
6
+ metadata.gz: 1e44b949748ea70b64259ea9c41bdf3c7be595cb294fd5a87049f3a84c2ccc82fb651505ccde85f94b5715aa519c3e484488ce78e8d3c3c2f001d8a0f463c459
7
+ data.tar.gz: bd2701eb9b8bbf1e231a38e81c235b666864b618709ba1f9037b55abb70d93daab2b8331ad0bff61a6eae3fae53de3a47fcd6d490b6a71d319111c90420c5069
data/bin/rbfind CHANGED
@@ -392,7 +392,8 @@ error_handle do
392
392
  RE = Regexp.new @block, @icase && Regexp::IGNORECASE
393
393
  @block = "grep RE"
394
394
  @block << ", true" if co
395
- @binary or @block = "not binary? and #@block"
395
+ @block << " ; $stdout.flush" unless $stdout.tty?
396
+ @binary or @block = "not binary? and (#@block)"
396
397
 
397
398
  else
398
399
  @block ||= if $*.last and not (File.exists? $*.last) then
data/lib/rbfind.rb CHANGED
@@ -277,7 +277,7 @@ Sort without case sensitivity and preceding dot:
277
277
 
278
278
  class RbFind
279
279
 
280
- VERSION = "1.7".freeze
280
+ VERSION = "1.7.1".freeze
281
281
 
282
282
  class <<self
283
283
  private :new
@@ -721,7 +721,7 @@ class RbFind
721
721
  # Git directory.
722
722
  #
723
723
  def novcs
724
- prune if %w(CVS .svn .git).include? name
724
+ prune if %w(CVS .svn .git .hg .fslckout).include? name
725
725
  end
726
726
  alias no_vcs novcs
727
727
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbfind
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.7'
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bertram Scharpf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-08 00:00:00.000000000 Z
11
+ date: 2016-08-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |
14
14
  A replacement for the standard UNIX command find.
@@ -52,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - just Ruby
54
54
  rubyforge_project:
55
- rubygems_version: 2.6.2
55
+ rubygems_version: 2.6.4
56
56
  signing_key:
57
57
  specification_version: 4
58
58
  summary: Ruby replacement for the standard Unix find tool