multiple_routes 0.0.1 → 1.0.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: d58d15be9f25c1f4240af28874ed41bd8f5ec1d5
4
- data.tar.gz: d582a888341c7d824f6e4cb3fcbc1eded49cc06a
3
+ metadata.gz: f78270aa68553417639388ad603a0f09a5361764
4
+ data.tar.gz: e400beff8907be1c97adc1d66edddb971e530afb
5
5
  SHA512:
6
- metadata.gz: 81e42ac3e9fe3170c487b9ed76a767111835289359ead9cd0e79ef269a7b870df10c5dfd4c03d1286607f920c9e6d1d94640fe4a790d6a6e6461e8b24c842d96
7
- data.tar.gz: ef6a27032ac1c016c0580d7bbf54b86ae17696b21c798f3272a57528119c8e4055eb5516f0596e909731cebd27dcfb474a92f3bf78d78941c200198886caba3e
6
+ metadata.gz: 9d00f6c200be86a81cf1d616389793186e7a792e11b3c8679f91b9245d0b869f9b78aabafefeec0a025d09e52e310de202ebce18e6ee8eea02127839e476fef2
7
+ data.tar.gz: fcf41de3e8719e1f0f2c976313243727ed0425b187f1065e990e83f6de1cb6598659777cc80e51c7319c97ec308ccfad8f632caf64ba39cba6b7f7b82d39abb0
data/README.md CHANGED
@@ -1,4 +1,34 @@
1
1
  # MultipleRoutes
2
- A deploy tracking gem for Ruby on Rails applications, supporting [https://github.com/alessiosantocs/multiple_routesapp](https://github.com/alessiosantocs/multiple_routesapp)
2
+ Install this gem if you want to manage your app's routes in a smarter way.
3
+ You'll be able to split routes files into a routes folder and keep everything tidy and clean.
4
+
5
+ ## Installation
6
+ Go for it, install like this:
7
+
8
+ gem 'multiple_routes' # In your gemfile
9
+
10
+ Then bundle install.
11
+
12
+ ## Usage
13
+ Simply create a folder in your config/ called _routes_ and create any file as follows:
14
+
15
+ # config/routes/api.rb
16
+ namespace :api, defaults: {format: 'json'} do
17
+ namespace :v1 do
18
+ resources :posts do
19
+ # Whatever...
20
+ end
21
+ end
22
+ end
23
+
24
+ Then in your routes.rb file:
25
+
26
+ Deploydapp::Application.routes.draw do
27
+ # example posts resource
28
+ resources :posts do
29
+ resources :pull_requests
30
+ end
31
+ # Api namespace
32
+ draw :api
33
+ end
3
34
 
4
- Things to do...
@@ -1,3 +1,3 @@
1
1
  module MultipleRoutes
2
- VERSION = "0.0.1"
2
+ VERSION = "1.0.0"
3
3
  end
Binary file
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = MultipleRoutes::VERSION
9
9
  spec.authors = ["Alessio Santo"]
10
10
  spec.email = ["alessio.santo@pazienti.it"]
11
- spec.description = %q{A deploy tracker}
12
- spec.summary = %q{A deploy tracker}
11
+ spec.description = %q{Split your app's routes file}
12
+ spec.summary = %q{Split your app's routes file}
13
13
  spec.homepage = "https://github.com/alessiosantocs/multiple_routes"
14
14
  spec.license = "MIT"
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiple_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessio Santo
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
- description: A deploy tracker
27
+ description: Split your app's routes file
28
28
  email:
29
29
  - alessio.santo@pazienti.it
30
30
  executables: []
@@ -39,6 +39,7 @@ files:
39
39
  - lib/multiple_routes.rb
40
40
  - lib/multiple_routes/initializers/core_ext.rb
41
41
  - lib/multiple_routes/version.rb
42
+ - multiple_routes-0.0.1.gem
42
43
  - multiple_routes.gemspec
43
44
  homepage: https://github.com/alessiosantocs/multiple_routes
44
45
  licenses:
@@ -63,5 +64,5 @@ rubyforge_project:
63
64
  rubygems_version: 2.2.2
64
65
  signing_key:
65
66
  specification_version: 4
66
- summary: A deploy tracker
67
+ summary: Split your app's routes file
67
68
  test_files: []