stashboxr 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/stashboxr.rb +4 -0
  3. data/stashboxr.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.6
data/lib/stashboxr.rb CHANGED
@@ -198,6 +198,10 @@ class Stashboxr
198
198
  return res.code == "200"
199
199
  end
200
200
 
201
+ def download
202
+ Agent.get(url).body
203
+ end
204
+
201
205
  # Delete this file (permanently!) from stashbox.org
202
206
  def delete
203
207
  res = Agent.post("http://stashbox.org/delete_upload/"<<@stashboxid)
data/stashboxr.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{stashboxr}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["JP Hastings-Spital"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stashboxr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - JP Hastings-Spital