blackstack-core 1.2.12 → 1.2.14

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 +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 798ff1afa2d3be6184ccf879455158097e18427e3eaf0b504637d3c8f3f0568d
4
- data.tar.gz: 9611aed6efa51f99c1bef9b231f8efb12fd044c12181d592790c93f17e79fe80
3
+ metadata.gz: b95d9103bd0e1ca4e6592838f394cb973c8da2c95e4c3a3ed85825a2eb300770
4
+ data.tar.gz: '08c66d9a524d6095153ed68b573e21c0dbdbe9ffecfb96341a7204559b1707f1'
5
5
  SHA512:
6
- metadata.gz: d97e4e198a961b9d35502ab9d993f0b524e1c7be4f85c7a696604618bfecb6b977bb7e1b1f07904b98bda4c79705e23a027af70894d26670042531c0bb9b8dfe
7
- data.tar.gz: b0d537a18baaa2af08d660ec7e96b57058b99ccbcd018ba3460eb8571bb0102f440d3dc510f553a2e7becba3040e229cd418c07880ad44acffbd2d65be01db67
6
+ metadata.gz: 4bd8f56f2f3e85079be9d8ca3422a296f0cc8077ecf182ccb07c82001330f24ee106a4c50216c1272f3b8eed469357239e9a2c114038e6920715c7da45fbfc8c
7
+ data.tar.gz: e1bfc3cc67e81725ba92ddcc1902f2d32fe104ce7eceadd01ff2597b824832b49bab39c2a1f0644a3b6c88af728983fc1209279d7c315bf6f30d908bdc21b0cd
data/lib/functions.rb CHANGED
@@ -1,9 +1,9 @@
1
1
 
2
2
  module BlackStack
3
3
 
4
- # Return true if there is a .sandbox file in the $RUBYLIB folder.
5
- def sandbox?
6
- File.exists?('/$RUBYLIB/.sandbox')
4
+ # Return true if there is a `.sandbox` file in the current folder `./`.
5
+ def self.sandbox?
6
+ File.exists?('./.sandbox')
7
7
  end
8
8
 
9
9
  module API
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blackstack-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.12
4
+ version: 1.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi