academic_benchmarks 0.0.5 → 0.0.6

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: 7541ca8bbc79a966e924b5de4bd0cfd407d154c3
4
- data.tar.gz: 00c65e4ec6204e68cff41b59db745b5e70982194
3
+ metadata.gz: c0491efc34e47f6d6d6536bc74ca53788aefb38d
4
+ data.tar.gz: 26d2e887d533c9e26f5b560d515e808722c38f4c
5
5
  SHA512:
6
- metadata.gz: 57c6ccc816f6552ae6b5fd5d755ab2bd912660ea73d16c6dc7efaeea89e6c490a1580d0853261735e6f18f5abf3688d8b0b5e05c0b63c5d2d9854cef44213cc9
7
- data.tar.gz: 7cb00c099914d545e8011c3a93afd270d1b65440f2c977ac4252e8edfa2fbf08c2865d10a1ef84ecb88052254d94e4e7ff6c77ba9834a85d1a29acf7ceef200f
6
+ metadata.gz: cb44aa7a5e915b4dc38799854dccf58ef465e2ac42ba38a72d48c233bd73a3b39e20fa30207d3a3c738e1fbcc0244b37f363792f08969b71ddad11ad09010328
7
+ data.tar.gz: 105506a4025216b5abe0f3c74100508a9d7e54dbd614f63213093e61db52840bb6a1d471457042d598adab5b14d3cfd18202bea353af09af952635e3f6c4cad4
@@ -12,7 +12,11 @@ module AcademicBenchmarks
12
12
  alias_method :descr, :description
13
13
 
14
14
  def self.from_hash(hash)
15
- self.new(code: hash["code"], guid: hash["guid"], description: hash["descr"])
15
+ self.new(
16
+ code: hash["code"],
17
+ guid: hash["guid"],
18
+ description: (hash["descr"] || hash["description"])
19
+ )
16
20
  end
17
21
 
18
22
  def initialize(code:, guid:, description:, children: [])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: academic_benchmarks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Porter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-05 00:00:00.000000000 Z
11
+ date: 2016-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty