standard-procedure-plumbing 0.4.6 → 0.5.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 +4 -4
- data/lib/plumbing/pipeline/contracts.rb +1 -1
- data/lib/plumbing/pipeline/operations.rb +1 -1
- data/lib/plumbing/pipeline.rb +8 -6
- data/lib/plumbing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90c456ba1b4ae2cebb75d1fe5ac49f806c6156387a5907980255e2f224b11f54
|
4
|
+
data.tar.gz: b40ea0aa31ce5608d94721c90d56a351cdf834660fe32398d4c2e6e5c0dd4827
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2a394f3a3924edc4963252e59170fec110c7190d2305e90e5ecb483e84cfff818c75074abeb975f4561ca01086cad1c7971d26b91eec3be0da8c6a46c0fa869
|
7
|
+
data.tar.gz: b3b790c91098bea951a175ec9d2b8676e2e630fb4c4eef6e225855b5b7a472782bc6eb6f98f1c5c3f339878560fbad5c060a75cecec15748105735320ab09379
|
data/lib/plumbing/pipeline.rb
CHANGED
@@ -1,11 +1,13 @@
|
|
1
|
-
require_relative "pipeline/contracts"
|
2
|
-
require_relative "pipeline/operations"
|
3
|
-
|
4
1
|
module Plumbing
|
2
|
+
require_relative "pipeline/contracts"
|
3
|
+
require_relative "pipeline/operations"
|
4
|
+
|
5
5
|
# A chain of operations that are executed in sequence
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
module Pipeline
|
7
|
+
def self.included base
|
8
|
+
base.extend Plumbing::Pipeline::Contracts
|
9
|
+
base.extend Plumbing::Pipeline::Operations
|
10
|
+
end
|
9
11
|
|
10
12
|
# Start the pipeline operation with the given input
|
11
13
|
# @param input [Object] the input data to be processed
|
data/lib/plumbing/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard-procedure-plumbing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rahoul Baruah
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
|
-
rubygems_version: 3.5.
|
84
|
+
rubygems_version: 3.5.12
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: Plumbing - various pipelines for your ruby application
|