bgem 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bgem.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f58220570f36a054b4389676b2fc0e1e234e74f4
|
4
|
+
data.tar.gz: 499f65c4d8c68f3ba4783bc18228d3338a6d56ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ce15f902ab43ec3dce419e54cd9aece4a2f389408381d5a90ae524a8f43e627f92eba429e049607b4aaca2248b733ce060f2cabe50d6c28e88cf27bc4a6dbd
|
7
|
+
data.tar.gz: 8a1717e4608a8aa7d47b1ebfd2a8b40662b416c1555f419dcfa0a0ba567f0c288c3aff57e83eded4dd11d0477536a6adc062ebce526ce4d22f03781195c1922b
|
data/lib/bgem.rb
CHANGED
@@ -14,9 +14,9 @@ module Bgem
|
|
14
14
|
CONFIG_FILE = "#{Dir.pwd}/bgem/config.rb"
|
15
15
|
|
16
16
|
class << self
|
17
|
-
def run config_file
|
18
|
-
config = Config.new
|
19
|
-
target = TargetFile.new config.output, config.scope
|
17
|
+
def run config_file = CONFIG_FILE
|
18
|
+
config = Config.new config_file
|
19
|
+
target = TargetFile.new config.output, config.scope&.reverse
|
20
20
|
target.write SourceFile.new(config.entry).to_s
|
21
21
|
target
|
22
22
|
end
|
@@ -134,4 +134,4 @@ module Bgem
|
|
134
134
|
@path
|
135
135
|
end
|
136
136
|
end
|
137
|
-
end
|
137
|
+
end
|