lite-command 1.0.0 → 1.0.1

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: 38f75eba374b926e0f6790498d28c629025a6cab44b55ddc4b7f41722ece302c
4
- data.tar.gz: 4f08967482e946167097e2d17cb0a5b24eed984d9767b7b953aa95c6e021762d
3
+ metadata.gz: 9a41145978bc93e2ef52624c2ec0b2f0441d2876067eb18aa49dafad5465e641
4
+ data.tar.gz: e10bbff015df2f331a9a0b444e068da9eaca25524ce8b317a3c5e26ed92b9f4b
5
5
  SHA512:
6
- metadata.gz: 2330875e2a39f223bf3995c1a9156e118c9e27a25defa84e658cfd5f1c8285b16d7da1051dc14735a1c2670d5a8503c7d65d7491db145db226eefc5f8c2ed951
7
- data.tar.gz: bcf66be534fc5847bc1e30f6fcac4609ed442a44e687263fb91bf684b1affbaf4e360dc34b653cf97f5deb8f0bc5a322e9fa973bcb9a880f354ed6fe7c30f2de
6
+ metadata.gz: 62fb9a9ad81c12146615574a310dd8c58c448c29594d4c3f09143462aae7d871eae3aa2e2215608e964e0c3abdee9355a51701e07d40e0e6b43634538baeaab1
7
+ data.tar.gz: bd616b739879d5a8edb53a3411e4f8822a1363ab12fdf0591edf6bce7c91e0ebcb3d34033e6bbac034ad31a73e80eef849ee7c1990d55c859aeae9a5dfabd176
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0.1] - 2019-08-07
10
+ ### Changed
11
+ - Pass args to command in call for Simple based commands
12
+
9
13
  ## [1.0.0] - 2019-08-07
10
14
  ### Added
11
15
  - Initial project version
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-command (1.0.0)
4
+ lite-command (1.0.1)
5
5
  lite-errors
6
6
  lite-memoize
7
7
 
data/README.md CHANGED
@@ -40,7 +40,7 @@ class SearchMovies < Lite::Command::Simple
40
40
  private
41
41
 
42
42
  # NOTE: This class method is required
43
- def command
43
+ def command(*args)
44
44
  { generate_fingerprint => movies_by_name }
45
45
  end
46
46
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "lite/command/version"
3
+ require 'lite/command/version'
4
4
 
5
5
  %w[errors memoize].each do |name|
6
6
  require "lite/command/extensions/#{name}"
@@ -9,7 +9,7 @@ module Lite
9
9
  def call(*args)
10
10
  raise Lite::Command::NotImplementedError unless defined?(command)
11
11
 
12
- command
12
+ command(*args)
13
13
  end
14
14
 
15
15
  end
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Command
5
5
 
6
- VERSION ||= '1.0.0'
6
+ VERSION ||= '1.0.1'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez