power_school 0.0.3 → 0.0.4

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: 9700dbc021b5fad2a6992e56c523a29b2365272d
4
- data.tar.gz: ed144d2a87b9b6ff0961645e2d7354f3ca933578
3
+ metadata.gz: dcf6c3f7ef4a0b1967d9860aa76dc98369092f54
4
+ data.tar.gz: 0c3339ba25814e430837c6ce3a3bb6b9b62aa567
5
5
  SHA512:
6
- metadata.gz: 3ee61ccbb66f61cc447958e8ad8910fc00302582c7648df0442c00d1c09eaeed0c322be4972d0b1ddd8deb2586cec10016d5628a55d6c880c97005159fe4d40d
7
- data.tar.gz: b4e7fd22b1669b5ac8f944b24f1f330c0ea8fe9fe6c9953a9281e6d35990075d67270a58772b30005d1daf35906f254267444b2082fe2d9bfd1aa0cef3bc0c45
6
+ metadata.gz: a332361449b47856556b23d8ba479f8ee88b6ddaca701a4247927a1fa83c2f979a126028d5d91649a5414d27d2e50f17a2b56d57ba56b8770ffe189b8fa66b3c
7
+ data.tar.gz: 5271163ad262d3be47e8d9b67f09727ef88ae48a4df7d1eb0baadfe39a2fd26d69fa06acdb9df8a6098138e674f7ffad3506ab0db4f3626e0b28033fd4a33ee7
@@ -1 +1 @@
1
- 2.1.0
1
+ 2.1.2
data/Gemfile CHANGED
@@ -1,5 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem "rake"
4
-
5
3
  gemspec
@@ -20,22 +20,14 @@ module PowerSchool
20
20
  self.username = USERNAME
21
21
  self.password = PASSWORD
22
22
  end
23
-
23
+
24
24
  def configure
25
25
  yield self
26
26
 
27
- download_directory = "#{Dir.pwd}/downloads"
28
-
29
- profile = Selenium::WebDriver::Firefox::Profile.new
30
- profile["browser.download.useDownloadDir"] = true
31
- profile['browser.download.dir'] = download_directory
32
- profile['browser.helperApps.neverAsk.saveToDisk'] = "Document, text/plain"
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)
37
-
38
- self.browser ||= Watir::Browser.new :firefox, :profile => profile
27
+ client = Selenium::WebDriver::Remote::Http::Default.new
28
+ client.timeout = 180 # seconds – default is 60
29
+
30
+ self.browser ||= Watir::Browser.new :chrome, :http_client => client
39
31
  end
40
32
  end
41
33
  end
@@ -1,3 +1,3 @@
1
1
  module PowerSchool
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -19,10 +19,10 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency "watir", "~>4.0"
22
- spec.add_dependency "nokogiri"
23
- spec.add_dependency "capybara"
22
+ spec.add_dependency "nokogiri", "~>1.6"
23
+ spec.add_dependency "capybara", "~>2.4"
24
24
 
25
25
  spec.add_development_dependency "rspec", "~> 2.6"
26
26
  spec.add_development_dependency "bundler", "~> 1.3"
27
- spec.add_development_dependency "rake"
27
+ spec.add_development_dependency "rake", "~> 10.4"
28
28
  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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mauro Morales
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-04 00:00:00.000000000 Z
11
+ date: 2014-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: watir
@@ -28,30 +28,30 @@ dependencies:
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '1.6'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '1.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: capybara
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '2.4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '2.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -84,16 +84,16 @@ dependencies:
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '10.4'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '10.4'
97
97
  description: Interact with PowerSchool
98
98
  email:
99
99
  - contact@mauromorales.com
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
- rubygems_version: 2.2.0
138
+ rubygems_version: 2.2.2
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Interact with PowerSchool by using capybara