dict 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/dict/cli/runner.rb +3 -0
- data/lib/dict/dict.rb +13 -9
- data/lib/dict/dictionary.rb +5 -3
- data/lib/dict/glosbe.rb +66 -0
- data/lib/dict/result.rb +3 -0
- data/lib/dict/version.rb +1 -1
- data/lib/dict/wiktionary.rb +3 -1
- data/spec/dict/lib_dict_cli_runner_spec.rb +10 -8
- data/spec/dict/lib_dict_spec.rb +12 -3
- data/spec/dict/lib_glosbe_spec.rb +34 -0
- data/spec/dict/lib_wiktionary_spec.rb +3 -1
- data/spec/dict/vcr_cassettes/glosbe_translations_atomic_cassette.yml +2794 -0
- data/spec/dict/vcr_cassettes/glosbe_translations_woda_cassette.yml +1949 -0
- data/spec/dict/vcr_cassettes/slowik_runner_cassette.yml +2336 -0
- data/spec/dict/vcr_cassettes/translations_dragon_cassette.yml +8659 -0
- data/spec/dict/vcr_cassettes/translations_slownik_cassette.yml +1070 -54
- metadata +13 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dict
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2012-07-
|
17
|
+
date: 2012-07-20 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: slop
|
@@ -151,13 +151,19 @@ files:
|
|
151
151
|
- lib/dict/cli/runner.rb
|
152
152
|
- lib/dict/dict.rb
|
153
153
|
- lib/dict/dictionary.rb
|
154
|
+
- lib/dict/glosbe.rb
|
154
155
|
- lib/dict/result.rb
|
155
156
|
- lib/dict/version.rb
|
156
157
|
- lib/dict/wiktionary.rb
|
157
158
|
- spec/dict/lib_dict_cli_runner_spec.rb
|
158
159
|
- spec/dict/lib_dict_spec.rb
|
160
|
+
- spec/dict/lib_glosbe_spec.rb
|
159
161
|
- spec/dict/lib_wiktionary_spec.rb
|
160
162
|
- spec/dict/spec_helper.rb
|
163
|
+
- spec/dict/vcr_cassettes/glosbe_translations_atomic_cassette.yml
|
164
|
+
- spec/dict/vcr_cassettes/glosbe_translations_woda_cassette.yml
|
165
|
+
- spec/dict/vcr_cassettes/slowik_runner_cassette.yml
|
166
|
+
- spec/dict/vcr_cassettes/translations_dragon_cassette.yml
|
161
167
|
- spec/dict/vcr_cassettes/translations_slownik_cassette.yml
|
162
168
|
- spec/dict/vcr_cassettes/wiktionary_translations_field_cassette.yml
|
163
169
|
- spec/dict/vcr_cassettes/wiktionary_translations_samochod_cassette.yml
|
@@ -189,8 +195,13 @@ summary: Gem made for dictionary application
|
|
189
195
|
test_files:
|
190
196
|
- spec/dict/lib_dict_cli_runner_spec.rb
|
191
197
|
- spec/dict/lib_dict_spec.rb
|
198
|
+
- spec/dict/lib_glosbe_spec.rb
|
192
199
|
- spec/dict/lib_wiktionary_spec.rb
|
193
200
|
- spec/dict/spec_helper.rb
|
201
|
+
- spec/dict/vcr_cassettes/glosbe_translations_atomic_cassette.yml
|
202
|
+
- spec/dict/vcr_cassettes/glosbe_translations_woda_cassette.yml
|
203
|
+
- spec/dict/vcr_cassettes/slowik_runner_cassette.yml
|
204
|
+
- spec/dict/vcr_cassettes/translations_dragon_cassette.yml
|
194
205
|
- spec/dict/vcr_cassettes/translations_slownik_cassette.yml
|
195
206
|
- spec/dict/vcr_cassettes/wiktionary_translations_field_cassette.yml
|
196
207
|
- spec/dict/vcr_cassettes/wiktionary_translations_samochod_cassette.yml
|