power_school 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/power_school/configuration.rb +4 -4
- data/lib/power_school/teachers.rb +2 -0
- data/lib/power_school/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc50b73510d4031bebd06fe0a6fa6156f43150de
|
4
|
+
data.tar.gz: 4786e531e4d12b32db78744a3b06cd9ce1ea4409
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85bb73a5dce13f7077c650627640ace436972bcd9051e62b3a7f01c3e206ff32b8fc9d3659f68b8a102035a64f86a915b070869090a1c3ec6ee453293fb96bea
|
7
|
+
data.tar.gz: 780f295cb04625d45ef06103f1e98e6e95664a625b58a52d6eb8f396aaa2d97d7f886c564d3e94ddeda24b8cc77b41cae066889feff3b20753de9dedcf711113
|
@@ -31,11 +31,11 @@ module PowerSchool
|
|
31
31
|
profile['browser.download.dir'] = download_directory
|
32
32
|
profile['browser.helperApps.neverAsk.saveToDisk'] = "Document, text/plain"
|
33
33
|
profile['browser.helperApps.neverAsk.openFile'] = "Document, text/plain"
|
34
|
-
|
35
|
-
driver = Selenium::WebDriver.for :firefox, :profile => profile
|
36
|
-
self.browser ||= Watir::Browser.new(driver)
|
34
|
+
# puts profile.inspect
|
35
|
+
#driver = Selenium::WebDriver.for :firefox, :profile => profile
|
36
|
+
#self.browser ||= Watir::Browser.new(driver)
|
37
37
|
|
38
|
-
|
38
|
+
self.browser ||= Watir::Browser.new :firefox, :profile => profile
|
39
39
|
|
40
40
|
end
|
41
41
|
end
|
@@ -7,6 +7,8 @@ module PowerSchool
|
|
7
7
|
PowerSchool.browser.button(:id => "btnSearch").click
|
8
8
|
if PowerSchool.browser.frame(:id => "frameContent").exists?
|
9
9
|
PowerSchool.browser.frame(:id => "frameContent").div(:id => "content-main").h1.text
|
10
|
+
elsif PowerSchool.browser.div(:id => "selectHandpick").exists?
|
11
|
+
true
|
10
12
|
else
|
11
13
|
false
|
12
14
|
end
|
data/lib/power_school/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: power_school
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mauro Morales
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: watir
|
@@ -140,3 +140,4 @@ signing_key:
|
|
140
140
|
specification_version: 4
|
141
141
|
summary: Interact with PowerSchool by using capybara
|
142
142
|
test_files: []
|
143
|
+
has_rdoc:
|