panda 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/panda/panda.rb +4 -0
- data/panda.gemspec +1 -1
- metadata +24 -46
data/lib/panda/panda.rb
CHANGED
@@ -58,6 +58,10 @@ class Panda
|
|
58
58
|
"http://#{@api_host}:#{@api_port}/#{@prefix}"
|
59
59
|
end
|
60
60
|
|
61
|
+
def setup_bucket(params={})
|
62
|
+
granting_params = { :s3_videos_bucket => params[:bucket], :user_aws_key => params[:access_key], :user_aws_secret => params[:secret_key] }
|
63
|
+
put("/clouds/#{@cloud_id}.json", granting_params)
|
64
|
+
end
|
61
65
|
|
62
66
|
private
|
63
67
|
|
data/panda.gemspec
CHANGED
metadata
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 0
|
7
|
-
- 4
|
8
|
-
- 1
|
9
|
-
version: 0.4.1
|
4
|
+
version: 0.4.2
|
10
5
|
platform: ruby
|
11
6
|
authors:
|
12
7
|
- New Bamboo
|
@@ -19,69 +14,54 @@ default_executable:
|
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: rspec
|
22
|
-
|
23
|
-
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
20
|
requirements:
|
25
21
|
- - ">="
|
26
22
|
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 2
|
30
|
-
- 9
|
31
23
|
version: 1.2.9
|
32
|
-
|
33
|
-
version_requirements: *id001
|
24
|
+
version:
|
34
25
|
- !ruby/object:Gem::Dependency
|
35
26
|
name: fakeweb
|
36
|
-
|
37
|
-
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
30
|
requirements:
|
39
31
|
- - ">="
|
40
32
|
- !ruby/object:Gem::Version
|
41
|
-
segments:
|
42
|
-
- 0
|
43
33
|
version: "0"
|
44
|
-
|
45
|
-
version_requirements: *id002
|
34
|
+
version:
|
46
35
|
- !ruby/object:Gem::Dependency
|
47
36
|
name: fakeweb-matcher
|
48
|
-
|
49
|
-
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
40
|
requirements:
|
51
41
|
- - ">="
|
52
42
|
- !ruby/object:Gem::Version
|
53
|
-
segments:
|
54
|
-
- 0
|
55
43
|
version: "0"
|
56
|
-
|
57
|
-
version_requirements: *id003
|
44
|
+
version:
|
58
45
|
- !ruby/object:Gem::Dependency
|
59
46
|
name: ruby-hmac
|
60
|
-
|
61
|
-
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
62
50
|
requirements:
|
63
51
|
- - ">="
|
64
52
|
- !ruby/object:Gem::Version
|
65
|
-
segments:
|
66
|
-
- 0
|
67
|
-
- 3
|
68
|
-
- 2
|
69
53
|
version: 0.3.2
|
70
|
-
|
71
|
-
version_requirements: *id004
|
54
|
+
version:
|
72
55
|
- !ruby/object:Gem::Dependency
|
73
56
|
name: rest-client
|
74
|
-
|
75
|
-
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
76
60
|
requirements:
|
77
61
|
- - ">="
|
78
62
|
- !ruby/object:Gem::Version
|
79
|
-
segments:
|
80
|
-
- 1
|
81
|
-
- 2
|
82
63
|
version: "1.2"
|
83
|
-
|
84
|
-
version_requirements: *id005
|
64
|
+
version:
|
85
65
|
description: Panda Client
|
86
66
|
email: info@pandastream.com
|
87
67
|
executables: []
|
@@ -118,20 +98,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
118
98
|
requirements:
|
119
99
|
- - ">="
|
120
100
|
- !ruby/object:Gem::Version
|
121
|
-
segments:
|
122
|
-
- 0
|
123
101
|
version: "0"
|
102
|
+
version:
|
124
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
104
|
requirements:
|
126
105
|
- - ">="
|
127
106
|
- !ruby/object:Gem::Version
|
128
|
-
segments:
|
129
|
-
- 0
|
130
107
|
version: "0"
|
108
|
+
version:
|
131
109
|
requirements: []
|
132
110
|
|
133
111
|
rubyforge_project:
|
134
|
-
rubygems_version: 1.3.
|
112
|
+
rubygems_version: 1.3.5
|
135
113
|
signing_key:
|
136
114
|
specification_version: 3
|
137
115
|
summary: Panda Client
|