parliament-utils 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gocd/web1live.yaml +4 -3
- data/lib/parliament/utils/helpers/filter_helper.rb +6 -1
- data/lib/parliament/utils/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: a8009d07745565de8be2d3dea64f6ba60f2d5557
|
4
|
+
data.tar.gz: 846a0a299041590b78215ba359f8abad59a31428
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290e2bee9db0c12837ba870f3dec6540a1f17b1dd6948461124e42de6cc6707d7903d1393d72db7950a4e4056dd2ea20970e59ea158b1f57b287b848b2f85270
|
7
|
+
data.tar.gz: 2a5a096baccfda339427f28a28787e80c5f3a604d0e81684e44977e45c8fdf589ff32030b9c768fbbf93b4886c9cd5f18967a4a194c8069b833a866805113b42
|
data/gocd/web1live.yaml
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
pipelines:
|
2
|
-
|
2
|
+
parliament-utils:
|
3
3
|
group: Dependencies
|
4
4
|
label_template: "${COUNT}"
|
5
5
|
materials:
|
6
|
-
|
6
|
+
|
7
|
+
parliament-utils-git:
|
7
8
|
git: https://github.com/ukparliament/parliament-utils.git
|
8
9
|
branch: master
|
9
10
|
auto_update: true
|
@@ -27,4 +28,4 @@ pipelines:
|
|
27
28
|
environments:
|
28
29
|
Web.LIVE:
|
29
30
|
pipelines:
|
30
|
-
-
|
31
|
+
- parliament-utils
|
@@ -23,8 +23,13 @@ module Parliament
|
|
23
23
|
# @return [Array] array of types to filter by
|
24
24
|
def self.filter_types(*types)
|
25
25
|
types_to_filter = []
|
26
|
+
|
26
27
|
types.each do |type|
|
27
|
-
type ==
|
28
|
+
if type == ::Grom::Node::BLANK
|
29
|
+
types_to_filter << ::Grom::Node::BLANK
|
30
|
+
else
|
31
|
+
type == 'ordnance' ? types_to_filter << 'http://data.ordnancesurvey.co.uk/ontology/admingeo/EuropeanRegion' : types_to_filter << Parliament::Utils::Helpers::RequestHelper.namespace_uri_schema_path(type)
|
32
|
+
end
|
28
33
|
end
|
29
34
|
types_to_filter
|
30
35
|
end
|
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.6.
|
4
|
+
version: 0.6.1
|
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-12-
|
11
|
+
date: 2017-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parliament-ruby
|