restful_routing 1.0 → 1.0.1
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 +4 -4
- data/README.md +9 -6
- data/lib/restful_routing/version.rb +1 -1
- data/restful_routing-1.0.gem +0 -0
- data/restful_routing.gemspec +8 -1
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9589a48a441ced2882874ee7f5baa30a430959b3
|
4
|
+
data.tar.gz: 5043b86fc5a1f7fef5bbd5e4879a7c685a58f883
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b16108ed63f24fa4e9f1a5e8059a95d61f061fac398dfe457431155b822c9ded540fa0132a00e5ee8adfc4fbb17d339fcb060d3fa51aab32310626e1650619c8
|
7
|
+
data.tar.gz: 24b24602dec91ddeaba72776e77d46f8f006cd55e20af8e745ed961060428b3e3f9b0868f8877b2128e238add3e914445904aae558ca070ee96a9f4c2b86e2bf
|
data/README.md
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
# RestfulRouting
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
While developing Rails apps, it is often difficult to remember which prefixes route to which controller#action. That is why it is useful to run `rake routes` (or `rails routes` in Rails 5) and put that output in a file for later reference. This gem does that for you.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
10
8
|
|
11
9
|
```ruby
|
12
|
-
gem 'restful_routing'
|
10
|
+
gem 'restful_routing', group: :development
|
13
11
|
```
|
14
12
|
|
15
13
|
And then execute:
|
@@ -22,7 +20,12 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
While developing Rails apps, it is often difficult to remember which prefixes route to which controller#action. That is why it is useful to run `rake routes` (or `rails routes` in Rails 5) and put that output in a file for later reference. This gem does that for you.
|
24
|
+
|
25
|
+
After installing the gem in your Rails project, it is listening for saved changes in your `config/routes.rb`. Every time you make a change to routes.rb and you save it, restful_routing will look for `restful_routing.rb` in your root directory. It will update it if there or make it if not.
|
26
|
+
|
27
|
+
`restful_routing.rb` will contain the output of `rake routes` or `rails routes`.
|
28
|
+
|
26
29
|
|
27
30
|
## Development
|
28
31
|
|
@@ -32,7 +35,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
35
|
|
33
36
|
## Contributing
|
34
37
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
38
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/casey-stinnett/restful_routing.
|
36
39
|
|
37
40
|
|
38
41
|
## License
|
Binary file
|
data/restful_routing.gemspec
CHANGED
@@ -10,7 +10,14 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["stinnett.casey@gmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Auto-generate a restful_routing file for easy prefix tracking.}
|
13
|
-
spec.description = %q{
|
13
|
+
spec.description = %q{
|
14
|
+
While developing Rails apps, it is often difficult to remember which prefixes route to which controller#action. That is why it is useful to run `rake routes` (or `rails routes` in Rails 5) and put that output in a file for later reference. This gem does that for you.
|
15
|
+
|
16
|
+
After installing the gem in your Rails project, it is listening for saved changes in your `config/routes.rb`. Every time you make a change to routes.rb and you save it, restful_routing will look for `restful_routing.rb` in your root directory. It will update it if there or make it if not.
|
17
|
+
|
18
|
+
`restful_routing.rb` will contain the output of `rake routes` or `rails routes`.
|
19
|
+
|
20
|
+
}
|
14
21
|
spec.homepage = "https://github.com/casey-stinnett/restful_routing"
|
15
22
|
spec.license = "MIT"
|
16
23
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restful_routing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Casey Stinnett
|
@@ -52,7 +52,14 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
-
description:
|
55
|
+
description: "\n While developing Rails apps, it is often difficult to remember
|
56
|
+
which prefixes route to which controller#action. That is why it is useful to run
|
57
|
+
`rake routes` (or `rails routes` in Rails 5) and put that output in a file for later
|
58
|
+
reference. This gem does that for you.\n\n After installing the gem in your Rails
|
59
|
+
project, it is listening for saved changes in your `config/routes.rb`. Every time
|
60
|
+
you make a change to routes.rb and you save it, restful_routing will look for `restful_routing.rb`
|
61
|
+
in your root directory. It will update it if there or make it if not.\n\n `restful_routing.rb`
|
62
|
+
will contain the output of `rake routes` or `rails routes`.\n\n "
|
56
63
|
email:
|
57
64
|
- stinnett.casey@gmail.com
|
58
65
|
executables: []
|
@@ -76,6 +83,7 @@ files:
|
|
76
83
|
- restful_routing-0.1.3.3.gem
|
77
84
|
- restful_routing-0.1.3.4.gem
|
78
85
|
- restful_routing-0.1.3.gem
|
86
|
+
- restful_routing-1.0.gem
|
79
87
|
- restful_routing.gemspec
|
80
88
|
homepage: https://github.com/casey-stinnett/restful_routing
|
81
89
|
licenses:
|