victor-cli 0.3.1 → 0.3.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
2
  SHA256:
3
- metadata.gz: 147bb0bcc1f9d770e5470631198215ef12253443c9ffd3d6df79bd6f70f283cf
4
- data.tar.gz: 3680d1619af8e412b8fc967f1e8792ca725b220703b785dd953299d56d68a2a5
3
+ metadata.gz: 82fc02c3ba2a1713203ac34aa76bd025ae9fb4cf04139c74b7e9dadb055d8005
4
+ data.tar.gz: 9204eb4ce2e142b989266e7079942f70d13f0051bdeee1618715ef8608eec8c0
5
5
  SHA512:
6
- metadata.gz: 1ff97918800fe9c9105bec117a6aa3b661167fc862e6d7a5b9fde740a5d3fbaa35bbefdb2646bcf8168fdb7e27b589f8a54203b3723cd5ed633e2837a08247f5
7
- data.tar.gz: 66d83bf9127c23bcbb2d7e662e40091f87c25b874c3997005977a446c85fcea3de96a5d826282742b2dad1ff9a9628545f0458ecf5d60baf50c691f2a184ee7b
6
+ metadata.gz: 5c01a4894fa0830e67d55ef0d90d4a67163765896993d52637d31a26f16eb15215c0ac40797be6bd65958f8a52a1019a343c95551f38a7d2abbf01a222b35963
7
+ data.tar.gz: 4430b1433977028919dcc33c67225746cf23f08f8ec5520af821dc7997adcaf3f3a793e19ec79fa289ff39b06457015207fde16f2fabe21cec8aec3bf83df991
@@ -76,7 +76,7 @@ module Victor
76
76
 
77
77
  # Renders ERB code
78
78
  def erb(code)
79
- ERB.new(code, nil, "%-").result(binding)
79
+ ERB.new(code, trim_mode: '%-').result(binding)
80
80
  end
81
81
 
82
82
  # Returns the content of the appropriate ERB tempalte, based on type
@@ -7,8 +7,8 @@ build do
7
7
  circle cx: 50, cy: 50, r: 40, fill: 'yellow'
8
8
  rect x: 10, y: 50, width: 80, height: 50, fill: 'yellow'
9
9
 
10
- [25, 50].each do |y|
11
- circle cx: y, cy: 40, r: 8, fill: 'white'
10
+ [25, 50].each do |x|
11
+ circle cx: x, cy: 40, r: 8, fill: 'white'
12
12
  end
13
13
 
14
14
  path d: "M11 100 l13 -15 l13 15 l13 -15 l13 15 l13 -15 l13 15 Z", fill: 'white'
@@ -8,8 +8,8 @@ build do
8
8
  circle cx: 50, cy: 50, r: 40, fill: 'yellow'
9
9
  rect x: 10, y: 50, width: 80, height: 50, fill: 'yellow'
10
10
 
11
- [25, 50].each do |y|
12
- circle cx: y, cy: 40, r: 8, fill: 'white'
11
+ [25, 50].each do |x|
12
+ circle cx: x, cy: 40, r: 8, fill: 'white'
13
13
  end
14
14
 
15
15
  path d: "M11 100 l13 -15 l13 15 l13 -15 l13 15 l13 -15 l13 15 Z", fill: 'white'
@@ -8,8 +8,8 @@ svg.build do
8
8
  circle cx: 50, cy: 50, r: 40, fill: 'yellow'
9
9
  rect x: 10, y: 50, width: 80, height: 50, fill: 'yellow'
10
10
 
11
- [25, 50].each do |y|
12
- circle cx: y, cy: 40, r: 8, fill: 'white'
11
+ [25, 50].each do |x|
12
+ circle cx: x, cy: 40, r: 8, fill: 'white'
13
13
  end
14
14
 
15
15
  path d: "M11 100 l13 -15 l13 15 l13 -15 l13 15 l13 -15 l13 15 Z", fill: 'white'
@@ -1,5 +1,5 @@
1
1
  module Victor
2
2
  module CLI
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: victor-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-05-05 00:00:00.000000000 Z
12
+ date: 2022-06-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: filewatcher
@@ -178,14 +178,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - ">="
180
180
  - !ruby/object:Gem::Version
181
- version: 2.4.0
181
+ version: 2.7.0
182
182
  required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  requirements:
184
184
  - - ">="
185
185
  - !ruby/object:Gem::Version
186
186
  version: '0'
187
187
  requirements: []
188
- rubygems_version: 3.0.3
188
+ rubygems_version: 3.3.14
189
189
  signing_key:
190
190
  specification_version: 4
191
191
  summary: CLI for Victor, the SVG Library