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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 07e4cea2aae022961c1bcbf9f6223dab237abce3
4
- data.tar.gz: de284e2baeb4c8462a835e3d10b4199e4d32973f
3
+ metadata.gz: d45d1b7a4d52d8c2b31634c97ad70575f8462120
4
+ data.tar.gz: bfeb701f23f01a2ee7c4a400cfe707344d1ea400
5
5
  SHA512:
6
- metadata.gz: 2316ae88c855473fa835097c71c89fc883a221abb35fe1b405bc7245d149f92119b2948d85d3ea23456eb58f5eebe3dc54ce87810a576f8fc74c85d1a43ba863
7
- data.tar.gz: e0567e9f1230e7f0f35e0e34065075f24e57a9a2e5436f92394f37c2f0d1994d19da9365d5a12a3d4104902c89cc68b6d5708a0906540656cd172cef5f7cef99
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.15</td>
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 "http://haveibeenpwned.com/api/breachedaccount/#{CGI::escape(address)}"
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.15
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-16 00:00:00.000000000 Z
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
- R�&�.���5e��|*HM��_Ė8����o���:؂�ܬѦa���Am���'�{R�T�ز%�^�-
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
+ ��ITY4�+�L4.�wAO�!���299�~��3娫�.+��@�r�&T)#��L�]��S몈*��n��ׇ_"ńK`)�3eY\\���t]�e%Y\,f�E�!��u5��NwW6K�&q� �˔Z�'��Uv Ɲ͇i�k�lα�2j|�t����X���&-�!�]����K^�$�Y�ړ��DG5;�d/GXf��!��dǚ^c�!T�ѝ)����}mEB7:�y:d��=��<�1��5�5�cr��#