passivetotal 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f7e5a27c48b80aeafce0cbd714afbb55ecb690aa
4
- data.tar.gz: 4e02e94929533e782d731bb7c42231d53e8ae944
3
+ metadata.gz: fa2776debe34c25637dff2619260a795d86e2d62
4
+ data.tar.gz: 14edadd4376e1158207ee42ce516a306f9ec03e8
5
5
  SHA512:
6
- metadata.gz: 2e414bfed888274d5e88763038c95179d1b5cd8b45e27bf577fddd2d62e6374c79e05b8d9b525d2a5c5691e1307e327a24cceb43279ae9b17f701d715f81f39e
7
- data.tar.gz: 2cd27108fc078b78f497065b6b1797a1e41be94400d125aab67e2063deb22cafd081c436d47eceeee1d89d3bd76b3346d180ab6c3cde731b372ce09abbfef8e5
6
+ metadata.gz: daf2a6b7739ae245d6d5026dde2960901a77a24585da8d00b9f7c06bb77f4ceaa828f80bc4e8965e05c682ee7c7d893173ced8a02d347660b3c59cc3278d5b1e
7
+ data.tar.gz: 2bee8c1a55b35f07fd9fe4153c2837417b9b75a21ba16e06691a58a5288ec979458dd9004436dca0118835170e3f38395795852989c54c4432cfeec32921a518
@@ -17,7 +17,7 @@ module PassiveTotal # :nodoc:
17
17
  class Response < Struct.new(:json, :success, :results); end
18
18
 
19
19
  # The API class wraps the PassiveTotal.org web API for all the verbs that it supports
20
- # See https://www.passivetotal.org/api/docs for the API documentation.
20
+ # See https://api.passivetotal.org/api/docs/ for the API documentation.
21
21
  class API
22
22
  # The TLDS array helps the interface detect valid domains.
23
23
  # This list was generated by parsing the NS records from a zone transfer of the root
@@ -49,15 +49,7 @@ module PassiveTotal # :nodoc:
49
49
 
50
50
  # history is an alias for account_history
51
51
  alias_method :history, :account_history
52
-
53
- # Account notifications : Get notifications that have been posted to your account.
54
- def account_notifications
55
- get('account/notifications')
56
- end
57
-
58
- # notifications is an alias for account_notifications
59
- alias_method :notifications, :account_notifications
60
-
52
+
61
53
  # Account organization : Get details about the organization your account is associated with.
62
54
  def account_organization
63
55
  get('account/organization')
@@ -208,7 +200,7 @@ module PassiveTotal # :nodoc:
208
200
  def classification(query, set=nil)
209
201
  is_valid_with_error(__method__, [:ipv4, :domain], query)
210
202
  if domain?(query)
211
- query = normalize_domain(q)
203
+ query = normalize_domain(query)
212
204
  end
213
205
  if set.nil?
214
206
  get('actions/classification', {'query' => query})
@@ -1,3 +1,3 @@
1
1
  module PassiveTotal
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_runtime_dependency "json", "~> 1.8"
22
+ spec.add_runtime_dependency "json", "~> 2.0"
23
23
  spec.add_development_dependency "bundler", "~> 1.10"
24
- spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rake", "~> 12.0"
25
25
  spec.add_development_dependency "minitest"
26
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passivetotal
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - chrislee35
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-23 00:00:00.000000000 Z
11
+ date: 2018-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.8'
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.8'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '12.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '12.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  version: '0'
114
114
  requirements: []
115
115
  rubyforge_project:
116
- rubygems_version: 2.4.6
116
+ rubygems_version: 2.6.14
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: Wrapper library for PassiveTotal.org's W eb API