sorted_routes 0.1.9 → 0.2.0

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: eeba908e450ac4ccf9346d8dd2c6c41743e28df3
4
- data.tar.gz: 8c9e1babcf093e8f7f83ceae49dfae693f55fe8d
3
+ metadata.gz: 35b09f5c17f247b63258358b51e7fff0f0036739
4
+ data.tar.gz: 0d08709549e2bceb69cfb33054714d0679710453
5
5
  SHA512:
6
- metadata.gz: 50dffbbcf23e3eae270cba80c2ccd0a2c752d201d29b46debacf7b936a9fe40a6292c9c4b684b0ddc6fb6f0b04547e04e73c62dbef66045aa7b3e6293028515d
7
- data.tar.gz: '052598133bcdb77d182bd11dfe3fbff5e268890e159e3a4428fae224355e6448430b3e7071336ff887f9120924a38bc2b9601f177ff195e46b022b0ab00f1b26'
6
+ metadata.gz: 58648d23232650fef2a593f2dc485c5d9e8987eed71afaa9cc1c154518712b6b571a144fc48f6d9ebf02ed231ac9de14ab119ea7b8a3d36c61faa856deea2204
7
+ data.tar.gz: 8125d84fa5d43c698d854b1721016c4efe81f8912bf8b4547bbb5f641dd2b2d3c6b4055890341ac385837aa13bcfca95879ab4a4cd4933503070439eb70986b7
@@ -1,3 +1,3 @@
1
1
  module SortedRoutes
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
  end
@@ -11,14 +11,29 @@ task :sorted_routes => :environment do
11
11
  <meta name='viewport' content='width=device-width, initial-scale=1'>
12
12
  <script src='https://code.jquery.com/jquery-1.12.4.js'></script>
13
13
  <script type='text/javascript' charset='utf8' src='https://cdn.datatables.net/1.10.16/js/jquery.dataTables.js'></script>
14
+ <link rel='stylesheet' type='text/css' href='https://cdn.datatables.net/v/dt/jszip-2.5.0/dt-1.10.16/b-1.5.1/b-html5-1.5.1/b-print-1.5.1/cr-1.4.1/datatables.min.css'/>
15
+ <script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/pdfmake.min.js'></script>
16
+ <script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.32/vfs_fonts.js'></script>
17
+ <script type='text/javascript' src='https://cdn.datatables.net/v/dt/jszip-2.5.0/dt-1.10.16/b-1.5.1/b-html5-1.5.1/b-print-1.5.1/cr-1.4.1/datatables.min.js'></script>
18
+
14
19
  <script type='text/javascript'>
15
20
  $(document).ready(function() {
16
- $('#sorted-routes').DataTable();
21
+ $('#sorted-routes').DataTable({
22
+ 'pageLength': 100,
23
+ 'order': [ 3, 'asc' ],
24
+ 'columnDefs': [
25
+ { className: 'dt-right', 'targets': [ 0 ] }
26
+ ],
27
+ dom: 'Bfrtip',
28
+ buttons: [
29
+ 'copy', 'print', 'pdf'
30
+ ]
31
+ });
17
32
  });
18
33
  </script>
19
34
  <link rel='stylesheet' type='text/css' href='https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css'>
20
35
  <style type='text/css'>
21
- body { background-color: #333; color: #01dad4; }
36
+ body { color: #01dad4; }
22
37
  </style></head>
23
38
  <body><table id='sorted-routes' class='display' width='100%'>
24
39
  <thead><tr><th>Name</th><th>Verb</th><th>Path</th><th>Requirements</th></tr></thead><tbody>"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sorted_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Lenander