clomp 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0e100e9861f2a2b799e088d4d4ac31d5e17fd376
4
+ data.tar.gz: 156d3e65b3b7664ef2f2d1273d0d93967058fff8
5
+ SHA512:
6
+ metadata.gz: 13c87f30b50cf897d32b06ebe9dbd6281227d6c58bde6169711f9e3627d3f005b3efe9ce0507440f050d2cdaa52a36bf77eebcc010a5108a67fe2ac4138507b0
7
+ data.tar.gz: 7ef600eaa8d98c726da464d79dfef75391c8134051f6bb6f14b593db1cbadd2e6977c8f4551223bb9e9486d6ee9096bb4f3081ea0972e7076d938cc41b25a6c2
data/.byebug_history ADDED
@@ -0,0 +1,3 @@
1
+ c
2
+ break
3
+ _track.failure?
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ /.idea/
10
+
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.1
5
+ before_install: gem install bundler -v 1.16.0
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at irfandhk@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in the_railway.gemspec
6
+ gemspec
7
+
data/Gemfile.lock ADDED
@@ -0,0 +1,37 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ clomp (0.0.3)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ byebug (9.1.0)
10
+ diff-lcs (1.3)
11
+ rake (10.5.0)
12
+ rspec (3.7.0)
13
+ rspec-core (~> 3.7.0)
14
+ rspec-expectations (~> 3.7.0)
15
+ rspec-mocks (~> 3.7.0)
16
+ rspec-core (3.7.0)
17
+ rspec-support (~> 3.7.0)
18
+ rspec-expectations (3.7.0)
19
+ diff-lcs (>= 1.2.0, < 2.0)
20
+ rspec-support (~> 3.7.0)
21
+ rspec-mocks (3.7.0)
22
+ diff-lcs (>= 1.2.0, < 2.0)
23
+ rspec-support (~> 3.7.0)
24
+ rspec-support (3.7.0)
25
+
26
+ PLATFORMS
27
+ ruby
28
+
29
+ DEPENDENCIES
30
+ bundler (~> 1.16)
31
+ byebug
32
+ clomp!
33
+ rake (~> 10.0)
34
+ rspec
35
+
36
+ BUNDLED WITH
37
+ 1.16.0
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Irfan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,84 @@
1
+ # Clomp [![CircleCI](https://circleci.com/gh/rubyrider/Clomp.svg?style=svg)](https://circleci.com/gh/rubyrider/Clomp)
2
+
3
+ **Clomp gem provides a smooth, lightweight, productive and reusable way to build an operation using Railway oriented programing paradigm.**
4
+ Clomp will give you an easy interface to complete your service operation. You can use it with any framework
5
+ or plain ruby object.
6
+ ## Installation
7
+
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'Clomp'
12
+ ```
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install Clomp
21
+
22
+ ## Usage
23
+ Build any service with the track! Add as many tracks as you want.
24
+ tracks will be loaded sequentially. You can control success and failure state of any
25
+ specific step.
26
+
27
+
28
+ Consider the following class:
29
+ ```ruby
30
+ class SingingOperation < Clomp::Operation
31
+ # this block only executes on successful steps!
32
+ # pass options to receive the operation states!
33
+ add_track :get_lyrics do |options|
34
+ # we call this a success state based block!
35
+ options[:do_some_thing] = 10
36
+ end
37
+
38
+ add_track :get_instruments_ready
39
+
40
+ add_track :start_signing
41
+
42
+ finally :receive_price #final step, wont execute after this step!
43
+
44
+ def get_instruments_ready(options, mutable_data: , **)
45
+ # do anything!
46
+ end
47
+
48
+ def get_lyrics(options, mutable_data: , **)
49
+ mutable_data[:singer_name] = 'James' #mutate
50
+ end
51
+
52
+ def start_signing(options)
53
+ puts options[:mutable_options]
54
+ end
55
+
56
+ def receive_price(options)
57
+ puts "I am honored for this awesome price!"
58
+ end
59
+ end
60
+ ```
61
+
62
+ ```ruby
63
+ @result = SingingOperation.({singer_name: 'Base Baba'})
64
+ @result.success? # => true
65
+ @result.failure? # => false
66
+ ```
67
+
68
+ ## Development
69
+
70
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
71
+
72
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
73
+
74
+ ## Contributing
75
+
76
+ Bug reports and pull requests are welcome on GitHub at https://github.com/rubyrider/clomp. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
77
+
78
+ ## License
79
+
80
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
81
+
82
+ ## Code of Conduct
83
+
84
+ Everyone interacting in the TheRailway project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rubyrider/clomp/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "the_railway"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/clomp.gemspec ADDED
@@ -0,0 +1,28 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "clomp/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "clomp"
8
+ spec.version = Clomp::VERSION
9
+ spec.authors = ['Irfan Ahmed']
10
+ spec.email = ['irfandhk@gmail.com', 'odesk.irfan@gmail.com']
11
+
12
+ spec.summary = %q{Clomp is a simple service builder for ruby using railway oriented programing paradigm.}
13
+ spec.description = %q{Clomp gem provides a smooth, lightweight, productive and reusable way to build an operation using Railway Oriented Programing paradigm.}
14
+ spec.homepage = "https://github.com/rubyrider/clomp"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = "exe"
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ["lib"]
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.16"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rspec"
27
+ spec.add_development_dependency "byebug"
28
+ end
@@ -0,0 +1,38 @@
1
+ module Clomp
2
+ module CommonStates
3
+ FAILURE = 'failure'
4
+ SUCCESS = 'success'
5
+ PENDING = 'pending'
6
+
7
+ # Track#pending? not executed tracks!
8
+ def pending?
9
+ @state && @state == PENDING
10
+ end
11
+
12
+ # Track#success? successfully executed!
13
+ def success?
14
+ @state && @state == SUCCESS
15
+ end
16
+
17
+ # Track#failure? successfully failure!
18
+ def failure?
19
+ @state && @state == FAILURE
20
+ end
21
+
22
+ # Track#mark_as_success! flag the track as successful track
23
+ # FIXME improve the flagship of track status! Should we use integer instead of string?
24
+ def mark_as_success!
25
+ @state && @state = SUCCESS
26
+ end
27
+
28
+ # Track#mark_as_failure! flag the track as unsuccessful track
29
+ def mark_as_failure!
30
+ @state && @state = FAILURE
31
+ end
32
+
33
+ # Any exception raise!
34
+ def exception_raised?
35
+ @error && @error.present?
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,5 @@
1
+ module Clomp
2
+ class Context
3
+
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ module Clomp
2
+ module Errors
3
+ NoTrackProvided = Class.new(ArgumentError)
4
+ TrackNotDefined = Class.new(NotImplementedError)
5
+ UnknownTrackType = Class.new(ArgumentError)
6
+ end
7
+ end
@@ -0,0 +1,79 @@
1
+ module Clomp
2
+ class Operation
3
+ attr_accessor :input, :options
4
+
5
+ def call(track_builders: [], mutable_data: {}, immutable_data: {})
6
+ @track_builders = track_builders
7
+ @mutable_data = mutable_data
8
+ @immutable_data = immutable_data
9
+ @options ||= {}
10
+ @options[:mutable_data] = mutable_data
11
+ @options[:immutable_data] = immutable_data
12
+
13
+ exec_steps!
14
+ end
15
+
16
+ # Execute all the steps! Execute all the tracks!
17
+ def exec_steps!
18
+ @track_builders.each do |track|
19
+ raise Errors::TrackNotDefined, "Please define track: #{track.name}" unless self.respond_to?(track.name)
20
+
21
+ _track = track.exec!(self, @options)
22
+
23
+ break if _track.failure?
24
+ end
25
+
26
+ @result = Result.new(@options, @track_builders, self)
27
+ end
28
+
29
+ def executed_steps
30
+ @track_builders.collect { |track| track.name if track.success? }.compact
31
+ end
32
+
33
+ # Name of the steps defined in the operation class
34
+ def steps
35
+ @track_builders.collect { |track| track.name }
36
+ end
37
+
38
+ class << self
39
+
40
+ # To store and read all the tracks!
41
+ attr_accessor :track_builders
42
+
43
+ # get track name and options!
44
+ def track(track_name, track_options: {}, &block)
45
+ @track_builders ||= []
46
+
47
+ @track_builders << build_track(track_name, track_options, :track, &block)
48
+ end
49
+
50
+ # get the track name for the failure case!
51
+ def failure(track_name, track_options: {}, &block)
52
+ @track_builders ||= []
53
+
54
+ @track_builders << build_track(track_name, track_options, :failed_track, &block)
55
+ end
56
+
57
+ # get the track name for the final step! Only one step will be executed!
58
+ def finally(track_name, track_options: {}, &block)
59
+ @track_builders ||= []
60
+
61
+ @track_builders << build_track(track_name, track_options, :finally, &block)
62
+ end
63
+
64
+ def call(mutable_data = {}, immutable_data = {})
65
+ self.new.call(
66
+ track_builders: @track_builders,
67
+ mutable_data: mutable_data,
68
+ immutable_data: immutable_data
69
+ )
70
+ end
71
+
72
+ private
73
+
74
+ def build_track(track_name, track_options = {}, track_type , &block)
75
+ Track.new(name: track_name, track_options: track_options, track_type: track_type, &block)
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,18 @@
1
+ module Clomp
2
+ class Result
3
+ include CommonStates
4
+ extend Forwardable
5
+
6
+ attr_reader :options, :state, :operation
7
+
8
+ def_delegators :@operation, :steps, :executed_steps
9
+
10
+ def initialize(options, tracks = [], operation)
11
+ @options = options
12
+ @tracks = tracks
13
+ @error = nil
14
+ @state = @tracks.select {|track| track.failure?}.count.zero? ? SUCCESS : FAILURE
15
+ @operation = operation
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,40 @@
1
+ module Clomp
2
+ class Track
3
+ include Clomp::CommonStates
4
+
5
+ attr_reader :name, :block, :track_options, :state, :error
6
+
7
+ VALID_TRACK_TYPES = %I(track failed_track finally catch)
8
+
9
+ def initialize(name: (raise Errors::NoTrackProvided), track_options: {}, track_type: VALID_TRACK_TYPES.first, &block)
10
+ raise UnknownTrackType, 'Please provide a valid track type' unless VALID_TRACK_TYPES.include?(track_type)
11
+
12
+ @name = name
13
+ @block = block
14
+ @track_options = track_options
15
+ @type = track_type
16
+ @state = 'pending'
17
+ @error = nil
18
+ end
19
+
20
+ # Track#exec! executes the steps defined in the operation class
21
+ def exec!(object, options)
22
+ mark_as_failure! # going to execute! set to failure initially
23
+
24
+ if object.method(name.to_sym).arity > 1
25
+ mark_as_success! if object.public_send(name.to_sym, options, **options) != false
26
+ else
27
+ mark_as_success! if object.public_send(name.to_sym, options) != false
28
+ end
29
+
30
+ @block.(options) if success? && @block
31
+
32
+ self
33
+
34
+ rescue => e
35
+ @error = e.message
36
+
37
+ self
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,3 @@
1
+ module Clomp
2
+ VERSION = "0.0.3"
3
+ end
data/lib/clomp.rb ADDED
@@ -0,0 +1,11 @@
1
+ require 'clomp/version'
2
+ require 'clomp/common_states'
3
+ require 'clomp/operation'
4
+ require 'clomp/track'
5
+ require 'clomp/context'
6
+ require 'clomp/errors'
7
+ require 'clomp/result'
8
+
9
+ module Clomp
10
+
11
+ end
metadata ADDED
@@ -0,0 +1,124 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: clomp
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ platform: ruby
6
+ authors:
7
+ - Irfan Ahmed
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-01-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: byebug
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ description: Clomp gem provides a smooth, lightweight, productive and reusable way
70
+ to build an operation using Railway Oriented Programing paradigm.
71
+ email:
72
+ - irfandhk@gmail.com
73
+ - odesk.irfan@gmail.com
74
+ executables: []
75
+ extensions: []
76
+ extra_rdoc_files: []
77
+ files:
78
+ - ".byebug_history"
79
+ - ".gitignore"
80
+ - ".rspec"
81
+ - ".travis.yml"
82
+ - CODE_OF_CONDUCT.md
83
+ - Gemfile
84
+ - Gemfile.lock
85
+ - LICENSE.txt
86
+ - README.md
87
+ - Rakefile
88
+ - bin/console
89
+ - bin/setup
90
+ - clomp.gemspec
91
+ - lib/clomp.rb
92
+ - lib/clomp/common_states.rb
93
+ - lib/clomp/context.rb
94
+ - lib/clomp/errors.rb
95
+ - lib/clomp/operation.rb
96
+ - lib/clomp/result.rb
97
+ - lib/clomp/track.rb
98
+ - lib/clomp/version.rb
99
+ homepage: https://github.com/rubyrider/clomp
100
+ licenses:
101
+ - MIT
102
+ metadata: {}
103
+ post_install_message:
104
+ rdoc_options: []
105
+ require_paths:
106
+ - lib
107
+ required_ruby_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ requirements: []
118
+ rubyforge_project:
119
+ rubygems_version: 2.6.11
120
+ signing_key:
121
+ specification_version: 4
122
+ summary: Clomp is a simple service builder for ruby using railway oriented programing
123
+ paradigm.
124
+ test_files: []