victor-cli 0.3.6 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/victor +1 -1
- data/lib/victor/cli/commands/init.rb +2 -2
- data/lib/victor/cli/commands/render.rb +2 -2
- data/lib/victor/cli/version.rb +1 -1
- data/lib/victor/cli.rb +0 -5
- metadata +16 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae572af3658e7deee923e58a2cf98291d33c3916002d02a236a61b444e93e54e
|
4
|
+
data.tar.gz: c4c9b1075a852bfebfd008c45a14032d42df459356ec646ee12cd0bdc5c3fca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f642ac864d24273b28c6539925cb109a725f2c21bf3f83fee7bb5cede14267f8af5a2e968aa9290738a2a2e3f5b15f10d9a416d6fafa13f91d6558f5eb2c85ef
|
7
|
+
data.tar.gz: fdc56653a55b1f2d6a4a1cb5ef99c1856e62982611749a2a1ea99e0e114cfc5f5d66a800efb8839e5ff0d7c4c0934948b45c54a4a84c184b1a340c0615314964
|
data/bin/victor
CHANGED
@@ -30,9 +30,9 @@ module Victor
|
|
30
30
|
say "Saved #{filename}"
|
31
31
|
|
32
32
|
if template == 'cli'
|
33
|
-
say %[Run
|
33
|
+
say %[Run b`victor render "#{filename}"` to render]
|
34
34
|
else
|
35
|
-
say %[Run
|
35
|
+
say %[Run b`ruby "#{filename}"` to render]
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
@@ -51,7 +51,7 @@ module Victor
|
|
51
51
|
def watch
|
52
52
|
say "Watching #{ruby_file} for changes"
|
53
53
|
file_watcher.watch do |changes|
|
54
|
-
changes.
|
54
|
+
changes.each_value do |event|
|
55
55
|
yield unless event == :deleted
|
56
56
|
end
|
57
57
|
end
|
@@ -61,7 +61,7 @@ module Victor
|
|
61
61
|
watch do
|
62
62
|
generate
|
63
63
|
rescue => e
|
64
|
-
say! "
|
64
|
+
say! "ru`#{e.class}`\n#{e.message}"
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
data/lib/victor/cli/version.rb
CHANGED
data/lib/victor/cli.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: victor-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danny Ben Shitrit
|
8
8
|
- Max Brosnahan
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: colsole
|
@@ -17,20 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '0
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.8.1
|
20
|
+
version: '1.0'
|
24
21
|
type: :runtime
|
25
22
|
prerelease: false
|
26
23
|
version_requirements: !ruby/object:Gem::Requirement
|
27
24
|
requirements:
|
28
25
|
- - "~>"
|
29
26
|
- !ruby/object:Gem::Version
|
30
|
-
version: '0
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 0.8.1
|
27
|
+
version: '1.0'
|
34
28
|
- !ruby/object:Gem::Dependency
|
35
29
|
name: css_parser
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,14 +87,14 @@ dependencies:
|
|
93
87
|
requirements:
|
94
88
|
- - "~>"
|
95
89
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
90
|
+
version: '0.3'
|
97
91
|
type: :runtime
|
98
92
|
prerelease: false
|
99
93
|
version_requirements: !ruby/object:Gem::Requirement
|
100
94
|
requirements:
|
101
95
|
- - "~>"
|
102
96
|
- !ruby/object:Gem::Version
|
103
|
-
version: '0.
|
97
|
+
version: '0.3'
|
104
98
|
- !ruby/object:Gem::Dependency
|
105
99
|
name: requires
|
106
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,14 +129,14 @@ dependencies:
|
|
135
129
|
requirements:
|
136
130
|
- - "~>"
|
137
131
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0.
|
132
|
+
version: '0.4'
|
139
133
|
type: :runtime
|
140
134
|
prerelease: false
|
141
135
|
version_requirements: !ruby/object:Gem::Requirement
|
142
136
|
requirements:
|
143
137
|
- - "~>"
|
144
138
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0.
|
139
|
+
version: '0.4'
|
146
140
|
description: CLI for Victor, the SVG Library
|
147
141
|
email: db@dannyben.com
|
148
142
|
executables:
|
@@ -176,8 +170,11 @@ homepage: https://github.com/dannyben/victor-cli
|
|
176
170
|
licenses:
|
177
171
|
- MIT
|
178
172
|
metadata:
|
173
|
+
bug_tracker_uri: https://github.com/DannyBen/victor-cli/issues
|
174
|
+
changelog_uri: https://github.com/DannyBen/victor-cli/blob/master/CHANGELOG.md
|
175
|
+
source_code_uri: https://github.com/DannyBen/victor-cli
|
179
176
|
rubygems_mfa_required: 'true'
|
180
|
-
post_install_message:
|
177
|
+
post_install_message:
|
181
178
|
rdoc_options: []
|
182
179
|
require_paths:
|
183
180
|
- lib
|
@@ -185,15 +182,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
182
|
requirements:
|
186
183
|
- - ">="
|
187
184
|
- !ruby/object:Gem::Version
|
188
|
-
version:
|
185
|
+
version: '3.1'
|
189
186
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
187
|
requirements:
|
191
188
|
- - ">="
|
192
189
|
- !ruby/object:Gem::Version
|
193
190
|
version: '0'
|
194
191
|
requirements: []
|
195
|
-
rubygems_version: 3.
|
196
|
-
signing_key:
|
192
|
+
rubygems_version: 3.5.17
|
193
|
+
signing_key:
|
197
194
|
specification_version: 4
|
198
195
|
summary: CLI for Victor, the SVG Library
|
199
196
|
test_files: []
|