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 +4 -4
- data/lib/galerts/manager.rb +7 -7
- data/lib/galerts/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 355730f42900239687a1188fe889602a055101a7
|
4
|
+
data.tar.gz: 67ad82cff8bcaa3cdaa72e86db6dea5a76bd7a97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 022389c313e0dd0c868629ba0047e0c40430e917e96f47a6d439cf6f3b9eeb77dc20b9c530e86ebb29564e3fef658c85cf34ea4d8f1ab2a32e7609791cccd02f
|
7
|
+
data.tar.gz: 0a6c3441fb314e92a80af3c6ed1ab6e13b1c21385bbce529dc8b2151590c44281197e2c71b070a76610d31635941ab66c7a1a6bfe68e2841a0679b6589918b22
|
data/lib/galerts/manager.rb
CHANGED
@@ -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
|
-
|
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
|
-
|
44
|
+
params
|
45
45
|
end
|
46
46
|
|
47
47
|
def alerts_page
|
data/lib/galerts/version.rb
CHANGED
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.
|
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:
|
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.
|
64
|
+
rubygems_version: 2.5.1
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: Ruby library to manage google alerts
|