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.
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: a8a2478d42f0dcfea4ea4c3353c538de429e2178c9e50bc6761a6cbfaba16668
4
+ data.tar.gz: 9262beaa125653a971e5114bf0d41c185d98c162426f7cb52f2b53a93834ffe1
5
5
  SHA512:
6
- metadata.gz: 5e190d673b3815bb5a32c7a270aaf9157b120c9f8a71e351aa6c355e80a6e61ff2af492a9d14e88d1d2b8fb0f3cd2e927404897b8b1ef9e8e0db7ff093f89e1c
7
- data.tar.gz: 11efe2a841688d8d9af06410d3466aa0ab4bd82c4880447cd7ab6199974fbfc3c1cf2395e96634ca06ef8106d2501cdebe6985b5a93f00f6db4422cc42963eb0
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.
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.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi