simple_command_dispatcher 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 238e631ea678dcd53c4c3224b58f29a1f8ef99d9
|
4
|
+
data.tar.gz: d37b3a4fe61070293c0a7d13073a36e86ca8012f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bc09886f488a36844e694d77f0bcb33edc560047ef5f1012d835186cb0562bcf5a4ae0399a314570c93a7c5f46d057d1b5cac1dc6962f644d592108c4d3efe5
|
7
|
+
data.tar.gz: 23b3ab6960a5c63a8594c587489e1ebf36a915ec7405ea69a538709ef68c6831884313f4feed3c426bfea24a42ae47958d350c5706c7f7dc052bb91e0ee2cd3e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
### Version 1.2.3
|
2
|
+
* Refactor 'requires' in configure.rb and simple_command_dispatcher.rb
|
3
|
+
* Update gemspec summary and description
|
4
|
+
### Version 1.2.2
|
5
|
+
* Bug fix
|
6
|
+
* Fixed NoMethodError on 'configure' metnod when trying to include configuration block in /config/initializers/simple_command_dispatcher.rb
|
1
7
|
### Version 1.2.1
|
2
8
|
* Configuration class
|
3
9
|
* Added the new Configuration class that exposes the #allow_custom_classes property which takes a Boolean allowing/disallowing the use of custom commands to be used. See the documentation for details and usage.
|
@@ -2,8 +2,6 @@ require "simple_command_dispatcher/version"
|
|
2
2
|
require "simple_command_dispatcher/klass_transform"
|
3
3
|
require "simple_command"
|
4
4
|
require "active_support/core_ext/string/inflections"
|
5
|
-
|
6
|
-
require 'simple_command_dispatcher/configuration'
|
7
5
|
require 'simple_command_dispatcher/configure'
|
8
6
|
|
9
7
|
module Kernel
|
@@ -9,11 +9,12 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Gene M. Angelo, Jr."]
|
10
10
|
spec.email = ["public.gma@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{Provides a way to dispatch simple_command ruby gem
|
13
|
-
|
12
|
+
spec.summary = %q{Provides a way to dispatch simple_command (ruby gem) commands or your own custom commands (service objects) in a more dynamic manner
|
13
|
+
within your service API. Ideal for rails-api.}
|
14
|
+
spec.description = %q{Within a services API (rails-api for instance), you may have a need to execute different simple_commands or your own custom commands (service objects)
|
14
15
|
based on one or more factors: multiple application, API version, user type, user credentials, etc. For example,
|
15
16
|
your service API may need to execute either Api::Auth::V1::AuthenticateCommand.call(...) or Api::Auth::V2::AuthenticateCommand.call(...)
|
16
|
-
based on the API version. simple_command_dispatcher allows you to
|
17
|
+
based on the API version. simple_command_dispatcher allows you to execute either command with one line of code dynamically.}.gsub(/\s+/,' ')
|
17
18
|
spec.homepage = "https://github.com/gangelo/simple_command_dispatcher"
|
18
19
|
spec.license = "MIT"
|
19
20
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_command_dispatcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gene M. Angelo, Jr.
|
@@ -129,11 +129,11 @@ dependencies:
|
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: 0.0.9
|
131
131
|
description: 'Within a services API (rails-api for instance), you may have a need
|
132
|
-
to execute different
|
133
|
-
|
134
|
-
need to execute either Api::Auth::V1::AuthenticateCommand.call(...)
|
135
|
-
based on the API version. simple_command_dispatcher
|
136
|
-
to execute
|
132
|
+
to execute different simple_commands or your own custom commands (service objects)
|
133
|
+
based on one or more factors: multiple application, API version, user type, user
|
134
|
+
credentials, etc. For example, your service API may need to execute either Api::Auth::V1::AuthenticateCommand.call(...)
|
135
|
+
or Api::Auth::V2::AuthenticateCommand.call(...) based on the API version. simple_command_dispatcher
|
136
|
+
allows you to execute either command with one line of code dynamically.'
|
137
137
|
email:
|
138
138
|
- public.gma@gmail.com
|
139
139
|
executables: []
|
@@ -183,6 +183,7 @@ rubyforge_project:
|
|
183
183
|
rubygems_version: 2.6.7
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
|
-
summary: Provides a way to dispatch simple_command ruby gem
|
187
|
-
objects) in a more dynamic manner
|
186
|
+
summary: Provides a way to dispatch simple_command (ruby gem) commands or your own
|
187
|
+
custom commands (service objects) in a more dynamic manner within your service
|
188
|
+
API. Ideal for rails-api.
|
188
189
|
test_files: []
|