pretty_routes 0.1.1 → 0.2.0

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: b7dbdbd45f54bd78551838ab52cb65dff343b02f
4
- data.tar.gz: 7d3bbebf063a1156aba576a6698901c2a6bfe9cb
3
+ metadata.gz: 108a98e15430bc532f719f475e0ea820cb2255e7
4
+ data.tar.gz: f2e64fa13daeff7072b55f492bf598c0fe54796a
5
5
  SHA512:
6
- metadata.gz: b36caf60e689aa1dee813ecafcdaf021de5a14cfd563cea6217bd38db011301bd38d41ec5e14a32d21fa590cff40f59ba63843dff68a9a68c0faa9f1d5f3c337
7
- data.tar.gz: f675503a1e72c2bdfa87237e95ea1111e17becdad4ecbf37dda25ad61e97566dfe5723b0fb21ac4304ca21eab1b5112a3a716c76e0d1f0c909235c38426360dc
6
+ metadata.gz: ef5d2727c2eb1efd4601ca52d658624851f5785442b8f22214caa087b022888956b6c835d3e1c4345c029bceee5efc0fd60c13ac6e1404f70aef45d74e095421
7
+ data.tar.gz: 72bb4466b523b4cee89b33e84b3ac0510b738539660eb40663cd768533248b92ae2fbbde2729d0e1118ab48837e273eb2030ed74f61d8c7eddd194fe013c4961
data/README.md CHANGED
@@ -16,9 +16,9 @@ Then run `bundle install` and you're ready to start
16
16
 
17
17
  ## Use
18
18
 
19
- Visit `/rails/routes` in your app and you'll see your routes. It's that simple.
19
+ Visit `/rails/routes` in your app and you'll see your routes:
20
20
 
21
- ![Usage of Pretty Routes](https://cloud.githubusercontent.com/assets/4056725/13028455/96997842-d26f-11e5-8497-b8dd90df41f4.gif)
21
+ ![Usage of Pretty Routes](https://cloud.githubusercontent.com/assets/4056725/13034941/f604de60-d342-11e5-97ea-72a0dba560f4.gif)
22
22
 
23
23
  ## About
24
24
 
@@ -0,0 +1,5 @@
1
+ Rails.application.routes.draw do
2
+ mount PrettyRoutes::Engine => '/pretty_routes', as: 'pretty_routes_engine'
3
+ get 'rails/routes' => 'pretty_routes/routes#index'
4
+ get 'rails/info/routes' => 'pretty_routes/routes#index'
5
+ end
@@ -2,5 +2,5 @@
2
2
  # Version of the Gem.
3
3
  #
4
4
  module PrettyRoutes
5
- VERSION = '0.1.1'.freeze
5
+ VERSION = '0.2.0'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretty_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angel M de Miguel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-13 00:00:00.000000000 Z
11
+ date: 2016-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -172,6 +172,7 @@ files:
172
172
  - app/views/pretty_routes/routes/_route.html.erb
173
173
  - app/views/pretty_routes/routes/_route_wrapper.html.erb
174
174
  - app/views/pretty_routes/routes/index.html.erb
175
+ - config/routes.rb
175
176
  - lib/pretty_routes.rb
176
177
  - lib/pretty_routes/engine.rb
177
178
  - lib/pretty_routes/version.rb
@@ -195,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
196
  version: '0'
196
197
  requirements: []
197
198
  rubyforge_project:
198
- rubygems_version: 2.5.1
199
+ rubygems_version: 2.2.2
199
200
  signing_key:
200
201
  specification_version: 4
201
202
  summary: PrettyRoutes is a Rails engine to display and interact with routes of your