colorly 0.1.4 → 0.1.5

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: 8d060e9b777f5060b1223717a5434390dadf403391882bf5a64b83ab2fb98e67
4
- data.tar.gz: a9cb9f6a76f3cae702e6ec7d21b574e4904b3a6fd4ccc629765721c47874aa94
3
+ metadata.gz: 21e1e9da39aeb056d58ed22d041af1c59250b57ab80800c872a213f61ba9d3dd
4
+ data.tar.gz: 0b03ec6477fc410a5ea03615e7c283a43b3a20b5cfe0143e39b47ef17b636c8d
5
5
  SHA512:
6
- metadata.gz: e233a4edcef61f4077ddba54ee9c09c5c8d29657c35e69e26c54a2a91f962f1258e7b03bfc4e9f558ed3967140f5479d8f7a3f881f2298f7ab8efe8a244752dc
7
- data.tar.gz: 99b83717e0b23aa4fba35bddc8062bb0474f78f35fd7c9c6ebc8e37b8bc8053fbe56ab3fdbb94a58c8d8e3fa412676a1ef0b894a6abc48bb98a6d3112aa23ac4
6
+ metadata.gz: 8ca670c7ebd8bd881bf2dc3222f32a761e4d32a258ec9ddd848e407d619d7ad224d9fa3f6ec4acd2d86b60a8c8076e8797b16191630dab39fa93473904300910
7
+ data.tar.gz: b6182b72010bf53b08620b9670202e8914cae0f361eb1ce2fc2860490f9ae00f7797a91b1a73fde9cc6f952f89b0c3e5d823817cf71c28ca28fa50e4b81db1fc
data/bin/colorly CHANGED
@@ -15,7 +15,7 @@ rescue => e
15
15
  puts e.backtrace.reverse
16
16
  say ''
17
17
  end
18
- say "!undred!ERROR: #{e.class}"
18
+ say "ru`ERROR: #{e.class}`"
19
19
  say e.message
20
20
  exit 1
21
21
  end
@@ -21,7 +21,13 @@ module Colorly
21
21
  option '-n --names', 'Also show color names and shades (slower)'
22
22
 
23
23
  param 'SCRIPT', 'Path to script file'
24
- param 'OUTPUT_PATH', "Path to output file. The output format is determined by the file extension. Supported formats:\n- YAML (.yaml or .yml)\n- JSON (.json)\n- HTML (.html)\nIf left empty, YAML format will be sent to STDOUT."
24
+ param 'OUTPUT_PATH', <<~USAGE
25
+ Path to output file. The output format is determined by the file extension. Supported formats:
26
+ - YAML (.yaml or .yml)
27
+ - JSON (.json)
28
+ - HTML (.html)
29
+ If left empty, YAML format will be sent to STDOUT.
30
+ USAGE
25
31
 
26
32
  example 'colorly examples/example.rb'
27
33
  example 'colorly examples/example.rb --names'
@@ -48,7 +54,7 @@ module Colorly
48
54
  end
49
55
 
50
56
  def watch_and_generate
51
- say "Watching !txtpur!#{script_path}"
57
+ say "Watching m`#{script_path}`"
52
58
  filewatcher.watch { generate }
53
59
  end
54
60
 
@@ -80,7 +86,7 @@ module Colorly
80
86
  end
81
87
 
82
88
  File.write out_path, out_string
83
- say "Saved !txtpur!#{out_path}"
89
+ say "Saved m`#{out_path}`"
84
90
  end
85
91
 
86
92
  def html_template
@@ -1,3 +1,3 @@
1
1
  module Colorly
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colorly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-20 00:00:00.000000000 Z
11
+ date: 2024-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chroma
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.7'
33
+ version: '1.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.7'
40
+ version: '1.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: filewatcher
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -107,7 +107,7 @@ metadata:
107
107
  bug_tracker_uri: https://github.com/DannyBen/colorly/issues
108
108
  source_code_uri: https://github.com/dannyben/colorly
109
109
  rubygems_mfa_required: 'true'
110
- post_install_message:
110
+ post_install_message:
111
111
  rdoc_options: []
112
112
  require_paths:
113
113
  - lib
@@ -115,15 +115,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="
117
117
  - !ruby/object:Gem::Version
118
- version: '2.7'
118
+ version: '3.1'
119
119
  required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - ">="
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.4.3
126
- signing_key:
125
+ rubygems_version: 3.5.6
126
+ signing_key:
127
127
  specification_version: 4
128
128
  summary: Colorly color palette CLI
129
129
  test_files: []