wistia-api 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.rdoc +4 -4
  2. data/VERSION +1 -1
  3. data/lib/config.rb +2 -4
  4. data/wistia-api.gemspec +83 -0
  5. metadata +4 -3
@@ -4,14 +4,14 @@ Ruby wrapper for Wistia's API
4
4
 
5
5
  == Installation
6
6
 
7
- <tt>gem install wistia-api</tt>
7
+ gem install wistia-api
8
8
 
9
9
  == Usage
10
10
 
11
11
  Start by requiring wistia:
12
-
13
- <tt>require 'wistia'</tt>
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.0
1
+ 0.1.2
@@ -1,9 +1,7 @@
1
1
  require 'configatron'
2
2
 
3
- #configatron.wistia.api.key = ''
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
- #configatron.wistia.api.url = 'https://api.wistia.com/v1/'
8
- configatron.wistia.api.url = 'http://api.wistia.local:3000/v1/'
6
+ configatron.wistia.api.url = 'https://api.wistia.com/v1/'
9
7
 
@@ -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
- - 0
9
- version: 0.1.0
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: 4356228871564884655
181
+ hash: -3755301837622815924
181
182
  segments:
182
183
  - 0
183
184
  version: "0"