rest_rails 1.1.0 → 1.1.1

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
  SHA256:
3
- metadata.gz: df308706605d4fb456f3e21fa2d7ad69862cebf8c20eb53f3cf51900f688cc31
4
- data.tar.gz: 73402c490bfe2043d04fc45db6d92815a08cea1fa73f5599a56b75147cb47e86
3
+ metadata.gz: 2c1a428b26e6351c06d08a1b2a72c016f9c3b625a6bbcce85f7148d2e9bb9374
4
+ data.tar.gz: 97767dc6129d0737287c7f0aedccfa4bcd4f2335bda66c9fdf19fc0a61f7a17f
5
5
  SHA512:
6
- metadata.gz: 749c06bab1acf04d5ddbb21da58320e96d53e2696bda5052c1d18156c35a20e1d23dd8f78bdd9bdc5d498c6f4cd239609d94e3bfa02a509d6827588dc11202e7
7
- data.tar.gz: b7360138c4fb918bb45a93645e04b8b6629705d9a7fad92ae20ec4ce8a4fe2c60e9fd9d7a7879ea79c9628a0777fa8f07d9b47ea1177e3de8bf1a6b640b8e2b6
6
+ metadata.gz: cb566bab127d8478663dc27e8262c682abea7ef2544ad7caac5e49c9ce4144c7cc287cff0b75a2f8c70865bd1b1e35ffb1b655aaba810194e87de3bdab4432a7
7
+ data.tar.gz: ffb5a5e3182c6269a23d842fc183adcbc15d28fe68a1e2246890c621dd1614b68e79ca10e8f68aa55ef44dd03109472472148308bdce353884309007e5eaa70a
@@ -4,7 +4,7 @@ module RestRails
4
4
 
5
5
  def self.mounted_path
6
6
  route = Rails.application.routes.routes.detect do |route|
7
- route.app == self
7
+ self.in?([route.app, route.app.app])
8
8
  end
9
9
  route && route.path
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module RestRails
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rivas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-24 00:00:00.000000000 Z
11
+ date: 2020-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails