downcer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -1,9 +1,14 @@
1
1
  Downcer
2
2
  ================================================================================
3
3
 
4
+ [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/Tomohiro/downcer)
5
+
4
6
  Command line download tool helper
5
7
 
6
8
 
9
+ ---
10
+
11
+
7
12
  Requirements
8
13
  -------------------------------------------------------------------------------
9
14
 
data/lib/downcer/cli.rb CHANGED
@@ -10,7 +10,7 @@ module Downcer
10
10
  end
11
11
 
12
12
  def initialize(url)
13
- @url = URI.parse(url)
13
+ @url = URI.parse(URI.encode(url))
14
14
  @config = get_config(@url)
15
15
  rescue URI::InvalidURIError => e
16
16
  abort 'Usage: downcer <url>'
@@ -1,3 +1,3 @@
1
1
  module Downcer
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: downcer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: