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 +4 -4
- data/filex.gemspec +3 -0
- data/lib/filex.rb +2 -2
- data/lib/filex/version.rb +1 -1
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68c1ba3c025c00952e357eb1485d2b0afa6b590fc4c1b95cad619ee593977522
|
4
|
+
data.tar.gz: 8fca50b602f80d344cbba84cfa3ee9b973ccf483ae35fafb4d0907e5ba4ab3d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2717226490e6f4d2832cdc9630f9a1f99a6023f3d61ff87635a29e12bfaffa7e2f654ec88aa072d08b50c0c6c47bd08779035d01b275abe834d0fa26669abc4
|
7
|
+
data.tar.gz: 6078cc5f928ba8665b2c471e473aefe69bb9d0222197e9a072c3cb27397c6db5d0c65ffd0e6effcf00d9f86b87f58a87b503576a2d344dca32876f027d971cf6
|
data/filex.gemspec
CHANGED
@@ -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
|
data/lib/filex.rb
CHANGED
@@ -62,7 +62,7 @@ module Filex
|
|
62
62
|
end
|
63
63
|
|
64
64
|
#
|
65
|
-
# YAML
|
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(":")
|
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")
|
data/lib/filex/version.rb
CHANGED
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.
|
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-
|
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:
|