rest_framework 0.8.10 → 0.8.11
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 +4 -4
- data/VERSION +1 -1
- data/lib/rest_framework/controller_mixins/base.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 076db67d932800e57d2c166d757b60ea6e0d77df03da2385eddff8fd25886f76
|
|
4
|
+
data.tar.gz: d8b0fd131b50978e65b767d95a076f9592c8948a2708adff97e7971f84b0fbca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f23d1835c49628c2b2f02521df2373438aabdb8ccb4fb12c3bd008cc757e3b660521c1eecf6d54fc92ad4f9b7c04881122acc9931c4d8847253cc78408e1e70d
|
|
7
|
+
data.tar.gz: 23dbfba94daee299e86a1e542d17b8b25bccd04989e569fee71731fac79c3996ac987a8ee28a58d4f489ddf1cf3a02d4774f45b022cbfaaeb9d796ddc6e71cb3
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.
|
|
1
|
+
0.8.11
|
|
@@ -156,8 +156,8 @@ module RESTFramework::BaseControllerMixin
|
|
|
156
156
|
|
|
157
157
|
# Alias `extra_actions` to `extra_collection_actions`.
|
|
158
158
|
unless base.respond_to?(:extra_collection_actions)
|
|
159
|
-
base.alias_method(:extra_collection_actions, :extra_actions)
|
|
160
|
-
base.alias_method(:extra_collection_actions=, :extra_actions=)
|
|
159
|
+
base.singleton_class.alias_method(:extra_collection_actions, :extra_actions)
|
|
160
|
+
base.singleton_class.alias_method(:extra_collection_actions=, :extra_actions=)
|
|
161
161
|
end
|
|
162
162
|
|
|
163
163
|
# Skip CSRF since this is an API.
|