mobility 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +13 -22
- data/README.md +1 -1
- data/lib/mobility/plugins/active_record/query.rb +2 -3
- data/lib/mobility/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a2836c1681d1832331e807e58fa61956426ddc3cc730c15e6b3d6ebac2fce40
|
4
|
+
data.tar.gz: 61c798b73769f7d73bb5a3a97b3a1a27ac8884a186df89aeb5ceef0ecb92b692
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8693fb2b5d997a1d7029413aee5c5f064eeafbef6f8a10ad2c947bd545fff72e238f6d57ebaae8761d5948e036446d310f7ce9da3c047a7577818919dfd7908
|
7
|
+
data.tar.gz: e980cc7d53a32c517c04994105540fd9635aae5899d35cecb1544a36ef052619adb0647b58ec666902402e8ad642c85aa576f0301d3708211e83b5f3d0e6d95b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,11 @@
|
|
2
2
|
|
3
3
|
## 1.2
|
4
4
|
|
5
|
+
### 1.2.9
|
6
|
+
- Fix missing method `mobility_attribute?` on Rails 7
|
7
|
+
([#582](https://github.com/shioyama/mobility/pull/582) and
|
8
|
+
[#584](https://github.com/shioyama/mobility/pull/584))
|
9
|
+
|
5
10
|
### 1.2.8
|
6
11
|
- Fix issues with subclassing, such as when using AR STI,
|
7
12
|
fixes [#566](https://github.com/shioyama/mobility/issues/566)
|
data/Gemfile.lock
CHANGED
@@ -1,35 +1,27 @@
|
|
1
|
-
GIT
|
2
|
-
remote: https://github.com/rails/rails.git
|
3
|
-
revision: ed3130a41d7728b2e650c1b9093545e0d06af489
|
4
|
-
branch: main
|
5
|
-
specs:
|
6
|
-
activemodel (7.1.0.alpha)
|
7
|
-
activesupport (= 7.1.0.alpha)
|
8
|
-
activerecord (7.1.0.alpha)
|
9
|
-
activemodel (= 7.1.0.alpha)
|
10
|
-
activesupport (= 7.1.0.alpha)
|
11
|
-
activesupport (7.1.0.alpha)
|
12
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
-
connection_pool (>= 2.2.5)
|
14
|
-
i18n (>= 1.6, < 2)
|
15
|
-
minitest (>= 5.1)
|
16
|
-
tzinfo (~> 2.0)
|
17
|
-
|
18
1
|
PATH
|
19
2
|
remote: .
|
20
3
|
specs:
|
21
|
-
mobility (1.
|
4
|
+
mobility (1.2.8)
|
22
5
|
i18n (>= 0.6.10, < 2)
|
23
6
|
request_store (~> 1.0)
|
24
7
|
|
25
8
|
GEM
|
26
9
|
remote: https://rubygems.org/
|
27
10
|
specs:
|
11
|
+
activemodel (7.0.3)
|
12
|
+
activesupport (= 7.0.3)
|
13
|
+
activerecord (7.0.3)
|
14
|
+
activemodel (= 7.0.3)
|
15
|
+
activesupport (= 7.0.3)
|
16
|
+
activesupport (7.0.3)
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
+
i18n (>= 1.6, < 2)
|
19
|
+
minitest (>= 5.1)
|
20
|
+
tzinfo (~> 2.0)
|
28
21
|
benchmark-ips (2.10.0)
|
29
22
|
byebug (11.1.3)
|
30
23
|
coderay (1.1.3)
|
31
24
|
concurrent-ruby (1.1.10)
|
32
|
-
connection_pool (2.2.5)
|
33
25
|
database_cleaner (1.99.0)
|
34
26
|
diff-lcs (1.5.0)
|
35
27
|
ffi (1.15.5)
|
@@ -55,7 +47,7 @@ GEM
|
|
55
47
|
rb-inotify (~> 0.9, >= 0.9.10)
|
56
48
|
lumberjack (1.2.8)
|
57
49
|
method_source (1.0.0)
|
58
|
-
minitest (5.16.
|
50
|
+
minitest (5.16.1)
|
59
51
|
nenv (0.3.0)
|
60
52
|
notiffany (0.1.3)
|
61
53
|
nenv (~> 0.1)
|
@@ -99,8 +91,7 @@ PLATFORMS
|
|
99
91
|
ruby
|
100
92
|
|
101
93
|
DEPENDENCIES
|
102
|
-
activerecord
|
103
|
-
activesupport!
|
94
|
+
activerecord (~> 7.0.0)
|
104
95
|
benchmark-ips
|
105
96
|
database_cleaner (~> 1.5, >= 1.5.3)
|
106
97
|
guard-rspec
|
data/README.md
CHANGED
@@ -163,9 +163,8 @@ enabled for any one attribute on the model.
|
|
163
163
|
define_method method_name do |*attrs, &block|
|
164
164
|
return super(*attrs, &block) if (method_name == 'select' && block.present?)
|
165
165
|
|
166
|
-
|
167
|
-
|
168
|
-
end
|
166
|
+
return super(*attrs, &block) unless @klass.respond_to?(:mobility_attribute?)
|
167
|
+
|
169
168
|
return super(*attrs, &block) unless attrs.any?(&@klass.method(:mobility_attribute?))
|
170
169
|
|
171
170
|
keys = attrs.dup
|
data/lib/mobility/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Salzberg
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
QHgocnSksU5GOM+G2UhjVycbTamd+bCxjWAZTEDZNafFt5CmnfK1D1UTIblR/ci9
|
35
35
|
fUDdW+GhxhobB8N1mtDRlhELoxLLjx7mSvJ3Wg==
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date: 2022-06-
|
37
|
+
date: 2022-06-24 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: request_store
|
metadata.gz.sig
CHANGED
Binary file
|