proboscis_cli 0.1.1 → 0.1.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.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/proboscis_cli/version.rb +1 -1
- data/lib/proboscis_cli.rb +1 -1
- data/proboscis_cli.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cbc736f1e936f45c8e4e167a55784f18063f2fb2e13ed0c2e9856164d28c669
|
4
|
+
data.tar.gz: 56ef338a7d07d409cbc896e4a2aea335bf4ca819e97b9d2c015b7c0905efec57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b526a18fa1804f32effab07f444a09f38d38ed2f64351f4b8927b1491908168931e1d364ec566ee37d30599ddaa8d0e72fcba9722b998a54b85ab0f8fe2017bc
|
7
|
+
data.tar.gz: ad6dc3458017ec850867e0bb0bad01066d6b5fa0950f20a3033204e20c386599d2f2ac2b963526c44c2eb0a93f96275ccb927b282d305d7b4aa7c722027fae24
|
data/README.md
CHANGED
@@ -32,6 +32,8 @@ Or install it yourself as:
|
|
32
32
|
$ export proboscis_prod_target_user=<target_ssh_user>
|
33
33
|
$ export araneae_qa_token=<araneae_token>
|
34
34
|
$ export araneae_prod_token=<araneae_token>
|
35
|
+
$ export proboscis_qa_cli_key=<cli_key_to_bypass_captcha>
|
36
|
+
$ export proboscis_prod_cli_key=<cli_key_to_bypass_captcha>
|
35
37
|
```
|
36
38
|
|
37
39
|
```bash
|
data/lib/proboscis_cli.rb
CHANGED
@@ -135,7 +135,7 @@ class Proboscis
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def self.login(environment)
|
138
|
-
response = HTTParty.post("#{@host}/api/login", body: {phoneNumber: self.param(environment, 'user'), password: self.param(environment, 'pass')}.to_json, headers: { 'Content-Type' => 'application/json' })
|
138
|
+
response = HTTParty.post("#{@host}/api/login", body: {phoneNumber: self.param(environment, 'user'), password: self.param(environment, 'pass')}.to_json, headers: { 'Content-Type' => 'application/json', 'X-Captcha-Cli-Secret': self.param(environment, 'cli_key')})
|
139
139
|
if response.code != 200
|
140
140
|
puts "Unable to login to proboscis.."
|
141
141
|
exit -1
|
data/proboscis_cli.gemspec
CHANGED