blackstack_commons 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/functions.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07550df91d0fb5ab6d72dd1d55b3c7be349a7873
|
4
|
+
data.tar.gz: e214a77924e003e7a7e368c173c498c16af73eb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b14c193920a718017748b50779978e0a7bb0df751ca3631eacd051bd8a64e18836eeb4eb07635c1f9bf8237fb292d5e41c1310e56130e8fd21be9e730889da7
|
7
|
+
data.tar.gz: 3f8dea0ad8efba3669bfeb8773aaca96adbc35143dc61a6abe34e9386dfcfb933849b1f9f1470099d40b344a8101ec4697eedcfab2c9215ef323d129a1ed3a1c
|
data/lib/functions.rb
CHANGED
@@ -485,7 +485,7 @@ module BlackStack
|
|
485
485
|
def self.call_post(url, params = {}, ssl_verify_mode=BlackStack::Netting::DEFAULT_SSL_VERIFY_MODE, max_channels=10)
|
486
486
|
# build the lockfile name
|
487
487
|
x = rand(max_channels.to_i)
|
488
|
-
lockfilename = "./apicall.channel_{x.to_s}.lock"
|
488
|
+
lockfilename = "./apicall.channel_#{x.to_s}.lock"
|
489
489
|
lockfile = File.open(lockfilename, "w")
|
490
490
|
|
491
491
|
# lock the file
|