coveragebook_components 0.13.0 → 0.13.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
2
  SHA256:
3
- metadata.gz: c776d1dc96c53c846633a031718e227360accf2f1af60ad6f4051e643745aaf1
4
- data.tar.gz: faa0d3dd28732683ef893990d95dc2dc779a6eec04936af02a2ad63a7ae21387
3
+ metadata.gz: 0b3dfeefd81bc32ecc6efd6863b55ba2bf878c14bdc527d3b20df55e5892334a
4
+ data.tar.gz: 3767ca7628bc61c93872e4d698acec0bef670d9bdac6ffe16b59ed53b5bc111a
5
5
  SHA512:
6
- metadata.gz: 145ae9120861f070974a0f8c5b442c0dd2f6a75ea2d149ea19c052d6cb68a3c394edec6db58c5a36a01db7dde9187809a1c6cd5a3a325ffa90020361ff0d67ae
7
- data.tar.gz: 2b8ac58fd9d0bb9c4f68d4e8f295bf4f5f6ca6f834e6bc700515f816f67e5005dd28346a234eb23db0f8d0c52c7e681981cdedc76ab6ec548ce8b904c2b2f6e5
6
+ metadata.gz: 5749a6f27e92adf95afa1bc46ac8861b95537e59ef39adc5276e0e03907926babd8f4db2ef12bc5f21705bf93a42d84f9becc7ed462ba74df2da562669da8f36
7
+ data.tar.gz: 0b70d53a73e46ddb9caa0bf2d622b72539eff51d2f5d3806b7006d2cd1067c0ea2209f54bf909c042645db5d03f8dafcaf694adf7293eb21b722a3f86956d49f
@@ -14079,7 +14079,7 @@
14079
14079
  // ../../../package.json
14080
14080
  var package_default = {
14081
14081
  name: "coveragebook-components",
14082
- version: "0.13.0",
14082
+ version: "0.13.1",
14083
14083
  repository: "git@github.com:coveragebook/coco.git",
14084
14084
  license: "NO LICENSE",
14085
14085
  author: "Mark Perkins <mark@coveragebook.com>",
@@ -5572,7 +5572,7 @@
5572
5572
  // ../../../package.json
5573
5573
  var package_default = {
5574
5574
  name: "coveragebook-components",
5575
- version: "0.13.0",
5575
+ version: "0.13.1",
5576
5576
  repository: "git@github.com:coveragebook/coco.git",
5577
5577
  license: "NO LICENSE",
5578
5578
  author: "Mark Perkins <mark@coveragebook.com>",
@@ -19,7 +19,7 @@ module Coco
19
19
  before_render do
20
20
  unless icon?
21
21
  icon_opts = get_option_group(:icon).values
22
- icon(**icon_opts) if icon_opts[:name]
22
+ with_icon(**icon_opts) if icon_opts[:name]
23
23
  end
24
24
  end
25
25
  end
@@ -27,7 +27,7 @@ module Coco
27
27
  icon_opts = get_option_group(:icon).values
28
28
  icon_name = THEME_ICONS[theme]
29
29
  spin = theme == :pending
30
- icon(**icon_opts, name: icon_name, spin: spin)
30
+ with_icon(**icon_opts, name: icon_name, spin: spin)
31
31
  end
32
32
  end
33
33
  end
@@ -36,7 +36,7 @@ module Coco
36
36
  @name = name
37
37
  @show = show
38
38
  @container_type = nil
39
- title { kwargs[:title] } if kwargs[:title]
39
+ with_title { kwargs[:title] } if kwargs[:title]
40
40
  end
41
41
 
42
42
  def render_as_modal?
@@ -13,7 +13,7 @@ module Coco
13
13
  end
14
14
 
15
15
  def initialize(**kwargs)
16
- title { kwargs[:title] } if kwargs[:title]
16
+ with_title { kwargs[:title] } if kwargs[:title]
17
17
  end
18
18
 
19
19
  def header?
data/lib/coco.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Coco
2
- VERSION = "0.13.0"
2
+ VERSION = "0.13.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coveragebook_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Perkins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-05 00:00:00.000000000 Z
11
+ date: 2024-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,28 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.0'
33
+ version: 3.9.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '2.0'
41
- - !ruby/object:Gem::Dependency
42
- name: zeitwerk
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '2.5'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '2.5'
40
+ version: 3.9.0
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: turbo-rails
57
43
  requirement: !ruby/object:Gem::Requirement