puree 0.19.1 → 0.19.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
  SHA1:
3
- metadata.gz: 1b90e69c2963be1ee72e58ade3f738570c68145a
4
- data.tar.gz: 746b0c3ca920c13ffd51f43cea9fa9db3ebe3f81
3
+ metadata.gz: c6feda420454c2b733f415194279bfda4d17d191
4
+ data.tar.gz: 383112b4f6f4d95400d94fbbcb648e8cfc3eba58
5
5
  SHA512:
6
- metadata.gz: 45d1dfafa6bd935cd527fec223f1b27e4136f4183e7132c17d7440fa07133eb772b8b9bbaa7d690a7ff84523413610d8d565cc844675fd5cb603083959c68017
7
- data.tar.gz: f2daa254050056dee8482d2804fdf124340518de7ca6a07af130e0ba2936e7483c197ff1d1eeae5f7862e2f8388ee042c4975629270d7d321890c5c7a0c5c674
6
+ metadata.gz: 1e557f054b3c8e1f92cdc61bda7432a0c0286f6facdd26f6e1e72f93d83e0c733fa2731dff3395ec1cbf41395e8ccae5007052b19b44290098e855c1e0685412
7
+ data.tar.gz: ac9f865fdc1dec1dcba40858e40838ea3741160e4bc4db039694e4dd23b2ea5d9131404b90438c50c51be2f6c1e926565c43175d758be07b910e74f6005d6d43
@@ -7,6 +7,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
7
7
  - Factory to make resource objects?
8
8
  - Make ALL dates ISO 8601 YYYY-MM-DD, rather than mirror varying formats from Pure?
9
9
 
10
+ ## 0.19.2 - 2017-01-27
11
+ ### Fixed
12
+ - Dataset - production, temporal extraction.
13
+
10
14
  ## 0.19.1 - 2016-11-30
11
15
  ### Fixed
12
16
  - Dataset, Publication - person role extraction.
@@ -172,7 +172,7 @@ module Puree
172
172
  end
173
173
 
174
174
  def extract_available
175
- temporal_start_date '/dateMadeAvailable'
175
+ temporal_start_date 'dateMadeAvailable'
176
176
  end
177
177
 
178
178
  def extract_description
@@ -418,7 +418,7 @@ module Puree
418
418
  #
419
419
  # @return [Hash]
420
420
  def temporal_start_date(start_node)
421
- path = start_node
421
+ path = "/#{start_node}"
422
422
  xpath_result = xpath_query path
423
423
  o = {}
424
424
  o['day'] = xpath_result.xpath('day').text.strip
@@ -431,7 +431,7 @@ module Puree
431
431
  #
432
432
  # @return [Hash]
433
433
  def temporal_end_date(end_node)
434
- path = end_node
434
+ path = "/#{end_node}"
435
435
  xpath_result = xpath_query path
436
436
  o = {}
437
437
  o['day'] = xpath_result.xpath('day').text.strip
@@ -1,5 +1,5 @@
1
1
  module Puree
2
2
  # Semantic version number
3
3
  #
4
- VERSION = "0.19.1"
4
+ VERSION = "0.19.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.1
4
+ version: 0.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Albin-Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-30 00:00:00.000000000 Z
11
+ date: 2017-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http