hanami-cli 2.0.0.alpha6.1 → 2.0.0.alpha7

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: f638410c01ada276d3654df47b5dc3ec94ed3544cde718905f995560b52f3f2d
4
- data.tar.gz: 710b48678744cf2070b92e7644d9805a68b045a3aa12d0f70ec063b3f977b39d
3
+ metadata.gz: 80f6066c0b36cef2401b924e8a928e20008e4411259d3b7025b8a884ab4917b4
4
+ data.tar.gz: b1f04b56bdc61124aaddcfd6353942ad334437353b5db2114b412e3f5a98d42a
5
5
  SHA512:
6
- metadata.gz: 3cd808e7091004c7a4cd2579595836088e07b15aa124d18ce56320805c3d823fa4d8ec72e4a0f56aa55e75c9ba0723d8952c7dca7adcb8df48aa92ee962c0afe
7
- data.tar.gz: e8bfaa8e8be33c0e6cd0f4246c091c70a60c0f378c0ad60c1979de3181f49bb2102d27a72f9afb38bac1e8ca08e8e6e3f37d3860d2dd919b24a199070e79c740
6
+ metadata.gz: 26e7a26bdbf7b6d1e2817854fdca35655633228029b69ab4c5154981a1edd0b72ffe0048951d42bc20605460e5c2693a60cba3b048f2e466260d5566172392fd
7
+ data.tar.gz: e8110ea215488c966b7f309087fbb29d5d358fd55a0dc4e438077af70e68b7bcb4de3d59dda4d5699f3478756b4bb5dbfb0db59978f6443b4609c419676ebe8c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Hanami::CLI
2
2
  Hanami Command Line Interface
3
3
 
4
+ ## v2.0.0.alpha7 - 2022-03-11
5
+
6
+ ### Changed
7
+ - [Tim Riley] [Internal] Update console slice readers to work with new `Hanami::Application.slices` API
8
+
4
9
  ## v2.0.0.alpha6.1 - 2022-02-11
5
10
  ### Fixed
6
11
  - [Viet Tran] Ensure `hanami db` commands to work with `hanami` `v2.0.0.alpha6`
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Hanami
4
4
  module CLI
5
- VERSION = "2.0.0.alpha6.1"
5
+ VERSION = "2.0.0.alpha7"
6
6
  end
7
7
  end
@@ -12,8 +12,8 @@ module Hanami
12
12
  def initialize(application)
13
13
  super()
14
14
 
15
- application.slices.each do |(name, slice)|
16
- define_method(name) do
15
+ application.slices.each do |slice|
16
+ define_method(slice.slice_name) do
17
17
  slice
18
18
  end
19
19
  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.alpha6.1
4
+ version: 2.0.0.alpha7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-11 00:00:00.000000000 Z
11
+ date: 2022-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler