pampa_workers 1.1.15 → 1.1.16
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/mybotprocess.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d220ce3a1a32528fef038c7b6e3682b7e2b4dea4
|
4
|
+
data.tar.gz: f9fa423fb8833f6bd4ce4d33d764565269e58c44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6fa838696c0ecbe59466d33e04f4c01ccca4bd56d8dcdd6699dada04ecca6ed4bfa0764900736f2433a84be45c450f8c52d080759a321b1e299c9df4aa212ae
|
7
|
+
data.tar.gz: fc6dcc979f8e005c2a6c7409cdd546fcf45bea6c2d581c7d3f2dce09bc181311c6bb86bdef7a94f4f142c5f7f9e205a295d273083c8ed65f349187b45738014a
|
data/lib/mybotprocess.rb
CHANGED
@@ -113,14 +113,14 @@ module BlackStack
|
|
113
113
|
url =
|
114
114
|
"#{BlackStack::Pampa::api_protocol}://#{self.ws_url}:#{self.ws_port}/api1.3/pampa/scrape.inbox/notify_lnchat.json?" +
|
115
115
|
"api_key=#{BlackStack::Pampa::api_key}&" +
|
116
|
-
"profile_code=#{
|
117
|
-
"profile_name=#{
|
118
|
-
"profile_headline=#{
|
119
|
-
"first=#{
|
116
|
+
"profile_code=#{CGI.escape(conv[:profile_code])}&" +
|
117
|
+
"profile_name=#{CGI.escape(conv[:profile_name])}&" +
|
118
|
+
"profile_headline=#{CGI.escape(conv[:profile_headline])}&" +
|
119
|
+
"first=#{CGI.escape(conv[:first])}&" +
|
120
120
|
"position=#{chat[:position].to_s}&" +
|
121
121
|
"uid=#{lnuser['id']}&" +
|
122
|
-
"sender_name=#{
|
123
|
-
"body=#{
|
122
|
+
"sender_name=#{CGI.escape(chat[:sender_name])}&" +
|
123
|
+
"body=#{CGI.escape(chat[:body])}&"
|
124
124
|
puts ""
|
125
125
|
puts "url:#{url}:."
|
126
126
|
puts ""
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pampa_workers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leandro Daniel Sardi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: websocket
|