tr4n5l4te 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4340f6701e586bd8b845004b3006e58574cacba1
4
- data.tar.gz: eaf2a16a128c494b29e227b9f1eeaf9981cc4cfb
2
+ SHA256:
3
+ metadata.gz: 204b74b356e859f4e2eb6495d225307ee7344267785d0e961d7608beb99fdf5e
4
+ data.tar.gz: c934a59f87142a43fa9ddc40d4c26e04e73c088a04f916f90e97ce18d2cd2e39
5
5
  SHA512:
6
- metadata.gz: 5ddde917d746dca94e383478f264db6a0b8be60afa0578db9ea071e31a95cd0ece374f947edc2de8ad2ba16a9b39e4743a0a644f6da8c10d648753c8de332fd9
7
- data.tar.gz: c46a604bc040415700ef356656df1ebfbc1ed25a43e18c23a5a4b42bdb82c0e9f33248b2fad42c11d05dde684a9e37a3994e0b29e10778322a4781e1448907c2
6
+ metadata.gz: b8b01237723dec2ef19e1570f59792701503c769c324dda07da9d950fc85c74897adca11e57507fc5e0531ad9a1202c57814e95f3adc6dd90f66ccd582fe4628
7
+ data.tar.gz: 29d9b1c7c921741e2531029f18b1220fe84ad217f52b9f3ab547edfcfbcf97b4936abdc1f130069e4d329f184b91e04089b4cc85141125a0de4e766ad9fd9683
data/.gitignore CHANGED
@@ -1,6 +1,5 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
@@ -8,3 +7,5 @@
8
7
  /spec/reports/
9
8
  /tmp/
10
9
  test.html
10
+ /vendor
11
+ /stubs
data/.rubocop.yml ADDED
@@ -0,0 +1,91 @@
1
+ AllCops:
2
+ # Include gemspec and Rakefile
3
+ Include:
4
+ - '**/*.gemspec'
5
+ - '**/*.podspec'
6
+ - '**/*.jbuilder'
7
+ - '**/*.rake'
8
+ - '**/Gemfile'
9
+ - '**/Rakefile'
10
+ - '**/Capfile'
11
+ - '**/Guardfile'
12
+ - '**/Podfile'
13
+ - '**/Thorfile'
14
+ - '**/Vagrantfile'
15
+ Exclude:
16
+ - 'vendor/**/*'
17
+ - 'stubs/**/*'
18
+
19
+ # Checks formatting of special comments
20
+ CommentAnnotation:
21
+ Keywords:
22
+ - TODO
23
+ - FIXME
24
+ - OPTIMIZE
25
+ - HACK
26
+ - REVIEW
27
+
28
+ ########################################
29
+ # Style Cops
30
+
31
+ Style/Documentation:
32
+ Enabled: false
33
+
34
+ Style/FileName:
35
+ Enabled: false
36
+
37
+ Style/AlignParameters:
38
+ EnforcedStyle: with_fixed_indentation
39
+
40
+ Style/RegexpLiteral:
41
+ Enabled: false
42
+
43
+ Style/EmptyLinesAroundBlockBody:
44
+ Enabled: false
45
+
46
+ Style/RaiseArgs:
47
+ Enabled: false
48
+
49
+ Style/DoubleNegation:
50
+ Enabled: false
51
+
52
+ Style/SignalException:
53
+ EnforcedStyle: semantic
54
+
55
+ Style/ClassAndModuleChildren:
56
+ Enabled: false
57
+
58
+ Style/MultilineMethodCallIndentation:
59
+ EnforcedStyle: indented
60
+ IndentationWidth: 4
61
+
62
+ Style/CaseIndentation:
63
+ Enabled: false
64
+
65
+ Style/TrivialAccessors:
66
+ Enabled: false
67
+
68
+ Style/NumericLiterals:
69
+ Enabled: false
70
+
71
+ ########################################
72
+ # Lint Cops
73
+
74
+ Lint/Eval:
75
+ Enabled: true
76
+
77
+ Lint/AssignmentInCondition:
78
+ Enabled: false
79
+
80
+ ########################################
81
+ # Metrics Cops
82
+
83
+ Metrics/LineLength:
84
+ Max: 110
85
+
86
+ Metrics/MethodLength:
87
+ CountComments: false # count full line comments?
88
+ Max: 20
89
+
90
+ Metrics/ClassLength:
91
+ Max: 120
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ *0.1.5* (May 06, 2019)
2
+
3
+ * Fixed phantomjs selector, migration to Optimist gem - Thanks @kirylpl
4
+
1
5
  *0.1.4* (November 10, 2017)
