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 +5 -5
- data/.travis.yml +2 -5
- data/CHANGELOG.md +8 -0
- data/README.md +1 -0
- data/lib/hanami/cli/parser.rb +1 -2
- data/lib/hanami/cli/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f2637f9e319848200c09ef2c4722edf57a1c98c6bafed69d8ec2a9e1102cbd79
|
4
|
+
data.tar.gz: c68a7b04d298ee216ad0ea019ede253ab4bc16726f8e72b9efcde209edef68bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
data/lib/hanami/cli/parser.rb
CHANGED
@@ -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
|
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)
|
data/lib/hanami/cli/version.rb
CHANGED
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.
|
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:
|
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.
|
134
|
+
rubygems_version: 2.7.5
|
135
135
|
signing_key:
|
136
136
|
specification_version: 4
|
137
137
|
summary: Hanami CLI
|