dict 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +3 -3
- data/lib/dict/cli/runner.rb +11 -22
- data/lib/dict/dict.rb +4 -6
- data/lib/dict/dictionary.rb +3 -4
- data/lib/dict/glosbe.rb +6 -2
- data/lib/dict/result.rb +7 -8
- data/lib/dict/version.rb +1 -1
- data/lib/dict/wiktionary.rb +4 -5
- data/spec/dict/lib_dict_cli_runner_spec.rb +4 -4
- data/spec/dict/lib_glosbe_spec.rb +8 -8
- data/spec/dict/vcr_cassettes/glosbe_translations_asdfff_cassette.yml +1305 -1450
- data/spec/dict/vcr_cassettes/glosbe_translations_atomic_cassette.yml +2710 -2690
- data/spec/dict/vcr_cassettes/glosbe_translations_usage_cassette.yml +2873 -2448
- data/spec/dict/vcr_cassettes/glosbe_translations_woda_cassette.yml +3007 -1868
- data/spec/dict/vcr_cassettes/slowik_runner_cassette.yml +692 -0
- data/spec/dict/vcr_cassettes/translations_slownik_cassette.yml +4947 -4041
- data/spec/dict/vcr_setup.rb +2 -1
- metadata +22 -3
data/spec/dict/vcr_setup.rb
CHANGED
@@ -5,7 +5,8 @@ require 'active_support/all'
|
|
5
5
|
VCR.configure do |c|
|
6
6
|
c.cassette_library_dir = 'spec/dict/vcr_cassettes'
|
7
7
|
c.hook_into :fakeweb
|
8
|
-
c.allow_http_connections_when_no_cassette = true
|
8
|
+
c.allow_http_connections_when_no_cassette = true
|
9
|
+
c.default_cassette_options = { :record => :new_episodes }
|
9
10
|
end
|
10
11
|
|
11
12
|
|
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.7
|
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:
|
17
|
+
date: 2013-02-02 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: slop
|
@@ -197,4 +197,23 @@ rubygems_version: 1.8.24
|
|
197
197
|
signing_key:
|
198
198
|
specification_version: 3
|
199
199
|
summary: Gem stworzony dla aplikacji słownikowej
|
200
|
-
test_files:
|
200
|
+
test_files:
|
201
|
+
- spec/dict/lib_dict_cli_runner_spec.rb
|
202
|
+
- spec/dict/lib_dict_spec.rb
|
203
|
+
- spec/dict/lib_glosbe_spec.rb
|
204
|
+
- spec/dict/lib_wiktionary_spec.rb
|
205
|
+
- spec/dict/spec_helper.rb
|
206
|
+
- spec/dict/vcr_cassettes/glosbe_translations_asdfff_cassette.yml
|
207
|
+
- spec/dict/vcr_cassettes/glosbe_translations_atomic_cassette.yml
|
208
|
+
- spec/dict/vcr_cassettes/glosbe_translations_usage_cassette.yml
|
209
|
+
- spec/dict/vcr_cassettes/glosbe_translations_woda_cassette.yml
|
210
|
+
- spec/dict/vcr_cassettes/slowik_runner_cassette.yml
|
211
|
+
- spec/dict/vcr_cassettes/translations_dragon_cassette.yml
|
212
|
+
- spec/dict/vcr_cassettes/translations_slownik_cassette.yml
|
213
|
+
- spec/dict/vcr_cassettes/wiktionary_no_usage_examples.yml
|
214
|
+
- spec/dict/vcr_cassettes/wiktionary_translate_result_uppercase.yml
|
215
|
+
- spec/dict/vcr_cassettes/wiktionary_translations_field_cassette.yml
|
216
|
+
- spec/dict/vcr_cassettes/wiktionary_translations_samochod_cassette.yml
|
217
|
+
- spec/dict/vcr_cassettes/wiktionary_usage_examples_kot.yml
|
218
|
+
- spec/dict/vcr_setup.rb
|
219
|
+
has_rdoc:
|