concerto_remote_video 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/LICENSE +14 -0
  2. data/README.md +11 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/stylesheets/concerto_remote_video/application.css +13 -0
  5. data/app/controllers/concerto_remote_video/application_controller.rb +4 -0
  6. data/app/helpers/concerto_remote_video/application_helper.rb +4 -0
  7. data/app/models/remote_video.rb +100 -0
  8. data/app/views/contents/remote_video/_form_middle.html.erb +21 -0
  9. data/app/views/contents/remote_video/_form_top.html.erb +17 -0
  10. data/app/views/contents/remote_video/_render_default.html.erb +4 -0
  11. data/app/views/contents/remote_video/_render_tile.html.erb +1 -0
  12. data/config/routes.rb +3 -0
  13. data/lib/concerto_remote_video.rb +4 -0
  14. data/lib/concerto_remote_video/engine.rb +9 -0
  15. data/lib/concerto_remote_video/version.rb +3 -0
  16. data/lib/generators/concerto_remote_video/install_generator.rb +23 -0
  17. data/lib/tasks/concerto_remote_video_tasks.rake +4 -0
  18. data/public/frontend_js/contents/remote_video.js +75 -0
  19. data/test/concerto_remote_video_test.rb +7 -0
  20. data/test/dummy/README.rdoc +261 -0
  21. data/test/dummy/Rakefile +7 -0
  22. data/test/dummy/app/assets/javascripts/application.js +13 -0
  23. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  24. data/test/dummy/app/controllers/application_controller.rb +3 -0
  25. data/test/dummy/app/helpers/application_helper.rb +2 -0
  26. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  27. data/test/dummy/config.ru +4 -0
  28. data/test/dummy/config/application.rb +59 -0
  29. data/test/dummy/config/boot.rb +10 -0
  30. data/test/dummy/config/database.yml +25 -0
  31. data/test/dummy/config/environment.rb +5 -0
  32. data/test/dummy/config/environments/development.rb +37 -0
  33. data/test/dummy/config/environments/production.rb +67 -0
  34. data/test/dummy/config/environments/test.rb +37 -0
  35. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  36. data/test/dummy/config/initializers/inflections.rb +15 -0
  37. data/test/dummy/config/initializers/mime_types.rb +5 -0
  38. data/test/dummy/config/initializers/secret_token.rb +7 -0
  39. data/test/dummy/config/initializers/session_store.rb +8 -0
  40. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  41. data/test/dummy/config/locales/en.yml +5 -0
  42. data/test/dummy/config/routes.rb +4 -0
  43. data/test/dummy/public/404.html +26 -0
  44. data/test/dummy/public/422.html +26 -0
  45. data/test/dummy/public/500.html +25 -0
  46. data/test/dummy/public/favicon.ico +0 -0
  47. data/test/dummy/script/rails +6 -0
  48. data/test/fixtures/concerto_remote_video/remote_videos.yml +11 -0
  49. data/test/integration/navigation_test.rb +10 -0
  50. data/test/test_helper.rb +15 -0
  51. data/test/unit/concerto_remote_video/remote_video_test.rb +9 -0
  52. metadata +153 -0
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
File without changes
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
+
3
+ # This model initially had no columns defined. If you add columns to the
4
+ # model remove the '{}' from the fixture names and add the columns immediately
5
+ # below each fixture, per the syntax in the comments below
6
+ #
7
+ one: {}
8
+ # column: value
9
+ #
10
+ two: {}
11
+ # column: value
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
@@ -0,0 +1,9 @@
1
+ require 'test_helper'
2
+
3
+ module ConcertoRemoteVideo
4
+ class RemoteVideoTest < ActiveSupport::TestCase
5
+ # test "the truth" do
6
+ # assert true
7
+ # end
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,153 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: concerto_remote_video
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Brian Michalski
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-03-01 00:00:00.000000000 -08:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rails
17
+ requirement: &70273927858100 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ~>
21
+ - !ruby/object:Gem::Version
22
+ version: '3.2'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: *70273927858100
26
+ - !ruby/object:Gem::Dependency
27
+ name: sqlite3
28
+ requirement: &70273927857520 !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: *70273927857520
37
+ description: Adds support for remotely hosted videos, like YouTube, in Concerto 2
38
+ email:
39
+ - bmichalski@gmail.com
40
+ executables: []
41
+ extensions: []
42
+ extra_rdoc_files: []
43
+ files:
44
+ - app/assets/stylesheets/concerto_remote_video/application.css
45
+ - app/controllers/concerto_remote_video/application_controller.rb
46
+ - app/helpers/concerto_remote_video/application_helper.rb
47
+ - app/models/remote_video.rb
48
+ - app/views/contents/remote_video/_form_middle.html.erb
49
+ - app/views/contents/remote_video/_form_top.html.erb
50
+ - app/views/contents/remote_video/_render_default.html.erb
51
+ - app/views/contents/remote_video/_render_tile.html.erb
52
+ - config/routes.rb
53
+ - lib/concerto_remote_video/engine.rb
54
+ - lib/concerto_remote_video/version.rb
55
+ - lib/concerto_remote_video.rb
56
+ - lib/generators/concerto_remote_video/install_generator.rb
57
+ - lib/tasks/concerto_remote_video_tasks.rake
58
+ - public/frontend_js/contents/remote_video.js
59
+ - LICENSE
60
+ - Rakefile
61
+ - README.md
62
+ - test/concerto_remote_video_test.rb
63
+ - test/dummy/app/assets/javascripts/application.js
64
+ - test/dummy/app/assets/stylesheets/application.css
65
+ - test/dummy/app/controllers/application_controller.rb
66
+ - test/dummy/app/helpers/application_helper.rb
67
+ - test/dummy/app/views/layouts/application.html.erb
68
+ - test/dummy/config/application.rb
69
+ - test/dummy/config/boot.rb
70
+ - test/dummy/config/database.yml
71
+ - test/dummy/config/environment.rb
72
+ - test/dummy/config/environments/development.rb
73
+ - test/dummy/config/environments/production.rb
74
+ - test/dummy/config/environments/test.rb
75
+ - test/dummy/config/initializers/backtrace_silencers.rb
76
+ - test/dummy/config/initializers/inflections.rb
77
+ - test/dummy/config/initializers/mime_types.rb
78
+ - test/dummy/config/initializers/secret_token.rb
79
+ - test/dummy/config/initializers/session_store.rb
80
+ - test/dummy/config/initializers/wrap_parameters.rb
81
+ - test/dummy/config/locales/en.yml
82
+ - test/dummy/config/routes.rb
83
+ - test/dummy/config.ru
84
+ - test/dummy/public/404.html
85
+ - test/dummy/public/422.html
86
+ - test/dummy/public/500.html
87
+ - test/dummy/public/favicon.ico
88
+ - test/dummy/Rakefile
89
+ - test/dummy/README.rdoc
90
+ - test/dummy/script/rails
91
+ - test/fixtures/concerto_remote_video/remote_videos.yml
92
+ - test/integration/navigation_test.rb
93
+ - test/test_helper.rb
94
+ - test/unit/concerto_remote_video/remote_video_test.rb
95
+ has_rdoc: true
96
+ homepage: https://github.com/concerto/concerto-remote-video
97
+ licenses: []
98
+ post_install_message:
99
+ rdoc_options: []
100
+ require_paths:
101
+ - lib
102
+ required_ruby_version: !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ! '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ required_rubygems_version: !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ! '>='
112
+ - !ruby/object:Gem::Version
113
+ version: '0'
114
+ requirements: []
115
+ rubyforge_project:
116
+ rubygems_version: 1.6.2
117
+ signing_key:
118
+ specification_version: 3
119
+ summary: Remotely hosted video for Concerto 2
120
+ test_files:
121
+ - test/concerto_remote_video_test.rb
122
+ - test/dummy/app/assets/javascripts/application.js
123
+ - test/dummy/app/assets/stylesheets/application.css
124
+ - test/dummy/app/controllers/application_controller.rb
125
+ - test/dummy/app/helpers/application_helper.rb
126
+ - test/dummy/app/views/layouts/application.html.erb
127
+ - test/dummy/config/application.rb
128
+ - test/dummy/config/boot.rb
129
+ - test/dummy/config/database.yml
130
+ - test/dummy/config/environment.rb
131
+ - test/dummy/config/environments/development.rb
132
+ - test/dummy/config/environments/production.rb
133
+ - test/dummy/config/environments/test.rb
134
+ - test/dummy/config/initializers/backtrace_silencers.rb
135
+ - test/dummy/config/initializers/inflections.rb
136
+ - test/dummy/config/initializers/mime_types.rb
137
+ - test/dummy/config/initializers/secret_token.rb
138
+ - test/dummy/config/initializers/session_store.rb
139
+ - test/dummy/config/initializers/wrap_parameters.rb
140
+ - test/dummy/config/locales/en.yml
141
+ - test/dummy/config/routes.rb
142
+ - test/dummy/config.ru
143
+ - test/dummy/public/404.html
144
+ - test/dummy/public/422.html
145
+ - test/dummy/public/500.html
146
+ - test/dummy/public/favicon.ico
147
+ - test/dummy/Rakefile
148
+ - test/dummy/README.rdoc
149
+ - test/dummy/script/rails
150
+ - test/fixtures/concerto_remote_video/remote_videos.yml
151
+ - test/integration/navigation_test.rb
152
+ - test/test_helper.rb
153
+ - test/unit/concerto_remote_video/remote_video_test.rb