devry 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{devry}
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Guterl"]
@@ -11,7 +11,7 @@ module Devry
11
11
 
12
12
  def extract_time(element)
13
13
  return nil if element.nil?
14
- Time.parse(element.text.strip)
14
+ Time.parse(extract_text(element))
15
15
  end
16
16
 
17
17
  def extract_url(element)
@@ -90,7 +90,7 @@ module Devry
90
90
 
91
91
  def description
92
92
  page = fetch_page(url)
93
- ["tr:nth-child(11) p", "tr:nth-child(13) p", "tr:nth-child(15) p"].map do |selector|
93
+ ["tr:nth-child(11)", "tr:nth-child(13)", "tr:nth-child(15)"].map do |selector|
94
94
  extract_text page.at(selector)
95
95
  end.join("\n\n")
96
96
  end
@@ -1,4 +1,4 @@
1
- # -*- coding: undecided -*-
1
+ # -*- coding: utf-8 -*-
2
2
  require 'spec/spec_helper'
3
3
 
4
4
  describe Devry do
@@ -57,7 +57,7 @@ describe Devry do
57
57
  end
58
58
 
59
59
  it 'should extract the description' do
60
- @job.description.should == "The Faculty provides the educational focus of teaching (facilitating) in our academic courses, and service to the College, profession, and scholarly activities are integral aspects of this position.\n\nTo perform this job successfully, an individual must be able to perform each essential duty satisfactorily. The requirements listed below are representative of the knowledge, skill, and/or ability required. Reasonable accommodations may be made to enable individuals with disabilities to perform the essential functions.\n\nMaster's degree in Finance; Ph.D preferred. CPA, CFA or CFM is required.  Minimum of 3 years related industry and/or academic experience. Prior teaching experience is required. We are proud to be an EEO employer M/F/D/V. We maintain a drug-free workplace and perform pre-employment substance abuse testing. Thank you for applying for this outstanding opportunity today."
60
+ @job.description.should == "The Faculty provides the educational focus of teaching (facilitating) in our academic courses, and service to the College, profession, and scholarly activities are integral aspects of this position.\n\nTo perform this job successfully, an individual must be able to perform each essential duty satisfactorily. The requirements listed below are representative of the knowledge, skill, and/or ability required. Reasonable accommodations may be made to enable individuals with disabilities to perform the essential functions. Develops strategies to teach the course for the entire semester or session, using DeVry Online curriculum guides and meeting the university's academic standards.Provides students with an approved syllabus that follows a template established by DeVry Online, and which includes the terminal course objectives. Organizes and prepares all course materials for facilitation.Utilizes appropriate educational technology to engage students and enhance learning. Connects students' current study to real-world applications, using lab and library assignments and linking coursework to previous/future study in related disciplines. Ensures that the content and level of material included on exams correspond to the course terminal objectives, that the material has been adequately addressed in the course, that concepts have been demonstrated, and that relevant homework has been reviewed. Provides multiple evaluative formats for students to demonstrate their knowledge and earn their grades in the course. Demonstrates consistency and fairness in the preparation and grading of exams, and provide timely feedback to students. Maintains students’ grade book, and completes final grades by the deadline.\n\nMaster's degree in Finance; Ph.D preferred. CPA, CFA or CFM is required.  Minimum of 3 years related industry and/or academic experience. Prior teaching experience is required. We are proud to be an EEO employer M/F/D/V. We maintain a drug-free workplace and perform pre-employment substance abuse testing. Thank you for applying for this outstanding opportunity today."
61
61
  end
62
62
 
63
63
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 2
9
- version: 0.0.2
8
+ - 3
9
+ version: 0.0.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Guterl