active_flag 2.0.2 → 2.0.3

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: 95bb29c60494f354cd2030f43a1661d8bf470761e6c72a55f36fa67bd58a6ca0
4
- data.tar.gz: b21537f0466989d7ba6ec4e9dd1508a81a2965dc25dd70fcd7c18569f54b3cce
3
+ metadata.gz: 3ecbfa97d8afdcca992c0e0b77d09023b2c6dd8ede54fb43c9011e3ee559b0ec
4
+ data.tar.gz: ce658754f990281ffd1580a1d1e2816eee95321ccc114ef8ee71e78b5cb74f2f
5
5
  SHA512:
6
- metadata.gz: 92731cf866d6be1d7165ce0ceea4cfccc60503933cc4d1a1b829e027e391fb778703c3b4c62290bbd49546315010208e896bfdab38b45b62eb2e0638d64bddf0
7
- data.tar.gz: 6a44c95b29b5ed5f1c8c214ff6c2facc2c164b6bc48e219c3ca0f68c3e5e5fb9cd971a008e4bcd4b608d0ab4a6a158df07f7706b402a9eefffab0387fca9eb84
6
+ metadata.gz: 2e6af3b01b495b285139924da98f99c81a56e523a9787938d3d3e074790e375bdf368546683606476a48194ddb828b54b383acea7e326de576a6904d1cfde580
7
+ data.tar.gz: 747ebe97bd1254bf34343e276b4b5fabd1b4ae4b12285f9dbcbf5c190fa8eef13c5e83f898aed071da9fa3f2f46671ca2ed950be17d4fa93150a7c3eeb035856
@@ -48,8 +48,8 @@ module ActiveFlag
48
48
  end
49
49
 
50
50
  def method_missing(symbol, *args, &block)
51
- if key = symbol.to_s.chomp!('?') and @definition.keys.include?(key.to_sym)
52
- set?(key.to_sym)
51
+ if key = symbol.to_s.chomp('?').to_sym and @definition.keys.include?(key)
52
+ set?(key)
53
53
  else
54
54
  super
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveFlag
2
- VERSION = '2.0.2'
2
+ VERSION = '2.0.3'
3
3
  end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_flag
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenn Ejima
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 2024-09-04 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: activerecord
@@ -148,6 +149,7 @@ files:
148
149
  homepage: https://github.com/kenn/active_flag
149
150
  licenses: []
150
151
  metadata: {}
152
+ post_install_message:
151
153
  rdoc_options: []
152
154
  require_paths:
153
155
  - lib
@@ -162,7 +164,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
164
  - !ruby/object:Gem::Version
163
165
  version: '0'
164
166
  requirements: []
165
- rubygems_version: 3.6.0.dev
167
+ rubygems_version: 3.5.16
168
+ signing_key:
166
169
  specification_version: 4
167
170
  summary: Bit array for ActiveRecord
168
171
  test_files: []