brightcove-api 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +16 -0
- data/Gemfile.lock +33 -0
- data/Rakefile +24 -30
- data/VERSION +1 -1
- data/brightcove-api.gemspec +38 -31
- data/lib/brightcove-api.rb +1 -1
- data/test/test_brightcove-api.rb +1 -1
- metadata +68 -43
- data/.gitignore +0 -21
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
crack (0.1.6)
|
5
|
+
fakeweb (1.2.8)
|
6
|
+
git (1.2.5)
|
7
|
+
httparty (0.5.2)
|
8
|
+
crack (= 0.1.6)
|
9
|
+
jeweler (1.5.1)
|
10
|
+
bundler (~> 1.0.0)
|
11
|
+
git (>= 1.2.5)
|
12
|
+
rake
|
13
|
+
json (1.4.6)
|
14
|
+
mime-types (1.16)
|
15
|
+
mocha (0.9.10)
|
16
|
+
rake
|
17
|
+
rake (0.8.7)
|
18
|
+
rcov (0.8.1.2.0)
|
19
|
+
rest-client (1.6.1)
|
20
|
+
mime-types (>= 1.16)
|
21
|
+
|
22
|
+
PLATFORMS
|
23
|
+
ruby
|
24
|
+
|
25
|
+
DEPENDENCIES
|
26
|
+
bundler (~> 1.0.0)
|
27
|
+
fakeweb
|
28
|
+
httparty
|
29
|
+
jeweler (~> 1.5.1)
|
30
|
+
json
|
31
|
+
mocha
|
32
|
+
rcov
|
33
|
+
rest-client
|
data/Rakefile
CHANGED
@@ -1,24 +1,26 @@
|
|
1
1
|
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
2
10
|
require 'rake'
|
3
11
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
gem.add_dependency('fakeweb', '1.2.8')
|
15
|
-
gem.add_dependency('json', '1.2.4')
|
16
|
-
gem.add_dependency('rest-client', '1.6.1')
|
17
|
-
end
|
18
|
-
Jeweler::GemcutterTasks.new
|
19
|
-
rescue LoadError
|
20
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
12
|
+
require 'jeweler'
|
13
|
+
Jeweler::Tasks.new do |gem|
|
14
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
15
|
+
gem.name = "brightcove-api"
|
16
|
+
gem.homepage = "http://github.com/agoragames/brightcove"
|
17
|
+
gem.license = "MIT"
|
18
|
+
gem.summary = %Q{Ruby gem for interacting with the Brightcove media API}
|
19
|
+
gem.description = %Q{Ruby gem for interacting with the Brightcove media API. http://docs.brightcove.com/en/media/}
|
20
|
+
gem.email = "dczarnecki@agoragames.com"
|
21
|
+
gem.authors = ["David Czarnecki"]
|
21
22
|
end
|
23
|
+
Jeweler::RubygemsDotOrgTasks.new
|
22
24
|
|
23
25
|
require 'rake/testtask'
|
24
26
|
Rake::TestTask.new(:test) do |test|
|
@@ -27,21 +29,13 @@ Rake::TestTask.new(:test) do |test|
|
|
27
29
|
test.verbose = true
|
28
30
|
end
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
test.verbose = true
|
36
|
-
end
|
37
|
-
rescue LoadError
|
38
|
-
task :rcov do
|
39
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
40
|
-
end
|
32
|
+
require 'rcov/rcovtask'
|
33
|
+
Rcov::RcovTask.new do |test|
|
34
|
+
test.libs << 'test'
|
35
|
+
test.pattern = 'test/**/test_*.rb'
|
36
|
+
test.verbose = true
|
41
37
|
end
|
42
38
|
|
43
|
-
task :test => :check_dependencies
|
44
|
-
|
45
39
|
task :default => :test
|
46
40
|
|
47
41
|
require 'rake/rdoctask'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.4
|
data/brightcove-api.gemspec
CHANGED
@@ -1,45 +1,46 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{brightcove-api}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["David Czarnecki"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-12-27}
|
13
13
|
s.description = %q{Ruby gem for interacting with the Brightcove media API. http://docs.brightcove.com/en/media/}
|
14
14
|
s.email = %q{dczarnecki@agoragames.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
|
17
|
+
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"brightcove-api.gemspec",
|
28
|
+
"lib/brightcove-api.rb",
|
29
|
+
"test/fakeweb/create_video_response.json",
|
30
|
+
"test/fakeweb/delete_video_response.json",
|
31
|
+
"test/fakeweb/find_all_videos_response.json",
|
32
|
+
"test/fakeweb/movie.mov",
|
33
|
+
"test/helper.rb",
|
34
|
+
"test/test_brightcove-api.rb"
|
34
35
|
]
|
35
36
|
s.homepage = %q{http://github.com/agoragames/brightcove}
|
36
|
-
s.
|
37
|
+
s.licenses = ["MIT"]
|
37
38
|
s.require_paths = ["lib"]
|
38
39
|
s.rubygems_version = %q{1.3.7}
|
39
40
|
s.summary = %q{Ruby gem for interacting with the Brightcove media API}
|
40
41
|
s.test_files = [
|
41
42
|
"test/helper.rb",
|
42
|
-
|
43
|
+
"test/test_brightcove-api.rb"
|
43
44
|
]
|
44
45
|
|
45
46
|
if s.respond_to? :specification_version then
|
@@ -47,21 +48,27 @@ Gem::Specification.new do |s|
|
|
47
48
|
s.specification_version = 3
|
48
49
|
|
49
50
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
50
|
-
s.add_runtime_dependency(%q<httparty>, ["
|
51
|
-
s.add_runtime_dependency(%q<
|
52
|
-
s.add_runtime_dependency(%q<
|
53
|
-
s.
|
51
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
52
|
+
s.add_runtime_dependency(%q<json>, [">= 0"])
|
53
|
+
s.add_runtime_dependency(%q<rest-client>, [">= 0"])
|
54
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
55
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
|
56
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
54
57
|
else
|
55
|
-
s.add_dependency(%q<httparty>, ["
|
56
|
-
s.add_dependency(%q<
|
57
|
-
s.add_dependency(%q<
|
58
|
-
s.add_dependency(%q<
|
58
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
59
|
+
s.add_dependency(%q<json>, [">= 0"])
|
60
|
+
s.add_dependency(%q<rest-client>, [">= 0"])
|
61
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
62
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
63
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
59
64
|
end
|
60
65
|
else
|
61
|
-
s.add_dependency(%q<httparty>, ["
|
62
|
-
s.add_dependency(%q<
|
63
|
-
s.add_dependency(%q<
|
64
|
-
s.add_dependency(%q<
|
66
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
67
|
+
s.add_dependency(%q<json>, [">= 0"])
|
68
|
+
s.add_dependency(%q<rest-client>, [">= 0"])
|
69
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
70
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
71
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
65
72
|
end
|
66
73
|
end
|
67
74
|
|
data/lib/brightcove-api.rb
CHANGED
data/test/test_brightcove-api.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightcove-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 4
|
10
|
+
version: 1.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Czarnecki
|
@@ -15,73 +15,97 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-12-27 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
22
|
+
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
|
24
|
+
name: httparty
|
25
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
26
|
none: false
|
26
27
|
requirements:
|
27
|
-
- - "
|
28
|
+
- - ">="
|
28
29
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
30
|
+
hash: 3
|
30
31
|
segments:
|
31
32
|
- 0
|
32
|
-
|
33
|
-
|
34
|
-
version: 0.5.2
|
35
|
-
type: :runtime
|
36
|
-
version_requirements: *id001
|
33
|
+
version: "0"
|
34
|
+
requirement: *id001
|
37
35
|
- !ruby/object:Gem::Dependency
|
38
|
-
|
36
|
+
type: :runtime
|
39
37
|
prerelease: false
|
40
|
-
|
38
|
+
name: json
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
41
40
|
none: false
|
42
41
|
requirements:
|
43
|
-
- - "
|
42
|
+
- - ">="
|
44
43
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
44
|
+
hash: 3
|
46
45
|
segments:
|
47
|
-
-
|
48
|
-
|
49
|
-
|
50
|
-
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
requirement: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
51
50
|
type: :runtime
|
52
|
-
|
51
|
+
prerelease: false
|
52
|
+
name: rest-client
|
53
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
62
|
+
requirement: *id003
|
53
63
|
- !ruby/object:Gem::Dependency
|
54
|
-
|
64
|
+
type: :development
|
55
65
|
prerelease: false
|
56
|
-
|
66
|
+
name: bundler
|
67
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
57
68
|
none: false
|
58
69
|
requirements:
|
59
|
-
- -
|
70
|
+
- - ~>
|
60
71
|
- !ruby/object:Gem::Version
|
61
72
|
hash: 23
|
62
73
|
segments:
|
63
74
|
- 1
|
64
|
-
-
|
65
|
-
-
|
66
|
-
version: 1.
|
67
|
-
|
68
|
-
version_requirements: *id003
|
75
|
+
- 0
|
76
|
+
- 0
|
77
|
+
version: 1.0.0
|
78
|
+
requirement: *id004
|
69
79
|
- !ruby/object:Gem::Dependency
|
70
|
-
|
80
|
+
type: :development
|
71
81
|
prerelease: false
|
72
|
-
|
82
|
+
name: jeweler
|
83
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
73
84
|
none: false
|
74
85
|
requirements:
|
75
|
-
- -
|
86
|
+
- - ~>
|
76
87
|
- !ruby/object:Gem::Version
|
77
|
-
hash:
|
88
|
+
hash: 1
|
78
89
|
segments:
|
79
90
|
- 1
|
80
|
-
-
|
91
|
+
- 5
|
81
92
|
- 1
|
82
|
-
version: 1.
|
83
|
-
|
84
|
-
|
93
|
+
version: 1.5.1
|
94
|
+
requirement: *id005
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
name: rcov
|
99
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
hash: 3
|
105
|
+
segments:
|
106
|
+
- 0
|
107
|
+
version: "0"
|
108
|
+
requirement: *id006
|
85
109
|
description: Ruby gem for interacting with the Brightcove media API. http://docs.brightcove.com/en/media/
|
86
110
|
email: dczarnecki@agoragames.com
|
87
111
|
executables: []
|
@@ -93,7 +117,8 @@ extra_rdoc_files:
|
|
93
117
|
- README.rdoc
|
94
118
|
files:
|
95
119
|
- .document
|
96
|
-
-
|
120
|
+
- Gemfile
|
121
|
+
- Gemfile.lock
|
97
122
|
- LICENSE
|
98
123
|
- README.rdoc
|
99
124
|
- Rakefile
|
@@ -108,11 +133,11 @@ files:
|
|
108
133
|
- test/test_brightcove-api.rb
|
109
134
|
has_rdoc: true
|
110
135
|
homepage: http://github.com/agoragames/brightcove
|
111
|
-
licenses:
|
112
|
-
|
136
|
+
licenses:
|
137
|
+
- MIT
|
113
138
|
post_install_message:
|
114
|
-
rdoc_options:
|
115
|
-
|
139
|
+
rdoc_options: []
|
140
|
+
|
116
141
|
require_paths:
|
117
142
|
- lib
|
118
143
|
required_ruby_version: !ruby/object:Gem::Requirement
|