swot-ruby 1.0.0
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 +7 -0
- data/.document +5 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +24 -0
- data/.github/workflows/ruby.yml +40 -0
- data/.github/workflows/update_domains.yml +31 -0
- data/.gitignore +5 -0
- data/.gitmodules +3 -0
- data/.ruby-version +1 -0
- data/.travis.yml +3 -0
- data/CONTRIBUTING.md +18 -0
- data/Gemfile +13 -0
- data/LICENSE.txt +21 -0
- data/README.md +117 -0
- data/Rakefile +21 -0
- data/VERSION +1 -0
- data/data/lib/domains/stoplist.txt +1294 -0
- data/data/lib/domains/tlds.txt +83 -0
- data/lib/swot/academic_tlds.rb +249 -0
- data/lib/swot/collection_methods.rb +20 -0
- data/lib/swot.rb +90 -0
- data/swot.gemspec +33 -0
- data/test/helper.rb +32 -0
- data/test/test_collection_methods.rb +44 -0
- data/test/test_swot.rb +122 -0
- metadata +99 -0
metadata
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: swot-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Lee Reilly
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-07-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: public_suffix
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: naughty_or_nice
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
description: Identify email addresses or domains names that belong to colleges or
|
42
|
+
universities. Help automate the process of approving or rejecting academic discounts.
|
43
|
+
email: lee@leereilly.net
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files:
|
47
|
+
- LICENSE.txt
|
48
|
+
- README.md
|
49
|
+
files:
|
50
|
+
- ".document"
|
51
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
52
|
+
- ".github/workflows/ruby.yml"
|
53
|
+
- ".github/workflows/update_domains.yml"
|
54
|
+
- ".gitignore"
|
55
|
+
- ".gitmodules"
|
56
|
+
- ".ruby-version"
|
57
|
+
- ".travis.yml"
|
58
|
+
- CONTRIBUTING.md
|
59
|
+
- Gemfile
|
60
|
+
- LICENSE.txt
|
61
|
+
- README.md
|
62
|
+
- Rakefile
|
63
|
+
- VERSION
|
64
|
+
- data/lib/domains/stoplist.txt
|
65
|
+
- data/lib/domains/tlds.txt
|
66
|
+
- lib/swot.rb
|
67
|
+
- lib/swot/academic_tlds.rb
|
68
|
+
- lib/swot/collection_methods.rb
|
69
|
+
- swot.gemspec
|
70
|
+
- test/helper.rb
|
71
|
+
- test/test_collection_methods.rb
|
72
|
+
- test/test_swot.rb
|
73
|
+
homepage: https://github.com/kobaltz/swot
|
74
|
+
licenses:
|
75
|
+
- MIT
|
76
|
+
metadata: {}
|
77
|
+
post_install_message:
|
78
|
+
rdoc_options: []
|
79
|
+
require_paths:
|
80
|
+
- lib
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '2.0'
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - ">="
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
requirements: []
|
92
|
+
rubygems_version: 3.4.13
|
93
|
+
signing_key:
|
94
|
+
specification_version: 4
|
95
|
+
summary: Identify email addresses or domains names that belong to colleges or universities.
|
96
|
+
test_files:
|
97
|
+
- test/helper.rb
|
98
|
+
- test/test_collection_methods.rb
|
99
|
+
- test/test_swot.rb
|