varanus 0.6.0 → 0.7.0

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
  SHA256:
3
- metadata.gz: 0b74f92a4981ac8294eb1fe84c4361f1dc3a175be3735f7d485f7b5edd9963aa
4
- data.tar.gz: 5a38ba280217b30fe842a99786acf761f081d135f1180cb3950bfbab5f50904a
3
+ metadata.gz: 407818df56229b879c4d63d6624b783a8ff2dc330d06142e2d3c7f2733d575a9
4
+ data.tar.gz: 73391e43eb491768ba78da494f67ebdc084ee8ed4bee49fff26566aa85d2a7da
5
5
  SHA512:
6
- metadata.gz: 02ece0e219a9f47fe84ec8faaf406194f13082a1797793c23760643b8547140307fc243550e7d36d1d8412ca586850d0535a419a2dc50a9b7b90a4e4f660af67
7
- data.tar.gz: 80435d29c565a99a191a85938ae4a505b01c68a38c608d063e9c10809d4eae1c2a8cad9872a9cc3f5b518a9e1084e7c625a40f287e66e1c17900ae659200095c
6
+ metadata.gz: e69b04ebf9d7e647cce77c666337f318ba18b0d17ad14c7b7a072786e51750b66c2762bf5c88be9b169393c099edc9ac50c4185b6b1455423b125b131a9f2c35
7
+ data.tar.gz: 303f464f0bced6f740df4b24f366a4427b4529b46063e594d293641af56dfcbe1f054f1b2d7b473321762bd2d5ae74525035a3325decc436ece221567e4d6a50
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### Version 0.7.0 (2020-02-03)
2
+ * Add Varanus::Domain#report
3
+
1
4
  ### Version 0.6.0 (2020-02-01)
2
5
  * Add Varanus::SSL#report
3
6
  * Varanus::Reports (Varanus#reports) is now deprecated.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- varanus (0.6.0)
4
+ varanus (0.7.0)
5
5
  faraday
6
6
  faraday_middleware
7
7
  savon (~> 2.0)
@@ -39,4 +39,8 @@ class Varanus::Domain < Varanus::RestResource
39
39
  domains.map! { |domain| info(domain['id']) }
40
40
  domains
41
41
  end
42
+
43
+ def report
44
+ post('report/v1/domains', {})['reports']
45
+ end
42
46
  end
@@ -21,7 +21,7 @@ class Varanus::Reports
21
21
  # DEPRECATED: Please use Varanus::Domain#list_with_info instead.
22
22
  def domains
23
23
  warn 'DEPRECATION WARNING: Varanus::Reports#domains is deprecated. ' \
24
- 'Use Varanus::Domain#list_with_info instead'
24
+ 'Use Varanus::Domain#report instead'
25
25
  r = soap_call :get_domain_report, {}
26
26
  format_results r[:report_row_domains]
27
27
  end
@@ -28,7 +28,7 @@ class Varanus::SSL::CSR
28
28
  request.add_attribute names_to_san_attribute(names)
29
29
  request.public_key = key.public_key
30
30
 
31
- request.sign(key, OpenSSL::Digest::SHA256.new)
31
+ request.sign(key, OpenSSL::Digest.new('SHA256'))
32
32
 
33
33
  [key, Varanus::SSL::CSR.new(request)]
34
34
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Varanus
4
- VERSION = '0.6.0'
4
+ VERSION = '0.7.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: varanus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Dilda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-01 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler