blackstack-core 1.2.11 → 1.2.12

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 +6 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c14f6619a24dc2278ac2ec596ca3ed4356962a26e9c4fc2b1872a837d4511273
4
- data.tar.gz: f3a58ee1f1e87f0ccf0b6af5e9a2b4c14c1070b1144b3f2ca56802ce94a82f3d
3
+ metadata.gz: 798ff1afa2d3be6184ccf879455158097e18427e3eaf0b504637d3c8f3f0568d
4
+ data.tar.gz: 9611aed6efa51f99c1bef9b231f8efb12fd044c12181d592790c93f17e79fe80
5
5
  SHA512:
6
- metadata.gz: 5e190d673b3815bb5a32c7a270aaf9157b120c9f8a71e351aa6c355e80a6e61ff2af492a9d14e88d1d2b8fb0f3cd2e927404897b8b1ef9e8e0db7ff093f89e1c
7
- data.tar.gz: 11efe2a841688d8d9af06410d3466aa0ab4bd82c4880447cd7ab6199974fbfc3c1cf2395e96634ca06ef8106d2501cdebe6985b5a93f00f6db4422cc42963eb0
6
+ metadata.gz: d97e4e198a961b9d35502ab9d993f0b524e1c7be4f85c7a696604618bfecb6b977bb7e1b1f07904b98bda4c79705e23a027af70894d26670042531c0bb9b8dfe
7
+ data.tar.gz: b0d537a18baaa2af08d660ec7e96b57058b99ccbcd018ba3460eb8571bb0102f440d3dc510f553a2e7becba3040e229cd418c07880ad44acffbd2d65be01db67
data/lib/functions.rb CHANGED
@@ -1,5 +1,11 @@
1
1
 
2
2
  module BlackStack
3
+
4
+ # Return true if there is a .sandbox file in the $RUBYLIB folder.
5
+ def sandbox?
6
+ File.exists?('/$RUBYLIB/.sandbox')
7
+ end
8
+
3
9
  module API
4
10
  # API connection parameters
5
11
  @@api_key = nil # Api-key of the client who will be the owner of a process.
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.11
4
+ version: 1.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi