thktool 0.1.0 → 0.1.2

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
  SHA256:
3
- metadata.gz: 0f33b93ac9e418bb28ae38a46ad42c688dffbc13e3e275855604958e66324c31
4
- data.tar.gz: aa4677e762b0fbb02106e3a614f42b5aaf8c1b5f35e0dbc55835c158e0eeac26
3
+ metadata.gz: '079d03122b4b4dc7976229584897cceeb10f5d7b7e1e86cf423818b8c69a4159'
4
+ data.tar.gz: '09e9d7914a7048bebfe50d047f7eef301016de531890bf4f5a04a3f2245cf438'
5
5
  SHA512:
6
- metadata.gz: 879516bbbaf0229efa7422090c05fb2637fcbbab7e627c1f57e0f458cb5bbe05ed0311d0674209d21ec694c5355cb4e431e3555acd2f8de53b886c931198f719
7
- data.tar.gz: ca0ed03a3e687140c1144cce9d05028f5103224dac710a8b76a9e00146543a6951b3c2f0ce69aad06f426ac2148f95c63219b201315dd0902877ec4da7133588
6
+ metadata.gz: 2104a94ee65c23290f1d5f1fa3e56c735711217322401a1edea31eaf05388bc40f20ec276e10711e86f9c34a804155fafd6688e8e58d0fa3d8202e1948a1fdbc
7
+ data.tar.gz: 3690ba607003bdc191721e5e45c87252357d83c5cbaad69a1b2276648b6c716b3fe00727d0510040ac96da2356c4cde2a1b9be7be78317498a1ad799bf9e8510
data/lib/modify_until.rb CHANGED
@@ -29,14 +29,14 @@ class ModifyUntil
29
29
  p 'start modify file ...' + file
30
30
 
31
31
  IO.write(file, File.open(file) do |f|
32
- f.read.gsub(/:commit => (.*)/, ":commit => \"#{commit}\"")
32
+ f.read.gsub(/:commit => "(.*)"/, ":commit => \"#{commit}\"")
33
33
  end
34
34
  )
35
35
  end
36
36
 
37
37
 
38
38
  # 开始修改源码仓库
39
- def self.modify_src_commit(file,src,commit)
39
+ def self.modify_src_commit(src,commit)
40
40
  path = Const.Source_Spec_Path
41
41
  pn = find_max_ver(path,src)
42
42
  if pn.file?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Thktool
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thktool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe.cheng