opera 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +6 -0
- data/CHANGELOG.md +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +11 -0
- data/Gemfile.lock +65 -0
- data/LICENSE.txt +21 -0
- data/README.md +828 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/opera.rb +7 -0
- data/lib/opera/errors.rb +6 -0
- data/lib/opera/operation.rb +20 -0
- data/lib/opera/operation/README.md +786 -0
- data/lib/opera/operation/base.rb +60 -0
- data/lib/opera/operation/builder.rb +50 -0
- data/lib/opera/operation/config.rb +31 -0
- data/lib/opera/operation/executor.rb +80 -0
- data/lib/opera/operation/instructions/executors/benchmark.rb +19 -0
- data/lib/opera/operation/instructions/executors/operation.rb +25 -0
- data/lib/opera/operation/instructions/executors/operations.rb +58 -0
- data/lib/opera/operation/instructions/executors/step.rb +21 -0
- data/lib/opera/operation/instructions/executors/success.rb +20 -0
- data/lib/opera/operation/instructions/executors/transaction.rb +33 -0
- data/lib/opera/operation/instructions/executors/validate.rb +24 -0
- data/lib/opera/operation/result.rb +72 -0
- data/lib/opera/version.rb +3 -0
- data/opera.gemspec +28 -0
- metadata +90 -0
data/opera.gemspec
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative 'lib/opera/version'
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = 'opera'
|
5
|
+
spec.version = Opera::VERSION
|
6
|
+
spec.authors = ['ProFinda Development Team']
|
7
|
+
spec.email = ['francisco.ruiz@profinda.com']
|
8
|
+
|
9
|
+
spec.summary = 'Use simple DSL language to keep your Operations clean and maintainable'
|
10
|
+
spec.homepage = 'https://github.com/Profinda/opera'
|
11
|
+
spec.license = 'MIT'
|
12
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
|
13
|
+
|
14
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
15
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
16
|
+
spec.metadata["changelog_uri"] = 'https://github.com/Profinda/opera/blob/master/CHANGELOG.md'
|
17
|
+
|
18
|
+
# Specify which files should be added to the gem when it is released.
|
19
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
20
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
21
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
|
+
end
|
23
|
+
spec.bindir = 'exe'
|
24
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
25
|
+
spec.require_paths = ['lib']
|
26
|
+
|
27
|
+
spec.add_development_dependency 'dry-validation'
|
28
|
+
end
|
metadata
ADDED
@@ -0,0 +1,90 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: opera
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ProFinda Development Team
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-09-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: dry-validation
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description:
|
28
|
+
email:
|
29
|
+
- francisco.ruiz@profinda.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".gitignore"
|
35
|
+
- ".rspec"
|
36
|
+
- ".travis.yml"
|
37
|
+
- CHANGELOG.md
|
38
|
+
- CODE_OF_CONDUCT.md
|
39
|
+
- Gemfile
|
40
|
+
- Gemfile.lock
|
41
|
+
- LICENSE.txt
|
42
|
+
- README.md
|
43
|
+
- Rakefile
|
44
|
+
- bin/console
|
45
|
+
- bin/setup
|
46
|
+
- lib/opera.rb
|
47
|
+
- lib/opera/errors.rb
|
48
|
+
- lib/opera/operation.rb
|
49
|
+
- lib/opera/operation/README.md
|
50
|
+
- lib/opera/operation/base.rb
|
51
|
+
- lib/opera/operation/builder.rb
|
52
|
+
- lib/opera/operation/config.rb
|
53
|
+
- lib/opera/operation/executor.rb
|
54
|
+
- lib/opera/operation/instructions/executors/benchmark.rb
|
55
|
+
- lib/opera/operation/instructions/executors/operation.rb
|
56
|
+
- lib/opera/operation/instructions/executors/operations.rb
|
57
|
+
- lib/opera/operation/instructions/executors/step.rb
|
58
|
+
- lib/opera/operation/instructions/executors/success.rb
|
59
|
+
- lib/opera/operation/instructions/executors/transaction.rb
|
60
|
+
- lib/opera/operation/instructions/executors/validate.rb
|
61
|
+
- lib/opera/operation/result.rb
|
62
|
+
- lib/opera/version.rb
|
63
|
+
- opera.gemspec
|
64
|
+
homepage: https://github.com/Profinda/opera
|
65
|
+
licenses:
|
66
|
+
- MIT
|
67
|
+
metadata:
|
68
|
+
homepage_uri: https://github.com/Profinda/opera
|
69
|
+
source_code_uri: https://github.com/Profinda/opera
|
70
|
+
changelog_uri: https://github.com/Profinda/opera/blob/master/CHANGELOG.md
|
71
|
+
post_install_message:
|
72
|
+
rdoc_options: []
|
73
|
+
require_paths:
|
74
|
+
- lib
|
75
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 2.3.0
|
80
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
85
|
+
requirements: []
|
86
|
+
rubygems_version: 3.1.2
|
87
|
+
signing_key:
|
88
|
+
specification_version: 4
|
89
|
+
summary: Use simple DSL language to keep your Operations clean and maintainable
|
90
|
+
test_files: []
|