sugamasao-saag 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -0
- data/lib/saag.rb +5 -1
- metadata +2 -1
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.2.1
|
data/lib/saag.rb
CHANGED
@@ -21,7 +21,11 @@ class Saag
|
|
21
21
|
opt.on('-i', '--input_path=VAL', 'input file path(directory or filename)') {|v| @conf[:in_path] = set_dir_path(v)}
|
22
22
|
opt.on('-o', '--output_path=VAL', 'generated css file output path') {|v| @conf[:out_path] = set_dir_path(v)}
|
23
23
|
opt.on('-r', '--render_opt=VAL', 'sass render option [nested or expanded or compact or compressed]' ){|v| @conf[:render_opt] = set_render_opt(v)}
|
24
|
-
opt.on('-v', '--version', 'show version' )
|
24
|
+
opt.on('-v', '--version', 'show version' ) do
|
25
|
+
print "#{self.class} "
|
26
|
+
puts File.read("#{File.dirname(__FILE__)}/../VERSION").chomp
|
27
|
+
exit 1
|
28
|
+
end
|
25
29
|
opt.on('-d', '--debug', 'log level to debug') {|v| @conf[:debug] = v}
|
26
30
|
end.parse!(argv)
|
27
31
|
rescue OptionParser::InvalidOption, OptionParser::MissingArgument => e
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sugamasao-saag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sugamasao
|
@@ -36,6 +36,7 @@ extra_rdoc_files:
|
|
36
36
|
files:
|
37
37
|
- ChangeLog
|
38
38
|
- README
|
39
|
+
- VERSION
|
39
40
|
- bin/saag
|
40
41
|
- lib/saag.rb
|
41
42
|
- TODO
|