tr4n5l4te 0.1.10 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +8 -0
- data/Gemfile.lock +4 -2
- data/README.md +2 -2
- data/lib/tr4n5l4te/agent.rb +3 -1
- data/lib/tr4n5l4te/translator.rb +1 -1
- data/lib/tr4n5l4te/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 954010f8de8d82aea0e42aff158589f845ce7c90ad62070823f2237e83445620
|
4
|
+
data.tar.gz: 4590211be6847e3727577e40f4f1528c6b42e1013d6e55152797b958044436ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f11f27204c1e2e85ff05c88e243653a883fcfefb207c13f75aca511298a204999e2172c0e1eed8d50fffe4c16a7c5608003571d4ca0c5d3289ca2e435f5ad7d9
|
7
|
+
data.tar.gz: e8532e8eb379618167df35341ac713fd48e40686e6b3a0a8a084909563fe46b44af981c9d40d5dd0dbfc2d0e51b9177a0525e4cf1ba5351b5f894365b6c57c6f
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
*0.1.12* (March 11, 2021)
|
2
|
+
|
3
|
+
* Dump console message into oblivion, do we don't see stupid warning messages like "Using this console may allow attackers to impersonate you and steal your information using an attack called Self-XSS"
|
4
|
+
|
5
|
+
*0.1.11* (March 09, 2021)
|
6
|
+
|
7
|
+
* Disregard case when using variable interpolation.
|
8
|
+
|
1
9
|
*0.1.10* (March 09, 2021)
|
2
10
|
|
3
11
|
* Accomodate latest changes to the web interface.
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
tr4n5l4te (0.1.
|
4
|
+
tr4n5l4te (0.1.12)
|
5
5
|
capybara (~> 2.6)
|
6
6
|
colored (~> 1)
|
7
7
|
midwire_common (~> 0.1)
|
@@ -30,7 +30,9 @@ GEM
|
|
30
30
|
midwire_common (0.3.0)
|
31
31
|
thor (~> 0.19)
|
32
32
|
mini_mime (1.0.2)
|
33
|
-
|
33
|
+
mini_portile2 (2.5.0)
|
34
|
+
nokogiri (1.11.2)
|
35
|
+
mini_portile2 (~> 2.5.0)
|
34
36
|
racc (~> 1.4)
|
35
37
|
optimist (3.0.1)
|
36
38
|
parallel (1.20.1)
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Tr4n5l4te
|
2
2
|
|
3
|
-
**Version: 0.1.
|
3
|
+
**Version: 0.1.12**
|
4
4
|
|
5
5
|
Use Google Translate without an API key.
|
6
6
|
|
@@ -31,7 +31,7 @@ In your code:
|
|
31
31
|
```ruby
|
32
32
|
translator = Tr4n5l4te::Translator.new
|
33
33
|
english_strings = [
|
34
|
-
'hello'
|
34
|
+
'hello',
|
35
35
|
'how are you'
|
36
36
|
]
|
37
37
|
english_strings.each do |text|
|
data/lib/tr4n5l4te/agent.rb
CHANGED
@@ -10,7 +10,9 @@ module Tr4n5l4te
|
|
10
10
|
app,
|
11
11
|
js_errors: false,
|
12
12
|
timeout: Tr4n5l4te.configuration.timeout,
|
13
|
-
phantomjs_options: ['--load-images=no']
|
13
|
+
phantomjs_options: ['--load-images=no', '--ignore-ssl-errors=yes', '--web-security=false'],
|
14
|
+
phantomjs_logger: StringIO.new,
|
15
|
+
logger: StringIO.new
|
14
16
|
)
|
15
17
|
end
|
16
18
|
Capybara.default_driver = :poltergeist
|
data/lib/tr4n5l4te/translator.rb
CHANGED
data/lib/tr4n5l4te/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tr4n5l4te
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Blackburn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|