blackstack_commons 1.1.25 → 1.1.26

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/functions.rb +1 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c06dd76bc3936b16355aba14d4ea7dccd1b6323
4
- data.tar.gz: 13b8b273c05e6912528d973b41eb245e524de699
3
+ metadata.gz: 1cc95c11625700337bb0e751d017c74576e88928
4
+ data.tar.gz: 2d59f66329d8a08b2a8ed24df9daa5d86e0f0b5f
5
5
  SHA512:
6
- metadata.gz: cbbeaf250f1fd2dd8d1e48fc09f9c65b5d470a45ad332804754823acd451e9a4e0379feb124fbbbc6d6f4dc67c50948eab0ce83388807270e4299151c31c7092
7
- data.tar.gz: 1bc256b596063aebea05a7211ea6ced437ac71adf36d1269471040feefb81de902906780f104429f16baca85e93a7ee9fd84c366b4ab6e27b1ef28098dbb7d7b
6
+ metadata.gz: b497184aa100f95b4e5339f67d7a3f82ef15554467c785f98eb41342b2c0644bf30d7ad12b37c8432601e7d4b9e3e6ece79b83193601a93f0a804447c5dd36b1
7
+ data.tar.gz: 53b0926d2ccc8697d9702bec33ad63fc7ab89b4f691f24d5937f4cb1f422bf839548b361ef2e940f95b367c872f29b40633a56c47aaaa4764771c46e9166326c
data/lib/functions.rb CHANGED
@@ -11,10 +11,7 @@ module BlackStack
11
11
  # This function resolves that problem, by forcing the require to look
12
12
  # into the folder where the .exe command is hosted.
13
13
  #
14
- def self.require_local(filename='config.rb')
15
- current_dir = ($0) || __FILE__
16
- current_dir = File.expand_path('..', current_dir)
17
- source_dir = ENV["OCRA_EXECUTABLE"] || __FILE__
14
+ def self.require_local(source_dir, filename='config.rb')
18
15
  source_dir = File.expand_path('..', source_dir)
19
16
  require File.expand_path('config', source_dir)
20
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackstack_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.25
4
+ version: 1.1.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi