callee 0.2.1 → 0.3.5

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
  SHA256:
3
- metadata.gz: b7b5acd465a45dd124829ffbc1530c7f6c762b4a4bfd7c98dbb7f90fea57c861
4
- data.tar.gz: 45c7a23a942c5213868c20155991da8b80d5290f2a148a56255f43d265de1f70
3
+ metadata.gz: 36ed2afe48979d71aad7f56b7512fd07a86b5828106d67238cb8abae60b05ec1
4
+ data.tar.gz: d4d785e9f02bcb3cbce26eb6842f5ff1d15e6a8c7587ca23a8f969cd7bb48ce9
5
5
  SHA512:
6
- metadata.gz: 34e89951e1f0d964f67bf29b50ec257b9536a6fad0cf3acec46299c2e5acb614b5b40f14065856607160f15baf0c5ed20d9c9f2d3a15c62ec20237cc5430d3c6
7
- data.tar.gz: 3f1fabbe17b727dcadfb8786d2dbeeee8216c5339ef8c719130f59c31d7f37ce6827c60097ada2cc68b8296f764d3f399a275bcfd2a71511bd43bd494ed98025
6
+ metadata.gz: 696c669a1ca05fb96263649dd3963fbc31aca184129367024b5b9c640a22cf166e5363d3be5f95b84c9bf16d84ac491a9d8a4670abb6d6f391ebd8bb3a451348
7
+ data.tar.gz: af8148a8aaea14d92e92491e2f30c475c00a9546da4aac16d1d0870e9cdc8d37432e59a7296769dd6d4d1ca1438cd2f977fce429e4446c72e70c6afc2c415bf5
@@ -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,54 @@
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
+ reek:
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 Reek
37
+ run: |
38
+ gem install bundler
39
+ bundle install --jobs 4 --retry 3
40
+ bundle exec reek
41
+
42
+ test:
43
+ runs-on: ubuntu-latest
44
+ steps:
45
+ - uses: actions/checkout@v1
46
+ - name: Set up Ruby
47
+ uses: actions/setup-ruby@v1
48
+ with:
49
+ ruby-version: 2.7.x
50
+ - name: Run tests
51
+ run: |
52
+ gem install bundler
53
+ bundle install --jobs 4 --retry 3
54
+ bundle exec rake test
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ *.gem
@@ -0,0 +1,7 @@
1
+ ---
2
+ detectors:
3
+ IrresponsibleModule:
4
+ enabled: false
5
+
6
+ UtilityFunction:
7
+ public_methods_only: true
@@ -0,0 +1 @@
1
+ 2.7.0
@@ -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.4] - 2020-08-29
8
+
9
+ - Update development dependencies.
10
+
11
+ ## [0.3.2] - 2019-12-24
12
+
13
+ - Simplify `#call` params propagation.
14
+
15
+ ## [0.2.2] - 2019-08-07
16
+
17
+ - Fix nil param value handling.
18
+
7
19
  ## [0.2.1] - 2019-08-07
8
20
 
9
21
  - `#call` method is now consistent with the way `Dry::Initializer` constructor accepts params and options.
@@ -1,85 +1,59 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- callee (0.2.1)
4
+ callee (0.3.5)
5
5
  dry-initializer (>= 2.5, < 4.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- ansi (1.5.0)
11
- ast (2.4.0)
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.1)
16
- ffi (1.11.1)
17
- formatador (0.2.5)
18
- guard (2.15.0)
19
- formatador (>= 0.2.4)
20
- listen (>= 2.7, < 4.0)
21
- lumberjack (>= 1.0.12, < 2.0)
22
- nenv (~> 0.1)
23
- notiffany (~> 0.0)
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.4)
14
+ kwalify (0.7.2)
15
+ method_source (1.0.0)
16
+ minitest (5.14.2)
17
+ parallel (1.19.2)
18
+ parser (2.7.1.5)
19
+ ast (~> 2.4.1)
20
+ pry (0.13.1)
21
+ coderay (~> 1.1)
22
+ method_source (~> 1.0)
23
+ psych (3.1.0)
55
24
  rainbow (3.0.0)
56
- rake (10.5.0)
57
- rb-fsevent (0.10.3)
58
- rb-inotify (0.10.0)
59
- ffi (~> 1.0)
25
+ rake (13.0.1)
60
26
  rb-readline (0.5.5)
61
- rubocop (0.72.0)
62
- jaro_winkler (~> 1.5.1)
27
+ reek (6.0.1)
28
+ kwalify (~> 0.7.0)
29
+ parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
30
+ psych (~> 3.1.0)
31
+ rainbow (>= 2.0, < 4.0)
32
+ regexp_parser (1.8.1)
33
+ rexml (3.2.4)
34
+ rubocop (0.92.0)
63
35
  parallel (~> 1.10)
64
- parser (>= 2.6)
36
+ parser (>= 2.7.1.5)
65
37
  rainbow (>= 2.2.2, < 4.0)
38
+ regexp_parser (>= 1.7)
39
+ rexml
40
+ rubocop-ast (>= 0.5.0)
66
41
  ruby-progressbar (~> 1.7)
