bgem 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/bgem.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 84422e696c33a9c9290fdfb24829ced47f965455
4
- data.tar.gz: 0226ff6fed28bb77ec7de2a742a9828573949ac1
3
+ metadata.gz: f58220570f36a054b4389676b2fc0e1e234e74f4
4
+ data.tar.gz: 499f65c4d8c68f3ba4783bc18228d3338a6d56ab
5
5
  SHA512:
6
- metadata.gz: 8574511d8fcf5a19cba7a3fa3d692e7e694617982d144090189617453231d043313f176577f90aca656bfa2c00796ed2b6b6ced43e7edae5d52573374b0b3ece
7
- data.tar.gz: 2f95fa049afec7ef5d279ec1026a7d7270b28f3d70eae6fc89ae9ae490df26a6b5382c26082707b05bacf3992a9b2cce7289cc3c6d66c96a6080dbf517e7dd22
6
+ metadata.gz: d5ce15f902ab43ec3dce419e54cd9aece4a2f389408381d5a90ae524a8f43e627f92eba429e049607b4aaca2248b733ce060f2cabe50d6c28e88cf27bc4a6dbd
7
+ data.tar.gz: 8a1717e4608a8aa7d47b1ebfd2a8b40662b416c1555f419dcfa0a0ba567f0c288c3aff57e83eded4dd11d0477536a6adc062ebce526ce4d22f03781195c1922b
@@ -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 (config_file or CONFIG_FILE)
19
- target = TargetFile.new config.output, config.scope.reverse
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bgem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatoly Chernow