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 +4 -4
- data/lib/sq_ruby_grep/version.rb +1 -1
- data/spec/sq_ruby_grep_spec.rb +0 -1
- data/sq_ruby_grep.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ac734839ae9c6b0e3b0421bf6f68c57c596fad6
|
4
|
+
data.tar.gz: ddbf414201e4b470b24a7061542fcf24f281df78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd6fe906d1f6e84bcf65ca69267eed001b8692226a7625ea82e022610772e77de141e51d4a061fd17074c3510732fbb75eff764584781582e1b7bd8665fc3f4b
|
7
|
+
data.tar.gz: b3573d9be7611d1e658cb3875b90e8116d62dc89a5e396fe22d6dfde55fb388714e31b188cfb888725ad08b4f5e015ae63aa7e09ff94544ddeb423be10c373f2
|
data/lib/sq_ruby_grep/version.rb
CHANGED
data/spec/sq_ruby_grep_spec.rb
CHANGED
@@ -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
|
12
|
-
spec.description = %q{It just the training project
|
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.
|
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-
|
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
|
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
|
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
|