galerts 1.1.1 → 1.1.2

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: 23bf21e68bc36eda926bfd80c99931f1be27a1ad
4
- data.tar.gz: 9ab667be0dd065aa6f859cb859581990821ea1b2
3
+ metadata.gz: 355730f42900239687a1188fe889602a055101a7
4
+ data.tar.gz: 67ad82cff8bcaa3cdaa72e86db6dea5a76bd7a97
5
5
  SHA512:
6
- metadata.gz: 2f30f7053d6887512a8b544444c23c70b8b2242b33d943a69ede6f2497eed26fee9fb8ff3a9b95518636b64e491da63b87e6476ba56e55c11d31bcfc517346ed
7
- data.tar.gz: 411c216d1397b20ba1edee99117dba80b12a0b6c66ce1dc666b339db4f3ed88a17ee37676e42eeffe00abb75cadef303f122630d8ea2132ceddcb3d98fac4f76
6
+ metadata.gz: 022389c313e0dd0c868629ba0047e0c40430e917e96f47a6d439cf6f3b9eeb77dc20b9c530e86ebb29564e3fef658c85cf34ea4d8f1ab2a32e7609791cccd02f
7
+ data.tar.gz: 0a6c3441fb314e92a80af3c6ed1ab6e13b1c21385bbce529dc8b2151590c44281197e2c71b070a76610d31635941ab66c7a1a6bfe68e2841a0679b6589918b22
@@ -31,17 +31,17 @@ module Galerts
31
31
  end
32
32
 
33
33
  def get_login_form_params(login_form)
34
- params = {}
34
+ params = {
35
+ 'Email' => @email,
36
+ 'Passwd' => @password
37
+ }
38
+
35
39
  login_form.each do |input|
36
- if input['name'] == 'Email'
37
- params[input['name']] = @email
38
- elsif input['name'] == 'Passwd'
39
- params[input['name']] = @password
40
- else
40
+ unless ['Email', 'Passwd', nil].include? input['name']
41
41
  params[input['name']] = input['value']
42
42
  end
43
43
  end
44
- return params
44
+ params
45
45
  end
46
46
 
47
47
  def alerts_page
@@ -1,3 +1,3 @@
1
1
  module Galerts
2
- VERSION = '1.1.1'.freeze unless defined?(::Galerts::VERSION)
2
+ VERSION = '1.1.2'.freeze unless defined?(::Galerts::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: galerts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emre Can Yılmaz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-24 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  requirements: []
63
63
  rubyforge_project:
64
- rubygems_version: 2.4.6
64
+ rubygems_version: 2.5.1
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Ruby library to manage google alerts