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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00ec59db155b3391fca44931c6add9bc26844355
4
- data.tar.gz: 2dcbcbedfc77600a2326a6e2d419748f10c0b954
3
+ metadata.gz: 9589a48a441ced2882874ee7f5baa30a430959b3
4
+ data.tar.gz: 5043b86fc5a1f7fef5bbd5e4879a7c685a58f883
5
5
  SHA512:
6
- metadata.gz: 4f5261c61f9bd44c150e306605bda003308d80384737647f7845409c720c2606387130e6a74ec11b8d5d0e71382e5edcc6a9b026d7c5f4a57fddfc0df1d9b3fc
7
- data.tar.gz: ee234bbd9984e96d372113213eacb7d1cd01a8ac93405822a1c7ccdc7c95a2a6263381f0d833d2545bceb4dda5a1154ac53d4196e8c9d8d29bc062e83e388e7f
6
+ metadata.gz: b16108ed63f24fa4e9f1a5e8059a95d61f061fac398dfe457431155b822c9ded540fa0132a00e5ee8adfc4fbb17d339fcb060d3fa51aab32310626e1650619c8
7
+ data.tar.gz: 24b24602dec91ddeaba72776e77d46f8f006cd55e20af8e745ed961060428b3e3f9b0868f8877b2128e238add3e914445904aae558ca070ee96a9f4c2b86e2bf
data/README.md CHANGED
@@ -1,15 +1,13 @@
1
1
  # RestfulRouting
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/restful_routing`. To experiment with that code, run `bin/console` for an interactive prompt.
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
- Simply install the gem and it works!
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/[USERNAME]/restful_routing.
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
@@ -1,3 +1,3 @@
1
1
  module RestfulRouting
2
- VERSION = "1.0"
2
+ VERSION = "1.0.1"
3
3
  end
Binary file
@@ -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: '1.0'
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: