ssllabs 1.24.0.1 → 1.24.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0e89f8b7218eb9fbba8c5b4f03141fd3fe349a5
4
- data.tar.gz: d283fa9ba2278fbf0cf7b4f83ff109be8afce68b
3
+ metadata.gz: 10fb46d1c1744d8190016391767c29e71ec86a21
4
+ data.tar.gz: 632145ff34a23feb9fc4e1d80b04af25153bd357
5
5
  SHA512:
6
- metadata.gz: 4947f26e72896132b26e8a48a472d6a4cb73d434113bf2e511d61035b920e8c74f8d04fc54a829cf3a75cc277af22c721ac850b33eb7b23827343bf1b9cb36f4
7
- data.tar.gz: 939d8e5a19d911ba982d15422c8e99539abc7e43a2db7d3aafeb7d214ce0a838e34638f483e9915058dcdb07c95fca3b1f3092823b782bdcc37200c041ae34c1
6
+ metadata.gz: 36a2d1a1ff2c35c18d4851f36cdf3226397c71f46c0b3f21f3649c5a560c62884133121e22a60539cd239d904e180b89eaee48829d545111f15c671b436f53e2
7
+ data.tar.gz: 1c22b77e16b4750fdd091fddbcfaadf4a4422c1b3889a05f8685c7ea28d53a343d42cd11adcd8158c237ce6b226179354dc8578af6a05d813527bf5a2db2fbfc
@@ -74,7 +74,7 @@ module Ssllabs
74
74
  obj
75
75
  end
76
76
 
77
- def to_hash(with_api_names: false)
77
+ def to_api_hash(with_api_names: false)
78
78
  obj = {}
79
79
  self.class.all_attributes.each do |api_name|
80
80
  v = instance_variable_get("@#{api_name}")
@@ -85,8 +85,8 @@ module Ssllabs
85
85
  end
86
86
 
87
87
  def to_hash_value(entry, with_api_names)
88
- if entry.respond_to?(:to_hash)
89
- entry.to_hash(with_api_names: with_api_names)
88
+ if entry.respond_to?(:to_api_hash)
89
+ entry.to_api_hash(with_api_names: with_api_names)
90
90
  elsif entry.is_a?(Array)
91
91
  entry.map { |entry| to_hash_value(entry, with_api_names) }
92
92
  else
@@ -95,7 +95,7 @@ module Ssllabs
95
95
  end
96
96
 
97
97
  def to_json(opts={})
98
- to_hash(with_api_names: true).to_json
98
+ to_api_hash(with_api_names: true).to_json
99
99
  end
100
100
  end
101
101
  end
@@ -1,3 +1,3 @@
1
1
  module Ssllabs
2
- VERSION = "1.24.0.1"
2
+ VERSION = "1.24.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ssllabs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.24.0.1
4
+ version: 1.24.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francois Chagnon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-05 00:00:00.000000000 Z
11
+ date: 2017-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  requirements: []
104
104
  rubyforge_project:
105
- rubygems_version: 2.5.1
105
+ rubygems_version: 2.5.2
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Ruby API for Qualys SSL Labs scanner.