67
- unicode-display_width (>= 1.4.0, < 1.7)
68
- rubocop-performance (1.4.0)
69
- rubocop (>= 0.71.0)
42
+ unicode-display_width (>= 1.4.0, < 2.0)
43
+ rubocop-ast (0.7.1)
44
+ parser (>= 2.7.1.5)
45
+ rubocop-performance (1.8.1)
46
+ rubocop (>= 0.87.0)
47
+ rubocop-ast (>= 0.4.0)
70
48
  ruby-progressbar (1.10.1)
71
- ruby_dep (1.5.0)
72
- shellany (0.0.1)
73
- simplecov (0.17.0)
49
+ simplecov (0.19.0)
74
50
  docile (~> 1.1)
75
- json (>= 1.8, < 3)
76
- simplecov-html (~> 0.10.0)
77
- simplecov-html (0.10.2)
78
- standard (0.1.0)
79
- rubocop (~> 0.72.0)
80
- rubocop-performance (~> 1.4.0)
81
- thor (0.20.3)
82
- unicode-display_width (1.6.0)
51
+ simplecov-html (~> 0.11)
52
+ simplecov-html (0.12.3)
53
+ standard (0.7)
54
+ rubocop (= 0.92)
55
+ rubocop-performance (= 1.8.1)
56
+ unicode-display_width (1.7.0)
83
57
 
84
58
  PLATFORMS
85
59
  ruby
@@ -87,16 +61,14 @@ PLATFORMS
87
61
  DEPENDENCIES
88
62
  bundler (~> 2.0)
89
63
  callee!
90
- guard (~> 2.15)
91
- guard-minitest (~> 2.4, >= 2.4.6)
92
64
  minitest (~> 5.0)
93
- minitest-reporters (~> 1.3, >= 1.3.6)
94
- pry (~> 0.12.2)
95
- rake (~> 10.0)
96
- rb-readline (~> 0.5.5)
97
- rubocop (~> 0.72.0)
98
- simplecov (~> 0.17)
99
- standard (~> 0.1.0)
65
+ pry (~> 0.13)
66
+ rake (~> 13.0)
67
+ rb-readline (~> 0.5)
68
+ reek (~> 6.0)
69
+ rubocop (~> 0.92)
70
+ simplecov (~> 0.19)
71
+ standard (~> 0.7)
100
72
 
101
73
  BUNDLED WITH
102
- 2.0.2
74
+ 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 Sum
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
- option :greeting, optional: true, default: proc { 'Hello' }
49
- option :name, optional: true
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
- "#{[greeting, name].compact.join(', ')}!"
38
+ base.pow(exponent)
53
39
  end
54
40
  end
55
41
 
