pickhost-cli 0.3.0 → 0.4.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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/bin/pickhost +1 -1
  3. metadata +31 -11
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.4.0
data/bin/pickhost CHANGED
@@ -24,7 +24,7 @@ module Pickhost
24
24
  end
25
25
 
26
26
  def upload(file)
27
- url = URI.parse('http://pickhost.eu/api/upload')
27
+ url = URI.parse('https://pickhost.eu/api/upload')
28
28
  response = JSON.parse(
29
29
  HTTPClient.post(url, { :client_key => "54c56f1de2678ac4d32aa19fb66fe06c",
30
30
  :file => File.new(file) }.merge(auth)).body.content )
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pickhost-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ hash: 15
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 4
9
+ - 0
10
+ version: 0.4.0
5
11
  platform: ruby
6
12
  authors:
7
13
  - Ole Riesenberg
@@ -9,19 +15,26 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-10-04 00:00:00 +02:00
18
+ date: 2011-04-21 00:00:00 +02:00
13
19
  default_executable: pickhost
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: httpclient
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 119
30
+ segments:
31
+ - 2
32
+ - 1
33
+ - 5
34
+ - 2
23
35
  version: 2.1.5.2
24
- version:
36
+ type: :runtime
37
+ version_requirements: *id001
25
38
  description:
26
39
  email: or@oleriesenberg.com
27
40
  executables:
@@ -37,31 +50,38 @@ files:
37
50
  - bin/pickhost
38
51
  - lib/pickhost_cli.rb
39
52
  - README.textile
53
+ - test/test_pickhost_cli.rb
40
54
  has_rdoc: true
41
55
  homepage: http://pickhost.eu
42
56
  licenses: []
43
57
 
44
58
  post_install_message:
45
- rdoc_options:
46
- - --charset=UTF-8
59
+ rdoc_options: []
60
+
47
61
  require_paths:
48
62
  - lib
49
63
  required_ruby_version: !ruby/object:Gem::Requirement
64
+ none: false
50
65
  requirements:
51
66
  - - ">="
52
67
  - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
53
71
  version: "0"
54
- version:
55
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
+ none: false
56
74
  requirements:
57
75
  - - ">="
58
76
  - !ruby/object:Gem::Version
77
+ hash: 3
78
+ segments:
79
+ - 0
59
80
  version: "0"
60
- version:
61
81
  requirements: []
62
82
 
63
83
  rubyforge_project:
64
- rubygems_version: 1.3.5
84
+ rubygems_version: 1.4.1
65
85
  signing_key:
66
86
  specification_version: 3
67
87
  summary: Command line uploader for pickhost.eu