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.
- checksums.yaml +4 -4
- data/lib/functions.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 798ff1afa2d3be6184ccf879455158097e18427e3eaf0b504637d3c8f3f0568d
|
4
|
+
data.tar.gz: 9611aed6efa51f99c1bef9b231f8efb12fd044c12181d592790c93f17e79fe80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|