pipely 0.2.2 → 0.2.3

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: 46d3c85b72894b55afd79cade2fdddb5bbdec0be
4
- data.tar.gz: 404e821a844818c67e3b2db878a4d8c44da94d05
3
+ metadata.gz: f00c402f1d3d4e1760175c3be7a26dfc801f817c
4
+ data.tar.gz: 691f56695f7810cb0c4c72832ba3ead34599e4fb
5
5
  SHA512:
6
- metadata.gz: e5dc731bb0c177dd4c4ed93bab5b6ff879edd2900cddf6d3b8dacece16b84b8dd6c364c939d877408ee41540b2c8634c3540d365e5a72a7c4cf69f7bf0ce236a
7
- data.tar.gz: d1048b06e7de79c80d28d5de279fe78ad6bebf09181d3c1d15121eed925eeafef9548f0ab347a99c471e0effd41e65f5a2680ce50403819f63317ae9395887f3
6
+ metadata.gz: 96b7b09e67085006e02354dd07b7330d8581f8e8a5d348235e966275cc5531e9fe5085871c25106dc46a58b38f7dbef0d8836cc7299eab9accabcf51fcb5b240
7
+ data.tar.gz: 470c0b7a43f623baadb1c3bd631821787e339d67929be8fc38ca0a21f144c8b897b3136bfe1f311cf09cd800f3a956aa9924ed7a3e2d0102969074340fd5b80c
@@ -0,0 +1,20 @@
1
+ # Shared examples to be used by projects that use pipely.
2
+ #
3
+
4
+ shared_examples "a renderable template" do |environment, config|
5
+ let(:rendered_json) {
6
+ Pipely::Build.build_definition(
7
+ subject,
8
+ environment,
9
+ config
10
+ ).to_json
11
+ }
12
+
13
+ it "renders without error" do
14
+ expect(rendered_json).to be
15
+ end
16
+
17
+ it "produces valid JSON" do
18
+ expect(JSON.parse(rendered_json)).to be
19
+ end
20
+ end
@@ -1,3 +1,3 @@
1
1
  module Pipely
2
- VERSION = "0.2.2" unless defined?(::DataPipelineGraphviz::VERSION)
2
+ VERSION = "0.2.3" unless defined?(::DataPipelineGraphviz::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pipely
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Gillooly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-19 00:00:00.000000000 Z
11
+ date: 2014-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-graphviz
@@ -176,6 +176,7 @@ files:
176
176
  - lib/pipely/live_pipeline.rb
177
177
  - lib/pipely/reference_list.rb
178
178
  - lib/pipely/runs_report.rb
179
+ - lib/pipely/shared_examples.rb
179
180
  - lib/pipely/tasks/definition.rb
180
181
  - lib/pipely/tasks/deploy.rb
181
182
  - lib/pipely/tasks/graph.rb