chieftain 0.1.5 → 0.1.6

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: '074395540ebc204adcd075304d3d5b0cbbc77a961f8c8b9db3187bd44b215b9c'
4
- data.tar.gz: 0e8e237323c6d5d78673598a7ec6cf32ee57167b4d7d01512cadef85a4691bce
3
+ metadata.gz: 21a636694ba1cd1ee95f811ff908df685edf5567cba179932af52f12a1121c45
4
+ data.tar.gz: e50110c5a8715bc469d52054134696f0152c58428caffc73cbf5322536aa7463
5
5
  SHA512:
6
- metadata.gz: 3281130f57efb0b2749f457f3868b10cc32f1e3d4b523d1a5d62d9a064a68d66812b5db1662b2a90230c5b9c4a8a81f31a22a508de73a5e011386567ef0fc9ae
7
- data.tar.gz: e2780f525037e94273e25ac26753b7f6ad22d4008f3e5e4bbf68c5fb07ae50ea4b01bd077213ad13e271672d7ec80eb67e1604e6c0b3125deb20e6c6084937b9
6
+ metadata.gz: 7d67dfd7146e89f6e4614db80d395b26ae6925689b3b86bb7c44de7df39169de7dae3a4cbcc3c59629f03cb60afd44ff9ddb30906c750705b0ca8c408c27258e
7
+ data.tar.gz: b7003a87e4e4b78eac201bf1cf00e1c951f25e3cfa12ec0369196f733c862ed9a62a4304b558381828dcc6c4ea9da07cea1a64abfa009d9310d541db0a949113
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chieftain (0.1.4)
4
+ chieftain (0.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -50,7 +50,7 @@ module Chieftain
50
50
  def initialize(parameters={})
51
51
  @convertors = Command.convertors_for(self.class)
52
52
  @errors = []
53
- @parameters = {}.merge(parameters)
53
+ @parameters = {}.merge(parameters).inject({}) {|t,v| t[v[0].to_s.to_sym] = v[1]; t}
54
54
  @settings = Command.parameters(self.class)
55
55
  @validators = Command.validators_for(self.class)
56
56
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Chieftain
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chieftain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Wood
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-21 00:00:00.000000000 Z
11
+ date: 2023-09-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An implementation of the command design pattern that attempts to simplify
14
14
  usage by enchancing the offering making use of the facilities offered by the Ruby