parliament-routes 0.6.5 → 0.6.6

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: f35ca135aea58ac2df47daa5af99c850cbf52d35
4
- data.tar.gz: 4f335d045fe256dd79c2d518ec5d7962bd57d2c0
3
+ metadata.gz: bdea868b6721c424b9ece440133723694ecd5d77
4
+ data.tar.gz: a157c4eddab49e8fbf5ae94a657c8af7d50d7d1c
5
5
  SHA512:
6
- metadata.gz: 3521c8dbf699373421a8634687b3251aa38f814b3d3f3f85545277cea298078b97cdb2f0d87e1a95c77d7e838717597a01efe57aba0d29469a4ded718bc1266b
7
- data.tar.gz: c4f29654c2169ad24d8f5d8df7b7fc311e7465c6a9d02d26c2e4b663d3ac9a69ba3804c9faf6b9691622c8c76f00a4b9376177106638996ea8283b322a334fc5
6
+ metadata.gz: 5ea0b87755a0ad64824c55bc720bc82aff907d1753c08d9a02d7a1cd6777b62aa93c09662afcbbce4bdfd106221ef9e2adfbfd61ebb2040a8941987c617ad10a
7
+ data.tar.gz: 17ee8c9d361fdf44b19b043f95a24850d196af50bf33ff5ef6efd328763dc3dac99e8d9d08cbd2fc3378b8f90d4c9bf5c2e35eeb5bcbe6706c44b2be37a836a7
data/config/routes.rb CHANGED
@@ -459,6 +459,17 @@ Rails.application.routes.draw do
459
459
  end
460
460
  end
461
461
 
462
+ # /groups/committees
463
+ scope '/committees', as: 'committees' do
464
+ get '/', to: 'groups/committees#index'
465
+ listable('groups/committees#a_to_z', 'groups/committees#letters')
466
+
467
+ scope '/current', as: 'current' do
468
+ get '/', to: 'groups/committees#current'
469
+ listable('groups/committees#a_to_z_current', 'groups/committees#current_letters')
470
+ end
471
+ end
472
+
462
473
  post '/lookup', to: 'groups#lookup'
463
474
 
464
475
  scope '/current', as: 'current' do
@@ -476,7 +487,6 @@ Rails.application.routes.draw do
476
487
  scope '/committees', as: 'committees' do
477
488
  # /committees
478
489
  get '/', to: 'committees#index'
479
-
480
490
  lookupable('committees#lookup_by_letters')
481
491
 
482
492
  listable('committees#a_to_z', 'committees#letters')
@@ -1,5 +1,5 @@
1
1
  module Parliament
2
2
  module Engine
3
- VERSION = '0.6.5'.freeze
3
+ VERSION = '0.6.6'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parliament-routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryony Watson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-21 00:00:00.000000000 Z
11
+ date: 2018-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails