Wordniky 1.0.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/wordnik/client.rb +434 -0
- data/lib/wordnik/configuration.rb +43 -0
- data/lib/wordnik/utils.rb +92 -0
- data/lib/wordnik/version.rb +5 -0
- data/lib/wordnik.rb +5 -0
- data/spec/api_spec.rb +200 -0
- data/spec/util_spec.rb +120 -0
- data/spec/vcr/antonyms.yml +57 -0
- data/spec/vcr/audio.yml +64 -0
- data/spec/vcr/definitions.yml +164 -0
- data/spec/vcr/definitions_limit.yml +67 -0
- data/spec/vcr/definitions_noun.yml +265 -0
- data/spec/vcr/definitions_sources.yml +68 -0
- data/spec/vcr/equivalents.yml +57 -0
- data/spec/vcr/examples.yml +96 -0
- data/spec/vcr/frequency.yml +59 -0
- data/spec/vcr/frequency_dirty.yml +59 -0
- data/spec/vcr/hypernyms.yml +58 -0
- data/spec/vcr/hyphenation.yml +57 -0
- data/spec/vcr/hyponyms.yml +58 -0
- data/spec/vcr/phrases.yml +57 -0
- data/spec/vcr/pronunciations.yml +58 -0
- data/spec/vcr/random_word.yml +57 -0
- data/spec/vcr/random_words.yml +57 -0
- data/spec/vcr/related_words.yml +62 -0
- data/spec/vcr/rhymes.yml +57 -0
- data/spec/vcr/scrabble_score.yml +57 -0
- data/spec/vcr/scrabble_score_0.yml +57 -0
- data/spec/vcr/synonyms.yml +57 -0
- data/spec/vcr/top_example.yml +60 -0
- data/spec/vcr/word_of_the_day.yml +76 -0
- data/spec/vcr/wotd.yml +76 -0
- metadata +228 -0
metadata
ADDED
@@ -0,0 +1,228 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: Wordniky
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.pre.beta.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Will Fitzgerald
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-10-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json
|
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: faraday
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: gem-release
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: vcr
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: yard
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description: This gem provides a simple interface to the Wordnik API.
|
140
|
+
email:
|
141
|
+
- willf@noreply.github.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- lib/wordnik.rb
|
147
|
+
- lib/wordnik/client.rb
|
148
|
+
- lib/wordnik/configuration.rb
|
149
|
+
- lib/wordnik/utils.rb
|
150
|
+
- lib/wordnik/version.rb
|
151
|
+
- spec/api_spec.rb
|
152
|
+
- spec/util_spec.rb
|
153
|
+
- spec/vcr/antonyms.yml
|
154
|
+
- spec/vcr/audio.yml
|
155
|
+
- spec/vcr/definitions.yml
|
156
|
+
- spec/vcr/definitions_limit.yml
|
157
|
+
- spec/vcr/definitions_noun.yml
|
158
|
+
- spec/vcr/definitions_sources.yml
|
159
|
+
- spec/vcr/equivalents.yml
|
160
|
+
- spec/vcr/examples.yml
|
161
|
+
- spec/vcr/frequency.yml
|
162
|
+
- spec/vcr/frequency_dirty.yml
|
163
|
+
- spec/vcr/hypernyms.yml
|
164
|
+
- spec/vcr/hyphenation.yml
|
165
|
+
- spec/vcr/hyponyms.yml
|
166
|
+
- spec/vcr/phrases.yml
|
167
|
+
- spec/vcr/pronunciations.yml
|
168
|
+
- spec/vcr/random_word.yml
|
169
|
+
- spec/vcr/random_words.yml
|
170
|
+
- spec/vcr/related_words.yml
|
171
|
+
- spec/vcr/rhymes.yml
|
172
|
+
- spec/vcr/scrabble_score.yml
|
173
|
+
- spec/vcr/scrabble_score_0.yml
|
174
|
+
- spec/vcr/synonyms.yml
|
175
|
+
- spec/vcr/top_example.yml
|
176
|
+
- spec/vcr/word_of_the_day.yml
|
177
|
+
- spec/vcr/wotd.yml
|
178
|
+
homepage: https://github.com/willf/wordniky
|
179
|
+
licenses: []
|
180
|
+
metadata:
|
181
|
+
source_code_uri: https://github.com/willf/wordniky
|
182
|
+
post_install_message:
|
183
|
+
rdoc_options: []
|
184
|
+
require_paths:
|
185
|
+
- lib
|
186
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: 3.0.0
|
191
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
196
|
+
requirements: []
|
197
|
+
rubygems_version: 3.5.18
|
198
|
+
signing_key:
|
199
|
+
specification_version: 4
|
200
|
+
summary: A ruby wrapper for the Wordnik API
|
201
|
+
test_files:
|
202
|
+
- spec/api_spec.rb
|
203
|
+
- spec/util_spec.rb
|
204
|
+
- spec/vcr/antonyms.yml
|
205
|
+
- spec/vcr/audio.yml
|
206
|
+
- spec/vcr/definitions.yml
|
207
|
+
- spec/vcr/definitions_limit.yml
|
208
|
+
- spec/vcr/definitions_noun.yml
|
209
|
+
- spec/vcr/definitions_sources.yml
|
210
|
+
- spec/vcr/equivalents.yml
|
211
|
+
- spec/vcr/examples.yml
|
212
|
+
- spec/vcr/frequency.yml
|
213
|
+
- spec/vcr/frequency_dirty.yml
|
214
|
+
- spec/vcr/hypernyms.yml
|
215
|
+
- spec/vcr/hyphenation.yml
|
216
|
+
- spec/vcr/hyponyms.yml
|
217
|
+
- spec/vcr/phrases.yml
|
218
|
+
- spec/vcr/pronunciations.yml
|
219
|
+
- spec/vcr/random_word.yml
|
220
|
+
- spec/vcr/random_words.yml
|
221
|
+
- spec/vcr/related_words.yml
|
222
|
+
- spec/vcr/rhymes.yml
|
223
|
+
- spec/vcr/scrabble_score.yml
|
224
|
+
- spec/vcr/scrabble_score_0.yml
|
225
|
+
- spec/vcr/synonyms.yml
|
226
|
+
- spec/vcr/top_example.yml
|
227
|
+
- spec/vcr/word_of_the_day.yml
|
228
|
+
- spec/vcr/wotd.yml
|