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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/puree/dataset.rb +3 -3
- data/lib/puree/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6feda420454c2b733f415194279bfda4d17d191
|
4
|
+
data.tar.gz: 383112b4f6f4d95400d94fbbcb648e8cfc3eba58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e557f054b3c8e1f92cdc61bda7432a0c0286f6facdd26f6e1e72f93d83e0c733fa2731dff3395ec1cbf41395e8ccae5007052b19b44290098e855c1e0685412
|
7
|
+
data.tar.gz: ac9f865fdc1dec1dcba40858e40838ea3741160e4bc4db039694e4dd23b2ea5d9131404b90438c50c51be2f6c1e926565c43175d758be07b910e74f6005d6d43
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
data/lib/puree/dataset.rb
CHANGED
@@ -172,7 +172,7 @@ module Puree
|
|
172
172
|
end
|
173
173
|
|
174
174
|
def extract_available
|
175
|
-
temporal_start_date '
|
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
|
data/lib/puree/version.rb
CHANGED
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.
|
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:
|
11
|
+
date: 2017-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|