rack_router 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 371f49e5b4147144b7ea7237e66f2defafc621d99022b15031914f2f3011a2c4
4
- data.tar.gz: 34d45cdc026561b2dd944b0d1bf438edb9a5997f25a0f994d934d7fb953c342e
3
+ metadata.gz: c8e72c85ade27d635ea3bc2063949fe864b7ee3f5c9ce0eb2a95f4e92ec91f73
4
+ data.tar.gz: f9c216f5264dddddceffc7494ec74c29205749de33a769d40d49dfb8c0b8f7a9
5
5
  SHA512:
6
- metadata.gz: a2e3780125208f53c537cce13dbe45ae10c147236eaba0df876a12a92678f94dcc2b1c019afc88b656020f7c517593fd1e88f3bf9d34414469eae832d781e32e
7
- data.tar.gz: 21187ed1a1b03f411fa25038259104d6817ceb3ecd940c99e75f585c5b3aae982d9e3ae284d990e9c5b573a9c503de052a0119c6d6deaa6e2cdaafd182a5d1c1
6
+ metadata.gz: c04c8e275728eab66090bcc2dc17c97a89b7ba5fd0aaf541310a49a8df64c91c3e701356a126a85d81ddefc0e61d4f3b69dc3a8673076d6ab2028f7144f83721
7
+ data.tar.gz: 06a3b54989a79f820141e9b0a766a782295b97d70142f80bc89d7a8092d2447cf72b084cce4ef873f716af6070a5ea1452d1240693a1ec2b8a3448e21b6e41ca
@@ -1,4 +1,7 @@
1
1
  # Change log
2
2
 
3
+ ## 0.1.1 (2020-01-10)
4
+ * print route add leading slash to path
5
+
3
6
  ## 0.1.0 (2020-01-08)
4
7
  * initial version
@@ -32,7 +32,7 @@ module Rack
32
32
  end
33
33
 
34
34
  def print_route
35
- str = "\t#{http_method} \t#{path}"
35
+ str = "\t#{http_method} \t/#{path}"
36
36
  str += "\tcontent_type=[#{content_type.join(',')}]" unless content_type.nil?
37
37
  str += "\taccept=[#{content_type.join(',')}]" unless accept.nil?
38
38
  str
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Router
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack_router
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Talakevich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-08 00:00:00.000000000 Z
11
+ date: 2020-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack