wordsdotdat 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/data/adjs.dat +0 -0
- data/data/nouns.dat +0 -0
- data/lib/wordsdotdat.rb +25 -0
- metadata +69 -0
- metadata.gz.sig +1 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 609379c2215adb443dc4a50d42dc96dc22bebc61
|
4
|
+
data.tar.gz: 55b070ce66adc57e368ac18f94351acb8d5ed7bf
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 110fa3b8249c20385f4fe05ac0f69a9d5936f3be33bd95e7fd7b9fd9dbf1d33bdeb2e7901295692acbe56b45494ccd147f58176a57162b2e21abfeacc65d7b0c
|
7
|
+
data.tar.gz: 20edf0fec03b141d6adfb8eb11cbd2431dfc09c1ad08c0c4a92b3337bb5f70fb326d9a3fbd995511b47ccb831ac0fc8b9b393fe8290a1eab395e89706b375dc4
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
Binary file
|
data/data/adjs.dat
ADDED
Binary file
|
data/data/nouns.dat
ADDED
Binary file
|
data/lib/wordsdotdat.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# file: wordsdotdat.rb
|
4
|
+
|
5
|
+
# desc: Returns a large list of words
|
6
|
+
|
7
|
+
|
8
|
+
class WordsDotDat
|
9
|
+
|
10
|
+
class << self
|
11
|
+
|
12
|
+
def adjs() @adjs ||= load_data 'adjs.dat' end
|
13
|
+
def nouns() @nouns ||= load_data 'nouns.dat' end
|
14
|
+
|
15
|
+
def load_data(filename)
|
16
|
+
|
17
|
+
filepath = File.join(File.dirname(__FILE__), '..', 'data', filename)
|
18
|
+
File.open(filepath){|f| Marshal.load(f)}
|
19
|
+
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
|
metadata
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wordsdotdat
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- James Robertson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
|
+
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
+
8ixkARkWAmV1MB4XDTE3MTAyMDEwNDAyMFoXDTE4MTAyMDEwNDAyMFowSDESMBAG
|
16
|
+
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
|
+
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
+
ggEBALSI/ydfNJZobNgt+9KWgOoX4QqXWDeDIO6tA5k/mOmAzCqYmVT16SU+6c5d
|
19
|
+
dQmOW2xxcu0z5FgM1ZXlujLgDhOJ/7WO36OHPDleA3aZSY8AV2Bf0/xGgw2c2yF5
|
20
|
+
6bX74Tq+xgq2oA9c1hf7FeXHkoNr31oFZB52weasPLWFc0MQwi2GqUqzcTtQ0ndo
|
21
|
+
q7ahzzo9nADH9xfGCzD47KfC7tTIr8z2gkD3mclwHoXXlzIyBgCLK072ZaeTuBTy
|
22
|
+
JJ+w7OkX+8asoyJzgLWGtG1T1axw1s7SrSJ9YN7FlFAlDmaesiExHo8Xfgsct23A
|
23
|
+
TgEhc3OUIh2Q3vN1Z2rsnLwU6VECAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQU00/9gEh00i6FQKWVjNVTcVFRCD8wJgYDVR0RBB8w
|
25
|
+
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEASU3TQb4b
|
27
|
+
T7xz++CALLH/nKoISDgpD0xlN27651h0+DKgOmUI0bcyUZM1gguNV8mQ81YqqfhR
|
28
|
+
E1H9upFn5tLAzoYHd0bvOGy0g4MYx9oplSOFnOgwJvdXfh9zztRtX4Riep82x2zW
|
29
|
+
M9rbyOZnlH8Uov1j1aimpH5W+TFD6gu3F+6LfkOKQW85/JVgoQ3jsLIF2uY9LRfB
|
30
|
+
T8G7sMwdBxJ3uxpXY0cvTG0INgmml3c3FjWhJ+hlZrnNMuTAjkh3UnDQPvSpc8SE
|
31
|
+
vncUBskrW807srkejL3ZoPQSNrwLR//6o8CVVEEk9j0xDkakr8oS2oMF9Lfw6eAe
|
32
|
+
L2kclXB+XEPdlA==
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
date: 2017-10-20 00:00:00.000000000 Z
|
35
|
+
dependencies: []
|
36
|
+
description:
|
37
|
+
email: james@jamesrobertson.eu
|
38
|
+
executables: []
|
39
|
+
extensions: []
|
40
|
+
extra_rdoc_files: []
|
41
|
+
files:
|
42
|
+
- data/adjs.dat
|
43
|
+
- data/nouns.dat
|
44
|
+
- lib/wordsdotdat.rb
|
45
|
+
homepage: https://github.com/jrobertson/wordsdotdat
|
46
|
+
licenses:
|
47
|
+
- MIT
|
48
|
+
metadata: {}
|
49
|
+
post_install_message:
|
50
|
+
rdoc_options: []
|
51
|
+
require_paths:
|
52
|
+
- lib
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0'
|
58
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
requirements: []
|
64
|
+
rubyforge_project:
|
65
|
+
rubygems_version: 2.6.13
|
66
|
+
signing_key:
|
67
|
+
specification_version: 4
|
68
|
+
summary: Returns a large list of words
|
69
|
+
test_files: []
|
metadata.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
*&~���vp4�7p���aQ.��Dl+}��!����x��Is���A�C?�_��R���y2�]��z+��Ş��E��/s�}L�\���\h���:�Vڸ��%������ҝkQr��T�߉8+괢=�y��;q5I���8�z~s�}%�����#r77�����c�(��\��+|U])�L�g����ѯG!VN��o��>ްaԆ<2�W�(���6z`C�2N��=m���:`Z�X���aT��"����4l�
|