gridcli 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gridcli (0.1.6)
4
+ gridcli (0.1.7)
5
5
  activeresource (~> 3.2)
6
6
  activesupport (~> 3.2)
7
7
  chronic (>= 0.6.4)
@@ -92,7 +92,7 @@ module GridCLI
92
92
  def search(type, query, start_date, end_date, output_format, fromuser=nil)
93
93
  options = output_format.nil? ? "" : "-o #{output_format}"
94
94
  files(type, start_date, end_date) { |path|
95
- pipes = ["grep -Ri \"#{query}\" #{path}"]
95
+ pipes = ["grep -Rhi \"#{query}\" #{path}"]
96
96
  pipes << "grep '\"from_username\":\"#{fromuser}\"'" unless fromuser.nil?
97
97
  pipes << "#{$0} pprint #{options}"
98
98
  run pipes
@@ -1,3 +1,3 @@
1
1
  module GridCLI
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-02 00:00:00.000000000 Z
12
+ date: 2013-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activeresource