hanami-cli 0.1.0 → 0.1.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
- SHA1:
3
- metadata.gz: e42db02faaa56699044a2af453c1f1e5e68a3266
4
- data.tar.gz: 84893d76e2faca797b2b051a621782a1adb58ea3
2
+ SHA256:
3
+ metadata.gz: f2637f9e319848200c09ef2c4722edf57a1c98c6bafed69d8ec2a9e1102cbd79
4
+ data.tar.gz: c68a7b04d298ee216ad0ea019ede253ab4bc16726f8e72b9efcde209edef68bc
5
5
  SHA512:
6
- metadata.gz: 19b3984995eb85a1898bb94c05ac85d9eacbec981c68b0f1c052db5b4f81b15ba00eed9b87e5d719317378960d59bc9b7cc48816854d91998f1a8d9ecaba70b9
7
- data.tar.gz: 7d8a2b55bfce8a2e34a8b2b01ffa518f1711f0a4bc40556285ab660d2e59163d09c83e6b9bf42c1f8fcb72721ec3f31471e9317ba95afdfd32c15d6770ed12d0
6
+ metadata.gz: 0c8efe76cf2730a6a7275c635a338d7f44b1df691cd7930372caefc5693a4925676ef0a1f05057d00e9a8e1c1c89b721d55cc377dcd2bb1af3fe666dbc57c99c
7
+ data.tar.gz: 12b1afc361a418e06670da8c40e4ce2e6eb38bc68c32d584a7a80c5b85ef5a67f696fa2ae42fcb53734a4124664a9138ac4fd72a13c314c22df4a999d578673f
data/.travis.yml CHANGED
@@ -1,14 +1,11 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  cache: bundler
4
- before_install:
5
- - gem update --system
6
- - rvm @global do gem uninstall bundler -a -x
7
- - rvm @global do gem install bundler -v 1.14.6
8
4
  script: ./script/ci
9
5
  rvm:
10
- - 2.3.4
6
+ - 2.3.6
11
7
  - 2.4.2
8
+ - 2.5.0
12
9
  - ruby-head
13
10
  - jruby-9.1.13.0
14
11
  - jruby-head
data/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Hanami::CLI
2
2
  General purpose Command Line Interface (CLI) framework for Ruby
3
3
 
4
+ ## v0.1.1 - 2018-02-27
5
+ ### Added
6
+ - [Luca Guidi] Official support for Ruby: MRI 2.5
7
+
8
+ ### Fixed
9
+ - [Alfonso Uceda] Ensure default values for arguments to be sent to commands
10
+ - [Alfonso Uceda] Ensure to fail when a missing required argument isn't provider, but an option is provided instead
11
+
4
12
  ## v0.1.0 - 2017-10-25
5
13
 
6
14
  ## v0.1.0.rc1 - 2017-10-16
data/README.md CHANGED
@@ -464,6 +464,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/hanami
464
464
  ## Alternatives
465
465
 
466
466
  * [thor](http://whatisthor.com/)
467
+ * [clamp](https://github.com/mdub/clamp)
467
468
 
468
469
  ## Copyright
469
470
 
@@ -11,7 +11,6 @@ module Hanami
11
11
  # @since 0.1.0
12
12
  # @api private
13
13
  #
14
- # rubocop:disable Metrics/AbcSize
15
14
  # rubocop:disable Metrics/MethodLength
16
15
  def self.call(command, arguments, names)
17
16
  parsed_options = {}
@@ -26,7 +25,7 @@ module Hanami
26
25
  opts.on_tail("-h", "--help") do
27
26
  return Result.help
28
27
  end
29
- end.parse!(arguments.dup)
28
+ end.parse!(arguments)
30
29
 
31
30
  parsed_options = command.default_params.merge(parsed_options)
32
31
  parse_required_params(command, arguments, names, parsed_options)
@@ -1,6 +1,6 @@
1
1
  module Hanami
2
2
  class CLI
3
3
  # @since 0.1.0
4
- VERSION = "0.1.0".freeze
4
+ VERSION = "0.1.1".freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-25 00:00:00.000000000 Z
11
+ date: 2018-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hanami-utils
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.6.13
134
+ rubygems_version: 2.7.5
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Hanami CLI