gtt-downloader 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{LICENSE.txt → LICENSE.md} +1 -1
- data/README.md +2 -0
- data/lib/gtt/downloader.rb +4 -2
- data/lib/gtt/downloader/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f5a297a1f1f721893476e2ed40e0ef5516c0f48
|
4
|
+
data.tar.gz: ca196a06850e6f430b2482796f4315ba446a52b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8091d57edfbfbd438b90ad39b139b48ded71c3ae55224ab5f8658b29dfe5caf85b3fd396370e7c1d4b2e9cc203f472c2ed44f14db5f5ddd1acacbc66f3e89434
|
7
|
+
data.tar.gz: 713a89482003218414349dac33ba0a0f6047d71c1d1fbfc95c683a14cea39acc70ffd4438f3349d08b44f66a24b3c68beb0797751f453fdf759861d2d9f8997e
|
data/{LICENSE.txt → LICENSE.md}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright
|
3
|
+
Copyright © 2015 [YassLab](http://yasslab.jp)
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -44,4 +44,6 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/yassla
|
|
44
44
|
|
45
45
|
## License
|
46
46
|
|
47
|
+
Copyright © 2015 [YassLab](http://yasslab.jp)
|
48
|
+
|
47
49
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/lib/gtt/downloader.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
1
2
|
require "gtt/downloader/version"
|
2
3
|
require "capybara"
|
3
4
|
|
@@ -89,8 +90,9 @@ module Gtt
|
|
89
90
|
def signed_in_session
|
90
91
|
session = Capybara::Session.new(gtt_driver)
|
91
92
|
session.visit(::Gtt::URL)
|
92
|
-
session.fill_in
|
93
|
-
session.
|
93
|
+
session.fill_in 'Email', with: @email
|
94
|
+
session.click_on 'Next' if session.has_button? "Next"
|
95
|
+
session.fill_in 'Passwd', with: @password
|
94
96
|
session.click_on 'signIn'
|
95
97
|
session
|
96
98
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gtt-downloader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seiei Miyagi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -105,7 +105,7 @@ files:
|
|
105
105
|
- ".gitignore"
|
106
106
|
- CODE_OF_CONDUCT.md
|
107
107
|
- Gemfile
|
108
|
-
- LICENSE.
|
108
|
+
- LICENSE.md
|
109
109
|
- README.md
|
110
110
|
- Rakefile
|
111
111
|
- bin/console
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
137
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.4.5
|
138
|
+
rubygems_version: 2.4.5.1
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Download archive.zip from Google Translator Toolkit.
|