filex 0.1.6 → 0.1.7

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
2
  SHA256:
3
- metadata.gz: 7c06f30e685dd60d4ac9dcdaec214e7a3577504adf9e3a01b49bd5441f3a09b1
4
- data.tar.gz: 26ae4e902da3aca7127482db62cb0292f73c4fac41aadebda6f40fc1f2cfbd61
3
+ metadata.gz: 68c1ba3c025c00952e357eb1485d2b0afa6b590fc4c1b95cad619ee593977522
4
+ data.tar.gz: 8fca50b602f80d344cbba84cfa3ee9b973ccf483ae35fafb4d0907e5ba4ab3d4
5
5
  SHA512:
6
- metadata.gz: 1260552fecb2730fbf4de170a295b1d9c018d107e7cd01f001bd6a48f8ed2fe1e130ab4d07f9601e103223ac0b1c188c3dc110c425f69f91cdafbaf65b31bc8a
7
- data.tar.gz: 175eeaac4a0b02b57115f4621ee13f12b5af6a2fd79acefdef5f77b439ea013053d99ee13d6c2f1a6cb18594c7525b431dedca7f9a57e571829fb1543a9f6b47
6
+ metadata.gz: c2717226490e6f4d2832cdc9630f9a1f99a6023f3d61ff87635a29e12bfaffa7e2f654ec88aa072d08b50c0c6c47bd08779035d01b275abe834d0fa26669abc4
7
+ data.tar.gz: 6078cc5f928ba8665b2c471e473aefe69bb9d0222197e9a072c3cb27397c6db5d0c65ffd0e6effcf00d9f86b87f58a87b503576a2d344dca32876f027d971cf6
@@ -41,4 +41,7 @@ Gem::Specification.new do |spec|
41
41
  spec.add_development_dependency "rspec", "~> 3.0"
42
42
  spec.add_development_dependency "rubocop"
43
43
  spec.add_development_dependency "rubocop-performance"
44
+
45
+ spec.add_runtime_dependency "messagex"
46
+ spec.add_runtime_dependency "erubis"
44
47
  end
@@ -62,7 +62,7 @@ module Filex
62
62
  end
63
63
 
64
64
  #
65
- # YAML形式ファイルを存在チェック、(eRubyスクリプトとしての)YAMLファイルをハッシュを用いて置換した後にRubyのオブジェクトに変換
65
+ # YAML形式ファイルの存在チェック、(eRubyスクリプトとしての)YAMLファイルをハッシュを用いて置換した後にRubyのオブジェクトに変換
66
66
  #
67
67
  # @param yamlfname [String] yamlファイル名(eRubyスクリプトでもある)
68
68
  # @param objx [Hash] eRubyスクリプト置換用ハッシュ
@@ -342,7 +342,7 @@ module Filex
342
342
  return if state[:need_quoto]
343
343
  state[:mes].output_info("T2|left=#{left}|right=#{right}")
344
344
 
345
- return unless right.index(":") && right.index("*")
345
+ return unless (right.index(":") || right.index("*"))
346
346
  state[:mes].output_info("T3|left=#{left}|right=#{right}")
347
347
 
348
348
  state[:mes].output_info("T4 not need_quoto")
@@ -1,4 +1,4 @@
1
1
  module Filex
2
2
  # バージョン番号
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - yasuo kominami
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-29 00:00:00.000000000 Z
11
+ date: 2019-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -80,6 +80,34 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: messagex
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: erubis
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
83
111
  description: Load a text file, yaml fortmat file and eruby format file and expand
84
112
  it.
85
113
  email: