autoup 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/autoup.rb +7 -4
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be36d0611b82c196286c2e6f3e0d3cb82289d33f
|
4
|
+
data.tar.gz: 662474639cf646c9ddb284eb01f67645f161ac5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d547b4079d74d11856d52fa85450bfd50507eb2428a70fa60c891569e6f03e55b2b3e8103b3941b2006af103343870588e4043d89891fe375e3b4d3e71b03fc7
|
7
|
+
data.tar.gz: 91a254ba2095c5af3edf9a25b64451c94be8d21103c9432c360159f3def30269750ffd0823efccb725963b91aeb9c3fcd2340a74fa1fc0e404a4dbd0aa0ddc78
|
data/lib/autoup.rb
CHANGED
@@ -58,15 +58,18 @@ class AutoUp
|
|
58
58
|
web.get(cfg['forum'])
|
59
59
|
|
60
60
|
begin
|
61
|
-
web.find_element(:name, 'vb_login_username')
|
61
|
+
login = web.find_element(:name, 'vb_login_username')
|
62
|
+
login.clear()
|
63
|
+
login.send_keys(cfg['user'])
|
62
64
|
rescue Selenium::WebDriver::Error::NoSuchElementError
|
63
65
|
puts("ERROR: unable to load #{cfg['forum']} (does not load or does not contain vb_login_username)")
|
64
66
|
return
|
65
67
|
end
|
66
68
|
|
67
|
-
|
68
|
-
|
69
|
-
|
69
|
+
pass = web.find_element(:name, 'vb_login_password')
|
70
|
+
pass.clear()
|
71
|
+
pass.send_keys(cfg['pass'])
|
72
|
+
pass.submit
|
70
73
|
|
71
74
|
begin
|
72
75
|
web.find_element(:link, cfg['user']).click
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vasily Korytov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '2.45'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.45'
|
27
27
|
description: Logs in onto vBulletin forum boards, finds all user's threads and bumps
|
@@ -34,9 +34,9 @@ extra_rdoc_files: []
|
|
34
34
|
files:
|
35
35
|
- NOTICE
|
36
36
|
- README.md
|
37
|
-
- bin/autoup
|
38
37
|
- examples/autoup.yml
|
39
38
|
- lib/autoup.rb
|
39
|
+
- bin/autoup
|
40
40
|
homepage: https://github.com/chillum/autoup
|
41
41
|
licenses:
|
42
42
|
- Apache-2.0
|
@@ -47,17 +47,17 @@ require_paths:
|
|
47
47
|
- lib
|
48
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - '>='
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
52
|
+
version: 1.9.2
|
53
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
|
-
- -
|
55
|
+
- - '>='
|
56
56
|
- !ruby/object:Gem::Version
|
57
57
|
version: '0'
|
58
58
|
requirements: []
|
59
59
|
rubyforge_project:
|
60
|
-
rubygems_version: 2.
|
60
|
+
rubygems_version: 2.0.14
|
61
61
|
signing_key:
|
62
62
|
specification_version: 4
|
63
63
|
summary: Selenium robot for auto-bumping vBulletin posts
|