hanami-cli 2.0.0.alpha4 → 2.0.0.alpha6

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: de637259c61267b5589f64a633fb38ba6e7eb5a8f5dcc0bd689a3942a57b6dba
4
- data.tar.gz: 87be564477f075f9a357edcad9a39e69a74bc6971de10bd353f22f75f0964b01
3
+ metadata.gz: f3361be433795e150f29ab26ac279c54a636c87612b6947b3185976aed0e0501
4
+ data.tar.gz: a8efd20d5f683498d53a80a9b963cfa4ab05033a9eb22244a302bc4589695954
5
5
  SHA512:
6
- metadata.gz: 23aa8295f0f6148ce79041296e4ea6a51a42378672ac95fadd0cbcd8b43f9e3325ff4fb7d263993331d620ae64daf099c3520a3b62ba253ebba5d9b6490cbebe
7
- data.tar.gz: a5d92abd72e92442fb5c9e6a3471160906172dbd3013dd2248259deb233f1ceccb17faf9a320bec0b27a7fe9c44d2ab3d820af6b4152618e9f7b662e57e06832
6
+ metadata.gz: 045e08a4d5c6a13eca9004ad79666bf7e37b1427e9623943a2dfa78504322963f4169046d4c03776ea8b887965e0e8518f488017a426706dc3b5dd9b4a6e9e3b
7
+ data.tar.gz: 6dd902d2509013a6cab5658c0f418c93b7a1500006be00d4713727c708916025076c9027de8b4463fa7749233c46869dfca2321bf49173b0299a5537822b4504
@@ -12,7 +12,9 @@ name: ci
12
12
  - ".rubocop.yml"
13
13
  pull_request:
14
14
  branches:
15
- - master
15
+ - main
16
+ schedule:
17
+ - cron: "30 4 * * *"
16
18
  create:
17
19
 
18
20
  jobs:
@@ -22,10 +24,16 @@ jobs:
22
24
  fail-fast: false
23
25
  matrix:
24
26
  ruby:
27
+ - "3.1"
25
28
  - "3.0"
26
- - "2.7"
27
- - "2.6"
28
29
  steps:
30
+ - uses: ravsamhq/notify-slack-action@v1
31
+ if: always()
32
+ with:
33
+ status: ${{ job.status }}
34
+ notify_when: "failure"
35
+ env:
36
+ SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
29
37
  - uses: actions/checkout@v1
30
38
  - name: Install package dependencies
31
39
  run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Hanami::CLI
2
2
  Hanami Command Line Interface
3
3
 
4
+ ## v2.0.0.alpha6 - 2022-02-10
5
+ ### Added
6
+ - [Luca Guidi] Official support for Ruby: MRI 3.1
7
+
8
+ ### Changed
9
+ - [Luca Guidi] Drop support for Ruby: MRI 2.6, and 2.7
10
+
4
11
  ## v2.0.0.alpha4 - 2021-12-07
5
12
  ### Added
6
13
  - [Tim Riley] Display a custom prompt when using irb-based console (consistent with pry-based console)
data/README.md CHANGED
@@ -36,8 +36,8 @@ The gem is available as open source under the terms of the [MIT License](https:/
36
36
 
37
37
  ## Code of Conduct
38
38
 
39
- Everyone interacting in the Hanami::Cli project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/hanami/cli/blob/main/CODE_OF_CONDUCT.md).
39
+ Everyone interacting in the `Hanami::CLI` project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/hanami/cli/blob/main/CODE_OF_CONDUCT.md).
40
40
 
41
41
  ## Copyright
42
42
 
43
- Copyright © 2014-2021 Luca Guidi – Released under MIT License
43
+ Copyright © 2014-2022 Hanami Team – Released under MIT License
data/hanami-cli.gemspec CHANGED
@@ -12,7 +12,6 @@ Gem::Specification.new do |spec|
12
12
  spec.description = "Hanami command line"
13
13
  spec.homepage = "https://hanamirb.org"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
16
15
 
17
16
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
18
17
 
@@ -28,6 +27,8 @@ Gem::Specification.new do |spec|
28
27
  spec.bindir = "exe"
29
28
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
29
  spec.require_paths = ["lib"]
30
+ spec.metadata["rubygems_mfa_required"] = "true"
31
+ spec.required_ruby_version = ">= 3.0"
31
32
 
32
33
  spec.add_dependency "bundler", "~> 2.1"
33
34
  spec.add_dependency "rake", "~> 13.0"
@@ -36,8 +37,5 @@ Gem::Specification.new do |spec|
36
37
  spec.add_dependency "dry-inflector", "~> 0.2"
37
38
 
38
39
  spec.add_development_dependency "rspec", "~> 3.9"
39
- spec.add_development_dependency "rubocop", "~> 1.11"
40
- spec.metadata = {
41
- "rubygems_mfa_required" => "true"
42
- }
40
+ spec.add_development_dependency "rubocop", "~> 1.0"
43
41
  end
@@ -25,7 +25,7 @@ module Hanami
25
25
  def application
26
26
  @application ||=
27
27
  begin
28
- require "hanami/init"
28
+ require "hanami/prepare"
29
29
  Hanami.application
30
30
  end
31
31
  end
@@ -37,7 +37,7 @@ module Hanami
37
37
  # @api private
38
38
  def name
39
39
  (application.container.config.name || inflector.underscore(application.name))
40
- .split("/")[0]
40
+ .to_s.split("/")[0]
41
41
  end
42
42
 
43
43
  # @api private
@@ -10,7 +10,7 @@ module Hanami
10
10
  # @api public
11
11
  class Pry < Core
12
12
  # @api private
13
- class Context # rubocop:disable Lint/EmptyClass
13
+ class Context
14
14
  end
15
15
 
16
16
  # @api public
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Hanami
4
4
  module CLI
5
- VERSION = "2.0.0.alpha4"
5
+ VERSION = "2.0.0.alpha6"
6
6
  end
7
7
  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: 2.0.0.alpha4
4
+ version: 2.0.0.alpha6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-07 00:00:00.000000000 Z
11
+ date: 2022-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '1.11'
103
+ version: '1.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '1.11'
110
+ version: '1.0'
111
111
  description: Hanami command line
112
112
  email:
113
113
  - me@lucaguidi.com
@@ -210,6 +210,10 @@ homepage: https://hanamirb.org
210
210
  licenses:
211
211
  - MIT
212
212
  metadata:
213
+ allowed_push_host: https://rubygems.org
214
+ homepage_uri: https://hanamirb.org
215
+ source_code_uri: https://github.com/hanami/cli
216
+ changelog_uri: https://github.com/hanami/cli/blob/master/CHANGELOG.md
213
217
  rubygems_mfa_required: 'true'
214
218
  post_install_message:
215
219
  rdoc_options: []
@@ -219,14 +223,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
223
  requirements:
220
224
  - - ">="
221
225
  - !ruby/object:Gem::Version
222
- version: 2.6.0
226
+ version: '3.0'
223
227
  required_rubygems_version: !ruby/object:Gem::Requirement
224
228
  requirements:
225
229
  - - ">"
226
230
  - !ruby/object:Gem::Version
227
231
  version: 1.3.1
228
232
  requirements: []
229
- rubygems_version: 3.2.29
233
+ rubygems_version: 3.3.3
230
234
  signing_key:
231
235
  specification_version: 4
232
236
  summary: Hanami CLI