katapaty 1.0.3 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2813864309ea96d12836dd9a55b76acae33eb617521248dbb64dd2f455d8ae08
4
- data.tar.gz: be52ba9fecf1233d9ad92bab7c9458c42c79a8c6e46c9d422d60809798ba8b30
3
+ metadata.gz: ca01613f7f978972eb79fd28ab143d744301ad35928eb4564301e09f6d8f9b3c
4
+ data.tar.gz: 7484b9a34d49be5b0801fc135073874643fee20f40530a240b62105e789c7b61
5
5
  SHA512:
6
- metadata.gz: 92da70e987828ae1fd33b03ce47b78806b5d834ccdc33cff6e8e0fd5028c85c62b6ffb1356105417270d3325533e087ae2afaf9f0be9b2712592c6839e97f391
7
- data.tar.gz: 8453718af43b96fe80af5716c6becc45f210484ecaf17ef9911478a78e04e2d01ba3e4f71848f123c5d2d35d6e8edf65be4dd4e0257d968e32a52b67c9aca33a
6
+ metadata.gz: 2b08ef5dc3c1e32f06edf3068904d7a44cc03185047a6dc70ca7720f2bbca89ea0ec2368df027db5cfe3b6ad785b3789f56ecf12ef526bb0e0b7ac50aacac1d6
7
+ data.tar.gz: 4e63a259b497f68233bd8a4f73cd01f3ac36240f42357631d47ad64997e76226de723d0463853f9149f9eba21d584853fc1702cc16aa580801ecb08ae88493f2
data/README.md CHANGED
@@ -47,6 +47,8 @@ Katapaty::Party.create_send(
47
47
  asset: "LONGDD",
48
48
  quantity: 50000
49
49
  )
50
+
51
+ Katapaty::Block.proxy_to_cp(method: :get_running_info)
50
52
  ```
51
53
 
52
54
  Check methods here: https://counterparty.io/docs/api/#read-api-function-reference
@@ -12,13 +12,13 @@ module Katapaty
12
12
 
13
13
  def counterparty_url
14
14
  return 'http://rpc:1234@public.coindaddy.io:14000/api/' unless @host
15
- "#{protocol}://#{@username}:#{@password}@#{@host}:#{@port}/api/"
15
+ "#{protocol}://#{@username}:#{CGI.escape(@password)}@#{@host}:#{@port}/api/"
16
16
  end
17
17
 
18
18
  def counterblock_url
19
19
  return 'http://rpc:1234@public.coindaddy.io:14100/api/' unless @block_host
20
20
  authen = ''
21
- authen = "#{@block_username}:#{@block_password}@" if @block_username
21
+ authen = "#{@block_username}:#{CGI.escape(@block_password)}@" if @block_username
22
22
  "#{protocol}://#{authen}#{@block_host}:#{@block_port}/api/"
23
23
  end
24
24
 
@@ -1,3 +1,3 @@
1
1
  module Katapaty
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katapaty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - longhoang.wkm
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-10 00:00:00.000000000 Z
11
+ date: 2020-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler