callee 0.2.0 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gpr.yml +33 -0
- data/.github/workflows/rubygems.yml +32 -0
- data/.github/workflows/test.yml +40 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +3 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +39 -76
- data/README.md +16 -40
- data/callee.gemspec +14 -17
- data/lib/callee.rb +3 -14
- data/lib/callee/version.rb +1 -1
- metadata +19 -69
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58c5bbd25ded090297c07dcfa531397cad2307afd0f97aa674cacefff65ade8e
|
4
|
+
data.tar.gz: fb216641e3ed17636bf4b3dcf00c37b803a6f6b522cc725ecc875e0db0d990dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56d77dae2d22e7c43afaf728f1e433a3b71bb0ca2016db116eb9ac2c5d53034675d18899e931269a23c44fd2570052d5e9f7cc4c3d5702d9f05824ca6cb8bd28
|
7
|
+
data.tar.gz: 0d207b276c557e5ff7ade38a379ede5b658f22c4c4aa83e77738f396145aeadfe93287d2cc900a7c207cf0b0c40162940985ab64151999390d710aee72167fe1
|
@@ -0,0 +1,33 @@
|
|
1
|
+
name: Release on GitHub
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches:
|
6
|
+
- releases
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- releases
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build:
|
13
|
+
name: Build + Publish
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@master
|
18
|
+
- name: Set up Ruby
|
19
|
+
uses: actions/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
version: 2.7.x
|
22
|
+
|
23
|
+
- name: Publish to GPR
|
24
|
+
run: |
|
25
|
+
mkdir -p $HOME/.gem
|
26
|
+
touch $HOME/.gem/credentials
|
27
|
+
chmod 0600 $HOME/.gem/credentials
|
28
|
+
printf -- "---\n:github: Bearer ${GITHUB_TOKEN}\n" > $HOME/.gem/credentials
|
29
|
+
gem build *.gemspec
|
30
|
+
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
31
|
+
env:
|
32
|
+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
33
|
+
OWNER: dreikanter
|
@@ -0,0 +1,32 @@
|
|
1
|
+
name: Release on RubyGems
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches:
|
6
|
+
- releases
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- releases
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build:
|
13
|
+
name: Build + Publish
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@master
|
18
|
+
- name: Set up Ruby
|
19
|
+
uses: actions/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
version: 2.7.x
|
22
|
+
|
23
|
+
- name: Publish to RubyGems
|
24
|
+
run: |
|
25
|
+
mkdir -p $HOME/.gem
|
26
|
+
touch $HOME/.gem/credentials
|
27
|
+
chmod 0600 $HOME/.gem/credentials
|
28
|
+
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
|
29
|
+
gem build *.gemspec
|
30
|
+
gem push *.gem
|
31
|
+
env:
|
32
|
+
RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
name: Test Ruby Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
- dev
|
8
|
+
push:
|
9
|
+
branches:
|
10
|
+
- master
|
11
|
+
- dev
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
rubocop:
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v1
|
18
|
+
- name: Set up Ruby
|
19
|
+
uses: actions/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: 2.7.x
|
22
|
+
- name: Run Rubocop
|
23
|
+
run: |
|
24
|
+
gem install bundler
|
25
|
+
bundle install --jobs 4 --retry 3
|
26
|
+
bundle exec rubocop
|
27
|
+
|
28
|
+
test:
|
29
|
+
runs-on: ubuntu-latest
|
30
|
+
steps:
|
31
|
+
- uses: actions/checkout@v1
|
32
|
+
- name: Set up Ruby
|
33
|
+
uses: actions/setup-ruby@v1
|
34
|
+
with:
|
35
|
+
ruby-version: 2.7.x
|
36
|
+
- name: Run tests
|
37
|
+
run: |
|
38
|
+
gem install bundler
|
39
|
+
bundle install --jobs 4 --retry 3
|
40
|
+
bundle exec rake test
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.7.0
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [0.3.2] - 2019-12-24
|
8
|
+
|
9
|
+
- Simplify `#call` params propagation.
|
10
|
+
|
11
|
+
## [0.2.2] - 2019-08-07
|
12
|
+
|
13
|
+
- Fix nil param value handling.
|
14
|
+
|
15
|
+
## [0.2.1] - 2019-08-07
|
16
|
+
|
17
|
+
- `#call` method is now consistent with the way `Dry::Initializer` constructor accepts params and options.
|
18
|
+
|
7
19
|
## [0.1.3] - 2019-07-29
|
8
20
|
|
9
21
|
- Implement `to_proc` method to support Ruby ampersand shorthand.
|
data/Gemfile.lock
CHANGED
@@ -1,85 +1,51 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
callee (0.
|
4
|
+
callee (0.3.4)
|
5
5
|
dry-initializer (>= 2.5, < 4.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
11
|
-
|
12
|
-
builder (3.2.3)
|
13
|
-
coderay (1.1.2)
|
10
|
+
ast (2.4.1)
|
11
|
+
coderay (1.1.3)
|
14
12
|
docile (1.3.2)
|
15
|
-
dry-initializer (3.0.
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
pry (>= 0.9.12)
|
25
|
-
shellany (~> 0.0)
|
26
|
-
thor (>= 0.18.1)
|
27
|
-
guard-compat (1.2.1)
|
28
|
-
guard-minitest (2.4.6)
|
29
|
-
guard-compat (~> 1.2)
|
30
|
-
minitest (>= 3.0)
|
31
|
-
jaro_winkler (1.5.3)
|
32
|
-
json (2.2.0)
|
33
|
-
listen (3.1.5)
|
34
|
-
rb-fsevent (~> 0.9, >= 0.9.4)
|
35
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
36
|
-
ruby_dep (~> 1.2)
|
37
|
-
lumberjack (1.0.13)
|
38
|
-
method_source (0.9.2)
|
39
|
-
minitest (5.11.3)
|
40
|
-
minitest-reporters (1.3.6)
|
41
|
-
ansi
|
42
|
-
builder
|
43
|
-
minitest (>= 5.0)
|
44
|
-
ruby-progressbar
|
45
|
-
nenv (0.3.0)
|
46
|
-
notiffany (0.1.1)
|
47
|
-
nenv (~> 0.1)
|
48
|
-
shellany (~> 0.0)
|
49
|
-
parallel (1.17.0)
|
50
|
-
parser (2.6.3.0)
|
51
|
-
ast (~> 2.4.0)
|
52
|
-
pry (0.12.2)
|
53
|
-
coderay (~> 1.1.0)
|
54
|
-
method_source (~> 0.9.0)
|
13
|
+
dry-initializer (3.0.3)
|
14
|
+
method_source (1.0.0)
|
15
|
+
minitest (5.14.1)
|
16
|
+
parallel (1.19.2)
|
17
|
+
parser (2.7.1.4)
|
18
|
+
ast (~> 2.4.1)
|
19
|
+
pry (0.13.1)
|
20
|
+
coderay (~> 1.1)
|
21
|
+
method_source (~> 1.0)
|
55
22
|
rainbow (3.0.0)
|
56
|
-
rake (
|
57
|
-
rb-fsevent (0.10.3)
|
58
|
-
rb-inotify (0.10.0)
|
59
|
-
ffi (~> 1.0)
|
23
|
+
rake (13.0.1)
|
60
24
|
rb-readline (0.5.5)
|
61
|
-
|
62
|
-
|
25
|
+
regexp_parser (1.7.1)
|
26
|
+
rexml (3.2.4)
|
27
|
+
rubocop (0.89.1)
|
63
28
|
parallel (~> 1.10)
|
64
|
-
parser (>= 2.
|
29
|
+
parser (>= 2.7.1.1)
|
65
30
|
rainbow (>= 2.2.2, < 4.0)
|
31
|
+
regexp_parser (>= 1.7)
|
32
|
+
rexml
|
33
|
+
rubocop-ast (>= 0.3.0, < 1.0)
|
66
34
|
ruby-progressbar (~> 1.7)
|
67
|
-
unicode-display_width (>= 1.4.0, <
|
68
|
-
rubocop-
|
69
|
-
|
35
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
36
|
+
rubocop-ast (0.3.0)
|
37
|
+
parser (>= 2.7.1.4)
|
38
|
+
rubocop-performance (1.7.1)
|
39
|
+
rubocop (>= 0.82.0)
|
70
40
|
ruby-progressbar (1.10.1)
|
71
|
-
|
72
|
-
shellany (0.0.1)
|
73
|
-
simplecov (0.17.0)
|
41
|
+
simplecov (0.19.0)
|
74
42
|
docile (~> 1.1)
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
rubocop (~>
|
80
|
-
|
81
|
-
thor (0.20.3)
|
82
|
-
unicode-display_width (1.6.0)
|
43
|
+
simplecov-html (~> 0.11)
|
44
|
+
simplecov-html (0.12.2)
|
45
|
+
standard (0.5.2)
|
46
|
+
rubocop (~> 0.89.1)
|
47
|
+
rubocop-performance (~> 1.7.1)
|
48
|
+
unicode-display_width (1.7.0)
|
83
49
|
|
84
50
|
PLATFORMS
|
85
51
|
ruby
|
@@ -87,16 +53,13 @@ PLATFORMS
|
|
87
53
|
DEPENDENCIES
|
88
54
|
bundler (~> 2.0)
|
89
55
|
callee!
|
90
|
-
guard (~> 2.15)
|
91
|
-
guard-minitest (~> 2.4, >= 2.4.6)
|
92
56
|
minitest (~> 5.0)
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
standard (~> 0.1.0)
|
57
|
+
pry (~> 0.13)
|
58
|
+
rake (~> 13.0)
|
59
|
+
rb-readline (~> 0.5)
|
60
|
+
rubocop (~> 0.89)
|
61
|
+
simplecov (~> 0.19)
|
62
|
+
standard (~> 0.5)
|
100
63
|
|
101
64
|
BUNDLED WITH
|
102
|
-
2.
|
65
|
+
2.1.4
|
data/README.md
CHANGED
@@ -25,55 +25,28 @@ Or install it yourself as:
|
|
25
25
|
To make a class callable, you need to include `Callee` mixin and implement `call` instance method. Use [dry-initializer DSL](https://dry-rb.org/gems/dry-initializer/optionals-and-defaults/) to specify calling parameters and options if necessary. Here is a basic usage example:
|
26
26
|
|
27
27
|
``` ruby
|
28
|
-
class
|
29
|
-
include Callee
|
30
|
-
|
31
|
-
param :a
|
32
|
-
param :b
|
33
|
-
|
34
|
-
def call
|
35
|
-
a + b
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
|
-
Sum.call(1, 1) # => 2
|
40
|
-
```
|
41
|
-
|
42
|
-
Use optional params with default values:
|
43
|
-
|
44
|
-
``` ruby
|
45
|
-
class Greet
|
28
|
+
class Power
|
46
29
|
include Callee
|
47
30
|
|
48
|
-
|
49
|
-
|
31
|
+
# Required parameter
|
32
|
+
param :base
|
33
|
+
|
34
|
+
# Option with a default value
|
35
|
+
option :exponent, optional: true, default: -> { 2 }
|
50
36
|
|
51
37
|
def call
|
52
|
-
|
38
|
+
base.pow(exponent)
|
53
39
|
end
|
54
40
|
end
|
55
41
|
|
56
|
-
|
57
|
-
|
42
|
+
Power.call(2) # => 4
|
43
|
+
Power.call(2, exponent: 10) # => 1024
|
58
44
|
```
|
59
45
|
|
60
|
-
Callable class may be used as a `
|
46
|
+
Callable class may be used as a Proc. Compact notation in the next example is identical to `[1, 2, 3].map { |value| Power.call(value) }`
|
61
47
|
|
62
48
|
``` ruby
|
63
|
-
|
64
|
-
include Callee
|
65
|
-
|
66
|
-
param :value
|
67
|
-
|
68
|
-
def call
|
69
|
-
value * value
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
values = [1, 2, 3]
|
74
|
-
|
75
|
-
# Compact notation for values.map { |value| Power.call(value) }
|
76
|
-
values.map(&Power) # => [1, 4, 9]
|
49
|
+
[1, 2, 3].map(&Power) # => [1, 4, 9]
|
77
50
|
```
|
78
51
|
|
79
52
|
Since Callee mixin inherits `dry-initializer` DSL, type constraints and coercion will also work, as usual. Just make sure to include `dry-types`:
|
@@ -84,13 +57,16 @@ require "dry-types"
|
|
84
57
|
class StrictPower
|
85
58
|
include Callee
|
86
59
|
|
87
|
-
param :
|
60
|
+
param :base, type: Dry::Types["strict.integer"]
|
61
|
+
option :exponent, type: Dry::Types["strict.integer"], optional: true, default: -> { 2 }
|
88
62
|
|
89
63
|
def call
|
90
|
-
|
64
|
+
base.pow(exponent)
|
91
65
|
end
|
92
66
|
end
|
93
67
|
|
68
|
+
# Let's inherit StrictPower params definition
|
69
|
+
# and override "base" with more forgiving constraint
|
94
70
|
class CoerciblePower < StrictPower
|
95
71
|
param :value, type: Dry::Types["coercible.integer"]
|
96
72
|
end
|
data/callee.gemspec
CHANGED
@@ -3,15 +3,15 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
require "callee/version"
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name
|
7
|
-
spec.version
|
8
|
-
spec.authors
|
9
|
-
spec.email
|
6
|
+
spec.name = "callee"
|
7
|
+
spec.version = Callee::VERSION
|
8
|
+
spec.authors = ["Alex Musayev"]
|
9
|
+
spec.email = ["alex.musayev@gmail.com"]
|
10
10
|
|
11
|
-
spec.summary
|
12
|
-
spec.description
|
13
|
-
spec.homepage
|
14
|
-
spec.license
|
11
|
+
spec.summary = "Make callable service classes"
|
12
|
+
spec.description = "Callee provides a standardized way to define callable classes with a strict params specification, based on dry-initializer"
|
13
|
+
spec.homepage = "https://github.com/dreikanter/callee"
|
14
|
+
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.metadata["homepage_uri"] = spec.homepage
|
17
17
|
spec.metadata["source_code_uri"] = spec.homepage
|
@@ -27,14 +27,11 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_dependency "dry-initializer", ">= 2.5", "< 4.0"
|
28
28
|
|
29
29
|
spec.add_development_dependency "bundler", "~> 2.0"
|
30
|
-
spec.add_development_dependency "guard", "~> 2.15"
|
31
|
-
spec.add_development_dependency "guard-minitest", "~> 2.4", ">= 2.4.6"
|
32
30
|
spec.add_development_dependency "minitest", "~> 5.0"
|
33
|
-
spec.add_development_dependency "
|
34
|
-
spec.add_development_dependency "
|
35
|
-
spec.add_development_dependency "
|
36
|
-
spec.add_development_dependency "
|
37
|
-
spec.add_development_dependency "
|
38
|
-
spec.add_development_dependency "
|
39
|
-
spec.add_development_dependency "standard", "~> 0.1.0"
|
31
|
+
spec.add_development_dependency "pry", "~> 0.13"
|
32
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
33
|
+
spec.add_development_dependency "rb-readline", "~> 0.5"
|
34
|
+
spec.add_development_dependency "rubocop", "~> 0.89"
|
35
|
+
spec.add_development_dependency "simplecov", "~> 0.19"
|
36
|
+
spec.add_development_dependency "standard", "~> 0.5"
|
40
37
|
end
|
data/lib/callee.rb
CHANGED
@@ -8,27 +8,16 @@ module Callee
|
|
8
8
|
end
|
9
9
|
|
10
10
|
module ClassMethods
|
11
|
-
def call(*params, **options)
|
12
|
-
|
11
|
+
def call(*params, **options, &block)
|
12
|
+
new(*params, **options).call(&block)
|
13
13
|
end
|
14
14
|
|
15
15
|
def to_proc
|
16
16
|
method(:call).to_proc
|
17
17
|
end
|
18
|
-
|
19
|
-
private
|
20
|
-
|
21
|
-
def create_callable(params, options)
|
22
|
-
has_params = params.any?
|
23
|
-
has_options = options.any?
|
24
|
-
return new unless has_params || has_options
|
25
|
-
return new(*params) unless has_options
|
26
|
-
return new(**options) unless has_params
|
27
|
-
new(*params, **options)
|
28
|
-
end
|
29
18
|
end
|
30
19
|
|
31
20
|
def call
|
32
|
-
raise
|
21
|
+
raise "Not implemented"
|
33
22
|
end
|
34
23
|
end
|
data/lib/callee/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: callee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Musayev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-initializer
|
@@ -44,40 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '2.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: guard
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: '2.15'
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '2.15'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: guard-minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '2.4'
|
68
|
-
- - ">="
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: 2.4.6
|
71
|
-
type: :development
|
72
|
-
prerelease: false
|
73
|
-
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - "~>"
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '2.4'
|
78
|
-
- - ">="
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 2.4.6
|
81
47
|
- !ruby/object:Gem::Dependency
|
82
48
|
name: minitest
|
83
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,110 +58,90 @@ dependencies:
|
|
92
58
|
- - "~>"
|
93
59
|
- !ruby/object:Gem::Version
|
94
60
|
version: '5.0'
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: minitest-reporters
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - "~>"
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '1.3'
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 1.3.6
|
105
|
-
type: :development
|
106
|
-
prerelease: false
|
107
|
-
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
requirements:
|
109
|
-
- - "~>"
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: '1.3'
|
112
|
-
- - ">="
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: 1.3.6
|
115
61
|
- !ruby/object:Gem::Dependency
|
116
62
|
name: pry
|
117
63
|
requirement: !ruby/object:Gem::Requirement
|
118
64
|
requirements:
|
119
65
|
- - "~>"
|
120
66
|
- !ruby/object:Gem::Version
|
121
|
-
version: 0.
|
67
|
+
version: '0.13'
|
122
68
|
type: :development
|
123
69
|
prerelease: false
|
124
70
|
version_requirements: !ruby/object:Gem::Requirement
|
125
71
|
requirements:
|
126
72
|
- - "~>"
|
127
73
|
- !ruby/object:Gem::Version
|
128
|
-
version: 0.
|
74
|
+
version: '0.13'
|
129
75
|
- !ruby/object:Gem::Dependency
|
130
76
|
name: rake
|
131
77
|
requirement: !ruby/object:Gem::Requirement
|
132
78
|
requirements:
|
133
79
|
- - "~>"
|
134
80
|
- !ruby/object:Gem::Version
|
135
|
-
version: '
|
81
|
+
version: '13.0'
|
136
82
|
type: :development
|
137
83
|
prerelease: false
|
138
84
|
version_requirements: !ruby/object:Gem::Requirement
|
139
85
|
requirements:
|
140
86
|
- - "~>"
|
141
87
|
- !ruby/object:Gem::Version
|
142
|
-
version: '
|
88
|
+
version: '13.0'
|
143
89
|
- !ruby/object:Gem::Dependency
|
144
90
|
name: rb-readline
|
145
91
|
requirement: !ruby/object:Gem::Requirement
|
146
92
|
requirements:
|
147
93
|
- - "~>"
|
148
94
|
- !ruby/object:Gem::Version
|
149
|
-
version: 0.5
|
95
|
+
version: '0.5'
|
150
96
|
type: :development
|
151
97
|
prerelease: false
|
152
98
|
version_requirements: !ruby/object:Gem::Requirement
|
153
99
|
requirements:
|
154
100
|
- - "~>"
|
155
101
|
- !ruby/object:Gem::Version
|
156
|
-
version: 0.5
|
102
|
+
version: '0.5'
|
157
103
|
- !ruby/object:Gem::Dependency
|
158
104
|
name: rubocop
|
159
105
|
requirement: !ruby/object:Gem::Requirement
|
160
106
|
requirements:
|
161
107
|
- - "~>"
|
162
108
|
- !ruby/object:Gem::Version
|
163
|
-
version: 0.
|
109
|
+
version: '0.89'
|
164
110
|
type: :development
|
165
111
|
prerelease: false
|
166
112
|
version_requirements: !ruby/object:Gem::Requirement
|
167
113
|
requirements:
|
168
114
|
- - "~>"
|
169
115
|
- !ruby/object:Gem::Version
|
170
|
-
version: 0.
|
116
|
+
version: '0.89'
|
171
117
|
- !ruby/object:Gem::Dependency
|
172
118
|
name: simplecov
|
173
119
|
requirement: !ruby/object:Gem::Requirement
|
174
120
|
requirements:
|
175
121
|
- - "~>"
|
176
122
|
- !ruby/object:Gem::Version
|
177
|
-
version: '0.
|
123
|
+
version: '0.19'
|
178
124
|
type: :development
|
179
125
|
prerelease: false
|
180
126
|
version_requirements: !ruby/object:Gem::Requirement
|
181
127
|
requirements:
|
182
128
|
- - "~>"
|
183
129
|
- !ruby/object:Gem::Version
|
184
|
-
version: '0.
|
130
|
+
version: '0.19'
|
185
131
|
- !ruby/object:Gem::Dependency
|
186
132
|
name: standard
|
187
133
|
requirement: !ruby/object:Gem::Requirement
|
188
134
|
requirements:
|
189
135
|
- - "~>"
|
190
136
|
- !ruby/object:Gem::Version
|
191
|
-
version: 0.
|
137
|
+
version: '0.5'
|
192
138
|
type: :development
|
193
139
|
prerelease: false
|
194
140
|
version_requirements: !ruby/object:Gem::Requirement
|
195
141
|
requirements:
|
196
142
|
- - "~>"
|
197
143
|
- !ruby/object:Gem::Version
|
198
|
-
version: 0.
|
144
|
+
version: '0.5'
|
199
145
|
description: Callee provides a standardized way to define callable classes with a
|
200
146
|
strict params specification, based on dry-initializer
|
201
147
|
email:
|
@@ -204,8 +150,12 @@ executables: []
|
|
204
150
|
extensions: []
|
205
151
|
extra_rdoc_files: []
|
206
152
|
files:
|
153
|
+
- ".github/workflows/gpr.yml"
|
154
|
+
- ".github/workflows/rubygems.yml"
|
155
|
+
- ".github/workflows/test.yml"
|
207
156
|
- ".gitignore"
|
208
157
|
- ".rubocop.yml"
|
158
|
+
- ".ruby-version"
|
209
159
|
- ".travis.yml"
|
210
160
|
- CHANGELOG.md
|
211
161
|
- Gemfile
|
@@ -240,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
190
|
- !ruby/object:Gem::Version
|
241
191
|
version: '0'
|
242
192
|
requirements: []
|
243
|
-
rubygems_version: 3.
|
193
|
+
rubygems_version: 3.1.2
|
244
194
|
signing_key:
|
245
195
|
specification_version: 4
|
246
196
|
summary: Make callable service classes
|