academic_benchmarks 1.0.1 → 1.1.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
  SHA256:
3
- metadata.gz: 50df986c030289fb9f248460b600eebc30b059c7386fa6c5cdeba4d39bbe714a
4
- data.tar.gz: 4421c98acc7fbe617d2a8b1b3a8c9a4eb736d7ea65016c4ba5933a52b6f28d35
3
+ metadata.gz: 7f7d781f7386eb5179fcd1cba41e4687ab47bfacf2bdae40a841f9912e1125b8
4
+ data.tar.gz: 1b114d1e992392c2b3734ba53af37c09278fd01dab2c655fc60d9f3bac45f348
5
5
  SHA512:
6
- metadata.gz: 6f777d12e41775ac0cac11b9a76922b5b10c2957e480f16c0a5ff3c61328b92abfa409389cc6e116d4d41503c8821fce2cb99e0d401bdee09ce2daea2561ab8a
7
- data.tar.gz: cf26bcd052ff8b71be7a360ba095580f3c6993dfd235d39e57a378a846bffbfc50790654c285a829e943c638a6f069492211c4c6fe1ec3f91a2e5cc93e040970
6
+ metadata.gz: 75325ace54f37815cf595df3b0128a630b6ecb7ce2617e4b3f90b6da074df2412140bbe79fd8acec51b64394cc8568e6fea8708cdbc383cd1ecae8094eae0a52
7
+ data.tar.gz: 58c68894798abafc20d4e5bf27d306b68d3a879f08b1549cd4b65e9ceb8580038fd0beb1b77263dcc26c1351b29830c2e334a9f94c3e74e463799a4bcb653580
@@ -15,8 +15,7 @@ module AcademicBenchmarks
15
15
  level
16
16
  section.guid
17
17
  section.descr
18
- number.raw
19
- number.enhanced
18
+ number.prefix_enhanced
20
19
  status
21
20
  disciplines.subjects.code
22
21
  document.guid
@@ -5,18 +5,16 @@ module AcademicBenchmarks
5
5
  class Number
6
6
  include InstVarsToHash
7
7
 
8
- attr_accessor :enhanced, :raw
8
+ attr_accessor :prefix_enhanced
9
9
 
10
10
  def self.from_hash(hash)
11
11
  self.new(
12
- enhanced: hash["enhanced"],
13
- raw: hash["raw"]
12
+ prefix_enhanced: hash["prefix_enhanced"]
14
13
  )
15
14
  end
16
15
 
17
- def initialize(enhanced:, raw:)
18
- @enhanced = enhanced
19
- @raw = raw
16
+ def initialize(prefix_enhanced:)
17
+ @prefix_enhanced = prefix_enhanced
20
18
  end
21
19
  end
22
20
  end
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: academic_benchmarks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Porter
8
8
  - Augusto Callejas
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2016-11-23 00:00:00.000000000 Z
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: 3.2.22
35
35
  - - "<"
36
36
  - !ruby/object:Gem::Version
37
- version: '6.1'
37
+ version: '7.1'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 3.2.22
45
45
  - - "<"
46
46
  - !ruby/object:Gem::Version
47
- version: '6.1'
47
+ version: '7.1'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: hash_dig_and_collect
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -205,7 +205,7 @@ homepage: https://github.com/instructure/academic_benchmarks
205
205
  licenses:
206
206
  - AGPL-3.0
207
207
  metadata: {}
208
- post_install_message:
208
+ post_install_message:
209
209
  rdoc_options: []
210
210
  require_paths:
211
211
  - lib
@@ -220,8 +220,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  - !ruby/object:Gem::Version
221
221
  version: '0'
222
222
  requirements: []
223
- rubygems_version: 3.1.2
224
- signing_key:
223
+ rubygems_version: 3.1.4
224
+ signing_key:
225
225
  specification_version: 4
226
226
  summary: A ruby api for accessing the Academic Benchmarks API
227
227
  test_files: []