wistia-api 0.1.0 → 0.1.2
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.rdoc +4 -4
- data/VERSION +1 -1
- data/lib/config.rb +2 -4
- data/wistia-api.gemspec +83 -0
- metadata +4 -3
data/README.rdoc
CHANGED
|
@@ -4,14 +4,14 @@ Ruby wrapper for Wistia's API
|
|
|
4
4
|
|
|
5
5
|
== Installation
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
gem install wistia-api
|
|
8
8
|
|
|
9
9
|
== Usage
|
|
10
10
|
|
|
11
11
|
Start by requiring wistia:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
require 'wistia'
|
|
13
|
+
Configure your API password:
|
|
14
|
+
Wistia::Media.password = 'your-api-key-here'
|
|
15
15
|
Now you can use the <tt>Wistia::Media</tt> and <tt>Wistia::Project</tt> classes as ActiveResource wrappers around Wistia's API.
|
|
16
16
|
|
|
17
17
|
See http://wistia.com/doc/data-api for more info.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/lib/config.rb
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
require 'configatron'
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
configatron.wistia.api.key = 'test'
|
|
3
|
+
configatron.wistia.api.key = ''
|
|
5
4
|
configatron.wistia.api.user = 'api'
|
|
6
5
|
configatron.wistia.api.format = :json
|
|
7
|
-
|
|
8
|
-
configatron.wistia.api.url = 'http://api.wistia.local:3000/v1/'
|
|
6
|
+
configatron.wistia.api.url = 'https://api.wistia.com/v1/'
|
|
9
7
|
|
data/wistia-api.gemspec
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Generated by jeweler
|
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
+
# -*- encoding: utf-8 -*-
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |s|
|
|
7
|
+
s.name = %q{wistia-api}
|
|
8
|
+
s.version = "0.1.2"
|
|
9
|
+
|
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
+
s.authors = ["Jim Bancroft", "Mark Bates"]
|
|
12
|
+
s.date = %q{2011-01-21}
|
|
13
|
+
s.description = %q{A ruby library for working with Wistia's data API.}
|
|
14
|
+
s.email = %q{support@wistia.com}
|
|
15
|
+
s.extra_rdoc_files = [
|
|
16
|
+
"LICENSE.txt",
|
|
17
|
+
"README.rdoc"
|
|
18
|
+
]
|
|
19
|
+
s.files = [
|
|
20
|
+
".document",
|
|
21
|
+
".rspec",
|
|
22
|
+
".rvmrc",
|
|
23
|
+
"Gemfile",
|
|
24
|
+
"Gemfile.lock",
|
|
25
|
+
"LICENSE.txt",
|
|
26
|
+
"README.rdoc",
|
|
27
|
+
"Rakefile",
|
|
28
|
+
"VERSION",
|
|
29
|
+
"lib/config.rb",
|
|
30
|
+
"lib/wistia.rb",
|
|
31
|
+
"lib/wistia/base.rb",
|
|
32
|
+
"lib/wistia/config.rb",
|
|
33
|
+
"lib/wistia/media.rb",
|
|
34
|
+
"lib/wistia/project.rb",
|
|
35
|
+
"spec/spec_helper.rb",
|
|
36
|
+
"spec/wistia-api_spec.rb",
|
|
37
|
+
"wistia-api.gemspec"
|
|
38
|
+
]
|
|
39
|
+
s.homepage = %q{http://github.com/wistia/wistia-api}
|
|
40
|
+
s.licenses = ["MIT"]
|
|
41
|
+
s.require_paths = ["lib"]
|
|
42
|
+
s.rubygems_version = %q{1.3.7}
|
|
43
|
+
s.summary = %q{Ruby wrapper for Wistia's API}
|
|
44
|
+
s.test_files = [
|
|
45
|
+
"spec/spec_helper.rb",
|
|
46
|
+
"spec/wistia-api_spec.rb"
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
if s.respond_to? :specification_version then
|
|
50
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
51
|
+
s.specification_version = 3
|
|
52
|
+
|
|
53
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
54
|
+
s.add_runtime_dependency(%q<activeresource>, ["> 2.3.8"])
|
|
55
|
+
s.add_runtime_dependency(%q<configatron>, [">= 2.6.4"])
|
|
56
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
|
57
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
58
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
|
59
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
|
60
|
+
s.add_runtime_dependency(%q<activeresource>, ["> 2.3.8"])
|
|
61
|
+
s.add_runtime_dependency(%q<configatron>, [">= 2.6.4"])
|
|
62
|
+
else
|
|
63
|
+
s.add_dependency(%q<activeresource>, ["> 2.3.8"])
|
|
64
|
+
s.add_dependency(%q<configatron>, [">= 2.6.4"])
|
|
65
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
|
66
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
67
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
|
68
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
|
69
|
+
s.add_dependency(%q<activeresource>, ["> 2.3.8"])
|
|
70
|
+
s.add_dependency(%q<configatron>, [">= 2.6.4"])
|
|
71
|
+
end
|
|
72
|
+
else
|
|
73
|
+
s.add_dependency(%q<activeresource>, ["> 2.3.8"])
|
|
74
|
+
s.add_dependency(%q<configatron>, [">= 2.6.4"])
|
|
75
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
|
76
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
77
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
|
78
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
|
79
|
+
s.add_dependency(%q<activeresource>, ["> 2.3.8"])
|
|
80
|
+
s.add_dependency(%q<configatron>, [">= 2.6.4"])
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.1.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Jim Bancroft
|
|
@@ -163,6 +163,7 @@ files:
|
|
|
163
163
|
- lib/wistia/project.rb
|
|
164
164
|
- spec/spec_helper.rb
|
|
165
165
|
- spec/wistia-api_spec.rb
|
|
166
|
+
- wistia-api.gemspec
|
|
166
167
|
has_rdoc: true
|
|
167
168
|
homepage: http://github.com/wistia/wistia-api
|
|
168
169
|
licenses:
|
|
@@ -177,7 +178,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
177
178
|
requirements:
|
|
178
179
|
- - ">="
|
|
179
180
|
- !ruby/object:Gem::Version
|
|
180
|
-
hash:
|
|
181
|
+
hash: -3755301837622815924
|
|
181
182
|
segments:
|
|
182
183
|
- 0
|
|
183
184
|
version: "0"
|