wistia-api 0.1.2 → 0.1.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.
@@ -10,8 +10,10 @@ Ruby wrapper for Wistia's API
10
10
 
11
11
  Start by requiring wistia:
12
12
  require 'wistia'
13
+
13
14
  Configure your API password:
14
- Wistia::Media.password = 'your-api-key-here'
15
+ Wistia.password = 'your-api-key-here'
16
+
15
17
  Now you can use the <tt>Wistia::Media</tt> and <tt>Wistia::Project</tt> classes as ActiveResource wrappers around Wistia's API.
16
18
 
17
19
  See http://wistia.com/doc/data-api for more info.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -3,3 +3,10 @@ require 'active_resource'
3
3
  require 'wistia/base'
4
4
  require 'wistia/media'
5
5
  require 'wistia/project'
6
+
7
+ module Wistia
8
+ def self.password=(pw)
9
+ Wistia::Media.password = pw
10
+ Wistia::Project.password = pw
11
+ end
12
+ end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wistia-api}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jim Bancroft", "Mark Bates"]
12
- s.date = %q{2011-01-21}
12
+ s.date = %q{2011-01-22}
13
13
  s.description = %q{A ruby library for working with Wistia's data API.}
14
14
  s.email = %q{support@wistia.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jim Bancroft
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-21 00:00:00 -05:00
18
+ date: 2011-01-22 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -178,7 +178,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
178
178
  requirements:
179
179
  - - ">="
180
180
  - !ruby/object:Gem::Version
181
- hash: -3755301837622815924
181
+ hash: 2421883911912478396
182
182
  segments:
183
183
  - 0
184
184
  version: "0"