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 +4 -4
- data/.ruby-version +1 -1
- data/Gemfile +0 -2
- data/lib/power_school/configuration.rb +5 -13
- data/lib/power_school/version.rb +1 -1
- data/power_school.gemspec +3 -3
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcf6c3f7ef4a0b1967d9860aa76dc98369092f54
|
4
|
+
data.tar.gz: 0c3339ba25814e430837c6ce3a3bb6b9b62aa567
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a332361449b47856556b23d8ba479f8ee88b6ddaca701a4247927a1fa83c2f979a126028d5d91649a5414d27d2e50f17a2b56d57ba56b8770ffe189b8fa66b3c
|
7
|
+
data.tar.gz: 5271163ad262d3be47e8d9b67f09727ef88ae48a4df7d1eb0baadfe39a2fd26d69fa06acdb9df8a6098138e674f7ffad3506ab0db4f3626e0b28033fd4a33ee7
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.2
|
data/Gemfile
CHANGED
@@ -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
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
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
|
data/lib/power_school/version.rb
CHANGED
data/power_school.gemspec
CHANGED
@@ -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.
|
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-
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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: '
|
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.
|
138
|
+
rubygems_version: 2.2.2
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: Interact with PowerSchool by using capybara
|