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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b1bc71c1a239694b68c057e362302dadfd7b18a
4
- data.tar.gz: f27aa41311b6129bd759fc49dd9472fff871e6d6
3
+ metadata.gz: a8009d07745565de8be2d3dea64f6ba60f2d5557
4
+ data.tar.gz: 846a0a299041590b78215ba359f8abad59a31428
5
5
  SHA512:
6
- metadata.gz: 819087efb47d3873b5e153c658f8ae1cdb8410caa76bb421f2cd735f2409147e9e3e3ec6ddfa60e765fb9194532e61a0f20e03d3e368d6e7e436dee3930114d2
7
- data.tar.gz: 7ebc1412f95ec4c9922df5f6f81109787cfecf896de39cef44c336a6603794738b9442f09300734cb70e67b2108b851e67fa859e4f01e4efee6e5adcdfb18e06
6
+ metadata.gz: 290e2bee9db0c12837ba870f3dec6540a1f17b1dd6948461124e42de6cc6707d7903d1393d72db7950a4e4056dd2ea20970e59ea158b1f57b287b848b2f85270
7
+ data.tar.gz: 2a5a096baccfda339427f28a28787e80c5f3a604d0e81684e44977e45c8fdf589ff32030b9c768fbbf93b4886c9cd5f18967a4a194c8069b833a866805113b42
data/gocd/web1live.yaml CHANGED
@@ -1,9 +1,10 @@
1
1
  pipelines:
2
- GEM-utils:
2
+ parliament-utils:
3
3
  group: Dependencies
4
4
  label_template: "${COUNT}"
5
5
  materials:
6
- GEM-utils-git:
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
- - GEM-utils
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 == 'ordnance' ? types_to_filter << 'http://data.ordnancesurvey.co.uk/ontology/admingeo/EuropeanRegion' : types_to_filter << Parliament::Utils::Helpers::RequestHelper.namespace_uri_schema_path(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
@@ -1,5 +1,5 @@
1
1
  module Parliament
2
2
  module Utils
3
- VERSION = '0.6.0'.freeze
3
+ VERSION = '0.6.1'.freeze
4
4
  end
5
5
  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.0
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-18 00:00:00.000000000 Z
11
+ date: 2017-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parliament-ruby