line-message-builder 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3ed7258b9de88098b6e78ff9165c4ab4b07b5328a294106f78e3cbed16b0725
4
- data.tar.gz: fee080b8a5c4799a9a0859cd12b42bbc32d9797ee7906b07d65a80bc882040ae
3
+ metadata.gz: 52b7e6be9fb727e897a17fbdb1d0f657da0716d8173308a66859ec190a1638ae
4
+ data.tar.gz: 79074a5e176caa8d71e5f20b1956eab5de2051fb3429b418c3543b2a4ce78862
5
5
  SHA512:
6
- metadata.gz: 5016cdac5849c4f6931b5e6810abfcbffec6ef337fecb3461c19a4af507b6bc7fbd4c8cc79ab8770183c9ecaa5403efd52686bbf4525d9c0996cf200d966acb5
7
- data.tar.gz: 93da8212a3282dd64587679151f8b2a08d6523f60ecd32e765bb045ccae98b110ca92352402d5217d870a6405e05dd9c167b55707a47ccdef98dde2e604d469c
6
+ metadata.gz: 0bfcfc82dd82c6bb4663e0d85cdfe82951a5b91ecfb025540c4291805af3bbe1adc72c9aee5fb028c48d18a793fa535d4617300d14f88c1dc1aecb543d9389d4
7
+ data.tar.gz: 9ffff2de164fefcec345bc896a2093a8248f789ba2948ab6720e6b057cb8b0bd17d2c6eb073aa844b663351bba415b182189dd91c394d2e0f5f2c0465c9d9a9e
@@ -1 +1 @@
1
- {".":"0.6.0"}
1
+ {".":"0.6.1"}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.1](https://github.com/elct9620/line-message-builder/compare/v0.6.0...v0.6.1) (2025-05-13)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * change default option values from :nil to nil ([4f87919](https://github.com/elct9620/line-message-builder/commit/4f879191b129b7a1780b690c9949afe9e8f87bcc))
9
+
3
10
  ## [0.6.0](https://github.com/elct9620/line-message-builder/compare/v0.5.0...v0.6.0) (2025-04-07)
4
11
 
5
12
 
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![.github/workflows/main.yml](https://github.com/elct9620/line-message-builder/actions/workflows/main.yml/badge.svg)](https://github.com/elct9620/line-message-builder/actions/workflows/main.yml)
4
4
  [![codecov](https://codecov.io/gh/elct9620/line-message-builder/graph/badge.svg?token=9TJTSRIL0X)](https://codecov.io/gh/elct9620/line-message-builder)
5
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/elct9620/line-message-builder)
5
6
 
6
7
  Build LINE messages using DSL (Domain Specific Language) in Ruby.
7
8
 
@@ -9,7 +9,7 @@ module Line
9
9
  module Horizontal
10
10
  def self.included(base)
11
11
  base.option :align,
12
- default: :nil,
12
+ default: nil,
13
13
  validator: Validators::Enum.new(
14
14
  :start, :center, :end
15
15
  )
@@ -20,7 +20,7 @@ module Line
20
20
  module Vertical
21
21
  def self.included(base)
22
22
  base.option :gravity,
23
- default: :nil,
23
+ default: nil,
24
24
  validator: Validators::Enum.new(
25
25
  :top, :center, :bottom
26
26
  )
@@ -32,7 +32,7 @@ module Line
32
32
  def self.included(base)
33
33
  %i[padding padding_top padding_bottom padding_start padding_end].each do |option|
34
34
  base.option option,
35
- default: :nil,
35
+ default: nil,
36
36
  validator: Validators::Size.new(:pixel, :keyword, :percentage)
37
37
  end
38
38
  end
@@ -42,7 +42,7 @@ module Line
42
42
  module Margin
43
43
  def self.included(base)
44
44
  base.option :margin,
45
- default: :nil,
45
+ default: nil,
46
46
  validator: Validators::Size.new(:pixel, :keyword)
47
47
  end
48
48
  end
@@ -51,12 +51,12 @@ module Line
51
51
  module Offset
52
52
  def self.included(base)
53
53
  base.option :position,
54
- default: :nil,
54
+ default: nil,
55
55
  validator: Validators::Enum.new(:absolute, :relative)
56
56
 
57
57
  %i[offset_top offset_bottom offset_start offset_end].each do |option|
58
58
  base.option option,
59
- default: :nil,
59
+ default: nil,
60
60
  validator: Validators::Size.new(:pixel, :keyword)
61
61
  end
62
62
  end
@@ -9,7 +9,7 @@ module Line
9
9
  module Flex
10
10
  def self.included(base)
11
11
  base.option :flex,
12
- default: :nil
12
+ default: nil
13
13
  end
14
14
  end
15
15
 
@@ -17,7 +17,7 @@ module Line
17
17
  module Image
18
18
  def self.included(base)
19
19
  base.option :size,
20
- default: :nil,
20
+ default: nil,
21
21
  validator: Validators::Size.new(:pixel, :image, :percentage)
22
22
  end
23
23
  end
@@ -26,7 +26,7 @@ module Line
26
26
  module Shared
27
27
  def self.included(base)
28
28
  base.option :size,
29
- default: :nil,
29
+ default: nil,
30
30
  validator: Validators::Size.new(:pixel, :keyword)
31
31
  end
32
32
  end
@@ -35,7 +35,7 @@ module Line
35
35
  module AdjustMode
36
36
  def self.included(base)
37
37
  base.option :adjust_mode,
38
- default: :nil,
38
+ default: nil,
39
39
  validator: Validators::Enum.new(
40
40
  :"shrink-to-fit"
41
41
  )
@@ -3,7 +3,7 @@
3
3
  module Line
4
4
  module Message
5
5
  module Builder
6
- VERSION = "0.6.0"
6
+ VERSION = "0.6.1"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: line-message-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aotokitsuruya
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-04-07 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: The LINE Messaging API message builder.
13
13
  email:
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  - !ruby/object:Gem::Version
80
80
  version: '0'
81
81
  requirements: []
82
- rubygems_version: 3.6.2
82
+ rubygems_version: 3.6.7
83
83
  specification_version: 4
84
84
  summary: The LINE Messaging API message builder.
85
85
  test_files: []