phocoder-rails 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- data/.autotest +46 -0
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +44 -0
- data/LICENSE.txt +20 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +56 -0
- data/VERSION +5 -0
- data/app/controllers/phocoder_controller.rb +118 -0
- data/app/helpers/phocoder_helper.rb +320 -0
- data/app/models/encodable_job.rb +91 -0
- data/app/views/phocoder/_offline_video_embed.html.erb +19 -0
- data/app/views/phocoder/_thumbnail_update.html.erb +3 -0
- data/app/views/phocoder/_video_embed.html.erb +23 -0
- data/app/views/phocoder/multi_thumbnail_update.json.erb +7 -0
- data/app/views/phocoder/thumbnail_update.js.erb +9 -0
- data/config/routes.rb +8 -0
- data/lib/generators/phocoder_rails/model_update_generator.rb +52 -0
- data/lib/generators/phocoder_rails/scaffold_generator.rb +94 -0
- data/lib/generators/phocoder_rails/setup_generator.rb +33 -0
- data/lib/generators/phocoder_rails/templates/controller.rb +71 -0
- data/lib/generators/phocoder_rails/templates/helper.rb +5 -0
- data/lib/generators/phocoder_rails/templates/migration.rb +24 -0
- data/lib/generators/phocoder_rails/templates/model.rb +20 -0
- data/lib/generators/phocoder_rails/templates/model_migration.rb +56 -0
- data/lib/generators/phocoder_rails/templates/model_thumbnail.rb +5 -0
- data/lib/generators/phocoder_rails/templates/model_update_migration.rb +64 -0
- data/lib/generators/phocoder_rails/templates/phocodable.yml +28 -0
- data/lib/generators/phocoder_rails/templates/views/_form.html.erb.tt +23 -0
- data/lib/generators/phocoder_rails/templates/views/index.html.erb.tt +26 -0
- data/lib/generators/phocoder_rails/templates/views/new.html.erb.tt +5 -0
- data/lib/generators/phocoder_rails/templates/views/show.html.erb.tt +12 -0
- data/lib/phocoder_rails.rb +12 -0
- data/lib/phocoder_rails/acts_as_phocodable.rb +1153 -0
- data/lib/phocoder_rails/engine.rb +24 -0
- data/lib/phocoder_rails/errors.rb +46 -0
- data/phocoder-rails.gemspec +219 -0
- data/public/images/building.gif +0 -0
- data/public/images/error.png +0 -0
- data/public/images/play_small.png +0 -0
- data/public/images/storing.gif +0 -0
- data/public/images/waiting.gif +0 -0
- data/public/javascripts/phocodable.js +110 -0
- data/public/javascripts/video-js-2.0.2/.DS_Store +0 -0
- data/public/javascripts/video-js-2.0.2/LICENSE.txt +165 -0
- data/public/javascripts/video-js-2.0.2/README.markdown +202 -0
- data/public/javascripts/video-js-2.0.2/demo-subtitles.srt +13 -0
- data/public/javascripts/video-js-2.0.2/demo.html +101 -0
- data/public/javascripts/video-js-2.0.2/skins/hu.css +116 -0
- data/public/javascripts/video-js-2.0.2/skins/tube.css +111 -0
- data/public/javascripts/video-js-2.0.2/skins/vim.css +89 -0
- data/public/javascripts/video-js-2.0.2/video-js.css +242 -0
- data/public/javascripts/video-js-2.0.2/video.js +1758 -0
- data/public/stylesheets/phocodable.css +19 -0
- data/spec/controllers/phocoder_controller_spec.rb +123 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +7 -0
- data/spec/dummy/app/controllers/images_controller.rb +72 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/helpers/images_helper.rb +5 -0
- data/spec/dummy/app/models/image.rb +20 -0
- data/spec/dummy/app/models/image_thumbnail.rb +5 -0
- data/spec/dummy/app/models/image_upload.rb +11 -0
- data/spec/dummy/app/views/images/_form.html.erb +23 -0
- data/spec/dummy/app/views/images/index.html.erb +26 -0
- data/spec/dummy/app/views/images/new.html.erb +5 -0
- data/spec/dummy/app/views/images/show.html.erb +12 -0
- data/spec/dummy/app/views/layouts/application.html.erb +18 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +45 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +8 -0
- data/spec/dummy/config/environments/development.rb +26 -0
- data/spec/dummy/config/environments/production.rb +49 -0
- data/spec/dummy/config/environments/test.rb +40 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +60 -0
- data/spec/dummy/db/migrate/001_create_image_uploads.rb +37 -0
- data/spec/dummy/db/migrate/20110523165213_add_parent_type_to_image_uploads.rb +11 -0
- data/spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb +24 -0
- data/spec/dummy/db/migrate/20111101024507_create_images.rb +56 -0
- data/spec/dummy/db/schema.rb +99 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/index.html +239 -0
- data/spec/dummy/public/javascripts/application.js +2 -0
- data/spec/dummy/public/javascripts/controls.js +965 -0
- data/spec/dummy/public/javascripts/dragdrop.js +974 -0
- data/spec/dummy/public/javascripts/effects.js +1123 -0
- data/spec/dummy/public/javascripts/jquery-1.6.4.js +9046 -0
- data/spec/dummy/public/javascripts/prototype.js +6001 -0
- data/spec/dummy/public/javascripts/rails.js +175 -0
- data/spec/dummy/public/stylesheets/.gitkeep +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/engine_spec.rb +12 -0
- data/spec/fixtures/big_eye_tiny.jpg +0 -0
- data/spec/fixtures/octologo.png +0 -0
- data/spec/fixtures/test.txt +2 -0
- data/spec/fixtures/video-test.mov +0 -0
- data/spec/helpers/phocoder_helper_spec.rb +421 -0
- data/spec/integration/navigation_spec.rb +10 -0
- data/spec/models/acts_as_phocodable_spec.rb +664 -0
- data/spec/models/encodable_job_spec.rb +50 -0
- data/spec/phocoder_rails_spec.rb +8 -0
- data/spec/routing/phocoder_routing_spec.rb +19 -0
- data/spec/spec_helper.rb +75 -0
- metadata +375 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
include ActionDispatch::TestProcess
|
4
|
+
|
5
|
+
|
6
|
+
describe EncodableJob do
|
7
|
+
|
8
|
+
describe "update_from_phocoder" do
|
9
|
+
|
10
|
+
before(:each) do
|
11
|
+
@image_upload = ImageUpload.create(:phocoder_job_id=>1,:phocoder_input_id=>1,:phocoder_output_id=>1,
|
12
|
+
:zencoder_job_id=>1,:zencoder_input_id=>1,:zencoder_output_id=>1,
|
13
|
+
:file_size=>1,:width=>1,:height=>1,:filename=>"test.png",:content_type=>"image/png")
|
14
|
+
@encodable_job = EncodableJob.create(:phocoder_job_id=>1,:phocoder_input_id=>1,:phocoder_output_id=>1,
|
15
|
+
:zencoder_job_id=>1,:zencoder_input_id=>1,:zencoder_output_id=>1,
|
16
|
+
:encodable=>@image_upload)
|
17
|
+
end
|
18
|
+
|
19
|
+
after(:each) do
|
20
|
+
@image_upload.destroy
|
21
|
+
@encodable_job.destroy
|
22
|
+
end
|
23
|
+
|
24
|
+
it "should fupdate inputs" do
|
25
|
+
params = {:class=>"ImageUpload",:id=>1, :job=>{:id => 1},:input=>{:id=>1,:file_size=>2,:width=>2,:height=>2,:url=>"http://production.webapeel.com/octolabs/themes/octolabs/images/octologo.png"},:format=>"json" }
|
26
|
+
EncodableJob.update_from_phocoder(params);
|
27
|
+
|
28
|
+
@image_upload.reload
|
29
|
+
@image_upload.encodable_status.should == "ready"
|
30
|
+
@image_upload.file_size.should == 2
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
it "should update outpus" do
|
36
|
+
stub_request(:get, "http://production.webapeel.com/octolabs/themes/octolabs/images/octologo.png").
|
37
|
+
with(:headers => {'Accept'=>'*/*'}).
|
38
|
+
to_return(:status => 200, :body => webmock_file("octologo.png"), :headers => {})
|
39
|
+
params = {:class=>"ImageUpload",:id=>1, :job=>{:id => 1}, :output=>{:id=>1,:file_size=>2,:width=>2,:height=>2,:url=>"http://production.webapeel.com/octolabs/themes/octolabs/images/octologo.png"},:format=>"json" }
|
40
|
+
EncodableJob.update_from_phocoder(params);
|
41
|
+
|
42
|
+
@image_upload.reload
|
43
|
+
@image_upload.encodable_status.should == "ready"
|
44
|
+
@image_upload.file_size.should == 2
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
49
|
+
|
50
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
+
|
3
|
+
describe "Phocoder Routes" do
|
4
|
+
|
5
|
+
|
6
|
+
it "should accept a post to /phocoder" do
|
7
|
+
{ :post => '/phocoder/phocoder_notifications/ImageUpload/1' }.should route_to(:controller => "phocoder", :action => "phocoder_notification_update",:class=>"ImageUpload",:id=>"1")
|
8
|
+
end
|
9
|
+
|
10
|
+
it "should accept a post to /phocoder" do
|
11
|
+
{ :post => '/phocoder/zencoder_notifications/ImageUpload/1' }.should route_to(:controller => "phocoder", :action => "zencoder_notification_update",:class=>"ImageUpload",:id=>"1")
|
12
|
+
end
|
13
|
+
|
14
|
+
it "should accept a post to /thumbnail_update" do
|
15
|
+
{ :post => '/phocoder/thumbnail_update' }.should route_to(:controller => "phocoder", :action => "thumbnail_update")
|
16
|
+
end
|
17
|
+
|
18
|
+
|
19
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,75 @@
|
|
1
|
+
# Configure Rails Envinronment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rspec/rails"
|
6
|
+
require 'webmock/rspec'
|
7
|
+
|
8
|
+
ActionMailer::Base.delivery_method = :test
|
9
|
+
ActionMailer::Base.perform_deliveries = true
|
10
|
+
ActionMailer::Base.default_url_options[:host] = "test.com"
|
11
|
+
|
12
|
+
Rails.backtrace_cleaner.remove_silencers!
|
13
|
+
|
14
|
+
# Configure capybara for integration testing
|
15
|
+
# don't know enough about capybara now.
|
16
|
+
# might bring this back later.
|
17
|
+
#require "capybara/rails"
|
18
|
+
#Capybara.default_driver = :rack_test
|
19
|
+
#Capybara.default_selector = :css
|
20
|
+
|
21
|
+
|
22
|
+
# Run any available migration
|
23
|
+
# need to move this into a before block
|
24
|
+
# ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
|
25
|
+
|
26
|
+
# Load support files
|
27
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
28
|
+
|
29
|
+
RSpec.configure do |config|
|
30
|
+
|
31
|
+
# run only the debug tests
|
32
|
+
# config.filter_run :debug => true
|
33
|
+
|
34
|
+
# Remove this line if you don't want RSpec's should and should_not
|
35
|
+
# methods or matchers
|
36
|
+
require 'rspec/expectations'
|
37
|
+
config.include RSpec::Matchers
|
38
|
+
|
39
|
+
# == Mock Framework
|
40
|
+
config.mock_with :rspec
|
41
|
+
|
42
|
+
config.fixture_path = "#{File.dirname(__FILE__)}/fixtures"
|
43
|
+
|
44
|
+
config.before(:all){
|
45
|
+
|
46
|
+
#change this if sqlite is unavailable
|
47
|
+
dbconfig = {
|
48
|
+
:adapter => 'sqlite3',
|
49
|
+
:database => ':memory:'
|
50
|
+
}
|
51
|
+
|
52
|
+
::ActiveRecord::Base.establish_connection(dbconfig)
|
53
|
+
::ActiveRecord::Migration.verbose = false
|
54
|
+
|
55
|
+
::ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate/", __FILE__)
|
56
|
+
}
|
57
|
+
|
58
|
+
config.after(:all){
|
59
|
+
::ActiveRecord::Migrator.down File.expand_path("../dummy/db/migrate/", __FILE__)
|
60
|
+
}
|
61
|
+
end
|
62
|
+
|
63
|
+
# webmock
|
64
|
+
def webmock_site_base_dir
|
65
|
+
"../fixtures"
|
66
|
+
end
|
67
|
+
|
68
|
+
def webmock_filename(f)
|
69
|
+
File.join Rails.root, webmock_site_base_dir, f
|
70
|
+
end
|
71
|
+
|
72
|
+
def webmock_file(f = nil)
|
73
|
+
f ||= "%s.xml" % @site.anchor
|
74
|
+
File.new webmock_filename(f)
|
75
|
+
end
|
metadata
ADDED
@@ -0,0 +1,375 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: phocoder-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 93
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 33
|
10
|
+
version: 0.0.33
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Jeremy Green
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-12-16 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rails
|
22
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
hash: 7
|
28
|
+
segments:
|
29
|
+
- 3
|
30
|
+
- 0
|
31
|
+
- 0
|
32
|
+
version: 3.0.0
|
33
|
+
prerelease: false
|
34
|
+
requirement: *id001
|
35
|
+
type: :runtime
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: capybara
|
38
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 1
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
- 3
|
47
|
+
- 9
|
48
|
+
version: 0.3.9
|
49
|
+
prerelease: false
|
50
|
+
requirement: *id002
|
51
|
+
type: :runtime
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
name: webrat
|
54
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
63
|
+
prerelease: false
|
64
|
+
requirement: *id003
|
65
|
+
type: :runtime
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: phocoder-rb
|
68
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
74
|
+
segments:
|
75
|
+
- 0
|
76
|
+
version: "0"
|
77
|
+
prerelease: false
|
78
|
+
requirement: *id004
|
79
|
+
type: :runtime
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: zencoder
|
82
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
hash: 3
|
88
|
+
segments:
|
89
|
+
- 0
|
90
|
+
version: "0"
|
91
|
+
prerelease: false
|
92
|
+
requirement: *id005
|
93
|
+
type: :runtime
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: aws-s3
|
96
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ">="
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
hash: 3
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
version: "0"
|
105
|
+
prerelease: false
|
106
|
+
requirement: *id006
|
107
|
+
type: :runtime
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
name: spawn
|
110
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
112
|
+
requirements:
|
113
|
+
- - ">="
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
hash: 3
|
116
|
+
segments:
|
117
|
+
- 0
|
118
|
+
version: "0"
|
119
|
+
prerelease: false
|
120
|
+
requirement: *id007
|
121
|
+
type: :runtime
|
122
|
+
- !ruby/object:Gem::Dependency
|
123
|
+
name: rspec-rails
|
124
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
126
|
+
requirements:
|
127
|
+
- - "="
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
hash: 29
|
130
|
+
segments:
|
131
|
+
- 2
|
132
|
+
- 4
|
133
|
+
- 1
|
134
|
+
version: 2.4.1
|
135
|
+
prerelease: false
|
136
|
+
requirement: *id008
|
137
|
+
type: :development
|
138
|
+
- !ruby/object:Gem::Dependency
|
139
|
+
name: bundler
|
140
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
hash: 23
|
146
|
+
segments:
|
147
|
+
- 1
|
148
|
+
- 0
|
149
|
+
- 0
|
150
|
+
version: 1.0.0
|
151
|
+
prerelease: false
|
152
|
+
requirement: *id009
|
153
|
+
type: :development
|
154
|
+
- !ruby/object:Gem::Dependency
|
155
|
+
name: jeweler
|
156
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
158
|
+
requirements:
|
159
|
+
- - ~>
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
hash: 1
|
162
|
+
segments:
|
163
|
+
- 1
|
164
|
+
- 5
|
165
|
+
- 1
|
166
|
+
version: 1.5.1
|
167
|
+
prerelease: false
|
168
|
+
requirement: *id010
|
169
|
+
type: :development
|
170
|
+
- !ruby/object:Gem::Dependency
|
171
|
+
name: rcov
|
172
|
+
version_requirements: &id011 !ruby/object:Gem::Requirement
|
173
|
+
none: false
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
hash: 3
|
178
|
+
segments:
|
179
|
+
- 0
|
180
|
+
version: "0"
|
181
|
+
prerelease: false
|
182
|
+
requirement: *id011
|
183
|
+
type: :development
|
184
|
+
description: Rails engine for easy integration with phocoder.com
|
185
|
+
email: jagthedrummer@gmail.com
|
186
|
+
executables: []
|
187
|
+
|
188
|
+
extensions: []
|
189
|
+
|
190
|
+
extra_rdoc_files:
|
191
|
+
- LICENSE.txt
|
192
|
+
- README.rdoc
|
193
|
+
files:
|
194
|
+
- .autotest
|
195
|
+
- .document
|
196
|
+
- .rspec
|
197
|
+
- Gemfile
|
198
|
+
- LICENSE.txt
|
199
|
+
- MIT-LICENSE
|
200
|
+
- README.rdoc
|
201
|
+
- Rakefile
|
202
|
+
- VERSION
|
203
|
+
- app/controllers/phocoder_controller.rb
|
204
|
+
- app/helpers/phocoder_helper.rb
|
205
|
+
- app/models/encodable_job.rb
|
206
|
+
- app/views/phocoder/_offline_video_embed.html.erb
|
207
|
+
- app/views/phocoder/_thumbnail_update.html.erb
|
208
|
+
- app/views/phocoder/_video_embed.html.erb
|
209
|
+
- app/views/phocoder/multi_thumbnail_update.json.erb
|
210
|
+
- app/views/phocoder/thumbnail_update.js.erb
|
211
|
+
- config/routes.rb
|
212
|
+
- lib/generators/phocoder_rails/model_update_generator.rb
|
213
|
+
- lib/generators/phocoder_rails/scaffold_generator.rb
|
214
|
+
- lib/generators/phocoder_rails/setup_generator.rb
|
215
|
+
- lib/generators/phocoder_rails/templates/controller.rb
|
216
|
+
- lib/generators/phocoder_rails/templates/helper.rb
|
217
|
+
- lib/generators/phocoder_rails/templates/migration.rb
|
218
|
+
- lib/generators/phocoder_rails/templates/model.rb
|
219
|
+
- lib/generators/phocoder_rails/templates/model_migration.rb
|
220
|
+
- lib/generators/phocoder_rails/templates/model_thumbnail.rb
|
221
|
+
- lib/generators/phocoder_rails/templates/model_update_migration.rb
|
222
|
+
- lib/generators/phocoder_rails/templates/phocodable.yml
|
223
|
+
- lib/generators/phocoder_rails/templates/views/_form.html.erb.tt
|
224
|
+
- lib/generators/phocoder_rails/templates/views/index.html.erb.tt
|
225
|
+
- lib/generators/phocoder_rails/templates/views/new.html.erb.tt
|
226
|
+
- lib/generators/phocoder_rails/templates/views/show.html.erb.tt
|
227
|
+
- lib/phocoder_rails.rb
|
228
|
+
- lib/phocoder_rails/acts_as_phocodable.rb
|
229
|
+
- lib/phocoder_rails/engine.rb
|
230
|
+
- lib/phocoder_rails/errors.rb
|
231
|
+
- phocoder-rails.gemspec
|
232
|
+
- public/images/building.gif
|
233
|
+
- public/images/error.png
|
234
|
+
- public/images/play_small.png
|
235
|
+
- public/images/storing.gif
|
236
|
+
- public/images/waiting.gif
|
237
|
+
- public/javascripts/phocodable.js
|
238
|
+
- public/javascripts/video-js-2.0.2/.DS_Store
|
239
|
+
- public/javascripts/video-js-2.0.2/LICENSE.txt
|
240
|
+
- public/javascripts/video-js-2.0.2/README.markdown
|
241
|
+
- public/javascripts/video-js-2.0.2/demo-subtitles.srt
|
242
|
+
- public/javascripts/video-js-2.0.2/demo.html
|
243
|
+
- public/javascripts/video-js-2.0.2/skins/hu.css
|
244
|
+
- public/javascripts/video-js-2.0.2/skins/tube.css
|
245
|
+
- public/javascripts/video-js-2.0.2/skins/vim.css
|
246
|
+
- public/javascripts/video-js-2.0.2/video-js.css
|
247
|
+
- public/javascripts/video-js-2.0.2/video.js
|
248
|
+
- public/stylesheets/phocodable.css
|
249
|
+
- spec/controllers/phocoder_controller_spec.rb
|
250
|
+
- spec/dummy/Rakefile
|
251
|
+
- spec/dummy/app/controllers/application_controller.rb
|
252
|
+
- spec/dummy/app/controllers/images_controller.rb
|
253
|
+
- spec/dummy/app/helpers/application_helper.rb
|
254
|
+
- spec/dummy/app/helpers/images_helper.rb
|
255
|
+
- spec/dummy/app/models/image.rb
|
256
|
+
- spec/dummy/app/models/image_thumbnail.rb
|
257
|
+
- spec/dummy/app/models/image_upload.rb
|
258
|
+
- spec/dummy/app/views/images/_form.html.erb
|
259
|
+
- spec/dummy/app/views/images/index.html.erb
|
260
|
+
- spec/dummy/app/views/images/new.html.erb
|
261
|
+
- spec/dummy/app/views/images/show.html.erb
|
262
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
263
|
+
- spec/dummy/config.ru
|
264
|
+
- spec/dummy/config/application.rb
|
265
|
+
- spec/dummy/config/boot.rb
|
266
|
+
- spec/dummy/config/database.yml
|
267
|
+
- spec/dummy/config/environment.rb
|
268
|
+
- spec/dummy/config/environments/development.rb
|
269
|
+
- spec/dummy/config/environments/production.rb
|
270
|
+
- spec/dummy/config/environments/test.rb
|
271
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
272
|
+
- spec/dummy/config/initializers/inflections.rb
|
273
|
+
- spec/dummy/config/initializers/mime_types.rb
|
274
|
+
- spec/dummy/config/initializers/secret_token.rb
|
275
|
+
- spec/dummy/config/initializers/session_store.rb
|
276
|
+
- spec/dummy/config/locales/en.yml
|
277
|
+
- spec/dummy/config/routes.rb
|
278
|
+
- spec/dummy/db/migrate/001_create_image_uploads.rb
|
279
|
+
- spec/dummy/db/migrate/20110523165213_add_parent_type_to_image_uploads.rb
|
280
|
+
- spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
|
281
|
+
- spec/dummy/db/migrate/20111101024507_create_images.rb
|
282
|
+
- spec/dummy/db/schema.rb
|
283
|
+
- spec/dummy/public/404.html
|
284
|
+
- spec/dummy/public/422.html
|
285
|
+
- spec/dummy/public/500.html
|
286
|
+
- spec/dummy/public/favicon.ico
|
287
|
+
- spec/dummy/public/index.html
|
288
|
+
- spec/dummy/public/javascripts/application.js
|
289
|
+
- spec/dummy/public/javascripts/controls.js
|
290
|
+
- spec/dummy/public/javascripts/dragdrop.js
|
291
|
+
- spec/dummy/public/javascripts/effects.js
|
292
|
+
- spec/dummy/public/javascripts/jquery-1.6.4.js
|
293
|
+
- spec/dummy/public/javascripts/prototype.js
|
294
|
+
- spec/dummy/public/javascripts/rails.js
|
295
|
+
- spec/dummy/public/stylesheets/.gitkeep
|
296
|
+
- spec/dummy/script/rails
|
297
|
+
- spec/engine_spec.rb
|
298
|
+
- spec/fixtures/big_eye_tiny.jpg
|
299
|
+
- spec/fixtures/octologo.png
|
300
|
+
- spec/fixtures/test.txt
|
301
|
+
- spec/fixtures/video-test.mov
|
302
|
+
- spec/helpers/phocoder_helper_spec.rb
|
303
|
+
- spec/integration/navigation_spec.rb
|
304
|
+
- spec/models/acts_as_phocodable_spec.rb
|
305
|
+
- spec/models/encodable_job_spec.rb
|
306
|
+
- spec/phocoder_rails_spec.rb
|
307
|
+
- spec/routing/phocoder_routing_spec.rb
|
308
|
+
- spec/spec_helper.rb
|
309
|
+
homepage: http://github.com/jagthedrummer/phocoder-rails
|
310
|
+
licenses:
|
311
|
+
- MIT
|
312
|
+
post_install_message:
|
313
|
+
rdoc_options: []
|
314
|
+
|
315
|
+
require_paths:
|
316
|
+
- lib
|
317
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
318
|
+
none: false
|
319
|
+
requirements:
|
320
|
+
- - ">="
|
321
|
+
- !ruby/object:Gem::Version
|
322
|
+
hash: 3
|
323
|
+
segments:
|
324
|
+
- 0
|
325
|
+
version: "0"
|
326
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
327
|
+
none: false
|
328
|
+
requirements:
|
329
|
+
- - ">="
|
330
|
+
- !ruby/object:Gem::Version
|
331
|
+
hash: 3
|
332
|
+
segments:
|
333
|
+
- 0
|
334
|
+
version: "0"
|
335
|
+
requirements: []
|
336
|
+
|
337
|
+
rubyforge_project:
|
338
|
+
rubygems_version: 1.8.5
|
339
|
+
signing_key:
|
340
|
+
specification_version: 3
|
341
|
+
summary: Rails engine for easy integration with phocoder.com
|
342
|
+
test_files:
|
343
|
+
- spec/controllers/phocoder_controller_spec.rb
|
344
|
+
- spec/dummy/app/controllers/application_controller.rb
|
345
|
+
- spec/dummy/app/controllers/images_controller.rb
|
346
|
+
- spec/dummy/app/helpers/application_helper.rb
|
347
|
+
- spec/dummy/app/helpers/images_helper.rb
|
348
|
+
- spec/dummy/app/models/image.rb
|
349
|
+
- spec/dummy/app/models/image_thumbnail.rb
|
350
|
+
- spec/dummy/app/models/image_upload.rb
|
351
|
+
- spec/dummy/config/application.rb
|
352
|
+
- spec/dummy/config/boot.rb
|
353
|
+
- spec/dummy/config/environment.rb
|
354
|
+
- spec/dummy/config/environments/development.rb
|
355
|
+
- spec/dummy/config/environments/production.rb
|
356
|
+
- spec/dummy/config/environments/test.rb
|
357
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
358
|
+
- spec/dummy/config/initializers/inflections.rb
|
359
|
+
- spec/dummy/config/initializers/mime_types.rb
|
360
|
+
- spec/dummy/config/initializers/secret_token.rb
|
361
|
+
- spec/dummy/config/initializers/session_store.rb
|
362
|
+
- spec/dummy/config/routes.rb
|
363
|
+
- spec/dummy/db/migrate/001_create_image_uploads.rb
|
364
|
+
- spec/dummy/db/migrate/20110523165213_add_parent_type_to_image_uploads.rb
|
365
|
+
- spec/dummy/db/migrate/20110523165522_create_encodable_jobs.rb
|
366
|
+
- spec/dummy/db/migrate/20111101024507_create_images.rb
|
367
|
+
- spec/dummy/db/schema.rb
|
368
|
+
- spec/engine_spec.rb
|
369
|
+
- spec/helpers/phocoder_helper_spec.rb
|
370
|
+
- spec/integration/navigation_spec.rb
|
371
|
+
- spec/models/acts_as_phocodable_spec.rb
|
372
|
+
- spec/models/encodable_job_spec.rb
|
373
|
+
- spec/phocoder_rails_spec.rb
|
374
|
+
- spec/routing/phocoder_routing_spec.rb
|
375
|
+
- spec/spec_helper.rb
|