MuranoCLI 2.1.0 → 2.1.1

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: 06a751fa4b7c0b5cd5ee4c3ec8e5075d915b31bf
4
- data.tar.gz: d3d7f35806143bdea0849b71b8117626dcf58727
3
+ metadata.gz: 81958886e83634f8569dff4b70ecf0da208fb766
4
+ data.tar.gz: 87ff30809fa161c0bda2195d4126853ad2f2c4bf
5
5
  SHA512:
6
- metadata.gz: 26f18f7661d62fda5df06fad381f0c1a81286027bf91dcd1da991973cb43489947a257dcffd9d69a4454247ac6a095390147cc993c51d180255d9376c724a152
7
- data.tar.gz: 03829cb88d7211ddab47e1c0dc9a9ceed6a8858cf0d320e409a97a1acda999c08548c4f8615768f30a24246532f6bc94d9ef232a4f3e1ba98df71d25fcfc2b84
6
+ metadata.gz: b87848e244f4b440ead85a6bed2b44bd50158006070896ab6aff25049b9815653ca5ace4140e7fff85aa8d9956cc680ac1657cee417990741c927c920c0551d6
7
+ data.tar.gz: b1e9d33bf529c1c95210057a559afeb6a9db98ac506eb4b43aab6bd8d1bf8ca43f3b606c8a901b1ac35b35ef2aa16b9532e9e44eddfa85dadb407e537b03d1b4
@@ -34,6 +34,8 @@ module MrMurano
34
34
  ##
35
35
  # Get one item of the static content.
36
36
  def fetch(path, &block)
37
+ path = path[1..-1] if path[0] == '/'
38
+ path = '/'+ URI.encode_www_form_component(path)
37
39
  get(path) do |request, http|
38
40
  http.request(request) do |resp|
39
41
  case resp
@@ -1,4 +1,4 @@
1
1
  module MrMurano
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.1'.freeze
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MuranoCLI
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Conrad Tadpol Tilstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: commander