rest_rails 1.1.1 → 1.1.2

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: 2c1a428b26e6351c06d08a1b2a72c016f9c3b625a6bbcce85f7148d2e9bb9374
4
- data.tar.gz: 97767dc6129d0737287c7f0aedccfa4bcd4f2335bda66c9fdf19fc0a61f7a17f
3
+ metadata.gz: e29c2c9116b0909e3c040933b7817b0721a809c78408b3faf1897c1e8e34971b
4
+ data.tar.gz: 9bd2d8871ea043dbea1ef7d2b092b6970e3fa16ac78fc07659ef2accb622c916
5
5
  SHA512:
6
- metadata.gz: cb566bab127d8478663dc27e8262c682abea7ef2544ad7caac5e49c9ce4144c7cc287cff0b75a2f8c70865bd1b1e35ffb1b655aaba810194e87de3bdab4432a7
7
- data.tar.gz: ffb5a5e3182c6269a23d842fc183adcbc15d28fe68a1e2246890c621dd1614b68e79ca10e8f68aa55ef44dd03109472472148308bdce353884309007e5eaa70a
6
+ metadata.gz: 3fcb45c217ab6040e485783a822520e77f2712277ed592d0320c66375d991f3a030b3a1007bcf1c84f84242f5a5b0d5649c8aa22c36a5a3099ad9bb169efcd13
7
+ data.tar.gz: f78055f4c5d5265b1897b3fba61457ad7b92e1661cf3e48733f447d1cb80f1a78bd901405b3b287411566f31b4d981bfab08d5be813115c8fd5ab98c4a205346
@@ -6,7 +6,7 @@ module RestRails
6
6
  route = Rails.application.routes.routes.detect do |route|
7
7
  self.in?([route.app, route.app.app])
8
8
  end
9
- route && route.path
9
+ route && (route.path.spec || route.path)
10
10
  end
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module RestRails
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Rivas