Hoodow-pickhost-cli 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +4 -0
  2. data/bin/pickhost +2 -1
  3. data/lib/pickhost_cli.rb +1 -1
  4. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.1.1 / 2009-07-25
2
+
3
+ * fixed a bug with absolute paths
4
+
1
5
  === 0.1.0 / 2009-07-24
2
6
 
3
7
  * support authentication
data/bin/pickhost CHANGED
@@ -10,6 +10,7 @@ USE:
10
10
 
11
11
  =end
12
12
 
13
+ require 'pathname'
13
14
  require 'yaml'
14
15
  require 'json'
15
16
  require 'httpclient'
@@ -19,7 +20,7 @@ module Pickhost
19
20
 
20
21
  def parse(input)
21
22
  return help if input == '-h' || input.nil? || input[/help/]
22
- upload([Dir.pwd, input].join('/'))
23
+ upload(Pathname(input).realpath)
23
24
  end
24
25
 
25
26
  def upload(file)
data/lib/pickhost_cli.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class PickhostCli
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Hoodow-pickhost-cli
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
  - Ole Riesenberg