gman 8.2.0 → 8.2.1

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
  SHA256:
3
- metadata.gz: 79ceaf4838ca91d410793c34d49b5fbc5e3ce83a28e50620a5e21df95d47544b
4
- data.tar.gz: e9bbc0393a6b26b98adfba86970d4e55a51404cad10fcdd15d267e5f2ae30974
3
+ metadata.gz: 7f06b60bd63f21dcfd48b178262da3b21222dd61367df480c6ce53f5336b1ab8
4
+ data.tar.gz: 17b94ce2fc5a920f1028257e8c12f07ea4f53bae5911d8df1226ba8ce31942aa
5
5
  SHA512:
6
- metadata.gz: 255989a15642e7626fa7e7e55086686b69ae3ee3e42188f894ecbaf48ed9a2a24d4457945aa64a5fe4783d693ff39c907e6de25bc052198a89d430a9869141a5
7
- data.tar.gz: 79af4a684fd94d5aa626271d67fba5b79ce59f522ab287f28e32050a3a9d0919c4c6131e3ab0a6f34cc12093a96deb0afa28296084639138881a87183b8ad1d8
6
+ metadata.gz: 9f99e4d8823c20c8855bfce9728a424cfb34e618da7ff0b769121c34bcadd5d3af83ab7e58959769cda7601563efa65de14af89a5fa25e8f65c4b53511fd1f71
7
+ data.tar.gz: 013c573d130064c69e9eae36a8d16c6f40a37b2d028cd9b3f82feebbee5e7f05b7826f2b1945c4fea8095d45bbf85b1bdb3229044abdd402bff0e6cd8a57b54e
data/config/domains.txt CHANGED
@@ -11272,6 +11272,7 @@ gov.se
11272
11272
  gov.sg
11273
11273
  gov.sh
11274
11274
  gov.sl
11275
+ gov.sk
11275
11276
  gov.st
11276
11277
  gov.sx
11277
11278
  gov.sy
@@ -11344,6 +11345,7 @@ mil.qa
11344
11345
  mil.ru
11345
11346
  mil.rw
11346
11347
  mil.sh
11348
+ mil.sk
11347
11349
  mil.st
11348
11350
  mil.sy
11349
11351
  mil.tj
@@ -11386,6 +11388,25 @@ sbtc.org.sg
11386
11388
  tampines.org.sg
11387
11389
  tptc.org.sg
11388
11390
 
11391
+ // Slovak Federal
11392
+ justice.sk
11393
+ slovensko.sk
11394
+ mfsr.sk
11395
+ mhsr.sk
11396
+ mincrs.sk
11397
+ mindop.sk
11398
+ minedu.sk
11399
+ minv.sk
11400
+ minzp.sk
11401
+ mksr.sk
11402
+ mpsr.sk
11403
+ mpsvr.sk
11404
+ mzsr.sk
11405
+ mzv.sk
11406
+
11407
+ // Slovak Municipalities
11408
+ // TBD
11409
+
11389
11410
  // Spain Municipal
11390
11411
  madrid.es
11391
11412
 
@@ -17583,6 +17604,8 @@ northsyracuse.org
17583
17604
  northtonawanda.org
17584
17605
  norwichnewyork.net
17585
17606
  nyack.org
17607
+ nyc.gov
17608
+ nyc.ny.us
17586
17609
  nycom.org
17587
17610
  nyct.com
17588
17611
  nyhistory.org
@@ -20602,7 +20625,6 @@ ccgov.net
20602
20625
  cheyennecity.org
20603
20626
  city-of-torrington.org
20604
20627
  city-sheridan-wy.com
20605
- cityofdouglaswy.com
20606
20628
  cityofgreenriver.org
20607
20629
  cityoflaramie.com
20608
20630
  cityofworland.org
data/docs/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Gman
2
2
 
3
- [![Build Status](https://travis-ci.org/benbalter/gman.png)](https://travis-ci.org/benbalter/gman) [![Gem Version](https://badge.fury.io/rb/gman.png)](http://badge.fury.io/rb/gman) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
3
+ [![CI](https://github.com/benbalter/gman/actions/workflows/ci.yml/badge.svg)](https://github.com/benbalter/gman/actions/workflows/ci.yml) [![Gem Version](https://img.shields.io/gem/v/gman)](https://rubygems.org/gems/gman) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
4
4
 
5
- A ruby gem to check if the owner of a given email address or website is working for THE MAN (a.k.a verifies government domains). It will also provide you with metadata about the domain, such as the country, state, city, or agency, where applicable. It does this by leveraging the power of [Naughty or Nice](https://github.com/benbalter/naughty_or_nice), the [Public Suffix List](http://publicsuffix.org/), and the associated [Ruby Gem](https://github.com/weppos/publicsuffix-ruby).
5
+ A ruby gem to check if the owner of a given email address or website is working for THE MAN (a.k.a verifies government domains). It will also provide you with metadata about the domain, such as the country, state, city, or agency, where applicable. It does this by leveraging the power of [Naughty or Nice](https://github.com/benbalter/naughty_or_nice), the [Public Suffix List](https://publicsuffix.org/), and the associated [Ruby Gem](https://github.com/weppos/publicsuffix-ruby).
6
6
 
7
7
  You could theoretically [use regex](https://gist.github.com/benbalter/6147066), but either you'll get a bunch of false positives, or your regex will be insanely complicated. `gov.uk`, may be valid, for example, but `gov.fr` is not (it's `gouv.fr`, for what it's worth). The solution? Use Public Suffix to verify that it's a valid public domain, then maintain [a crowd-sourced sub-list of known global government and military domains](https://github.com/benbalter/gman/blob/main/config/domains.txt). It should cover all US and international, government and military domains for both email and website verification.
8
8
 
@@ -120,7 +120,7 @@ $ gman_filter < path/to/list/of/addresses.txt
120
120
 
121
121
  ## Contributing
122
122
 
123
- Contributions welcome! Please see [the contribution guidelines](CONTRIBUTING.md) for code contributions or for details on how to add, update, or delete government domains.
123
+ Contributions welcome! Know a government domain that's missing? Open a pull request adding it to [`config/domains.txt`](https://github.com/benbalter/gman/blob/main/config/domains.txt). Please see [the contribution guidelines](CONTRIBUTING.md) for code contributions or for details on how to add, update, or delete government domains.
124
124
 
125
125
  ## Credits
126
126
 
data/lib/gman/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Gman
4
- VERSION = '8.2.0'
4
+ VERSION = '8.2.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gman
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.2.0
4
+ version: 8.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
@@ -94,6 +94,10 @@ licenses:
94
94
  - MIT
95
95
  metadata:
96
96
  rubygems_mfa_required: 'true'
97
+ homepage_uri: https://github.com/benbalter/gman
98
+ source_code_uri: https://github.com/benbalter/gman
99
+ bug_tracker_uri: https://github.com/benbalter/gman/issues
100
+ changelog_uri: https://github.com/benbalter/gman/releases
97
101
  rdoc_options: []
98
102
  require_paths:
99
103
  - lib