2
6
 
3
7
  * Fix issue #3 - include original file basename in translated output filename
@@ -0,0 +1,42 @@
1
+ # Tr4n5l4te Code of Conduct
2
+
3
+ The Tr4n5l4te project strongly values contributors from anywhere, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, ethnicity, age, religion, or nationality. As a result, the Tr4n5l4te team has agreed to and enforces this code of conduct in order to provide a harassment-free experience for everyone who participates in the development of Tr4n5l4te.
4
+
5
+ ### Summary
6
+
7
+ Just Be Nice!!!
8
+
9
+ Harassment in code and discussion or violation of physical boundaries is completely unacceptable anywhere in the Tr4n5l4te codebase, issue trackers, chat rooms, mailing lists, meetups, and any other events. Violators will be warned and then blocked or banned by the core team at or before the 3rd violation.
10
+
11
+ ### In Detail
12
+
13
+ Harassment includes offensive verbal comments related to level of experience, gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, ethnicity, age, religion, nationality, the use of sexualized language or imagery, deliberate intimidation, stalking, sustained disruption, and unwelcome sexual attention.
14
+
15
+ Individuals asked to stop any harassing behavior are expected to comply immediately.
16
+
17
+ Maintainers, including the core team, are also subject to the anti-harassment policy.
18
+
19
+ If anyone engages in abusive, harassing, or otherwise unacceptable behavior, including maintainers, we may take appropriate action, up to and including warning the offender, deletion of comments, removal from the project’s codebase and communication systems, and escalation to GitHub support.
20
+
21
+ If you are being harassed, notice that someone else is being harassed, or have any other concerns, please contact [Chris Blackburn](mailto:87a1779b@opayq.com).
22
+
23
+ We expect everyone to follow these rules anywhere in the Tr4n5l4te codebase, issue trackers, IRC channel, group chat, and mailing lists.
24
+
25
+ This code of conduct applies both within project spaces and in public spaces when an individual is representing the project or its community.
26
+
27
+ Finally, don't forget that it is human to make mistakes! We all do. Let’s work together to help each other, resolve issues, and learn from the mistakes that we will all inevitably make from time to time.
28
+
29
+ ### Thanks
30
+
31
+ Thanks to the [JSConf Code of Conduct](http://jsconf.com/codeofconduct.html) and [Fedora Code of Conduct](http://fedoraproject.org/code-of-conduct) for inspiration and ideas.
32
+
33
+ ### License
34
+
35
+ <p class="license" xmlns:dct="http://purl.org/dc/terms/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#">
36
+ To the extent possible under law, <a rel="dct:publisher" href="https://github.com/midwire/tr4n5l4te">The Tr4n5l4te Team</a> has waived all copyright and related or neighboring rights to the <span property="dct:title">Tr4n5l4te Code of Conduct</span>. This work is published from the <span property="vcard:Country" datatype="dct:ISO3166" content="US" about="https://github.com/midwire/tr4n5l4te">United States.</span>
37
+ <br>
38
+ <br>
39
+ <a rel="license" href="http://creativecommons.org/publicdomain/zero/1.0/">
40
+ <img src="http://i.creativecommons.org/p/zero/1.0/88x31.png" style="border-style: none;" alt="CC0">
41
+ </a>
42
+ </p>
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,25 @@
1
+ ## How to contribute to jsonapi_rspec
2
+
3
+ #### **Did you find a bug?**
4
+
5
+ * **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/midwire/tr4n5l4te/issues).
6
+
7
+ * If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/midwire/tr4n5l4te/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
8
+
9
+ #### **Did you write a patch that fixes a bug?**
10
+
11
+ * Open a new GitHub pull request with the patch.
12
+
13
+ * Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
14
+
15
+ * Before submitting, please read run [Rubocop](http://batsov.com/rubocop/) on your code. If your PR fails our Rubocop convensions defined in `.rubocop.yml`, it will likely be rejected on those grounds.
16
+
17
+ * Ensure that you write RSpec tests that cover any new or modified code. PR's without spec coverage will likely be rejected.
18
+
19
+ #### **Did you fix whitespace, format code, or make a purely cosmetic patch?**
20
+
21
+ Changes that are cosmetic in nature and do not add anything substantial to the stability, functionality, or testability of Tr4n5l4te will generally not be accepted.
22
+
23
+ Thanks for any contributions!
24
+
25
+ --Midwire
data/Gemfile.lock ADDED
@@ -0,0 +1,88 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ tr4n5l4te (0.1.5)
5
+ capybara (~> 2.6)
6
+ colored (~> 1)
7
+ midwire_common (~> 0.1)
8
+ optimist
9
+ poltergeist (~> 1.9)
10
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ addressable (2.6.0)
15
+ public_suffix (>= 2.0.2, < 4.0)
16
+ capybara (2.18.0)
17
+ addressable
18
+ mini_mime (>= 0.1.3)
19
+ nokogiri (>= 1.3.3)
20
+ rack (>= 1.0.0)
21
+ rack-test (>= 0.5.4)
22
+ xpath (>= 2.0, < 4.0)
23
+ cliver (0.3.2)
24
+ coderay (1.1.2)
25
+ colored (1.2)
26
+ diff-lcs (1.3)
27
+ docile (1.3.1)
28
+ json (2.2.0)
29
+ method_source (0.9.2)
30
+ midwire_common (0.3.0)
31
+ thor (~> 0.19)
32
+ mini_mime (1.0.1)
33
+ mini_portile2 (2.4.0)
34
+ nokogiri (1.10.3)
35
+ mini_portile2 (~> 2.4.0)
36
+ optimist (3.0.0)
37
+ poltergeist (1.18.1)
38
+ capybara (>= 2.1, < 4)
39
+ cliver (~> 0.3.1)
40
+ websocket-driver (>= 0.2.0)
41
+ pry (0.12.2)
42
+ coderay (~> 1.1.0)
43
+ method_source (~> 0.9.0)
44
+ pry-nav (0.3.0)
45
+ pry (>= 0.9.10, < 0.13.0)
46
+ public_suffix (3.0.3)
47
+ rack (2.0.7)
48
+ rack-test (1.1.0)
49
+ rack (>= 1.0, < 3)
50
+ rake (10.5.0)
51
+ rspec (3.8.0)
52
+ rspec-core (~> 3.8.0)
53
+ rspec-expectations (~> 3.8.0)
54
+ rspec-mocks (~> 3.8.0)
55
+ rspec-core (3.8.0)
56
+ rspec-support (~> 3.8.0)
57
+ rspec-expectations (3.8.3)
58
+ diff-lcs (>= 1.2.0, < 2.0)
59
+ rspec-support (~> 3.8.0)
60
+ rspec-mocks (3.8.0)
61
+ diff-lcs (>= 1.2.0, < 2.0)
62
+ rspec-support (~> 3.8.0)
63
+ rspec-support (3.8.0)
64
+ simplecov (0.16.1)
65
+ docile (~> 1.1)
66
+ json (>= 1.8, < 3)
67
+ simplecov-html (~> 0.10.0)
68
+ simplecov-html (0.10.2)
69
+ thor (0.20.3)
70
+ websocket-driver (0.7.0)
71
+ websocket-extensions (>= 0.1.0)
72
+ websocket-extensions (0.1.3)
73
+ xpath (3.2.0)
74
+ nokogiri (~> 1.8)
75
+
76
+ PLATFORMS
77
+ ruby
78
+
79
+ DEPENDENCIES
80
+ bundler (~> 2.0.1)
81
+ pry-nav
82
+ rake (~> 10.0)
83
+ rspec (~> 3.0)
84
+ simplecov (~> 0.11)
85
+ tr4n5l4te!
86
+
87
+ BUNDLED WITH
88
+ 2.0.1
data/ISSUE_TEMPLATE.md ADDED
@@ -0,0 +1,9 @@
1
+ ### Expected Behavior
2
+
3
+ ### Actual Behavior
4
+
5
+ ### Steps to reproduce the problem
6
+
7
+ ---
8
+ * Current Version:
9
+ * Operating System:
data/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ ## The MIT License (MIT)
2
+
3
+ ##### Copyright (c) 2017 Midwire Technologies, LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ **_THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE._**
@@ -0,0 +1,5 @@
1
+ - [ ] I wrote specs to cover new or modified code in this PR
2
+ - [ ] I ran `rake spec` locally and ALL specs pass
3
+
4
+ Related Issue: # <please-add-issue-number-here>
5
+ Description: <please-add-a-comprehensive-description-of-fix/feature>
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Tr4n5l4te
2
2
 
3
- **Version: 0.1.4**
3
+ **Version: 0.1.5**
4
4
 
5
5
  Use Google Translate without an API key.
6
6
 
data/SUPPORT.md ADDED
@@ -0,0 +1,6 @@
1
+ # Tr4n5l4te Support
2
+
3
+ As noted in our [license](LICENSE.md), tr4n5l4te is provided "as is", without any kind of warranty.
4
+
5
+ Having said that, we desire to support tr4n5l4te as well as possible given current and ongoing professional commitments. If you experience any kind of bug or issue that is blocking your workflow, please [file an Issue](https://github.com/midwire/tr4n5l4te/issues/new) on GitHub.
6
+
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require "bundler/setup"
4
- require "tr4n5l4te"
3
+ require 'bundler/setup'
4
+ require 'tr4n5l4te'
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -10,5 +10,5 @@ require "tr4n5l4te"
10
10
  # require "pry"
11
11
  # Pry.start
12
12
 
13
- require "irb"
13
+ require 'irb'
14
14
  IRB.start
@@ -7,7 +7,8 @@ module Tr4n5l4te
7
7
  Capybara::Poltergeist::Driver.new(
8
8
  app,
9
9
  js_errors: false,
10
- timeout: Tr4n5l4te.configuration.timeout
10
+ timeout: Tr4n5l4te.configuration.timeout,
11
+ phantomjs_options: ['--load-images=no']
11
12
  )
12
13
  end
13
14
  Capybara.default_driver = :poltergeist
@@ -1,4 +1,4 @@
1
- require 'trollop'
1
+ require 'optimist'
2
2
  require 'colored'
3
3
  require 'fileutils'
4
4
  require 'midwire_common/string'
@@ -54,13 +54,13 @@ module Tr4n5l4te
54
54
  end
55
55
 
56
56
  def from_lang
57
- md = File.basename(options[:yaml_file]).match(/^.+(\w\w)\.yml$/)
57
+ md = File.basename(options[:yaml_file]).match(/^(\w\w)\.yml$/)
58
58
  raise "Could not determine language from yaml file: '#{options[:yaml_file]}'" unless md
59
59
  md[1]
60
60
  end
61
61
 
62
62
  def store_translation(translated)
63
- data = YAML.dump(translated)
63
+ data = translated.to_yaml(line_width: -1)
64
64
  dir = File.dirname(options[:yaml_file])
65
65
  base = File.basename(options[:yaml_file]).gsub(/#{from_lang}\.yml$/, '')
66
66
  File.open(File.join(dir, "#{base}#{options[:lang]}.yml"), 'w') { |f| f.write(data) }
@@ -68,7 +68,7 @@ module Tr4n5l4te
68
68
 
69
69
  # rubocop:disable Metrics/MethodLength
70
70
  def collect_args
71
- Trollop.options do
71
+ Optimist.options do
72
72
  opt(
73
73
  :yaml_file,
74
74
  "A YAML locale file - filename determines source language 'en.yml' - English",
@@ -107,11 +107,11 @@ module Tr4n5l4te
107
107
  if !options[:lang_given] || !Language.valid?(options[:lang])
108
108
  puts('Valid languages:'.red + "\n\n")
109
109
  puts(Language.list.join(', ').yellow + "\n\n")
110
- Trollop.die(:lang, "'#{options[:lang]}' language unknown".red)
110
+ Optimist.die(:lang, "'#{options[:lang]}' language unknown".red)
111
111
  end
112
112
  if !options[:yaml_file_given] || !File.exist?(options[:yaml_file])
113
113
  puts('A YAML file is required:'.red + "\n\n")
114
- Trollop.die(:yaml_file, "'#{options[:yaml_file]}' not found".red)
114
+ Optimist.die(:yaml_file, "'#{options[:yaml_file]}' not found".red)
115
115
  end
116
116
  options[:lang] = Language.ensure_code(options[:lang])
117
117
  end
@@ -12,10 +12,11 @@ module Tr4n5l4te
12
12
  end
13
13
 
14
14
  def translate(text, from_lang, to_lang)
15
+ puts "Translating: #{text}"
15
16
  encoded_text = validate_and_encode(text)
16
17
  return '' if encoded_text == ''
17
18
  smart_visit(translator_url(encoded_text, from_lang, to_lang))
18
- result_box = browser.find('#result_box')
19
+ result_box = browser.find('.tlid-translation')
19
20
  result_box.text
20
21
  end
21
22
 
@@ -1,3 +1,3 @@
1
1
  module Tr4n5l4te
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.freeze
3
3
  end
data/tr4n5l4te.gemspec CHANGED
@@ -1,5 +1,4 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path('lib', __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require 'tr4n5l4te/version'
5
4
 
@@ -19,15 +18,15 @@ Gem::Specification.new do |spec|
19
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
19
  spec.require_paths = ['lib']
21
20
 
22
- spec.add_development_dependency 'bundler', '~> 1.11'
21
+ spec.add_development_dependency 'bundler', '~> 2.0.1'
22
+ spec.add_development_dependency 'pry-nav'
23
23
  spec.add_development_dependency 'rake', '~> 10.0'
24
24
  spec.add_development_dependency 'rspec', '~> 3.0'
25
25
  spec.add_development_dependency 'simplecov', '~> 0.11'
26
- spec.add_development_dependency 'pry-nav'
27
26
 
28
- spec.add_dependency 'midwire_common', '~> 0.1'
29
27
  spec.add_dependency 'capybara', '~> 2.6'
30
- spec.add_dependency 'poltergeist', '~> 1.9'
31
- spec.add_dependency 'trollop', '~> 2.1'
32
28
  spec.add_dependency 'colored', '~> 1'
29
+ spec.add_dependency 'midwire_common', '~> 0.1'
30
+ spec.add_dependency 'poltergeist', '~> 1.9'
31
+ spec.add_dependency 'optimist'
33
32
  end
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
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Blackburn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-10 00:00:00.000000000 Z
11
+ date: 2019-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.11'
19
+ version: 2.0.1
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.11'
26
+ version: 2.0.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: pry-nav
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'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -67,89 +81,75 @@ dependencies:
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0.11'
69
83
  - !ruby/object:Gem::Dependency
70
- name: pry-nav
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: midwire_common
84
+ name: capybara
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0.1'
89
+ version: '2.6'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0.1'
96
+ version: '2.6'
97
97
  - !ruby/object:Gem::Dependency
98
- name: capybara
98
+ name: colored
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.6'
103
+ version: '1'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.6'
110
+ version: '1'
111
111
  - !ruby/object:Gem::Dependency
112
- name: poltergeist
112
+ name: midwire_common
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '1.9'
117
+ version: '0.1'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '1.9'
124
+ version: '0.1'
125
125
  - !ruby/object:Gem::Dependency
126
- name: trollop
126
+ name: poltergeist
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '2.1'
131
+ version: '1.9'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '2.1'
138
+ version: '1.9'
139
139
  - !ruby/object:Gem::Dependency
140
- name: colored
140
+ name: optimist
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: '1'
145
+ version: '0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: '1'
152
+ version: '0'
153
153
  description: Use Google Translate without an API key.
154
154
  email:
155
155
  - 87a1779b@opayq.com
@@ -160,12 +160,20 @@ extra_rdoc_files: []
160
160
  files:
161
161
  - ".gitignore"
162
162
  - ".rspec"
163
+ - ".rubocop.yml"
163
164
  - ".travis.yml"
164
165
  - CHANGELOG
166
+ - CODE_OF_CONDUCT.md
167
+ - CONTRIBUTING.md
165
168
  - Gemfile
169
+ - Gemfile.lock
170
+ - ISSUE_TEMPLATE.md
171
+ - LICENSE.md
166
172
  - LICENSE.txt
173
+ - PULL_REQUEST_TEMPLATE.md
167
174
  - README.md
168
175
  - Rakefile
176
+ - SUPPORT.md
169
177
  - bin/console
170
178
  - bin/setup
171
179
  - exe/translate
@@ -196,8 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
204
  - !ruby/object:Gem::Version
197
205
  version: '0'
198
206
  requirements: []
199
- rubyforge_project:
200
- rubygems_version: 2.5.1
207
+ rubygems_version: 3.0.3
201
208
  signing_key:
202
209
  specification_version: 4
203
210
  summary: Use Google Translate without an API key.