Hoodow-pickhost-cli 0.1.2 → 0.1.3

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 (7) hide show
  1. data/History.txt +4 -0
  2. data/LICENCE +20 -0
  3. data/VERSION +1 -0
  4. data/bin/pickhost +1 -1
  5. metadata +10 -25
  6. data/Manifest.txt +0 -8
  7. data/Rakefile +0 -15
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.1.3 / 2009-08-20
2
+
3
+ * moved to jeweler
4
+
1
5
  === 0.1.2 / 2009-08-10
2
6
 
3
7
  * return errors
data/LICENCE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 Ole Riesenberg
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.3
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://localhost:3000/api/upload')
27
+ url = URI.parse('http://pickhost.eu/api/upload')
28
28
  response = JSON.parse( HTTPClient.post(url, { :file => File.new(file) }.merge(auth)).body.content )
29
29
  return response["errors"] if response["errors"]
30
30
  copy response["image"]["public_view_url"]
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ole Riesenberg
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-24 00:00:00 -07:00
12
+ date: 2009-08-20 00:00:00 -07:00
13
13
  default_executable: pickhost
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,42 +22,27 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 2.1.5.2
24
24
  version:
25
- - !ruby/object:Gem::Dependency
26
- name: hoe
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: 2.3.2
34
- version:
35
- description: Command line uploader for pickhost.eu
36
- email:
37
- - or@oleriesenberg.com
25
+ description:
26
+ email: or@oleriesenberg.com
38
27
  executables:
39
28
  - pickhost
40
29
  extensions: []
41
30
 
42
31
  extra_rdoc_files:
43
- - History.txt
44
- - Manifest.txt
45
32
  - README.txt
46
33
  files:
47
34
  - History.txt
48
- - Manifest.txt
35
+ - LICENCE
49
36
  - README.txt
50
- - Rakefile
37
+ - VERSION
51
38
  - bin/pickhost
52
39
  - lib/pickhost_cli.rb
53
- - test/test_pickhost_cli.rb
54
- has_rdoc: true
55
- homepage: http://github.com/Hoodow/pickhost-cli
40
+ has_rdoc: false
41
+ homepage: http://pickhost.eu
56
42
  licenses:
57
43
  post_install_message:
58
44
  rdoc_options:
59
- - --main
60
- - README.txt
45
+ - --charset=UTF-8
61
46
  require_paths:
62
47
  - lib
63
48
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -74,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
59
  version:
75
60
  requirements: []
76
61
 
77
- rubyforge_project: pickhost-cli
62
+ rubyforge_project:
78
63
  rubygems_version: 1.3.5
79
64
  signing_key:
80
65
  specification_version: 2
data/Manifest.txt DELETED
@@ -1,8 +0,0 @@
1
- History.txt
2
- Manifest.txt
3
- README.txt
4
- Rakefile
5
- bin/pickhost
6
- lib/pickhost_cli.rb
7
- pickhost-cli.gemspec
8
- test/test_pickhost_cli.rb
data/Rakefile DELETED
@@ -1,15 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require 'rubygems'
4
- require 'hoe'
5
-
6
- Hoe.spec 'pickhost-cli' do
7
- self.developer('Ole Riesenberg', 'or@oleriesenberg.com')
8
- self.url = "http://github.com/Hoodow/pickhost-cli"
9
- self.description = "Command line uploader for pickhost.eu"
10
- self.extra_deps = [
11
- ['httpclient','>= 2.1.5.2']
12
- ]
13
- end
14
-
15
- # vim: syntax=ruby