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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c3f95b0e932b5831bbc419f9e6758ed79323b9b
4
- data.tar.gz: a895d8183a3b9c6b8afc990d9024bc982d653114
3
+ metadata.gz: cc198021304774cc8ee9bc78991e4ba2fac6c694
4
+ data.tar.gz: 500c6ec0bce472a2198bb52962355c7b576f6dda
5
5
  SHA512:
6
- metadata.gz: 67c89d1173f8d5dc574fb80ae6641dd1d9aca4b3146bdce40999063596b66512b1f53d36dc290f96b4acb37390115baa71c4147630c8dc83ed46c9442ad01531
7
- data.tar.gz: 59c872e1461ba0e9d5e7f6d021431182bbc37af6d8a828ed8bee8b80189c8c703f22440414d6449ee5310a98492d391857bf1e2883a7b0ec5ca3ea7fa984c1c3
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 =~ /can_(.*)\?/
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 =~ /can_(.*)\?/ || super
62
+ method_name.to_s =~ /\Acan_(\w+)\?\z/ || super
63
63
  end
64
64
 
65
65
  end
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Api
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.3"
4
4
  end
5
5
  end
@@ -482,3 +482,5 @@ Connecting to database specified by database.yml
482
482
   (0.7ms) CREATE UNIQUE INDEX "index_oauth_applications_on_uid" ON "oauth_applications" ("uid")
483
483
   (0.1ms) 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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openstax_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dante Soares