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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: afafb8c88c6da7d1af79069ad31bb509ff5888c69e659a753e0eb753004defcd
4
- data.tar.gz: 849b54edb118a6e4a2b3c5c91c0dbb21c4067fa712aef3984e46928d3ca63696
3
+ metadata.gz: ae572af3658e7deee923e58a2cf98291d33c3916002d02a236a61b444e93e54e
4
+ data.tar.gz: c4c9b1075a852bfebfd008c45a14032d42df459356ec646ee12cd0bdc5c3fca4
5
5
  SHA512:
6
- metadata.gz: 1dc516300e9686ad0b9418f653ecdc4a78853f8f7a93334beb8d834fffdb741649b369e001c5b2f13f763f270239654d75d28c50ddadf6a9d0f3ace1aec80544
7
- data.tar.gz: 13d73e7b3017f22ddbf4394ae263f5d9adfd50eb95f6060b4b8e7ee0aad40096fc47456e2440b6754f11342d46dd573feb155c093a28886896d8ac9dcadcfb58
6
+ metadata.gz: f642ac864d24273b28c6539925cb109a725f2c21bf3f83fee7bb5cede14267f8af5a2e968aa9290738a2a2e3f5b15f10d9a416d6fafa13f91d6558f5eb2c85ef
7
+ data.tar.gz: fdc56653a55b1f2d6a4a1cb5ef99c1856e62982611749a2a1ea99e0e114cfc5f5d66a800efb8839e5ff0d7c4c0934948b45c54a4a84c184b1a340c0615314964
data/bin/victor CHANGED
@@ -3,7 +3,7 @@ require 'victor/cli'
3
3
  require 'pretty_trace/enable-trim'
4
4
 
5
5
  include Colsole
6
- PrettyTrace.filter [/gem/, /lib/, %r{bin/victor}]
6
+ PrettyTrace.filter [/gem/, /lib/, %r{bin/victor}, %r{bin/bundle}]
7
7
  PrettyTrace.debug_tip
8
8
 
9
9
  router = Victor::CLI::CommandLine.router
@@ -30,9 +30,9 @@ module Victor
30
30
  say "Saved #{filename}"
31
31
 
32
32
  if template == 'cli'
33
- say %[Run !txtblu!victor render "#{filename}"!txtrst! to render]
33
+ say %[Run b`victor render "#{filename}"` to render]
34
34
  else
35
- say %[Run !txtblu!ruby "#{filename}"!txtrst! to render]
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.each do |_path, event|
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! "!undred!#{e.class}!txtrst!\n#{e.message}"
64
+ say! "ru`#{e.class}`\n#{e.message}"
65
65
  end
66
66
  end
67
67
 
@@ -1,5 +1,5 @@
1
1
  module Victor
2
2
  module CLI
3
- VERSION = '0.3.6'
3
+ VERSION = '0.3.8'
4
4
  end
5
5
  end
data/lib/victor/cli.rb CHANGED
@@ -5,8 +5,3 @@ require_relative 'cli/ruby_source'
5
5
  require_relative 'cli/css_data'
6
6
  require_relative 'cli/command_line'
7
7
  require_relative 'cli/svg_node'
8
-
9
- if ENV['BYEBUG']
10
- require 'byebug'
11
- require 'lp'
12
- end
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.6
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: 2023-01-20 00:00:00.000000000 Z
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.8'
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.8'
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.2'
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.2'
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.3'
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.3'
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: 2.7.0
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.4.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: []