sentdm 0.42.0 → 0.42.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: 91298412ba815aa1aefa4431e1f16bac55ece7b215c03e96e6bd0dcec391cc59
4
- data.tar.gz: ac860df70dcee9fe90c2baf7625345a13ca6452f3385598f12a1e62f26e4373c
3
+ metadata.gz: dd3b3bed92e98b1956bd019920853c3e129c80d3e1c7e7d2620c5900ae3ed704
4
+ data.tar.gz: fecba2039a8648e24e75724cde8a36217760296de0e1374a466dfab20968cd44
5
5
  SHA512:
6
- metadata.gz: 4ee33c112e7872856f29d124fbaa5afe502d4cf6c1af80dca68fe886d2fafce869d94ef114720095fad54e8963f0f14eac3b1ebb83f76efc4c3f0f67a17ef357
7
- data.tar.gz: 6aef3d9014fbc182ee9c73b16f325c9d38218d2f236dc18e73bbcfa9b5a9aae77a3e45350eecd83eca36802a5578091f248522eee51d7a03c1b6bc755b3f839a
6
+ metadata.gz: 447e13859d654e6ba7ca912ec279a3ae5b8a0e03639cd866d0df35f5dc7bd8273db34e0d4769f9861afce48ed1320fe2583475d1a4d22f513bb86678bbba383d
7
+ data.tar.gz: cc688d4a9ceefdf327a8f09372ab8e14ae77cf94f25a5f662138cbb72a8ff8c656c5fd98ad289ce08bd43605929f31101b5a2dceacd4d4ca7c56826df4f89247
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.42.1](https://github.com/sentdm/sent-dm-ruby/compare/v0.42.0...v0.42.1) (2026-10-30)
4
+
5
+
6
+ ### Documentation
7
+
8
+ * **api:** describe the default body type on template bodies ([39e5ddd](https://github.com/sentdm/sent-dm-ruby/commit/39e5ddd45ee5ca7dce4938cdbaa75b4cbe23e196))
9
+
3
10
  ## [0.42.0](https://github.com/sentdm/sent-dm-ruby/compare/v0.41.0...v0.42.0) (2026-10-30)
4
11
 
5
12
 
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "sentdm", "~> 0.42.0"
20
+ gem "sentdm", "~> 0.42.1"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -31,9 +31,9 @@ module Sentdm
31
31
  required :template, String
32
32
 
33
33
  # @!attribute type
34
- # The type of body content — send "text". It is dropped from the stored definition
35
- # when null, so a body posted without it is saved with no type key at all and the
36
- # template editor has nothing to render the block from.
34
+ # The type of body content. Defaults to "text" when omitted, which also fills it
35
+ # in when reading stored bodies saved without it; the template editor refuses to
36
+ # load a body with no type.
37
37
  #
38
38
  # @return [String, nil]
39
39
  optional :type, String, nil?: true
@@ -51,7 +51,7 @@ module Sentdm
51
51
  #
52
52
  # @param template [String] The body copy, with variables written as {{index:variable}}.
53
53
  #
54
- # @param type [String, nil] The type of body content — send "text". It is dropped from the stored definition
54
+ # @param type [String, nil] The type of body content. Defaults to "text" when omitted, which also fills it i
55
55
  #
56
56
  # @param variables [Array<Sentdm::Models::TemplateVariable>, nil] The variables referenced by the body copy, one entry per {{index:variable}} plac
57
57
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sentdm
4
- VERSION = "0.42.0"
4
+ VERSION = "0.42.1"
5
5
  end
@@ -33,9 +33,9 @@ module Sentdm
33
33
  sig { returns(String) }
34
34
  attr_accessor :template
35
35
 
36
- # The type of body content — send "text". It is dropped from the stored definition
37
- # when null, so a body posted without it is saved with no type key at all and the
38
- # template editor has nothing to render the block from.
36
+ # The type of body content. Defaults to "text" when omitted, which also fills it
37
+ # in when reading stored bodies saved without it; the template editor refuses to
38
+ # load a body with no type.
39
39
  sig { returns(T.nilable(String)) }
40
40
  attr_accessor :type
41
41
 
@@ -75,9 +75,9 @@ module Sentdm
75
75
  # you on board." — two variables, so at least five words are required, and the
76
76
  # copy after the final variable contains letters.
77
77
  template:,
78
- # The type of body content — send "text". It is dropped from the stored definition
79
- # when null, so a body posted without it is saved with no type key at all and the
80
- # template editor has nothing to render the block from.
78
+ # The type of body content. Defaults to "text" when omitted, which also fills it
79
+ # in when reading stored bodies saved without it; the template editor refuses to
80
+ # load a body with no type.
81
81
  type: nil,
82
82
  # The variables referenced by the body copy, one entry per {{index:variable}}
83
83
  # placeholder.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentdm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.42.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sent