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 +4 -4
- data/lib/active_flag/value.rb +2 -2
- data/lib/active_flag/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ecbfa97d8afdcca992c0e0b77d09023b2c6dd8ede54fb43c9011e3ee559b0ec
|
4
|
+
data.tar.gz: ce658754f990281ffd1580a1d1e2816eee95321ccc114ef8ee71e78b5cb74f2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e6af3b01b495b285139924da98f99c81a56e523a9787938d3d3e074790e375bdf368546683606476a48194ddb828b54b383acea7e326de576a6904d1cfde580
|
7
|
+
data.tar.gz: 747ebe97bd1254bf34343e276b4b5fabd1b4ae4b12285f9dbcbf5c190fa8eef13c5e83f898aed071da9fa3f2f46671ca2ed950be17d4fa93150a7c3eeb035856
|
data/lib/active_flag/value.rb
CHANGED
@@ -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
|
52
|
-
set?(key
|
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
|
data/lib/active_flag/version.rb
CHANGED
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.
|
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-
|
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.
|
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: []
|