hanami-cli 0.3.0.beta1 → 0.3.0

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: 3e22967d2b79f1c565c5cc1be2b0709047c64dbd6b782d638f44c4d8f7c14b65
4
- data.tar.gz: 0dad224cf8f6ffbb79ce75d2a7fe027fd417122b2d1624a40a3fa2f488c5de9a
3
+ metadata.gz: b244d17e28ad433a622f6adb43fdcf10c1ca6dc32219d2b3120365b216bc220b
4
+ data.tar.gz: 62a336bfc570769535c2553b3632ca5a3ff1f689856ca31db3d0444203f61a71
5
5
  SHA512:
6
- metadata.gz: 36e121113579eaf44a73ad62f3b129d852b6f8d4dfcd27e1470f0c14a3c3c8e1e8c257bc8168de631ea4944d5b593810ddf27bf2e87934cbe89e301f7422801d
7
- data.tar.gz: 3bb1ed5b1efaf1b977a602d1ee5958652b0f65cb5d2f6138e528c2d8d5fcd18dbf89f8c85daca5bb39f7a67102bd4ff2ae470893e870be67ae1e19d59964c951
6
+ metadata.gz: a8560ceb9c9a1df4857c7c76ada68211b5216de1c251ec5d9cab733732273b49d8b6a778c8652c1fb47dc42e9fcdf44fd27bbecef8d99c50bd0dc7c21b353a43
7
+ data.tar.gz: 611b2034d99915bcbf8a2d9c5bb6b394aeb68abdc3186bf3e1a7ed9c9746e5330ab3df8b0bf218d6ca882fe64633877236b49787362dcba7aea722c17db17847
@@ -1,6 +1,8 @@
1
1
  # Hanami::CLI
2
2
  General purpose Command Line Interface (CLI) framework for Ruby
3
3
 
4
+ ## v0.3.0 - 2018-10-24
5
+
4
6
  ## v0.3.0.beta1 - 2018-08-08
5
7
  ### Added
6
8
  - [Anton Davydov & Alfonso Uceda] Introduce array type for arguments (`foo exec test spec/bookshelf/entities spec/bookshelf/repositories`)
data/Gemfile CHANGED
@@ -6,6 +6,6 @@ unless ENV['CI']
6
6
  gem 'yard', require: false
7
7
  end
8
8
 
9
- gem 'hanami-utils', '~> 1.3.beta', require: false, git: 'https://github.com/hanami/utils.git', branch: 'develop'
9
+ gem 'hanami-utils', '~> 1.3', require: false, git: 'https://github.com/hanami/utils.git', branch: 'master'
10
10
 
11
11
  gem 'hanami-devtools', require: false, git: 'https://github.com/hanami/devtools.git'
data/README.md CHANGED
@@ -17,21 +17,21 @@ General purpose Command Line Interface (CLI) framework for Ruby.
17
17
 
18
18
  * Home page: http://hanamirb.org
19
19
  * Mailing List: http://hanamirb.org/mailing-list
20
- * API Doc: http://rdoc.info/gems/hanami-utils
21
- * Bugs/Issues: https://github.com/hanami/utils/issues
20
+ * API Doc: http://rdoc.info/gems/hanami-cli
21
+ * Bugs/Issues: https://github.com/hanami/cli/issues
22
22
  * Support: http://stackoverflow.com/questions/tagged/hanami
23
23
  * Chat: http://chat.hanamirb.org
24
24
 
25
25
  ## Rubies
26
26
 
27
- __Hanami::Utils__ supports Ruby (MRI) 2.3+, JRuby 9.1.5.0+
27
+ __Hanami::CLI__ supports Ruby (MRI) 2.3+, JRuby 9.1.5.0+
28
28
 
29
29
  ## Installation
30
30
 
31
31
  Add this line to your application's Gemfile:
32
32
 
33
33
  ```ruby
34
- gem 'hanami-utils'
34
+ gem 'hanami-cli'
35
35
  ```
36
36
 
37
37
  And then execute:
@@ -40,7 +40,7 @@ And then execute:
40
40
 
41
41
  Or install it yourself as:
42
42
 
43
- $ gem install hanami-utils
43
+ $ gem install hanami-cli
44
44
 
45
45
  <!-- Tocer[start]: Auto-generated, don't remove. -->
46
46
 
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  f.match(%r{^(test|spec|features)/})
25
25
  end
26
26
 
27
- spec.add_dependency "hanami-utils", "~> 1.3.beta"
27
+ spec.add_dependency "hanami-utils", "~> 1.3"
28
28
  spec.add_dependency "concurrent-ruby", "~> 1.0"
29
29
 
30
30
  spec.add_development_dependency "bundler"
@@ -59,6 +59,7 @@ module Hanami
59
59
  # @api private
60
60
  def self.command_arguments(command)
61
61
  return if command.arguments.empty?
62
+
62
63
  "\nArguments:\n#{extended_command_arguments(command)}"
63
64
  end
64
65
 
@@ -69,6 +69,7 @@ module Hanami
69
69
  # @api private
70
70
  def self.justify(string, padding, usage)
71
71
  return string.chomp(" ") if usage.nil?
72
+
72
73
  string.ljust(padding + padding / 2)
73
74
  end
74
75
 
@@ -1,6 +1,6 @@
1
1
  module Hanami
2
2
  class CLI
3
3
  # @since 0.1.0
4
- VERSION = "0.3.0.beta1".freeze
4
+ VERSION = "0.3.0".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.3.0.beta1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-08 00:00:00.000000000 Z
11
+ date: 2018-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hanami-utils
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.3.beta
19
+ version: '1.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.3.beta
26
+ version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: concurrent-ruby
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,9 +128,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
128
128
  version: '0'
129
129
  required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - ">"
131
+ - - ">="
132
132
  - !ruby/object:Gem::Version
133
- version: 1.3.1
133
+ version: '0'
134
134
  requirements: []
135
135
  rubyforge_project:
136
136
  rubygems_version: 2.7.7