sitepress-rails 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sitepress/model.rb +2 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c58152c6114a8b56271090b027096f9eb411e4d2e6eedb4811352b831d4be73
|
4
|
+
data.tar.gz: b6535af5b029475d05e4e2fc9a3354a41b6f8d33d2533eddd1119f8f080e7409
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75ebd2f408e8510263741b33052db92da2b91510bad929cc5f1770134666dca9ee08bccf0b0ae4bad668f8683209a4ee148e5fd68ce5240c73b46ac7a8b48338
|
7
|
+
data.tar.gz: 9aa98bcba2c6f0332e1c5e7ef71986c40d3cb3a84cd8e97efc32fe811a6e9ff557384fe3e89fa4dbcbe4fc1852a97ad5cd26945b8178bcd4de0bba03469683ac
|
data/lib/sitepress/model.rb
CHANGED
@@ -24,7 +24,8 @@ module Sitepress
|
|
24
24
|
to: :all
|
25
25
|
|
26
26
|
# Defines a class method that may be called later to return a
|
27
|
-
# collection of objects.
|
27
|
+
# collection of objects. The default glob, for example, is named `:all`,
|
28
|
+
# which defines `MyModel.all` on the class.
|
28
29
|
def collection(name = Models::Collection::DEFAULT_NAME, glob:, **kwargs)
|
29
30
|
define_singleton_method name do
|
30
31
|
self.glob glob, **kwargs
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sitepress-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec-rails
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 3.1.
|
61
|
+
version: 3.1.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 3.1.
|
68
|
+
version: 3.1.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: railties
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|