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: 0593f7fd0b293d26f491e705e8dfa6e2fd8a12ac
4
- data.tar.gz: 484d1e2bf34ec39367e7c1d6ce1914811c04f0d8
3
+ metadata.gz: 238e631ea678dcd53c4c3224b58f29a1f8ef99d9
4
+ data.tar.gz: d37b3a4fe61070293c0a7d13073a36e86ca8012f
5
5
  SHA512:
6
- metadata.gz: 2f3a8aaac3846c71d60a800fb7f4715cb747fedbe3c690f140f60cedcf041a2853709da1b54cd0bc656141c773f2731a038b6384f460e597afbc7a5b0a17b6e6
7
- data.tar.gz: 6fc987e4544fec7c8bdf76e2e09a95ea3fab9cb23bce272000eb7a816b25e174abad96bf15a14800e668b9a7c30295e1285dcb8dc75a52201a2cb9bebd5297c3
6
+ metadata.gz: 0bc09886f488a36844e694d77f0bcb33edc560047ef5f1012d835186cb0562bcf5a4ae0399a314570c93a7c5f46d057d1b5cac1dc6962f644d592108c4d3efe5
7
+ data.tar.gz: 23b3ab6960a5c63a8594c587489e1ebf36a915ec7405ea69a538709ef68c6831884313f4feed3c426bfea24a42ae47958d350c5706c7f7dc052bb91e0ee2cd3e
@@ -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
@@ -1,3 +1,5 @@
1
+ require_relative 'configuration'
2
+
1
3
  module SimpleCommand
2
4
  module Dispatcher
3
5
  class << self
@@ -1,5 +1,5 @@
1
1
  module SimpleCommand
2
2
  module Dispatcher
3
- VERSION = "1.2.2"
3
+ VERSION = "1.2.3"
4
4
  end
5
5
  end
@@ -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 SimpleCommands (service objects) in a more dynamic manner within your service API. Ideal for rails-api.}
13
- spec.description = %q{Within a services API (rails-api for instance), you may have a need to execute different SimpleCommands
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 make one call to execute both command dynamically.}.gsub(/\s+/,' ')
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.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 SimpleCommands based on one or more factors: multiple application,
133
- API version, user type, user credentials, etc. For example, your service API may
134
- need to execute either Api::Auth::V1::AuthenticateCommand.call(...) or Api::Auth::V2::AuthenticateCommand.call(...)
135
- based on the API version. simple_command_dispatcher allows you to make one call
136
- to execute both command dynamically.'
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 SimpleCommands (service
187
- objects) in a more dynamic manner within your service API. Ideal for rails-api.
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: []