logicum 1.0.0 → 1.1.0

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: 98f50316e65e143565d4860ded87ea42f6c15710e9366ad3d461de939090ba9c
4
- data.tar.gz: ec3ac7c1b95508eabeb1b65a6f893b2b952add91d306ba96701810f90ddeb102
3
+ metadata.gz: 52a7e80a92f27c371d5f85c6b981ed012e2f77dae0254633e6acfcf533957e83
4
+ data.tar.gz: ab91326d86c589ae77aba91284e82d306b4fe98e566e2a09ae1ee669994588bf
5
5
  SHA512:
6
- metadata.gz: e193993fec01cbf098e429750d2fe0a102c7742a547cb674520986e34abc5c686781d009dbd832ef105b745cbc2e03db614fe3e829595f306b09373c73af6a93
7
- data.tar.gz: ad952edbb3aa6cd4f17ea7f5e8057890e7e22299b53b32866700be6c3f5c793c6ab9c31418511ad4009e9db4cae0ed0d864384616d5dc0702914bb51a58072b3
6
+ metadata.gz: 8bbf7253eaec7fdde9d1e6a5d45ecfcc0e62e5e8bc82f60b49d92d46828d94d86a1bd1784ed0f38205952cdfa114bcaf0eaf79124bd6f38b1ecfd9395d1c33c6
7
+ data.tar.gz: d665fcea85a146e06e07f0ae59c1e2d62c094c3b26d6f9c23fa0699f77a17484f9759b1ad9e3bbe27eeaec72ef67f328c9dfecfbbea3e77cc0f954ef22fa17f2
@@ -1,7 +1,5 @@
1
1
  # https://github.com/hanami/utils/blob/master/lib/hanami/utils/class_attribute.rb
2
2
 
3
- require 'set'
4
-
5
3
  module Logicum
6
4
  module ClassAttribute
7
5
 
@@ -24,7 +24,7 @@ module Logicum
24
24
  provisions.concat instance_variable_names
25
25
  end
26
26
 
27
- # Shortcut for caller if nothing needed in intializer.
27
+ # Shortcut for caller if nothing needed in initializer.
28
28
  # For example:
29
29
  #
30
30
  # AddUser.call foo: 'bar'
@@ -32,14 +32,14 @@ module Logicum
32
32
  # is equivalent to:
33
33
  #
34
34
  # AddUser.new.call foo: 'bar'
35
- def call(*args, &block)
36
- new.call *args, &block
35
+ def call(*args, **kwargs, &block)
36
+ new.call *args, **kwargs, &block
37
37
  end
38
38
  end
39
39
 
40
40
 
41
41
  module CallInterface
42
- def call(*)
42
+ def call(*, **)
43
43
  raise MissingCallError unless defined? super
44
44
 
45
45
  @__result__ = Result.new
@@ -1,3 +1,3 @@
1
1
  module Logicum
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
data/logicum.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  end
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_development_dependency "bundler", "~> 1.17"
24
- spec.add_development_dependency "rake", "~> 10.0"
25
- spec.add_development_dependency "minitest", "~> 5.0"
23
+ spec.add_development_dependency "bundler"
24
+ spec.add_development_dependency "rake"
25
+ spec.add_development_dependency "minitest", ">= 5.0"
26
26
  end
metadata CHANGED
@@ -1,58 +1,58 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logicum
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Stewart
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-26 00:00:00.000000000 Z
11
+ date: 2021-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.17'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.17'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '5.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
- description:
55
+ description:
56
56
  email:
57
57
  - boss@airbladesoftware.com
58
58
  executables: []
@@ -77,7 +77,7 @@ homepage: https://github.com/airblade/logicum
77
77
  licenses:
78
78
  - MIT
79
79
  metadata: {}
80
- post_install_message:
80
+ post_install_message:
81
81
  rdoc_options: []
82
82
  require_paths:
83
83
  - lib
@@ -92,9 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubyforge_project:
96
- rubygems_version: 2.7.3
97
- signing_key:
95
+ rubygems_version: 3.1.4
96
+ signing_key:
98
97
  specification_version: 4
99
98
  summary: Simplifies writing a unit of business logic.
100
99
  test_files: []