picgarage 0.0.2 → 0.0.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.
- data/README.org +11 -0
- data/lib/picgarage/version.rb +1 -1
- data/lib/picgarage.rb +1 -1
- metadata +3 -2
data/README.org
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
* Install
|
|
2
|
+
: gem install picgarage
|
|
3
|
+
* Usage
|
|
4
|
+
** Tool
|
|
5
|
+
: pgupload /path/to/image.jpg
|
|
6
|
+
The short URL will be returned & copied to your clipboard
|
|
7
|
+
** Gem
|
|
8
|
+
: require 'picgarage'
|
|
9
|
+
: picgarage = PicGarage::PicGarage.new
|
|
10
|
+
: short_url = picgarage.upload_image('/path/to/image.jpg')
|
|
11
|
+
: puts short_url
|
data/lib/picgarage/version.rb
CHANGED
data/lib/picgarage.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: picgarage
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.3
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Sean Porter
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-06-
|
|
13
|
+
date: 2011-06-10 00:00:00 +09:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -47,6 +47,7 @@ extra_rdoc_files: []
|
|
|
47
47
|
files:
|
|
48
48
|
- .gitignore
|
|
49
49
|
- Gemfile
|
|
50
|
+
- README.org
|
|
50
51
|
- Rakefile
|
|
51
52
|
- bin/pgupload
|
|
52
53
|
- lib/picgarage.rb
|