parliament-utils 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 301abf7210069915eb2c686a16886e5ac4bfa890
|
|
4
|
+
data.tar.gz: f89dcca624ea06800bdb2677874226976634b13d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7738ea2e1b5fbf25dc797045e884a263390e4ed55f9bda6d22a528e9cbdedc19f0f944569391591bcab5d5a62e79a3334a5b843b23b13844480b7f835f4ddc1f
|
|
7
|
+
data.tar.gz: 796d19b7ac4168f9599cd7a0d3ece5893cf1c1f1e4e95831ff7dd061f683ff4aea9be7071c112e3d937da99fd8c763e34d51070e7cfb174f8e549d6f5aee11ef
|
|
@@ -33,7 +33,7 @@ module Parliament
|
|
|
33
33
|
|
|
34
34
|
# Dynamically filter n-triple data
|
|
35
35
|
config.before_record do |interaction|
|
|
36
|
-
should_ignore = ['_:node', '^^<http://www.w3.org/2001/XMLSchema#date>', '^^<http://www.w3.org/2001/XMLSchema#integer>']
|
|
36
|
+
should_ignore = ['_:node', '^^<http://www.w3.org/2001/XMLSchema#date>', '^^<http://www.w3.org/2001/XMLSchema#dateTime>', '^^<http://www.w3.org/2001/XMLSchema#integer>']
|
|
37
37
|
|
|
38
38
|
# Check if content type header exists and if it includes application/n-triples
|
|
39
39
|
if interaction.response.headers['Content-Type'] && interaction.response.headers['Content-Type'].include?('application/n-triples')
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parliament-utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rebecca Appleyard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parliament-ruby
|