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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ebf80e632e74d0cd6fc635be69cc336ebf1827aa
4
- data.tar.gz: 594c5e7fe4250fad892165e8a09e5666d1bcbfb4
3
+ metadata.gz: cc50b73510d4031bebd06fe0a6fa6156f43150de
4
+ data.tar.gz: 4786e531e4d12b32db78744a3b06cd9ce1ea4409
5
5
  SHA512:
6
- metadata.gz: d95d71a431d899b6c45fbbd4a3982b43c346312f2127074a5733dba1d881253f88b0868e30bf9cc7e2021b4de7f203b3a52e7ea121a8d36bf02cfc506b10116c
7
- data.tar.gz: 849e3247abcc6aef107cf80a4ae236ce19d6d3d4a4f3604d75adfa09cf2fff3060e4658dea735b9da15c3afd565732658c27fe846779aea72dd43d210294bea6
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
- puts profile.inspect
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
- #self.browser ||= Watir::Browser.new :firefox, :profile => profile
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
@@ -1,3 +1,3 @@
1
1
  module PowerSchool
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-03-22 00:00:00.000000000 Z
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: