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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f13544134fb46d7a37ec17d5920457c0282979f
4
- data.tar.gz: e3aa5d21494e866d02de7598841f495df7d13958
3
+ metadata.gz: 9f5a297a1f1f721893476e2ed40e0ef5516c0f48
4
+ data.tar.gz: ca196a06850e6f430b2482796f4315ba446a52b1
5
5
  SHA512:
6
- metadata.gz: 2ac1636aa6ff1e2174ba14f7c8db0be3e61aac565fa032c98c5489ddc2b4ad00d4e022dcf433cfe5b76e8cde57f15bbc1de66a94007ed1accc2159a9d98edc16
7
- data.tar.gz: 40aee823a455030cf87de8ac60e5661266bf8f295bae04bf67e26135162ee2514c6fe928d00de158c3c1918631f02c221c20d139141ec4fa13290ce0a1624b0e
6
+ metadata.gz: 8091d57edfbfbd438b90ad39b139b48ded71c3ae55224ab5f8658b29dfe5caf85b3fd396370e7c1d4b2e9cc203f472c2ed44f14db5f5ddd1acacbc66f3e89434
7
+ data.tar.gz: 713a89482003218414349dac33ba0a0f6047d71c1d1fbfc95c683a14cea39acc70ffd4438f3349d08b44f66a24b3c68beb0797751f453fdf759861d2d9f8997e
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 Seiei Miyagi
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).
@@ -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 'Email', with: @email
93
- session.fill_in 'Passwd', with: @password
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
@@ -1,5 +1,5 @@
1
1
  module Gtt
2
2
  class Downloader
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  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.5
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-06-11 00:00:00.000000000 Z
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.txt
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.