56
- Greet.call # => "Hello!"
57
- Greet.call(name: 'Probert') # => "Hello, Probert!"
42
+ Power.call(2) # => 4
43
+ Power.call(2, exponent: 10) # => 1024
58
44
  ```
59
45
 
60
- Callable class may be used as a `Proc`:
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
- class Power
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 :value, type: Dry::Types["strict.integer"]
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
- value * value
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
@@ -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 = "callee"
7
- spec.version = Callee::VERSION
8
- spec.authors = ["Alex Musayev"]
9
- spec.email = ["alex.musayev@gmail.com"]
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 = "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"
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,12 @@ 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 "minitest-reporters", "~> 1.3", ">= 1.3.6"
34
- spec.add_development_dependency "pry", "~> 0.12.2"
35
- spec.add_development_dependency "rake", "~> 10.0"
36
- spec.add_development_dependency "rb-readline", "~> 0.5.5"
37
- spec.add_development_dependency "rubocop", "~> 0.72.0"
38
- spec.add_development_dependency "simplecov", "~> 0.17"
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 "reek", "~> 6.0"
35
+ spec.add_development_dependency "rubocop", "~> 0.92"
36
+ spec.add_development_dependency "simplecov", "~> 0.19"
37
+ spec.add_development_dependency "standard", "~> 0.7"
40
38
  end
@@ -8,27 +8,16 @@ module Callee
8
8
  end
9
9
 
10
10
  module ClassMethods
11
- def call(*params, **options)
12
- create_callable(params, options).call
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 NotImplementedError
21
+ raise "Not implemented"
33
22
  end
34
23
  end
@@ -1,3 +1,3 @@
1
1
  module Callee
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.5"
3
3
  end
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.2.1
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Musayev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-07 00:00:00.000000000 Z
11
+ date: 2020-10-04 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
@@ -93,109 +59,103 @@ dependencies:
93
59
  - !ruby/object:Gem::Version
94
60
  version: '5.0'
95
61
  - !ruby/object:Gem::Dependency
96
- name: minitest-reporters
62
+ name: pry
97
63
  requirement: !ruby/object:Gem::Requirement
98
64
  requirements:
99
65
  - - "~>"
100
66
  - !ruby/object:Gem::Version
101
- version: '1.3'
102
- - - ">="
103
- - !ruby/object:Gem::Version
104
- version: 1.3.6
67
+ version: '0.13'
105
68
  type: :development
106
69
  prerelease: false
107
70
  version_requirements: !ruby/object:Gem::Requirement
108
71
  requirements:
109
72
  - - "~>"
110
73
  - !ruby/object:Gem::Version
111
- version: '1.3'
112
- - - ">="
113
- - !ruby/object:Gem::Version
114
- version: 1.3.6
74
+ version: '0.13'
115
75
  - !ruby/object:Gem::Dependency
116
- name: pry
76
+ name: rake
117
77
  requirement: !ruby/object:Gem::Requirement
118
78
  requirements:
119
79
  - - "~>"
120
80
  - !ruby/object:Gem::Version
121
- version: 0.12.2
81
+ version: '13.0'
122
82
  type: :development
123
83
  prerelease: false
124
84
  version_requirements: !ruby/object:Gem::Requirement
125
85
  requirements:
126
86
  - - "~>"
127
87
  - !ruby/object:Gem::Version
128
- version: 0.12.2
88
+ version: '13.0'
129
89
  - !ruby/object:Gem::Dependency
130
- name: rake
90
+ name: rb-readline
131
91
  requirement: !ruby/object:Gem::Requirement
132
92
  requirements:
133
93
  - - "~>"
134
94
  - !ruby/object:Gem::Version
135
- version: '10.0'
95
+ version: '0.5'
136
96
  type: :development
137
97
  prerelease: false
138
98
  version_requirements: !ruby/object:Gem::Requirement
139
99
  requirements:
140
100
  - - "~>"
141
101
  - !ruby/object:Gem::Version
142
- version: '10.0'
102
+ version: '0.5'
143
103
  - !ruby/object:Gem::Dependency
144
- name: rb-readline
104
+ name: reek
145
105
  requirement: !ruby/object:Gem::Requirement
146
106
  requirements:
147
107
  - - "~>"
148
108
  - !ruby/object:Gem::Version
149
- version: 0.5.5
109
+ version: '6.0'
150
110
  type: :development
151
111
  prerelease: false
152
112
  version_requirements: !ruby/object:Gem::Requirement
153
113
  requirements:
154
114
  - - "~>"
155
115
  - !ruby/object:Gem::Version
156
- version: 0.5.5
116
+ version: '6.0'
157
117
  - !ruby/object:Gem::Dependency
158
118
  name: rubocop
159
119
  requirement: !ruby/object:Gem::Requirement
160
120
  requirements:
161
121
  - - "~>"
162
122
  - !ruby/object:Gem::Version
163
- version: 0.72.0
123
+ version: '0.92'
164
124
  type: :development
165
125
  prerelease: false
166
126
  version_requirements: !ruby/object:Gem::Requirement
167
127
  requirements:
168
128
  - - "~>"
169
129
  - !ruby/object:Gem::Version
170
- version: 0.72.0
130
+ version: '0.92'
171
131
  - !ruby/object:Gem::Dependency
172
132
  name: simplecov
173
133
  requirement: !ruby/object:Gem::Requirement
174
134
  requirements:
175
135
  - - "~>"
176
136
  - !ruby/object:Gem::Version
177
- version: '0.17'
137
+ version: '0.19'
178
138
  type: :development
179
139
  prerelease: false
180
140
  version_requirements: !ruby/object:Gem::Requirement
181
141
  requirements:
182
142
  - - "~>"
183
143
  - !ruby/object:Gem::Version
184
- version: '0.17'
144
+ version: '0.19'
185
145
  - !ruby/object:Gem::Dependency
186
146
  name: standard
187
147
  requirement: !ruby/object:Gem::Requirement
188
148
  requirements:
189
149
  - - "~>"
190
150
  - !ruby/object:Gem::Version
191
- version: 0.1.0
151
+ version: '0.7'
192
152
  type: :development
193
153
  prerelease: false
194
154
  version_requirements: !ruby/object:Gem::Requirement
195
155
  requirements:
196
156
  - - "~>"
197
157
  - !ruby/object:Gem::Version
198
- version: 0.1.0
158
+ version: '0.7'
199
159
  description: Callee provides a standardized way to define callable classes with a
200
160
  strict params specification, based on dry-initializer
201
161
  email:
@@ -204,8 +164,13 @@ executables: []
204
164
  extensions: []
205
165
  extra_rdoc_files: []
206
166
  files:
167
+ - ".github/workflows/gpr.yml"
168
+ - ".github/workflows/rubygems.yml"
169
+ - ".github/workflows/test.yml"
207
170
  - ".gitignore"
171
+ - ".reek.yml"
208
172
  - ".rubocop.yml"
173
+ - ".ruby-version"
209
174
  - ".travis.yml"
210
175
  - CHANGELOG.md
211
176
  - Gemfile
@@ -240,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
240
205
  - !ruby/object:Gem::Version
241
206
  version: '0'
242
207
  requirements: []
243
- rubygems_version: 3.0.3
208
+ rubygems_version: 3.1.2
244
209
  signing_key:
245
210
  specification_version: 4
246
211
  summary: Make callable service classes