gem_liux1 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/gem_liux1-cli +6 -18
- data/lib/gem_liux1/version.rb +1 -1
- metadata +3 -3
data/bin/gem_liux1-cli
CHANGED
@@ -1,22 +1,10 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# encoding: UTF-8
|
3
|
-
|
4
|
-
def fallback_load_path(path)
|
5
|
-
retried = false
|
6
|
-
begin
|
7
|
-
yield
|
8
|
-
rescue LoadError
|
9
|
-
unless retried
|
10
|
-
$: << path
|
11
|
-
retried = true
|
12
|
-
retry
|
13
|
-
end
|
14
|
-
raise
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do
|
19
|
-
|
3
|
+
require 'sass'
|
20
4
|
require 'gem_liux1'
|
5
|
+
require 'yaml'
|
6
|
+
require 'optparse'
|
21
7
|
|
22
|
-
|
8
|
+
OptionParser.new do |opts|
|
9
|
+
opts.banner = "Usage: gem_liux1-cli [options] file"
|
10
|
+
end.parse!(ARGV)
|
data/lib/gem_liux1/version.rb
CHANGED
metadata
CHANGED