imperituroard 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 814b880df6196f3635f3f9b64dd77f6e25766d6f
4
- data.tar.gz: a4f0e6e3f1b2ee0ce362164ad713178b28096921
3
+ metadata.gz: 8988eeea2748b58270199ba1bd979fe39a749d4e
4
+ data.tar.gz: afa25c7aef167be38455299ec35c9bc87cb99fd5
5
5
  SHA512:
6
- metadata.gz: f506dbdf7461d0cf4978df6d0185f416f2d5d0f6b6a851d7b847a4780071e73586bcc6204803e52645e4d1fa69acff75a39116f5f84dbb51ebda8dafdb6db8b6
7
- data.tar.gz: d790d6687195341c546e40072498a32ee06ac7a3028b932f7fedaedc145ac6a2dc8c52998565410c5c0d4157a2702abb39c56f9f31e60f98b5c247657c915ce9
6
+ metadata.gz: 84e89c1ba592ea3e056e61b68f1b933a7691638e613347cd458e8b68a68b99354519ed34d5e2245cea2cf03c2047d0433c3c85391b047b54e7acfc29000bfbb6
7
+ data.tar.gz: 4e045abfa4d7ffc34615c0ebe90fdcf1b0c587efad0bd9d64e08e235b10b3934dbf5f2ce13dae668c3c34dc7b4b8dd59708f68b80abe48e7ad15a590862269af
data/lib/imperituroard.rb CHANGED
@@ -5,6 +5,7 @@ $LOAD_PATH.unshift File.expand_path("../projects/mhub/subs/dabrab", __dir__)
5
5
  $LOAD_PATH.unshift File.expand_path("../platforms/cps", __dir__)
6
6
  $LOAD_PATH.unshift File.expand_path("../platforms/public", __dir__)
7
7
  $LOAD_PATH.unshift File.expand_path("../projects", __dir__)
8
+ $LOAD_PATH.unshift File.expand_path("../projects/dns", __dir__)
8
9
 
9
10
 
10
11
  require "imperituroard/version"
@@ -23,6 +24,8 @@ require 'imperituroard/projects/iot'
23
24
  require 'imperituroard/projects/dns'
24
25
  require 'imperituroard/platforms/cps/qps_connector'
25
26
  require 'imperituroard/platforms/public/telegram'
27
+ require 'imperituroard/projects/dns/ukaz60'
28
+
26
29
  require 'json'
27
30
  require 'ipaddr'
28
31
  require 'date'
@@ -348,6 +351,7 @@ class Ukaz60Automation_2
348
351
  ansible_ssh_password,
349
352
  ansible_host,
350
353
  url_backup_dir)
354
+ =begin
351
355
  @ukaz69_dns_func = Dns_2.new(telegram_api_url,
352
356
  telegram_chat_id,
353
357
  work_directory,
@@ -361,8 +365,9 @@ class Ukaz60Automation_2
361
365
  belgim_login,
362
366
  belgim_password,
363
367
  belgim_url)
368
+ =end
364
369
 
365
- @ukaz60_func = Ukaz60All_2(telegram_api_url,
370
+ @ukaz60_func = Ukaz60All_2.new(telegram_api_url,
366
371
  telegram_chat_id,
367
372
  belgim_login,
368
373
  belgim_password,
@@ -1,3 +1,5 @@
1
+ $LOAD_PATH.unshift File.expand_path("../projects/dns/ukaz60", __dir__)
2
+
1
3
  require 'json'
2
4
 
3
5
  require 'imperituroard/projects/dns/ukaz60/belgim'
@@ -54,6 +54,7 @@ class Ukaz60Dns_2
54
54
  @unblo = 0
55
55
  end
56
56
 
57
+ =begin
57
58
 
58
59
 
59
60
  def gen_mem_script()
@@ -267,6 +268,7 @@ class Ukaz60Dns_2
267
268
 
268
269
  telegram_messanger.telegram_message(results.to_s)
269
270
 
271
+ =end
270
272
 
271
273
  #File.delete("blocked.conf") if File.exist?("blocked.conf")
272
274
  #File.delete("blocked_old.conf") if File.exist?("blocked_old.conf")
@@ -1,3 +1,3 @@
1
1
  module Imperituroard
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imperituroard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dzmitry Buynovskiy