panda 1.6.0 → 1.6.1
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.md +8 -2
- data/lib/panda/faraday.rb +1 -1
- data/lib/panda/version.rb +1 -1
- metadata +3 -9
data/README.md
CHANGED
@@ -20,9 +20,13 @@ Panda gem provides an interface to access the [Panda](http://pandastream.com) AP
|
|
20
20
|
You can just set the default Panda adapter if you are not happy with the current one.
|
21
21
|
|
22
22
|
Panda.default_adapter = :excon
|
23
|
-
|
23
|
+
|
24
|
+
For rails 4, try the net_http adapter. This fixes disable_ssl_peer_verification related errors caused by the default adapter.
|
25
|
+
|
26
|
+
Panda.default_adapter = :net_http
|
27
|
+
|
24
28
|
### Creating an instance of the client
|
25
|
-
|
29
|
+
|
26
30
|
Panda.configure do
|
27
31
|
access_key "panda_access_key"
|
28
32
|
secret_key "panda_secret_key"
|
@@ -153,6 +157,8 @@ The name of the profile can be found in your [Panda account](http://pandastream.
|
|
153
157
|
videos = Panda::Video.all(:page => 2, :per_page => 20)
|
154
158
|
videos.size
|
155
159
|
=> 20
|
160
|
+
|
161
|
+
Note: maximum :per_page is 100.
|
156
162
|
|
157
163
|
##### Find all success videos
|
158
164
|
|
data/lib/panda/faraday.rb
CHANGED
data/lib/panda/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: panda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-04-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby-hmac
|
@@ -185,21 +185,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
185
185
|
- - ! '>='
|
186
186
|
- !ruby/object:Gem::Version
|
187
187
|
version: '0'
|
188
|
-
segments:
|
189
|
-
- 0
|
190
|
-
hash: -2129573717660849291
|
191
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
189
|
none: false
|
193
190
|
requirements:
|
194
191
|
- - ! '>='
|
195
192
|
- !ruby/object:Gem::Version
|
196
193
|
version: '0'
|
197
|
-
segments:
|
198
|
-
- 0
|
199
|
-
hash: -2129573717660849291
|
200
194
|
requirements: []
|
201
195
|
rubyforge_project: panda
|
202
|
-
rubygems_version: 1.8.
|
196
|
+
rubygems_version: 1.8.23
|
203
197
|
signing_key:
|
204
198
|
specification_version: 3
|
205
199
|
summary: Panda Client
|