ruby-zoom 4.0.1 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7528550ec59139f4910a705f9f5b1d786a00a1b1
4
- data.tar.gz: c82439170c0d1085e13b6eb209c5877650349120
3
+ metadata.gz: a560507624dc0d065fa2d47f4cd92faba20e621c
4
+ data.tar.gz: d51b7f2c8f8f0cacd09090eeb0d3552e6c78bafc
5
5
  SHA512:
6
- metadata.gz: 27b1fcabce76605389d9159d634006120e1e1720beed1989e225cbb2f3c7323f902d1b13e1f6a26acf11bde014ccf48de3dddf63e884f59e566800ff8f9ac10d
7
- data.tar.gz: cc206059ff6a7a4761a7390e9e3ae3265dd33fc1c14390b73a17fb302ae92fad4696fca0f9da9265bb24193c8fa3372411efac064f8bf20f6d51510b9d393739
6
+ metadata.gz: 1cca4796bfad739375b8266ff7e918cd52586b2cd306ab4c72c8b1989b210870b3d9d73fbd6b0a11c387ae14f475d3f80127c825fbe3cfef71a76540f0e3abe3
7
+ data.tar.gz: 8cfa676f9f2b4063d38f0c9992e60a23decaf03ea63896f57d9e4bc18da3bb8c48ef356d9f229f26c481b94250e762d9970997b75461b0cd63953fcd0339944f
@@ -18,23 +18,20 @@ end
18
18
  class Zoom::Profile::Passwords
19
19
  def initialize(n, o = nil, f = "", b = "", a = "")
20
20
  op = Zoom::ProfileManager.default_profile
21
+ after = "| \\grep -v \"^[^:]*test[^:]*:[0-9]+:\""
21
22
 
22
23
  case op
23
24
  when /^ack(-grep)?$/
24
- super(
25
- n,
26
- op,
27
- "--smart-case --ignore-dir=test --ignore-dir=tests"
28
- )
25
+ super(n, op, "--smart-case", "", after)
29
26
  when "ag"
30
- super(n, op, "-Su --ignore=\"\/*test*\/\"")
27
+ super(n, op, "-Su", "", after)
31
28
  when "pt"
32
- super(n, op, "-SU --hidden --ignore=\"\/*test*\/\"")
29
+ super(n, op, "-SU --hidden", "", after)
33
30
  else
34
- super(n, op, "-ai --exclude-dir=test --exclude-dir=tests")
31
+ super(n, op, "-ai", "", after)
35
32
  end
36
33
 
37
- @pattern = "pass(word|wd)?[^:=,>]? *[:=,>]"
34
+ @pattern = "(key|pass(word|wd)?)[^:=,>]? *[:=,>]"
38
35
  @taggable = true
39
36
  end
40
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-zoom
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Whittaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-09 00:00:00.000000000 Z
11
+ date: 2016-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -140,12 +140,12 @@ description: Do you like to search through code using ag, ack, grep, or pt? Good
140
140
  jump to a tag in another terminal from any directory!
141
141
  email: mjwhitta@gmail.com
142
142
  executables:
143
+ - zg
144
+ - zf
143
145
  - zl
144
146
  - zc
145
147
  - z
146
- - zf
147
148
  - zr
148
- - zg
149
149
  extensions: []
150
150
  extra_rdoc_files: []
151
151
  files:
@@ -205,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
205
205
  version: '0'
206
206
  requirements: []
207
207
  rubyforge_project:
208
- rubygems_version: 2.4.5.1
208
+ rubygems_version: 2.4.8
209
209
  signing_key:
210
210
  specification_version: 4
211
211
  summary: Quickly open CLI search results in your favorite editor!