restful_routing 1.1.2 → 1.1.4

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: 256710c34b929359d01528329d46725bdb285f2e
4
- data.tar.gz: ea014b5b5b9112e85131982153ddde0053195e6b
3
+ metadata.gz: a917a7e797d63a9a6aa1caa6ab87b40b5da0690a
4
+ data.tar.gz: c2617bfc4ecb70e1f9fe04805145cdf6e09ed373
5
5
  SHA512:
6
- metadata.gz: 870047c390d2a73d8cccee29bd0405b2da82f8c9483f21648663e14ef7527ca93efe0f9111ddd15bd33f0194bcbf44188a5806c8e8b535069a6b55ac104e74df
7
- data.tar.gz: f11bdbd004243007b4c9d4b1d51116103ffad6367cdbbb6241c33645c9f1052471334a575d7c25380aa70d889b33dce7c40a1ca16607022714b119697317fd68
6
+ metadata.gz: d2ff6b7fa3baf0132df963f91055036f690118c9e01bacb12382177f178371d67e59592dd6bce9cf11bd97659c5dfe51d4f3868f4e37915337f7ff08062012e4
7
+ data.tar.gz: 3af53150d15a82c60a1a3c7f1eb115744597a7b1831f85f33efa56e5bdc9133022bbc6569a09118c55f5d2b80f3de1a277be6814c82222bbab95cb94632e07a1
data/README.md CHANGED
@@ -14,10 +14,18 @@ And then execute:
14
14
 
15
15
  $ bundle
16
16
 
17
- Or install it yourself as:
17
+ Or install it yourself:
18
18
 
19
19
  $ gem install restful_routing
20
20
 
21
+ **You'll need to add `restful_routing.rb` to your `.gitignore`**
22
+
23
+ Start your Rails server
24
+
25
+ $ rails s
26
+
27
+ Then, while your server is running, whenever you save changes to routes.rb, restful_routing.rb will update
28
+
21
29
  ## Usage
22
30
 
23
31
  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 `rails routes` and put that output in a file for later reference. This gem does that for you.
data/bin/console CHANGED
@@ -11,4 +11,4 @@ require "restful_routing"
11
11
  # Pry.start
12
12
 
13
13
  require "irb"
14
- IRB.start
14
+ IRB.start
data/bin/setup CHANGED
@@ -6,3 +6,6 @@ set -vx
6
6
  bundle install
7
7
 
8
8
  # Do any other automated setup that you need to do here
9
+ File.open(Dir.pwd + '/gitignore', 'w+') do |file|
10
+ file.write 'restful_routing.rb'
11
+ end
@@ -1,3 +1,3 @@
1
1
  module RestfulRouting
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.4"
3
3
  end
@@ -15,7 +15,10 @@ module RestfulRouting
15
15
  "Not that you're a cotton-headed-ninny-muggins, \nbut you gotta fix something to get those routes.\n\n",
16
16
  "Ummm...your routes shouldn't look like that.\n\n",
17
17
  "Why you gotta be like that, man? Now you've gone an' offended Rails\nwith what you typed.\n\n",
18
- "Dag, yo. Your routes have seen better days.\n\n"
18
+ "Dag, yo. Your routes have seen better days.\n\n",
19
+ "Who are you trying to fool? Those routes ain't gonna work!\n\n",
20
+ "You can't pull the wool over Rail's eyes. She saw that mistake in your routes...\n\n",
21
+ "It's like your momma don told you: sticks and stones can break my bones\n but wrong words in your routes will kill your project\n\n"
19
22
  ]
20
23
 
21
24
  File.open(base_path + '/restful_routing.rb', 'w+') do |f|
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restful_routing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Casey Stinnett
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2017-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,6 +91,7 @@ files:
91
91
  - lib/restful_routing/version.rb
92
92
  - restful_routing-1.0.3.gem
93
93
  - restful_routing-1.1.1.gem
94
+ - restful_routing-1.1.2.gem
94
95
  - restful_routing-1.1.gem
95
96
  - restful_routing.gemspec
96
97
  homepage: https://github.com/casey-stinnett/restful_routing
@@ -114,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
115
  version: '0'
115
116
  requirements: []
116
117
  rubyforge_project:
117
- rubygems_version: 2.6.8
118
+ rubygems_version: 2.6.14
118
119
  signing_key:
119
120
  specification_version: 4
120
121
  summary: Auto-generate a restful_routing file for easy prefix tracking.