creed 0.4.1 → 0.4.2

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: 4e615154c461819b92044079371bf11bd3f82143cb4d40a569b8b66f5948cd0b
4
- data.tar.gz: c6b847accc726b7fbe3cb42c46a05137a2e22c09f445bbb7ea6e5f400615da13
3
+ metadata.gz: 775ab09abd887ecb445430e67b88c84cb466bcb7f3c427c3b21b24700661d67a
4
+ data.tar.gz: 2bb759c10b91d54a85ba38682ca3d036d334abd91d31d2ab6b6230d7d0bdec15
5
5
  SHA512:
6
- metadata.gz: f91293758f4eaf503d97845c786d24e40a22654191714c2446cdcdd61db1c1f5a273fed22ae06b79a1d3cd7f5e47279cad9a41cc6cbc3bba0bdfbbbee6124380
7
- data.tar.gz: 721be63d4ba2b66e72b775b1c867bcf2a785f6c489344d32034a0d5b04ff10dbcc0f37a2c7f3316a706a13594463316437793b089bd790ef26680c05258111a7
6
+ metadata.gz: f7f58b2fa021cd1b674bc0b5cff7aaf39ee1d61f6e04f2baef31348d55def3b9b5dbc6e508a6bf5f9fa9963fd5a8d485191c4b1ea14a4abd418a23709a8e69ad
7
+ data.tar.gz: 3775609dfb85c9d6f617344fc98f6e15dfb45463175c3228c999fe9cf7f7cc1c9645358ecff1c69b3719f731ad9023d5cbb95ac26965e5feacc32259d0f3e1dd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- creed (0.4.0)
4
+ creed (0.4.1)
5
5
  actionpack (>= 6.0)
6
6
  dry-initializer
7
7
  dry-initializer-rails
@@ -76,20 +76,20 @@ GEM
76
76
  builder (3.2.4)
77
77
  concurrent-ruby (1.1.8)
78
78
  crass (1.0.6)
79
- dry-configurable (0.12.1)
79
+ dry-configurable (0.13.0)
80
80
  concurrent-ruby (~> 1.0)
81
- dry-core (~> 0.5, >= 0.5.0)
82
- dry-container (0.7.2)
81
+ dry-core (~> 0.6)
82
+ dry-container (0.9.0)
83
83
  concurrent-ruby (~> 1.0)
84
- dry-configurable (~> 0.1, >= 0.1.3)
85
- dry-core (0.5.0)
84
+ dry-configurable (~> 0.13, >= 0.13.0)
85
+ dry-core (0.7.1)
86
86
  concurrent-ruby (~> 1.0)
87
- dry-inflector (0.2.0)
87
+ dry-inflector (0.2.1)
88
88
  dry-initializer (3.0.4)
89
89
  dry-initializer-rails (3.1.1)
90
90
  dry-initializer (>= 2.4, < 4)
91
91
  rails (> 3.0)
92
- dry-logic (1.1.1)
92
+ dry-logic (1.2.0)
93
93
  concurrent-ruby (~> 1.0)
94
94
  dry-core (~> 0.5, >= 0.5)
95
95
  dry-types (1.5.1)
@@ -99,19 +99,19 @@ GEM
99
99
  dry-inflector (~> 0.1, >= 0.1.2)
100
100
  dry-logic (~> 1.0, >= 1.0.2)
101
101
  erubi (1.10.0)
102
- globalid (0.4.2)
103
- activesupport (>= 4.2.0)
102
+ globalid (0.5.2)
103
+ activesupport (>= 5.0)
104
104
  i18n (1.8.10)
105
105
  concurrent-ruby (~> 1.0)
106
- loofah (2.9.1)
106
+ loofah (2.12.0)
107
107
  crass (~> 1.0.2)
108
108
  nokogiri (>= 1.5.9)
109
109
  mail (2.7.1)
110
110
  mini_mime (>= 0.1.1)
111
- marcel (1.0.1)
111
+ marcel (1.0.2)
112
112
  method_source (1.0.0)
113
113
  mini_mime (1.0.3)
114
- mini_portile2 (2.5.0)
114
+ mini_portile2 (2.6.1)
115
115
  minitest (5.14.4)
116
116
  minitest-focus (1.2.1)
117
117
  minitest (>= 4, < 6)
@@ -121,9 +121,9 @@ GEM
121
121
  minitest (>= 5.0)
122
122
  ruby-progressbar
123
123
  mocha (1.12.0)
124
- nio4r (2.5.7)
125
- nokogiri (1.11.3)
126
- mini_portile2 (~> 2.5.0)
124
+ nio4r (2.5.8)
125
+ nokogiri (1.12.5)
126
+ mini_portile2 (~> 2.6.1)
127
127
  racc (~> 1.4)
128
128
  parallel (1.20.1)
129
129
  parser (3.0.1.0)
@@ -150,7 +150,7 @@ GEM
150
150
  rails-dom-testing (2.0.3)
151
151
  activesupport (>= 4.2.0)
152
152
  nokogiri (>= 1.6)
153
- rails-html-sanitizer (1.3.0)
153
+ rails-html-sanitizer (1.4.2)
154
154
  loofah (~> 2.3)
155
155
  railties (6.1.3.1)
156
156
  actionpack (= 6.1.3.1)
@@ -191,7 +191,7 @@ GEM
191
191
  tzinfo (2.0.4)
192
192
  concurrent-ruby (~> 1.0)
193
193
  unicode-display_width (2.0.0)
194
- websocket-driver (0.7.3)
194
+ websocket-driver (0.7.5)
195
195
  websocket-extensions (>= 0.1.0)
196
196
  websocket-extensions (0.1.5)
197
197
  zeitwerk (2.4.2)
@@ -211,4 +211,4 @@ DEPENDENCIES
211
211
  rubocop-performance
212
212
 
213
213
  BUNDLED WITH
214
- 2.2.15
214
+ 2.2.25
data/lib/creed/command.rb CHANGED
@@ -17,11 +17,9 @@ class Creed::Command
17
17
  # Raise on unknown options.
18
18
  unknown_keys = options.keys - dry_initializer.options.map(&:source)
19
19
  raise ArgumentError, "unknown keys: `#{unknown_keys.join '`, `'}`" if unknown_keys.any?
20
-
21
- context << options
22
20
  end
23
21
 
24
- new(*context).perform(&block)
22
+ (options.empty? ? new(*context) : new(*context, **options)).perform(&block)
25
23
  end
26
24
 
27
25
  def perform
data/lib/creed/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Creed
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: creed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joel Moss
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-14 00:00:00.000000000 Z
11
+ date: 2021-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 3.2.3
144
+ rubygems_version: 3.2.32
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Command pattern for Rails