act_with_booleans 0.0.7 → 1.0.0

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: faaa6585b55287f530977a552cb9162e7fd250c6548c808a842acef9ac1b3366
4
- data.tar.gz: 13250e4479e2026f8c982693493eebee26ecda7259972005c1856609492b42ff
3
+ metadata.gz: dfe0520026a742a67bb9558a1ac1aa09cd390520554f3f450b29cbbfb17492c8
4
+ data.tar.gz: 1315454f75a8e11c464e477b36fa91b1dd1b402c3e7331fae1199717fd815c4c
5
5
  SHA512:
6
- metadata.gz: 3821fb63aa0bffd638f25f41afad00492a1b3f5d66c50bc221d0e59203919f6a06b3ccd3ad2357d3dadf43af8180d748e16f9792b3e4d3a835b17d8f4f8f1cd5
7
- data.tar.gz: 1dd1ab9b49345e2d64afde0b8881abe94e9c35dfa4085510d0e5358809f0bcf2b50142e53a75c677200b1a04c86d57974e041adda33d67cf151b60b34a762ec6
6
+ metadata.gz: 5c87b92290d7bf5af1f02adaad9b5bb1e861f0d4e26106fbf8decc3aa2f1005f994c5df7370b02b40a3cb8fee31120fe729955c6b9ac6c1e2994c3340ca99637
7
+ data.tar.gz: 88236e8bb67a3ac3d79fb76d654ae2b67f6a697d0e80e98a427686bd675937694c08416d091b4e114e34db065603286b3a53c3e86d78e621229dddbbd47ca763
@@ -12,7 +12,7 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
 
14
14
  steps:
15
- - uses: actions/checkout@v4
15
+ - uses: actions/checkout@v6
16
16
  - name: Set up Ruby
17
17
  uses: ruby/setup-ruby@v1
18
18
  with:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-4.0.0
1
+ ruby-4.0.5
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2022-2025 Dittmar Krall (www.matiq.com)
1
+ Copyright (c) 2022-2026 Dittmar Krall (www.matiq.com)
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -118,5 +118,5 @@ Further reading:
118
118
 
119
119
  ## Miscellaneous
120
120
 
121
- Copyright (c) 2023-2025 Dittmar Krall (www.matiq.com),
121
+ Copyright (c) 2023-2026 Dittmar Krall (www.matiq.com),
122
122
  released under the [MIT license](https://opensource.org/licenses/MIT).
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  class ActWithBooleans::Admin
4
2
  attr_reader :model
5
3
  attr_accessor :origin
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  class ActWithBooleans::Admin
4
2
  Location = Struct.new(:model, :origin, :position)
5
3
 
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  class ActWithBooleans::Admin
4
2
  def add_accessors(accessor, origin, mask)
5
3
  unless model.method_defined?(:act_with_booleans)
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  class ActWithBooleans::Admin
4
2
  def to_s
5
3
  res = []
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  class ActWithBooleans::Admin
4
2
  def add_flag(name, pos)
5
3
  accessor = name.to_sym
@@ -1,7 +1,7 @@
1
- # frozen_string_literal: true
2
-
3
1
  module ActWithBooleans
4
- VERSION = "0.0.7" # 2025-12-31
2
+ VERSION = "1.0.0" # 2026-07-07
3
+ # VERSION = "0.0.8" # 2026-03-31
4
+ # VERSION = "0.0.7" # 2025-12-31
5
5
  # VERSION = "0.0.6" # 2025-06-18
6
6
  # VERSION = "0.0.5" # 2024-10-19
7
7
  # VERSION = "0.0.4" # 2023-12-11
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  # Principles:
4
2
  # POLA
5
3
  # KISS
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: act_with_booleans
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubygems_version: 4.0.3
110
+ rubygems_version: 4.0.14
111
111
  specification_version: 4
112
112
  summary: Ruby gem act_with_booleans
113
113
  test_files: []