rubisc 0.3.3 → 0.3.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fileutil.rb +0 -4
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60a75bb3acc48927a978cd9ba20d7dc8383b4fc3
4
- data.tar.gz: 6ec32c6b660a1ddc2cad276a30f8836a02f34427
3
+ metadata.gz: 6fba2be6085114e8f85baf04041d75b3e262405d
4
+ data.tar.gz: fa95d3af746c3550812d23e71f8b9bbdb001157e
5
5
  SHA512:
6
- metadata.gz: 8aaca73f856a1cd3534a3e08969c6c68936396bada3e365c0a65ce23becf7d215d056cadfce3f9ac90662d14efc998cb47f6706469bcb89759536c0bda3c7c0b
7
- data.tar.gz: 05ae6a8c96c5f5bb84380ca13ed177776ae7afcfe2c8179e3b464f48371e41c1b92fe2c5b7b51bc991ec5cbbc3864b9f9670ee2dd5d9b8a1e07d3c9cd25a3300
6
+ metadata.gz: 3e6490968d4d78e444486ce5cf1c5cf23ebc227d6d66493e9a2a4ed988b3d1b527d45e72eb61ce8438963b4a7fc3a1f7f43be358be4509373d1a3bea9c262b58
7
+ data.tar.gz: 5bb43c3f9775e1a1c9f26c2a22c22079a3ec04434ce007a777382d0a22c46b6d4d9a578dacea8dffe1db5c3e6ae04e7cdd53247935d97d98f153ddae47931ca3
data/lib/fileutil.rb CHANGED
@@ -45,10 +45,6 @@ module Rubisc
45
45
 
46
46
  def self.file_substitute file_path,pattern,new_content
47
47
  process_file file_path,true do |content|
48
- matches=content.match /#{pattern}/
49
- if !matches
50
- puts "No matching found."
51
- end
52
48
  content=content.gsub /#{pattern}/,new_content
53
49
  end
54
50
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubisc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - luqyluqe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-04 00:00:00.000000000 Z
11
+ date: 2018-05-27 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Wicked cool ruby scripts
14
14
  email: luqy.luqe@gmail.com
@@ -48,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  version: '0'
49
49
  requirements: []
50
50
  rubyforge_project:
51
- rubygems_version: 2.6.11
51
+ rubygems_version: 2.6.14
52
52
  signing_key:
53
53
  specification_version: 4
54
54
  summary: Wicked cool ruby scripts