how_is 16.0.0 → 17.0.0

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: 8929c02d281911c56705a2939b5b761fa04c67bf
4
- data.tar.gz: d862b1a8b03741d9ea7bb5e356fd536f80798c1d
3
+ metadata.gz: 71e52f74ab14a10f79d1fcebd73a3e44a2a8860a
4
+ data.tar.gz: 93b67eedce8aeab93e266db7524f66e139059a1f
5
5
  SHA512:
6
- metadata.gz: 4376b4925083261c500ad3943fa3737bb9af6616a4777c4eac387630964cff6b9e3d8c44b6411544cd3cb5e37dfcba880112f96d55d7bea58cca145ba0b533a2
7
- data.tar.gz: de3b662db3bfccbd888662372b9cfb4bb3b4f318c37679d7db4211f0d0ece7f9f923f78ceb8af4230287f0c68c59b8dcdddd4fd2c8845c29b9400c0bcc5a9c0b
6
+ metadata.gz: 0010c1c0d71fd9560ce5ece88e9366e87481eb28f933833807db62ad0e7384da502265461f087d9372cb029077afd8d9c111f47f55ab596455817ab5f928e8a2
7
+ data.tar.gz: d7441138e3ebb82e4d66703492d28268550203503284c6e591a6147a779da9261ef24f2d3447564e09f4abee1dc1b3346c71a35c53751cbe56e41ed21a422fc8
data/CHANGELOG.md CHANGED
@@ -9,6 +9,17 @@ this project adheres to [Semantic Versioning](http://semver.org).
9
9
 
10
10
  (Nothing so far.)
11
11
 
12
+ ## [v17.0.0]
13
+
14
+ This release ([snapshot](https://github.com/how-is/how_is/tree/v17.0.0))
15
+ makes `HowIs.from_json` parse _all_ dates, not just _some_ dates.
16
+ (Whoops.)
17
+
18
+ ### Changes
19
+
20
+ * Make `HowIs.from_json` parse _all_ dates, not just some of them.
21
+ ([#128](https://github.com/how-is/how_is/pull/128))
22
+
12
23
  ## [v16.0.0]
13
24
 
14
25
  This release ([snapshot](https://github.com/how-is/how_is/tree/v16.0.0))
@@ -62,7 +62,9 @@ class HowIs
62
62
  [k, v]
63
63
  end.to_h
64
64
 
65
- %w[oldest_issue oldest_pull].each do |key|
65
+ hash.keys.each do |key|
66
+ next unless hash[key].is_a?(Hash) && hash[key]['date']
67
+
66
68
  hash[key]['date'] = DateTime.parse(hash[key]['date'])
67
69
  end
68
70
 
@@ -1,3 +1,3 @@
1
1
  class HowIs
2
- VERSION = "16.0.0"
2
+ VERSION = "17.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: how_is
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.0.0
4
+ version: 17.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ellen Marie Dash