rails_templatable 0.1.3 → 0.1.4

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: 236cee1ec2e19b223231cb8d60d18e125f2dabe88193c322243517b00b314c01
4
- data.tar.gz: 0070d47ac23029648db250786fc3bc77205a74955d03ee19a98947c5ae7cbf51
3
+ metadata.gz: b3b9b72537db596dd8054dbcabf72ad46ff11578a61057281be3e6bfc9a02cb6
4
+ data.tar.gz: 8cf75e7e3d287f11ac3c2763dac55bd5264a7914cb559389133fcb9a30c9d48d
5
5
  SHA512:
6
- metadata.gz: 4be6f7c60f7b972796632fa6d56466e7fcdc69c9d229cc881e381e3d57fe57f8f5cbfd11fecbcad50b35ab545a2de3117399f90549fca53d12b5190fe85ae0e6
7
- data.tar.gz: fd4ef91d412e0a7a579a7d7b7073729da7b12f6e3d01e6ccadc95ec4b1c341fe18e4e95e51e0c7d72affeff69c75e27dff5f41ff1e2093b6b4a25dd5e0b15561
6
+ metadata.gz: d30d20d3b2c0e275acc1b555a64eb7bcab146e446db99fca850ff398ab11cebaefc5dbb3ad1d944a4b0d8ea5e884794954abf4d2830e7b785ab00a68547203a1
7
+ data.tar.gz: bbebca7d2130c3c00f27ce66a664c9439fec087a8f7a53b4980f992e3075ab2ff333704d4a00dee9579430771a8bf9551f9115f44454f501f36c2cf96f0c1622
@@ -4,7 +4,8 @@ module RailsTemplatable
4
4
 
5
5
  # Rails 6 compatible enum syntax
6
6
  # For Rails 8+, use: enum :content_format, { html: 0, markdown: 1, txt: 2 }
7
- enum content_format: { html: 0, markdown: 1, txt: 2 }
7
+ # enum content_format: { html: 0, markdown: 1, txt: 2 }
8
+ enum :content_format, { html: 0, markdown: 1, txt: 2 }
8
9
 
9
10
  validates :category, presence: true
10
11
  validates :content, presence: true
@@ -1,3 +1,3 @@
1
1
  module RailsTemplatable
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_templatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - aric.zheng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-06 00:00:00.000000000 Z
11
+ date: 2026-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails