sensible_routes 0.1.1 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46738cae56b29ee10c8d5b11764af669dd7cb7fd
4
- data.tar.gz: 798bbd1e0d2ef8d25f2b7bbbec278328fa4106aa
3
+ metadata.gz: 1c8cf30423e78539f3b1e6265c88cb5442266347
4
+ data.tar.gz: 612224f834369481b7771c1964f3021a1f192be8
5
5
  SHA512:
6
- metadata.gz: 68e290d67e861f705c5044c72b87eff373ec1f33c9965a8214a564197b887be1fa7483485aca3acb1ef2cd254159a7120de144b4b10c4750cca8b4c4637339cf
7
- data.tar.gz: 86e8853d280b59974d2f8e29899ceda1f89738cbc84d92a4451c85e7490271fe9421b888c58618e3ca79450139b68dcb3acbb1f0725cc285bbd8de074755da98
6
+ metadata.gz: 9e401ea4ddf51dbed8d3c21725266ba81a5db44283757c783ce42c6223623f00bbd6ab73a47e5260cbb843644f7ca430ac7284742ac547c10b7dd0d23b24da9a
7
+ data.tar.gz: f4f1e9bc4d04a5260e2bb8223ca6164d483f7e8505d2bc6ffa7f07c05a581af87b7e9a8771905ef470c81fb896bf107858471e89ae8afa19d0320842f6170334
data/.gitignore CHANGED
File without changes
data/Gemfile CHANGED
File without changes
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sensible_routes (0.0.2)
4
+ sensible_routes (0.0.4)
5
5
  rails (~> 5)
6
6
 
7
7
  GEM
File without changes
data/README.md CHANGED
@@ -20,7 +20,7 @@ At a basic level, you can get a list of your application's routes in a useful fo
20
20
  Rails.sensible_routes
21
21
 
22
22
  That returns a SensibleRouteCollection, which is array-like in that it responds to many of the same methods. You can also filter the collection down
23
- further - see the API documentation for full details.
23
+ further - see the [documentation](https://github.com/ArtOfCode-/sensible_routes/wiki) for full details.
24
24
 
25
25
  ## Contributions
26
26
  Welcome. Ping me a PR. For large changes you should probably open an issue first to discuss.
data/Rakefile CHANGED
File without changes
@@ -32,6 +32,8 @@ class SensibleRoute
32
32
  else
33
33
  '[^/]+'
34
34
  end
35
+ elsif part.is_a? ActionDispatch::Journey::Format
36
+ matcher << '(?:\.[^/]+)?'
35
37
  end
36
38
  end
37
39
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class SensibleRoutes
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'.freeze
5
5
  end
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensible_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ArtOfCode-
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-02 00:00:00.000000000 Z
11
+ date: 2018-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  requirements: []
104
104
  rubyforge_project:
105
- rubygems_version: 2.6.12
105
+ rubygems_version: 2.6.11
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Simple and comprehensible route introspection library for Rails.