blackstack-core 1.2.11 → 1.2.13
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: a8a2478d42f0dcfea4ea4c3353c538de429e2178c9e50bc6761a6cbfaba16668
|
4
|
+
data.tar.gz: 9262beaa125653a971e5114bf0d41c185d98c162426f7cb52f2b53a93834ffe1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62351ddef582b21e134536b1991f33b26a835654c30b5fac44f549cd6be400395c8b41e68beb70a1ca0773dd1f50bb3c1549996d2d6cbcd1ae093d0f505e427e
|
7
|
+
data.tar.gz: e7c9eaa31670e6e25fae2a92b5e899378a66062322cd0182ab63e445f3629e62fa115f526f76b62e95dac987571313c27406fa7d3409c95e8aad5b13e1c229a6
|
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 self.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.
|