rubyuw 0.99.18 → 0.99.19
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +2 -1
- data/VERSION +1 -1
- data/lib/rubyuw/base.rb +8 -1
- data/rubyuw.gemspec +3 -2
- metadata +21 -8
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.99.
|
1
|
+
0.99.19
|
data/lib/rubyuw/base.rb
CHANGED
@@ -50,7 +50,14 @@ module RubyUW
|
|
50
50
|
#
|
51
51
|
# @return [Boolean]
|
52
52
|
def authenticated?
|
53
|
-
|
53
|
+
url = "https://sdb.admin.washington.edu/timeschd/uwnetid/sln.asp?QTRYR=SUM+2011&SLN=10343"
|
54
|
+
|
55
|
+
results = connection.get(url)
|
56
|
+
if results.form_with(:name => "relay")
|
57
|
+
# Has a relay page, just get the relay which will tell us if we're logged
|
58
|
+
# in or not...
|
59
|
+
results = connection.goto(url).submit_form('relay').execute!
|
60
|
+
end
|
54
61
|
|
55
62
|
# NOTE: This is broken as of April 20, 2011. Returns blank white screen...
|
56
63
|
# results = connection.goto("http://myuw.washington.edu").
|
data/rubyuw.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{rubyuw}
|
8
|
-
s.version = "0.99.
|
8
|
+
s.version = "0.99.19"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Mitchell Hashimoto"]
|
@@ -78,7 +78,7 @@ Gem::Specification.new do |s|
|
|
78
78
|
s.homepage = %q{http://github.com/mitchellh/rubyuw}
|
79
79
|
s.rdoc_options = ["--charset=UTF-8"]
|
80
80
|
s.require_paths = ["lib"]
|
81
|
-
s.rubygems_version = %q{1.
|
81
|
+
s.rubygems_version = %q{1.3.7}
|
82
82
|
s.summary = %q{Library which provides a ruby interface to the University of Washington student portal.}
|
83
83
|
s.test_files = [
|
84
84
|
"test/live/curriculum_enrollment_test.rb",
|
@@ -96,6 +96,7 @@ Gem::Specification.new do |s|
|
|
96
96
|
]
|
97
97
|
|
98
98
|
if s.respond_to? :specification_version then
|
99
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
99
100
|
s.specification_version = 3
|
100
101
|
|
101
102
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyuw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 437
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 99
|
9
|
+
- 19
|
10
|
+
version: 0.99.19
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Mitchell Hashimoto
|
@@ -14,16 +19,21 @@ date: 2011-04-20 00:00:00 -07:00
|
|
14
19
|
default_executable:
|
15
20
|
dependencies:
|
16
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
17
24
|
name: mechanize
|
18
|
-
|
25
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
19
26
|
none: false
|
20
27
|
requirements:
|
21
28
|
- - ">="
|
22
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 61
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
- 9
|
34
|
+
- 3
|
23
35
|
version: 0.9.3
|
24
|
-
|
25
|
-
prerelease: false
|
26
|
-
version_requirements: *id001
|
36
|
+
requirement: *id001
|
27
37
|
description: Library which provides a ruby interface to the University of Washington student portal.
|
28
38
|
email: mitchell.hashimoto@gmail.com
|
29
39
|
executables: []
|
@@ -105,7 +115,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
115
|
requirements:
|
106
116
|
- - ">="
|
107
117
|
- !ruby/object:Gem::Version
|
108
|
-
hash:
|
118
|
+
hash: 3
|
109
119
|
segments:
|
110
120
|
- 0
|
111
121
|
version: "0"
|
@@ -114,11 +124,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
124
|
requirements:
|
115
125
|
- - ">="
|
116
126
|
- !ruby/object:Gem::Version
|
127
|
+
hash: 3
|
128
|
+
segments:
|
129
|
+
- 0
|
117
130
|
version: "0"
|
118
131
|
requirements: []
|
119
132
|
|
120
133
|
rubyforge_project:
|
121
|
-
rubygems_version: 1.
|
134
|
+
rubygems_version: 1.3.7
|
122
135
|
signing_key:
|
123
136
|
specification_version: 3
|
124
137
|
summary: Library which provides a ruby interface to the University of Washington student portal.
|