ruby-edit 1.0.1 → 1.0.2

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
- SHA1:
3
- metadata.gz: 6b9f2b1465951f9c4648786d1a037c4fa8055a0e
4
- data.tar.gz: 4461d6c3e586a4e344f5d64789da31066b6c4624
2
+ SHA256:
3
+ metadata.gz: c41d33a1a85ef61626f40042ac970d8dd93715b46c383ff7920b9d4cc7146d10
4
+ data.tar.gz: 5bf281ca2a7d7ce419b3da08018d2536fefea0285b0ada11cf5ecfe70d71f7de
5
5
  SHA512:
6
- metadata.gz: 743be24153e22b44e1718cc07996a5510084fe485534c37d40cf986960a9c4b9818073d943a31200cff3971fa16cf5549a545dfcec33b45df8be73a6f37993a0
7
- data.tar.gz: 4d487278951c7f580b322d2f79ed2a970c9f2e9151a0ec06fcd4aa869c66de269801b41f5d9373deda4e6009e8b255881a1fedc8c3b36e018ea3e0b99f917946
6
+ metadata.gz: 8b2c55a74db4430c41a8546a32865d6e1b54150790bf57f8b558c1bd0a87f4cda544123f720c04cd96defdb5e46ae81286bc39233cd5e47497dacc31734fe985
7
+ data.tar.gz: f3426d01fa29521212bb440e9ac5e7ca4ae21d357ef3e224700927ce6231ee08c58e1c06e58507b6b474d9c1c29577cd2a9dc37408247c8563d04eba85267664
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-edit (1.0.1)
4
+ ruby-edit (1.0.2)
5
5
  pastel (~> 0.7.2)
6
6
  thor (~> 0.20.0)
7
7
  tty-color (~> 0.4.2)
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubyEdit
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
6
6
 
@@ -6,7 +6,7 @@ require 'ruby_edit/command'
6
6
 
7
7
  module RubyEdit
8
8
  class Writer < RubyEdit::Command
9
- LINE_REGEX = /^.*:\d:+/
9
+ LINE_REGEX = /^.*:\d+:/
10
10
 
11
11
  def write
12
12
  File.open(RubyEdit::SOURCE_FILE_LOCATION, 'rb') do |file|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-edit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - finn-francis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-10 00:00:00.000000000 Z
11
+ date: 2018-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pastel
@@ -405,7 +405,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
405
405
  version: '0'
406
406
  requirements: []
407
407
  rubyforge_project:
408
- rubygems_version: 2.6.11
408
+ rubygems_version: 2.7.6
409
409
  signing_key:
410
410
  specification_version: 4
411
411
  summary: Edit grep results in one file