refinerycms-vimeo-videos 0.1.8 → 0.1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/refinerycms-vimeo-videos.rb +10 -4
- data/lib/{refinerycms_vimeo_videos → refinerycms-vimeo-videos}/account.rb +0 -0
- data/lib/{refinerycms_vimeo_videos → refinerycms-vimeo-videos}/active_record_extension.rb +1 -3
- data/lib/{refinerycms_vimeo_videos → refinerycms-vimeo-videos}/url_tempfile.rb +0 -0
- data/lib/{refinerycms_vimeo_videos → refinerycms-vimeo-videos}/version.rb +1 -1
- data/refinerycms-vimeo-videos.gemspec +1 -1
- metadata +6 -6
@@ -1,17 +1,23 @@
|
|
1
1
|
require 'refinerycms-base'
|
2
2
|
require 'vimeo'
|
3
|
-
|
4
|
-
require 'refinerycms_vimeo_videos/account'
|
5
|
-
require 'refinerycms_vimeo_videos/active_record_extension'
|
6
|
-
require 'refinerycms_vimeo_videos/url_tempfile'
|
3
|
+
require 'refinerycms-vimeo-videos/version'
|
7
4
|
|
8
5
|
module Refinery
|
9
6
|
module VimeoVideos
|
7
|
+
|
8
|
+
autoload :URLTempfile, 'refinerycms-vimeo-videos/url_tempfile.rb'
|
9
|
+
autoload :Account, 'refinerycms-vimeo-videos/account.rb'
|
10
|
+
autoload :ActiveRecordExtension, 'refinerycms-vimeo-videos/active_record_extension.rb'
|
11
|
+
|
10
12
|
class Engine < Rails::Engine
|
11
13
|
initializer "static assets" do |app|
|
12
14
|
app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{root}/public"
|
13
15
|
end
|
14
16
|
|
17
|
+
initializer "add active record extensions" do |app|
|
18
|
+
ActiveRecord::Base.class_eval { include Refinery::VimeoVideos::ActiveRecordExtension }
|
19
|
+
end
|
20
|
+
|
15
21
|
config.after_initialize do
|
16
22
|
Refinery::Plugin.register do |plugin|
|
17
23
|
plugin.version = Refinery::VimeoVideos::VERSION
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: refinerycms-vimeo-videos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.8
|
5
|
+
version: 0.1.8.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Marian Andre
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04-
|
13
|
+
date: 2011-04-29 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -71,10 +71,10 @@ files:
|
|
71
71
|
- db/seeds/vimeo_videos.rb
|
72
72
|
- lib/generators/refinerycms_vimeo_videos_generator.rb
|
73
73
|
- lib/refinerycms-vimeo-videos.rb
|
74
|
-
- lib/
|
75
|
-
- lib/
|
76
|
-
- lib/
|
77
|
-
- lib/
|
74
|
+
- lib/refinerycms-vimeo-videos/account.rb
|
75
|
+
- lib/refinerycms-vimeo-videos/active_record_extension.rb
|
76
|
+
- lib/refinerycms-vimeo-videos/url_tempfile.rb
|
77
|
+
- lib/refinerycms-vimeo-videos/version.rb
|
78
78
|
- lib/tasks/vimeo_videos.rake
|
79
79
|
- public/javascripts/refinery/vimeo_videos.js
|
80
80
|
- public/stylesheets/admin/vimeo_videos.css
|