imperituroard 0.3.7 → 0.3.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e3e7410b715b2528c3d416e5a81123344be298b
4
- data.tar.gz: 2029812a6b530bb3b99d78b6e7c7ebbb3090719f
3
+ metadata.gz: 105b8bfcf0691a85c3e70bd793cceb9cfde52aa4
4
+ data.tar.gz: 6bed91d82f8ae0174587ddc05837284411b218d1
5
5
  SHA512:
6
- metadata.gz: 0374e67308f658d3e6ec990ccfb3d42b99ac6607773fd024eb1ad90b5e193cb19187526c39c096a4163e964afdb7411a9b0c821bfc917b7737da00fb26f96fac
7
- data.tar.gz: 7c3031eb6254f1ec1cef713dab84093ae747459b787808460ef282e5a4d3c475e75bad75b3d29875861011c75247e4f848a7a10d82837cbc9009e0b32a61376d
6
+ metadata.gz: dccc03ba30a1ca692af12363c70ee3f405a73d87e3a767784b750661ca2b926efd9dba540876b76dae5f90e6091252b643e3bc6acd35d9f77fda88c6e22c27cd
7
+ data.tar.gz: 9d4917de0ab216a8a6e76379879793833c526768bd11a13f70efcfd1c512d44617305dc864821fb447b430485a72124a6cfee58f5739ac038a47597e45568207
@@ -1,3 +1,3 @@
1
1
  module Imperituroard
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
data/lib/imperituroard.rb CHANGED
@@ -797,7 +797,7 @@ end
797
797
 
798
798
  class Mhub_2
799
799
 
800
- attr_accessor :sk_url, :sk_login, :sk_password, :mhub_connector
800
+ attr_accessor :sk_url, :sk_login, :sk_password, :mhub_connector, :internal_func
801
801
 
802
802
  def initialize(sk_url, sk_login, sk_password, telegram_api_url, telegram_chat_id)
803
803
  @sk_url = sk_url
@@ -847,16 +847,17 @@ class Mhub_2
847
847
 
848
848
  else
849
849
 
850
- output_params = {:code => 501, :result => "Invalid input data"}
850
+ output_params = {"code": 500, "result": "Invalid input data"}
851
851
 
852
852
  end
853
853
 
854
854
  rescue
855
- output_params = {:code => 500, :result => "Invalid input data"}
855
+ output_params = {"code": 500, "result": "Invalid input data"}
856
856
  end
857
857
 
858
858
  internal_func.printer_texter({:input => input_params, :output => output_params, :procedure => "Mhub_2.get_send_message"}, "debug")
859
859
 
860
+ output_params
860
861
 
861
862
  end
862
863
 
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.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dzmitry Buynovskiy