openstax_api 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/openstax/api/api_user.rb +2 -2
- data/lib/openstax/api/version.rb +1 -1
- data/spec/dummy/log/development.log +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc198021304774cc8ee9bc78991e4ba2fac6c694
|
4
|
+
data.tar.gz: 500c6ec0bce472a2198bb52962355c7b576f6dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49cb492d1097f502f30de1784fde0d626328d0b6c30a90dcdb65c01e5aa463957947d159ff9a8d17f6f95c92c81ac80448ab8460f7fe0134a7840c07102a3fd4
|
7
|
+
data.tar.gz: 228e09327466df108e5ed2775b2203588f8ace1d5c30fc7f2f6a11ca845fe4d79ce0d5a6fceba130d0ab5e6d4b510c3ef77ec29e367d2fcfd95e5eae9bbf58ae
|
@@ -51,7 +51,7 @@ module OpenStax
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def method_missing(method_name, *arguments, &block)
|
54
|
-
if method_name.to_s =~
|
54
|
+
if method_name.to_s =~ /\Acan_(\w+)\?\z/
|
55
55
|
can_do?($1.to_sym, arguments.first)
|
56
56
|
else
|
57
57
|
super
|
@@ -59,7 +59,7 @@ module OpenStax
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def respond_to_missing?(method_name, include_private = false)
|
62
|
-
method_name.to_s =~
|
62
|
+
method_name.to_s =~ /\Acan_(\w+)\?\z/ || super
|
63
63
|
end
|
64
64
|
|
65
65
|
end
|
data/lib/openstax/api/version.rb
CHANGED
@@ -482,3 +482,5 @@ Connecting to database specified by database.yml
|
|
482
482
|
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")[0m
|
483
483
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
484
484
|
Connecting to database specified by database.yml
|
485
|
+
Connecting to database specified by database.yml
|
486
|
+
Connecting to database specified by database.yml
|