PwnedCheck 1.0.15 → 1.0.16
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
- checksums.yaml.gz.sig +0 -0
- data/README.md +1 -5
- data/lib/pwnedcheck.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +1 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d45d1b7a4d52d8c2b31634c97ad70575f8462120
|
4
|
+
data.tar.gz: bfeb701f23f01a2ee7c4a400cfe707344d1ea400
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 993275dbae716e3a5613e61510b6dac3930febdd33cafe75731db147b5210b016932163d21c742e8b83338523cb4287ef6d4648b1b51a951e9053c0d09123169
|
7
|
+
data.tar.gz: 29747ef1342de108097d9c3f3cf32df4f991c0226486baf01723e0f7fd9b139228a6c4b33136f8078fe2c6a09b2bfce3017542c1a9342dad8bc272723df23cae
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ Ruby gem to check to see if an email address is on http://haveibeenpwned.com
|
|
5
5
|
<table>
|
6
6
|
<tr>
|
7
7
|
<th>Version</th>
|
8
|
-
<td>1.0.
|
8
|
+
<td>1.0.16</td>
|
9
9
|
</tr>
|
10
10
|
<tr>
|
11
11
|
<th>Author</th>
|
@@ -52,7 +52,3 @@ addresses.each do |address|
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
`````
|
55
|
-
<a title="Real Time Web Analytics" href="http://clicky.com/100685763"><img alt="Real Time Web Analytics" src="//static.getclicky.com/media/links/badge.gif" border="0" width="0" height="0"/></a>
|
56
|
-
<script src="//static.getclicky.com/js" type="text/javascript"></script>
|
57
|
-
<script type="text/javascript">try{ clicky.init(100685763); }catch(e){}</script>
|
58
|
-
<noscript><p><img alt="Clicky" width="1" height="1" src="//in.getclicky.com/100685763ns.gif" /></p></noscript>
|
data/lib/pwnedcheck.rb
CHANGED
@@ -39,7 +39,7 @@ module PwnedCheck
|
|
39
39
|
# @param address [String] the email address to check
|
40
40
|
# @return [Array] an array of sites that the email address is associated with
|
41
41
|
def self.check(address)
|
42
|
-
uri = URI.parse "
|
42
|
+
uri = URI.parse "https://haveibeenpwned.com/api/breachedaccount/#{CGI::escape(address)}"
|
43
43
|
response = Net::HTTP.get_response uri
|
44
44
|
case response.code
|
45
45
|
when '200'
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: PwnedCheck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Sampson
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
29
29
|
mXk/ua0vocjxrv8hsEJFxUwf8cS3lTSPbKkeDknZtDz8pREiC8H0axttY2cmtWb1
|
30
30
|
QpRFRIGkUba0uOnrpDYGuuDffqcLmyWY2QNiM6h/V43zrVhJ
|
31
31
|
-----END CERTIFICATE-----
|
32
|
-
date: 2013-12-
|
32
|
+
date: 2013-12-22 00:00:00.000000000 Z
|
33
33
|
dependencies: []
|
34
34
|
description: Checks an email address against haveibeenpwned.com.
|
35
35
|
email: chs@chs.us
|
metadata.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
�
|
2
|
-
�Ռ)�`�[��Wۖ�;q4�CPǵLC�h�}'7�n�B��('��NP��&Gcv<r��=I��3l��X%�.�@"φ~Ԁ�������|��ϛ*�;�����o�����?��
|
3
|
-
��]i[l-��o�/���W���B���]���P���%U�~Ʈ��Cdj��]
|
1
|
+
��IT�Y�4�+�L4.�wAO�!���299�~��3娫�.+��@�r�&T)#��L�]��S몈*��n��ׇ_"ńK`)�3eY\\���t]�e%Y\,f�E�!��u5��NwW6K�&q��˔Z�'��U�vƝ͇i�k�lα�2j|�t����X���&-�!�]����K^�$�Y�ړ��DG5;�d/GXf��!��dǚ^c�!T�ѝ)����}mEB7:�y:d��=��<�1��5�5�cr��#
|