zoomeye 0.0.5 → 0.0.6
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 +4 -4
- data/lib/zoomeye.rb +1 -1
- data/lib/zoomeye/version.rb +1 -1
- 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: bf3d96ab993d0c8181a80beec8a4483f1165e4a5
|
4
|
+
data.tar.gz: 93507395b7744a1337e9811ac8b8d32b782343e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 598fcf2cb9477c3b2ec2515c2997e1736eca91715bb4e4661298fe682841336d0debdb4d30b405e3f239af87b4b6a35619f58eaed4a380fa15479b8585d3b704
|
7
|
+
data.tar.gz: 5dda041189879beb0aa40bfab09535a5952900b59d1e27bab3c1198baaa5dccecf23fcbc6283a1d96e093dbf9fd0c4718259cd9e8f87d64b01983e2ae5c6b427
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# zoomeye
|
2
2
|
|
3
3
|
zoomeye api for ruby.
|
4
4
|
|
@@ -16,7 +16,7 @@ As the official website, the interfaces provided encapsulation are below:
|
|
16
16
|
login with username and password, get an access token. for the details, please read the official api doc:
|
17
17
|
[https://www.zoomeye.org/api/doc#user](https://www.zoomeye.org/api/doc#user)
|
18
18
|
|
19
|
-
+
|
19
|
+
+ resources_info
|
20
20
|
|
21
21
|
get resources info for account. for the details, please read the official api doc:
|
22
22
|
|
@@ -38,7 +38,7 @@ search the web technologies. for the details, please read the official api doc:
|
|
38
38
|
**normally, a dict type is returned when call all above apis, except the 'login' api.**
|
39
39
|
|
40
40
|
|
41
|
-
##
|
41
|
+
## Exception
|
42
42
|
|
43
43
|
``` ruby
|
44
44
|
class ZoomEyeError < StandardError
|
@@ -67,7 +67,7 @@ if __FILE__ == $0
|
|
67
67
|
begin
|
68
68
|
ze = ZoomEye.new(("foo@bar.com", "foopass")
|
69
69
|
ze.login
|
70
|
-
puts ze.
|
70
|
+
puts ze.resources_info
|
71
71
|
puts ze.host_search("port:80", 7, "app,device")
|
72
72
|
puts ze.web_search("port:21", 1, "webapp,os")
|
73
73
|
rescue => e
|
data/lib/zoomeye.rb
CHANGED
data/lib/zoomeye/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zoomeye
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CharellKing
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|