360_services 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/360_services.gemspec +42 -0
- data/Manifest +48 -0
- data/Rakefile +30 -0
- data/fakeweb_cache +6650 -0
- data/features/manage_accounts.feature +32 -0
- data/features/manage_assets.feature +58 -0
- data/features/manage_categories.feature +87 -0
- data/features/manage_flags.feature +44 -0
- data/features/manage_group_assets.feature +33 -0
- data/features/manage_groups.feature +29 -0
- data/features/manage_metadata.feature +28 -0
- data/features/manage_metrics.feature +22 -0
- data/features/manage_sites.feature +17 -0
- data/features/manage_tags.feature +37 -0
- data/features/mange_rate_plan.feature +9 -0
- data/features/step_definitions/manage_accounts_steps.rb +19 -0
- data/features/step_definitions/manage_assets_steps.rb +62 -0
- data/features/step_definitions/manage_categories_steps.rb +56 -0
- data/features/step_definitions/manage_flags_steps.rb +19 -0
- data/features/step_definitions/manage_group_assets_steps.rb +15 -0
- data/features/step_definitions/manage_groups_steps.rb +27 -0
- data/features/step_definitions/manage_metadata_steps.rb +29 -0
- data/features/step_definitions/manage_metrics_steps.rb +15 -0
- data/features/step_definitions/manage_sites_steps.rb +15 -0
- data/features/step_definitions/manage_tags_steps.rb +23 -0
- data/features/step_definitions/mange_rate_plan_steps.rb +3 -0
- data/features/step_definitions/utility_steps.rb +33 -0
- data/features/step_definitions/web_steps.rb +259 -0
- data/features/support/document_steps.rb +46 -0
- data/features/support/env.rb +13 -0
- data/features/support/netrecorder.rb +20 -0
- data/features/support/paths.rb +27 -0
- data/lib/sorenson/services/account.rb +50 -0
- data/lib/sorenson/services/array.rb +5 -0
- data/lib/sorenson/services/asset.rb +155 -0
- data/lib/sorenson/services/base.rb +71 -0
- data/lib/sorenson/services/category.rb +52 -0
- data/lib/sorenson/services/core_ext/attribute_accessors.rb +40 -0
- data/lib/sorenson/services/core_ext/hash.rb +9 -0
- data/lib/sorenson/services/core_ext/object.rb +16 -0
- data/lib/sorenson/services/core_ext.rb +3 -0
- data/lib/sorenson/services/event.rb +28 -0
- data/lib/sorenson/services/flag.rb +14 -0
- data/lib/sorenson/services/group.rb +41 -0
- data/lib/sorenson/services/metric.rb +21 -0
- data/lib/sorenson/services/rate_plan.rb +30 -0
- data/lib/sorenson/services/site.rb +25 -0
- data/lib/sorenson/services/tag.rb +17 -0
- data/lib/sorenson/services.rb +18 -0
- metadata +161 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = %q{360_services}
|
5
|
+
s.version = "0.0.1"
|
6
|
+
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
+
s.authors = ["Sorenson Media"]
|
9
|
+
s.date = %q{2010-01-25}
|
10
|
+
s.description = %q{Ruby bindings for Sorenson 360}
|
11
|
+
s.email = %q{video@sorensonmedia.com}
|
12
|
+
s.extra_rdoc_files = ["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/rate_plan.rb", "lib/sorenson/services/site.rb", "lib/sorenson/services/tag.rb"]
|
13
|
+
s.files = ["Manifest", "Rakefile", "fakeweb_cache", "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/rate_plan.rb", "lib/sorenson/services/site.rb", "lib/sorenson/services/tag.rb", "360_services.gemspec"]
|
14
|
+
s.homepage = %q{http://github.com/sorensonmedia/360_services}
|
15
|
+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "360_services"]
|
16
|
+
s.require_paths = ["lib"]
|
17
|
+
s.rubyforge_project = %q{360_services}
|
18
|
+
s.rubygems_version = %q{1.3.5}
|
19
|
+
s.summary = %q{Ruby bindings for Sorenson 360}
|
20
|
+
|
21
|
+
if s.respond_to? :specification_version then
|
22
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
23
|
+
s.specification_version = 3
|
24
|
+
|
25
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
26
|
+
s.add_development_dependency(%q<echoe>, [">= 0"])
|
27
|
+
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
28
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
29
|
+
s.add_development_dependency(%q<netrecorder>, [">= 0"])
|
30
|
+
else
|
31
|
+
s.add_dependency(%q<echoe>, [">= 0"])
|
32
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
33
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
34
|
+
s.add_dependency(%q<netrecorder>, [">= 0"])
|
35
|
+
end
|
36
|
+
else
|
37
|
+
s.add_dependency(%q<echoe>, [">= 0"])
|
38
|
+
s.add_dependency(%q<cucumber>, [">= 0"])
|
39
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
40
|
+
s.add_dependency(%q<netrecorder>, [">= 0"])
|
41
|
+
end
|
42
|
+
end
|
data/Manifest
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
Manifest
|
2
|
+
Rakefile
|
3
|
+
fakeweb_cache
|
4
|
+
features/manage_accounts.feature
|
5
|
+
features/manage_assets.feature
|
6
|
+
features/manage_categories.feature
|
7
|
+
features/manage_flags.feature
|
8
|
+
features/manage_group_assets.feature
|
9
|
+
features/manage_groups.feature
|
10
|
+
features/manage_metadata.feature
|
11
|
+
features/manage_metrics.feature
|
12
|
+
features/manage_sites.feature
|
13
|
+
features/manage_tags.feature
|
14
|
+
features/mange_rate_plan.feature
|
15
|
+
features/step_definitions/manage_accounts_steps.rb
|
16
|
+
features/step_definitions/manage_assets_steps.rb
|
17
|
+
features/step_definitions/manage_categories_steps.rb
|
18
|
+
features/step_definitions/manage_flags_steps.rb
|
19
|
+
features/step_definitions/manage_group_assets_steps.rb
|
20
|
+
features/step_definitions/manage_groups_steps.rb
|
21
|
+
features/step_definitions/manage_metadata_steps.rb
|
22
|
+
features/step_definitions/manage_metrics_steps.rb
|
23
|
+
features/step_definitions/manage_sites_steps.rb
|
24
|
+
features/step_definitions/manage_tags_steps.rb
|
25
|
+
features/step_definitions/mange_rate_plan_steps.rb
|
26
|
+
features/step_definitions/utility_steps.rb
|
27
|
+
features/step_definitions/web_steps.rb
|
28
|
+
features/support/document_steps.rb
|
29
|
+
features/support/env.rb
|
30
|
+
features/support/netrecorder.rb
|
31
|
+
features/support/paths.rb
|
32
|
+
lib/sorenson/services.rb
|
33
|
+
lib/sorenson/services/account.rb
|
34
|
+
lib/sorenson/services/array.rb
|
35
|
+
lib/sorenson/services/asset.rb
|
36
|
+
lib/sorenson/services/base.rb
|
37
|
+
lib/sorenson/services/category.rb
|
38
|
+
lib/sorenson/services/core_ext.rb
|
39
|
+
lib/sorenson/services/core_ext/attribute_accessors.rb
|
40
|
+
lib/sorenson/services/core_ext/hash.rb
|
41
|
+
lib/sorenson/services/core_ext/object.rb
|
42
|
+
lib/sorenson/services/event.rb
|
43
|
+
lib/sorenson/services/flag.rb
|
44
|
+
lib/sorenson/services/group.rb
|
45
|
+
lib/sorenson/services/metric.rb
|
46
|
+
lib/sorenson/services/rate_plan.rb
|
47
|
+
lib/sorenson/services/site.rb
|
48
|
+
lib/sorenson/services/tag.rb
|
data/Rakefile
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'cucumber'
|
3
|
+
require 'cucumber/rake/task'
|
4
|
+
require 'echoe'
|
5
|
+
|
6
|
+
Echoe.new('360_services', '0.0.1') do |p|
|
7
|
+
p.description = "Ruby bindings for Sorenson 360"
|
8
|
+
p.url = "http://github.com/sorensonmedia/360_services"
|
9
|
+
p.author = "Sorenson Media"
|
10
|
+
p.email = "video@sorensonmedia.com"
|
11
|
+
p.ignore_pattern = ["tmp/*", "script/*"]
|
12
|
+
p.development_dependencies = %w(echoe cucumber rspec netrecorder)
|
13
|
+
end
|
14
|
+
|
15
|
+
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
|
16
|
+
|
17
|
+
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
|
18
|
+
rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
|
19
|
+
std_opts = "#{rerun_opts} --format rerun --out rerun.txt --strict --tags ~@wip"
|
20
|
+
|
21
|
+
namespace :cucumber do
|
22
|
+
Cucumber::Rake::Task.new(:ok, 'Run features that should pass') do |t|
|
23
|
+
t.fork = true # You may get faster startup if you set this to false
|
24
|
+
t.cucumber_opts = std_opts
|
25
|
+
t.rcov=true
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
task :default => :cucumber
|
30
|
+
task :cucumber => 'cucumber:ok'
|