sq_ruby_grep 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6381ed0bfaa53b5aa1f334816ed08a1a5b9910a
4
- data.tar.gz: 796e1041a86df61eb8bb19adfda0e72af4eedf25
3
+ metadata.gz: 2ac734839ae9c6b0e3b0421bf6f68c57c596fad6
4
+ data.tar.gz: ddbf414201e4b470b24a7061542fcf24f281df78
5
5
  SHA512:
6
- metadata.gz: b19d6bab5f06ba60ba7a5ca63a31b3a4530ff2a9e4b7b20f36a8586cb641097ad9f078d5dcb1b4a99918d0d1618f12c978869c1709e35477e16fd51cad2cbb06
7
- data.tar.gz: 4af451c52beabe0eb772757c8c1825328c3640e7f032a00f0423691405e905654c37c8479963d43ae074e3e68fb9612b2c83a270ac31f2989ef3dcc0ee91a670
6
+ metadata.gz: dd6fe906d1f6e84bcf65ca69267eed001b8692226a7625ea82e022610772e77de141e51d4a061fd17074c3510732fbb75eff764584781582e1b7bd8665fc3f4b
7
+ data.tar.gz: b3573d9be7611d1e658cb3875b90e8116d62dc89a5e396fe22d6dfde55fb388714e31b188cfb888725ad08b4f5e015ae63aa7e09ff94544ddeb423be10c373f2
@@ -1,3 +1,3 @@
1
1
  module SqRubyGrep
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -4,7 +4,6 @@ describe SqRubyGrep do
4
4
  context 'when grep file' do
5
5
  let(:path) { 'test/fixtures/text.txt' }
6
6
  let(:bin_path) { File.expand_path '../../bin/sq_ruby_grep', __FILE__ }
7
- let(:result) { Grep.new(pattern: pattern, file_path: path, before_lines: before_lines, after_lines: after_lines).run.first }
8
7
  let(:pattern) { 'needle' }
9
8
  let(:original_grep) { "grep #{pattern} #{path} -A #{after_lines} -B #{before_lines}" }
10
9
  let(:sq_ruby_grep) { "#{bin_path} #{pattern} #{path} -A #{after_lines} -B #{before_lines} --not-colorize" }
data/sq_ruby_grep.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = SqRubyGrep::VERSION
9
9
  spec.authors = ['coolelvis']
10
10
  spec.email = ['elvisplus2@gmail.com']
11
- spec.summary = %q{It just the training project for SQ interview.}
12
- spec.description = %q{It just the training project for SQ interview.}
11
+ spec.summary = %q{It just the training project.}
12
+ spec.description = %q{It just the training project.}
13
13
  spec.homepage = 'https://github.com/CoolElvis/ruby_grep.git'
14
14
  spec.license = 'MIT'
15
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sq_ruby_grep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - coolelvis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-06 00:00:00.000000000 Z
11
+ date: 2015-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
- description: It just the training project for SQ interview.
55
+ description: It just the training project.
56
56
  email:
57
57
  - elvisplus2@gmail.com
58
58
  executables:
@@ -99,7 +99,7 @@ rubyforge_project:
99
99
  rubygems_version: 2.2.2
100
100
  signing_key:
101
101
  specification_version: 4
102
- summary: It just the training project for SQ interview.
102
+ summary: It just the training project.
103
103
  test_files:
104
104
  - spec/spec_helper.rb
105
105
  - spec/sq_ruby_grep_spec.rb