gpa 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e331d8bc054e18a4ac6e3d0a3b54593ceb6f8f6e
4
+ data.tar.gz: 6b59845c7666cc06fc2b50d6cf0a72b6fe616108
5
+ SHA512:
6
+ metadata.gz: ebd1ef9d055e2f55cfd706f40b7dc0d5c1848418e267554faf5e4284c776a3b30fdd546a7dcb720e90ce61f9908b785a89cfe79c733d9acc677d50580dbdb7f0
7
+ data.tar.gz: 1414f1b0b0a0949e9dabd0b424807cb2322961c64e455ce841b0aa525aad759da1f26b45031abf0b76a406c9bb1e32edbe6a22079d3fcd41480484cedc4344da
data/gpa.gemspec CHANGED
@@ -8,11 +8,10 @@ Gem::Specification.new do |gem|
8
8
  gem.summary = %q{Academic course data manipulation and GPA calculation module}
9
9
  gem.homepage = "https://github.com/dmorrill10/GPA"
10
10
 
11
- gem.add_dependency 'dmorrill10-utils'
11
+ gem.add_dependency 'dmorrill10-utils', '~> 2.0.0'
12
12
 
13
- gem.add_development_dependency 'simplecov'
14
- gem.add_development_dependency 'turn'
15
- gem.add_development_dependency 'minitest'
13
+ gem.add_development_dependency 'simplecov', '~> 0.8.2'
14
+ gem.add_development_dependency 'minitest', '~> 5.2.0'
16
15
 
17
16
  gem.files = `git ls-files`.split($\)
18
17
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
data/lib/gpa/course.rb CHANGED
@@ -192,6 +192,8 @@ class Course
192
192
  @grade = grade
193
193
  @units = units
194
194
  @date_completed = date_completed
195
+
196
+ # @todo This is totally wrong, but I'm not using this right now so I'm not in a rush to fix it.
195
197
  @faculty = if faculty.nil?
196
198
  UNIVERSITY_OF_ALBERTA_SUBJECT_HIERARCHY[@subject]
197
199
  else
data/lib/gpa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Gpa
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -2,24 +2,7 @@
2
2
  require 'simplecov'
3
3
  SimpleCov.start
4
4
 
5
- begin
6
- require 'turn/autorun'
7
-
8
- Turn.config do |c|
9
- # use one of output formats:
10
- # :outline - turn's original case/test outline mode [default]
11
- # :progress - indicates progress with progress bar
12
- # :dotted - test/unit's traditional dot-progress mode
13
- # :pretty - new pretty reporter
14
- # :marshal - dump output as YAML (normal run mode only)
15
- # :cue - interactive testing
16
- # c.format = :pretty
17
- c.format = :dotted
18
- # use humanized test names (works only with :outline format)
19
- c.natural = true
20
- end
21
- rescue LoadError
22
- end
5
+ require 'minitest/autorun'
23
6
 
24
7
  TEST_COURSES_FILE = File.expand_path('../courses.yml', __FILE__)
25
8
  EXPECTED_COURSES_IN_HASH_FORM_FROM_COURSES_FILE = [
metadata CHANGED
@@ -1,80 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gpa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.1.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dustin Morrill
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-06 00:00:00.000000000 Z
11
+ date: 2013-12-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: dmorrill10-utils
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: 2.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
26
+ version: 2.0.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: simplecov
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ~>
36
32
  - !ruby/object:Gem::Version
37
- version: '0'
33
+ version: 0.8.2
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ~>
44
39
  - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: turn
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
40
+ version: 0.8.2
62
41
  - !ruby/object:Gem::Dependency
63
42
  name: minitest
64
43
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
44
  requirements:
67
- - - ! '>='
45
+ - - ~>
68
46
  - !ruby/object:Gem::Version
69
- version: '0'
47
+ version: 5.2.0
70
48
  type: :development
71
49
  prerelease: false
72
50
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
51
  requirements:
75
- - - ! '>='
52
+ - - ~>
76
53
  - !ruby/object:Gem::Version
77
- version: '0'
54
+ version: 5.2.0
78
55
  description: Academic course data manipulation and GPA calculation module
79
56
  email:
80
57
  - dmorrill10@gmail.com
@@ -96,27 +73,26 @@ files:
96
73
  - spec/support/spec_helper.rb
97
74
  homepage: https://github.com/dmorrill10/GPA
98
75
  licenses: []
76
+ metadata: {}
99
77
  post_install_message:
100
78
  rdoc_options: []
101
79
  require_paths:
102
80
  - lib
103
81
  required_ruby_version: !ruby/object:Gem::Requirement
104
- none: false
105
82
  requirements:
106
- - - ! '>='
83
+ - - '>='
107
84
  - !ruby/object:Gem::Version
108
85
  version: '0'
109
86
  required_rubygems_version: !ruby/object:Gem::Requirement
110
- none: false
111
87
  requirements:
112
- - - ! '>='
88
+ - - '>='
113
89
  - !ruby/object:Gem::Version
114
90
  version: '0'
115
91
  requirements: []
116
92
  rubyforge_project:
117
- rubygems_version: 1.8.24
93
+ rubygems_version: 2.0.3
118
94
  signing_key:
119
- specification_version: 3
95
+ specification_version: 4
120
96
  summary: Academic course data manipulation and GPA calculation module
121
97
  test_files:
122
98
  - spec/course_spec.rb