pipely 0.2.3 → 0.2.4

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: f00c402f1d3d4e1760175c3be7a26dfc801f817c
4
- data.tar.gz: 691f56695f7810cb0c4c72832ba3ead34599e4fb
3
+ metadata.gz: d5b45f159fc6f0317e3fad859d29dee83848fdaf
4
+ data.tar.gz: 710118f760a409407d6d2016c1ecdbbfffb63b14
5
5
  SHA512:
6
- metadata.gz: 96b7b09e67085006e02354dd07b7330d8581f8e8a5d348235e966275cc5531e9fe5085871c25106dc46a58b38f7dbef0d8836cc7299eab9accabcf51fcb5b240
7
- data.tar.gz: 470c0b7a43f623baadb1c3bd631821787e339d67929be8fc38ca0a21f144c8b897b3136bfe1f311cf09cd800f3a956aa9924ed7a3e2d0102969074340fd5b80c
6
+ metadata.gz: ac5a262ed048975028ca0390edd75d6ea46eada4e589c129daece994a98f7e8aa722a55d691aefd0b69e228f7fe3eb651a2da8b02e856d717ae7444fe72b895d
7
+ data.tar.gz: 3dc41fe8c90182f06a31e2f7d2e36b13024c51cb0e55933aeb15a7acc66eda49f5f288929a9bdac582bbb104c36417b4b9c09ea3cd4e088ee08fea61eae669a5
@@ -17,4 +17,11 @@ shared_examples "a renderable template" do |environment, config|
17
17
  it "produces valid JSON" do
18
18
  expect(JSON.parse(rendered_json)).to be
19
19
  end
20
+
21
+ it "does not contain objects with duplicate ids" do
22
+ objects = JSON.parse(rendered_json)['objects']
23
+ distinct_ids = objects.map{|h| h['id']}.uniq.compact
24
+
25
+ expect(objects.count).to eq(distinct_ids.count)
26
+ end
20
27
  end
@@ -1,3 +1,3 @@
1
1
  module Pipely
2
- VERSION = "0.2.3" unless defined?(::DataPipelineGraphviz::VERSION)
2
+ VERSION = "0.2.4" unless defined?(::DataPipelineGraphviz::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Gillooly