gloudapp 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/gloudapp.gemspec +1 -1
- data/lib/gloudapp/info.rb +1 -1
- data/lib/gloudapp/patches.rb +0 -17
- metadata +8 -6
data/gloudapp.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
19
|
s.require_paths = ["lib"]
|
20
20
|
|
21
|
-
s.add_runtime_dependency "cloudapp_api"
|
21
|
+
s.add_runtime_dependency "cloudapp_api", '>= 0.3.2'
|
22
22
|
s.add_runtime_dependency "gtk2"
|
23
23
|
s.add_runtime_dependency "json"
|
24
24
|
end
|
data/lib/gloudapp/info.rb
CHANGED
data/lib/gloudapp/patches.rb
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
|
2
2
|
# patches for cloudapp_api
|
3
3
|
module CloudApp
|
4
|
-
class Account
|
5
|
-
attr_reader :subscription_expires_at
|
6
|
-
end
|
7
|
-
|
8
4
|
class Drop
|
9
5
|
def slug
|
10
6
|
url.split(/\//).last
|
@@ -14,18 +10,5 @@ module CloudApp
|
|
14
10
|
res = get "http://#{$domain}/#{id}"
|
15
11
|
res.ok? ? Drop.new(res) : bad_response(res)
|
16
12
|
end
|
17
|
-
|
18
|
-
attr_reader :source
|
19
|
-
end
|
20
|
-
|
21
|
-
class Multipart
|
22
|
-
def payload
|
23
|
-
{
|
24
|
-
:headers => {
|
25
|
-
"User-Agent" => "Ruby.CloudApp.API",
|
26
|
-
"Content-Type" => "multipart/form-data; boundary=#{boundary}"},
|
27
|
-
:body => @body
|
28
|
-
}
|
29
|
-
end
|
30
13
|
end
|
31
14
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gloudapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 1.3.
|
9
|
+
- 1
|
10
|
+
version: 1.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Christian Nicolai
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-10-
|
19
|
+
date: 2011-10-14 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: cloudapp_api
|
@@ -26,10 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 23
|
30
30
|
segments:
|
31
31
|
- 0
|
32
|
-
|
32
|
+
- 3
|
33
|
+
- 2
|
34
|
+
version: 0.3.2
|
33
35
|
type: :runtime
|
34
36
|
version_requirements: *id001
|
35
37
|
- !ruby/object:Gem::Dependency
|