termit 2.11.1 → 2.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/termit/user_input_parser.rb +1 -1
- data/lib/termit/version.rb +1 -1
- data/spec/fixtures/google_1.yml +66 -0
- data/spec/fixtures/google_2.yml +190 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebd731a4cb47111fc3419a6084c47b1d9ad9c66a
|
4
|
+
data.tar.gz: bcc69e165160097b0266e141e3cb7091c9b413a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4479f29a077a32d4f833b466609b451f5e3b32eacd1e789720f36252240e615d9c8b79edaf4118707566c8cd9b988f21967bd84b4cd12b0767c1f16239b2f025
|
7
|
+
data.tar.gz: 1fecff40c2c52943ae22e119b18909ea577bb731dbe81909eb0b2544db279b65dbad2c5e4c28b7b6d03ea0999161ea96458374563e961bdf2ec84b2b5fc91348
|
data/lib/termit/version.rb
CHANGED
@@ -0,0 +1,66 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://translate.google.com/translate_a/single?client=t&dt=at&hl=pl&ie=UTF-8&kc=2&oe=UTF-8&otf=2&q=hey%20cowboy%20where%20is%20your%20horse&sl=en&srcrom=1&ssel=3&tk=522578&tl=pl&tsel=6
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
X-Frame-Options:
|
22
|
+
- SAMEORIGIN
|
23
|
+
Date:
|
24
|
+
- Tue, 25 Aug 2015 19:15:47 GMT
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Expires:
|
28
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
29
|
+
Cache-Control:
|
30
|
+
- no-cache, no-store, must-revalidate
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=UTF-8
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
Content-Disposition:
|
36
|
+
- attachment; filename="f.txt"
|
37
|
+
Server:
|
38
|
+
- HTTP server (unknown)
|
39
|
+
X-Xss-Protection:
|
40
|
+
- 1; mode=block
|
41
|
+
Transfer-Encoding:
|
42
|
+
- chunked
|
43
|
+
body:
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
W1tbImhlaiBrb3dib2plbSAsIGdkemllIGplc3QgdHfDs2oga2/FhCIsImhl
|
47
|
+
eSBjb3dib3kgd2hlcmUgaXMgeW91ciBob3JzZSIsLCwwXV0sLCJlbiIsLCxb
|
48
|
+
WyJoZXkiLDEsW1siaGVqIiw5OTksdHJ1ZSxmYWxzZV0sWyJoZXkiLDAsdHJ1
|
49
|
+
ZSxmYWxzZV0sWyJDemXFm8SHIiwwLHRydWUsZmFsc2VdXSxbWzAsM11dLCJo
|
50
|
+
ZXkgY293Ym95IHdoZXJlIGlzIHlvdXIgaG9yc2UiLDAsMV0sWyJjb3dib3ki
|
51
|
+
LDIsW1sia293Ym9qZW0iLDk1Myx0cnVlLGZhbHNlXSxbImtvd2JvaiIsMjcs
|
52
|
+
dHJ1ZSxmYWxzZV0sWyJrb3dib2pza2llIiwxNyx0cnVlLGZhbHNlXSxbImtv
|
53
|
+
d2JvanNraSIsMSx0cnVlLGZhbHNlXSxbIkNvd2JveSIsMCx0cnVlLGZhbHNl
|
54
|
+
XV0sW1s0LDEwXV0sLDEsMl0sWyJ3aGVyZSIsMyxbWyIsIGdkemllIiw5NTMs
|
55
|
+
ZmFsc2UsZmFsc2VdLFsiZ2R6aWUiLDEsZmFsc2UsZmFsc2VdXSxbWzExLDE2
|
56
|
+
XV0sLDIsNF0sWyJpcyIsNCxbWyJqZXN0Iiw5NTIsdHJ1ZSxmYWxzZV0sWyJt
|
57
|
+
YSIsMCx0cnVlLGZhbHNlXSxbInPEhSIsMCx0cnVlLGZhbHNlXSxbInRvIiww
|
58
|
+
LHRydWUsZmFsc2VdLFsic2nEmSIsMCx0cnVlLGZhbHNlXV0sW1sxNywxOV1d
|
59
|
+
LCw0LDVdLFsieW91ciBob3JzZSIsNSxbWyJ0d8OzaiBrb8WEIiw5OTQsdHJ1
|
60
|
+
ZSxmYWxzZV0sWyJrb8WEIiwyLHRydWUsZmFsc2VdLFsic3dvamVnbyBrb25p
|
61
|
+
YSIsMCx0cnVlLGZhbHNlXSxbImtvbmlhIiwwLHRydWUsZmFsc2VdLFsia29u
|
62
|
+
aW93aSIsMCx0cnVlLGZhbHNlXV0sW1syMCwzMF1dLCw1LDddXSwwLjE3NTQ0
|
63
|
+
NDU3LCxbWyJlbiJdLCxbMC4xNzU0NDQ1N11dXQ==
|
64
|
+
http_version:
|
65
|
+
recorded_at: Tue, 25 Aug 2015 19:15:47 GMT
|
66
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,190 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://translate.google.com/translate_a/single?client=t&dt=at&hl=pl&ie=UTF-8&kc=2&oe=UTF-8&otf=2&q=ass&sl=en&srcrom=1&ssel=3&tk=522578&tl=pl&tsel=6
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
X-Frame-Options:
|
22
|
+
- SAMEORIGIN
|
23
|
+
Date:
|
24
|
+
- Tue, 25 Aug 2015 19:15:48 GMT
|
25
|
+
Pragma:
|
26
|
+
- no-cache
|
27
|
+
Expires:
|
28
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
29
|
+
Cache-Control:
|
30
|
+
- no-cache, no-store, must-revalidate
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=UTF-8
|
33
|
+
X-Content-Type-Options:
|
34
|
+
- nosniff
|
35
|
+
Content-Disposition:
|
36
|
+
- attachment; filename="f.txt"
|
37
|
+
Server:
|
38
|
+
- HTTP server (unknown)
|
39
|
+
X-Xss-Protection:
|
40
|
+
- 1; mode=block
|
41
|
+
Transfer-Encoding:
|
42
|
+
- chunked
|
43
|
+
body:
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: !binary |-
|
46
|
+
W1tbInR5xYJlayIsImFzcyIsLCwwXSxbLCwsImFzIl1dLFtbInJ6ZWN6b3du
|
47
|
+
aWsiLFsidHnFgmVrIiwiZHVwYSIsIm9zaW/FgiIsInphZGVrIl0sW1sidHnF
|
48
|
+
gmVrIixbImJhY2tzaWRlIiwiYnVtIiwiYXJzZSIsImJvdHRvbSIsImJ1dHRv
|
49
|
+
Y2tzIiwiYmVoaW5kIl0sLDAuMTkzODU4ODVdLFsiZHVwYSIsWyJhc3MiLCJm
|
50
|
+
YW5ueSIsImFyc2UiXSwsMC4wNDAwMDUwMzJdLFsib3Npb8WCIixbImRvbmtl
|
51
|
+
eSIsImFzcyIsImphY2thc3MiLCJidXJybyIsIm1va2UiLCJzdHVwaWQiXSws
|
52
|
+
MC4wMzY5OTg2MDddLFsiemFkZWsiLFsiYnVtIiwiYXNzIiwiYmFja3NpZGUi
|
53
|
+
LCJwb3N0ZXJpb3IiLCJidXR0b2NrIi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+
bl91czEyMjMzMjUuMDAxIl0sWyJXaWxkIFx1MDAzY2JcdTAwM2Vhc3Nlc1x1
|
176
|
+
MDAzYy9iXHUwMDNlIGF2ZXJhZ2UgMjAwIGNtIGluIGJvZHkgbGVuZ3RoLCA0
|
177
|
+
NSBjbSBpbiB0YWlsIGxlbmd0aCwgMTI1IGNtIGF0IHRoZSBzaG91bGRlciwg
|
178
|
+
YW5kIHdlaWdodCAyNTAga2cuIiwsLCwzLCJtX2VuX3VzMTIyMzMyNS4wMDEi
|
179
|
+
XSxbIlBob3RvZ3JhcGhlciBQZXRlIE94Zm9yZCB3YXRjaGVzIG91dCBmb3Ig
|
180
|
+
d29sdmVzLCB3aWxkIFx1MDAzY2JcdTAwM2Vhc3Nlc1x1MDAzYy9iXHUwMDNl
|
181
|
+
IGFuZCBkaW5vc2F1ciBmb3NzaWxzIGluIE1vbmdvbGlhLiIsLCwsMywibV9l
|
182
|
+
bl91czEyMjMzMjUuMDAxIl0sWyJJIG1hZGUgYSBjb21wbGV0ZSBcdTAwM2Ni
|
183
|
+
XHUwMDNlYXJzZVx1MDAzYy9iXHUwMDNlIG9mIG15c2VsZiIsLCwsMywibmVp
|
184
|
+
ZF8xMTM1Il1dXSxbWyJzbWFydCBhc3MiLCJwYWluIGluIHRoZSBhc3MiLCJq
|
185
|
+
ZW5ueS1hc3MiLCJzaGUtYXNzIiwiYXNzLWtpc3NlciIsInN0dXBpZCBhc3Mi
|
186
|
+
LCJzbWFydC1hc3MiLCJsaWNrIGFzcyIsIktpc3MgbXkgYXNzISIsInBvbXBv
|
187
|
+
dXMgYXNzIl1dXQ==
|
188
|
+
http_version:
|
189
|
+
recorded_at: Tue, 25 Aug 2015 19:15:48 GMT
|
190
|
+
recorded_with: VCR 2.9.3
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: termit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pawurb
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: delegate_it
|
@@ -137,6 +137,8 @@ files:
|
|
137
137
|
- lib/termit/url_constructor.rb
|
138
138
|
- lib/termit/user_input_parser.rb
|
139
139
|
- lib/termit/version.rb
|
140
|
+
- spec/fixtures/google_1.yml
|
141
|
+
- spec/fixtures/google_2.yml
|
140
142
|
- spec/fixtures/text_response_with_synonyms
|
141
143
|
- spec/fixtures/text_response_without_synonyms
|
142
144
|
- spec/spec_helper.rb
|
@@ -174,6 +176,8 @@ signing_key:
|
|
174
176
|
specification_version: 4
|
175
177
|
summary: Google Translate in your terminal
|
176
178
|
test_files:
|
179
|
+
- spec/fixtures/google_1.yml
|
180
|
+
- spec/fixtures/google_2.yml
|
177
181
|
- spec/fixtures/text_response_with_synonyms
|
178
182
|
- spec/fixtures/text_response_without_synonyms
|
179
183
|
- spec/spec_helper.rb
|