rails_routes_drawer 0.1.0

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/rails_routes_drawer.rb +5 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7c7bae6c06616cdeea51f9720103602adbc34b76
4
+ data.tar.gz: fc2d0634b2e4c6c2394afa506a392910537baa2e
5
+ SHA512:
6
+ metadata.gz: cdd5649cc37ca767a90903286fad74ca364ebf2ccf9f350ac12e863d1f998f9ae48d5742a3c9f163cce7d1c120d099d64546afbb08ccbb72d94e01ed291f7f5f
7
+ data.tar.gz: 8db360db17552c9bac0566dd9ee80c71f12316cc31e4544d52a2afd1a402b5453b8e38a78248703b0a7815ec660025bda3c5078b27198631daff8751ddccad5a
@@ -0,0 +1,5 @@
1
+ class ActionDispatch::Routing::Mapper
2
+ def draw(routes_name)
3
+ instance_eval(File.read(Rails.root.join("config/routes/#{routes_name}.rb")))
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_routes_drawer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Lucas Juarez
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-10-27 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple way to split your routes in multiple files
14
+ email: lucasjavierjuarez@hotmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/rails_routes_drawer.rb
20
+ homepage: ''
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubyforge_project:
40
+ rubygems_version: 2.6.8
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Rails routes drwaer
44
+ test_files: []