360_services 1.0.9 → 1.0.10
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/360_services.gemspec +7 -6
- data/Rakefile +2 -2
- data/lib/sorenson/services/asset.rb +1 -1
- data/lib/sorenson/services/base.rb +1 -2
- metadata +6 -8
data/360_services.gemspec
CHANGED
|
@@ -2,25 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{360_services}
|
|
5
|
-
s.version = "1.0.
|
|
5
|
+
s.version = "1.0.10"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Sorenson Media"]
|
|
9
|
-
s.date = %q{2010-03-
|
|
10
|
-
s.description = %q{Ruby bindings for Sorenson 360}
|
|
9
|
+
s.date = %q{2010-03-25}
|
|
10
|
+
s.description = %q{Ruby bindings for Sorenson 360 Services}
|
|
11
11
|
s.email = %q{video@sorensonmedia.com}
|
|
12
12
|
s.extra_rdoc_files = ["README.rdoc", "lib/sorenson/services.rb", "lib/sorenson/services/account.rb", "lib/sorenson/services/array.rb", "lib/sorenson/services/asset.rb", "lib/sorenson/services/base.rb", "lib/sorenson/services/category.rb", "lib/sorenson/services/core_ext.rb", "lib/sorenson/services/core_ext/attribute_accessors.rb", "lib/sorenson/services/core_ext/hash.rb", "lib/sorenson/services/core_ext/object.rb", "lib/sorenson/services/event.rb", "lib/sorenson/services/flag.rb", "lib/sorenson/services/group.rb", "lib/sorenson/services/metric.rb", "lib/sorenson/services/preset.rb", "lib/sorenson/services/rate_plan.rb", "lib/sorenson/services/site.rb", "lib/sorenson/services/subaccount.rb", "lib/sorenson/services/tag.rb"]
|
|
13
13
|
s.files = ["HOW_TO_BUILD.txt", "Manifest", "README.rdoc", "Rakefile", "features/manage_accounts.feature", "features/manage_assets.feature", "features/manage_categories.feature", "features/manage_flags.feature", "features/manage_group_assets.feature", "features/manage_groups.feature", "features/manage_metadata.feature", "features/manage_metrics.feature", "features/manage_sites.feature", "features/manage_tags.feature", "features/mange_rate_plan.feature", "features/step_definitions/manage_accounts_steps.rb", "features/step_definitions/manage_assets_steps.rb", "features/step_definitions/manage_categories_steps.rb", "features/step_definitions/manage_flags_steps.rb", "features/step_definitions/manage_group_assets_steps.rb", "features/step_definitions/manage_groups_steps.rb", "features/step_definitions/manage_metadata_steps.rb", "features/step_definitions/manage_metrics_steps.rb", "features/step_definitions/manage_sites_steps.rb", "features/step_definitions/manage_tags_steps.rb", "features/step_definitions/mange_rate_plan_steps.rb", "features/step_definitions/utility_steps.rb", "features/step_definitions/web_steps.rb", "features/support/document_steps.rb", "features/support/env.rb", "features/support/netrecorder.rb", "features/support/paths.rb", "lib/sorenson/services.rb", "lib/sorenson/services/account.rb", "lib/sorenson/services/array.rb", "lib/sorenson/services/asset.rb", "lib/sorenson/services/base.rb", "lib/sorenson/services/category.rb", "lib/sorenson/services/core_ext.rb", "lib/sorenson/services/core_ext/attribute_accessors.rb", "lib/sorenson/services/core_ext/hash.rb", "lib/sorenson/services/core_ext/object.rb", "lib/sorenson/services/event.rb", "lib/sorenson/services/flag.rb", "lib/sorenson/services/group.rb", "lib/sorenson/services/metric.rb", "lib/sorenson/services/preset.rb", "lib/sorenson/services/rate_plan.rb", "lib/sorenson/services/site.rb", "lib/sorenson/services/subaccount.rb", "lib/sorenson/services/tag.rb", "360_services.gemspec"]
|
|
14
|
+
s.has_rdoc = true
|
|
14
15
|
s.homepage = %q{http://github.com/sorenson/360_services}
|
|
15
16
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "360_services", "--main", "README.rdoc"]
|
|
16
17
|
s.require_paths = ["lib"]
|
|
17
18
|
s.rubyforge_project = %q{360_services}
|
|
18
|
-
s.rubygems_version = %q{1.3.
|
|
19
|
-
s.summary = %q{Ruby bindings for Sorenson 360}
|
|
19
|
+
s.rubygems_version = %q{1.3.1}
|
|
20
|
+
s.summary = %q{Ruby bindings for Sorenson 360 Services}
|
|
20
21
|
|
|
21
22
|
if s.respond_to? :specification_version then
|
|
22
23
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
23
|
-
s.specification_version =
|
|
24
|
+
s.specification_version = 2
|
|
24
25
|
|
|
25
26
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
|
26
27
|
s.add_development_dependency(%q<echoe>, [">= 0"])
|
data/Rakefile
CHANGED
|
@@ -4,8 +4,8 @@ require 'cucumber/rake/task'
|
|
|
4
4
|
require 'echoe'
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
Echoe.new('360_services', '1.0.
|
|
8
|
-
p.description = "Ruby bindings for Sorenson 360"
|
|
7
|
+
Echoe.new('360_services', '1.0.10') do |p|
|
|
8
|
+
p.description = "Ruby bindings for Sorenson 360 Services"
|
|
9
9
|
p.url = "http://github.com/sorenson/360_services"
|
|
10
10
|
p.author = "Sorenson Media"
|
|
11
11
|
p.email = "video@sorensonmedia.com"
|
|
@@ -171,7 +171,7 @@ module Sorenson
|
|
|
171
171
|
@direct_asset_url = data['direct_asset_url']
|
|
172
172
|
@group_id = data['group_id']
|
|
173
173
|
@embed_list = data['embed_list']
|
|
174
|
-
@video_guid = @embed_list.empty? ? nil : @embed_list.first[1].match(/videoGUID=(.*?)&/)[1]
|
|
174
|
+
@video_guid = @embed_list.empty? ? nil : @embed_list.to_a.first[1].match(/videoGUID=(.*?)&/)[1]
|
|
175
175
|
end
|
|
176
176
|
end
|
|
177
177
|
end
|
|
@@ -23,8 +23,7 @@ module Sorenson
|
|
|
23
23
|
end
|
|
24
24
|
|
|
25
25
|
def self.host
|
|
26
|
-
|
|
27
|
-
host
|
|
26
|
+
((RAILS_ENV['360LOCAL'].upcase == 'TRUE' && RAILS_ENV == 'development') || ['test', 'cucumber'].include?(RAILS_ENV)) ? 'http://localhost:3001' : 'http://360services.sorensonmedia.com'
|
|
28
27
|
end
|
|
29
28
|
|
|
30
29
|
def self.post_to(url, payload = {})
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: 360_services
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sorenson Media
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-03-
|
|
12
|
+
date: 2010-03-25 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
53
|
version: "0"
|
|
54
54
|
version:
|
|
55
|
-
description: Ruby bindings for Sorenson 360
|
|
55
|
+
description: Ruby bindings for Sorenson 360 Services
|
|
56
56
|
email: video@sorensonmedia.com
|
|
57
57
|
executables: []
|
|
58
58
|
|
|
@@ -134,8 +134,6 @@ files:
|
|
|
134
134
|
- 360_services.gemspec
|
|
135
135
|
has_rdoc: true
|
|
136
136
|
homepage: http://github.com/sorenson/360_services
|
|
137
|
-
licenses: []
|
|
138
|
-
|
|
139
137
|
post_install_message:
|
|
140
138
|
rdoc_options:
|
|
141
139
|
- --line-numbers
|
|
@@ -161,9 +159,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
161
159
|
requirements: []
|
|
162
160
|
|
|
163
161
|
rubyforge_project: 360_services
|
|
164
|
-
rubygems_version: 1.3.
|
|
162
|
+
rubygems_version: 1.3.1
|
|
165
163
|
signing_key:
|
|
166
|
-
specification_version:
|
|
167
|
-
summary: Ruby bindings for Sorenson 360
|
|
164
|
+
specification_version: 2
|
|
165
|
+
summary: Ruby bindings for Sorenson 360 Services
|
|
168
166
|
test_files: []
|
|
169
167
|
|