vjs_rails 0.1.1 → 0.2.0

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.
@@ -1,6 +1,13 @@
1
1
  # encoding: utf-8
2
+ require 'vjs_rails/action_view/helpers'
2
3
 
3
4
  module VjsRails
4
5
  class Engine < ::Rails::Engine
6
+ initializer 'vjs_rails.action_view_helpers' do
7
+ ActiveSupport.on_load :action_view do
8
+ include VjsRails::ActionView::Helpers
9
+ end
10
+ end
11
+
5
12
  end
6
13
  end
@@ -1,3 +1,3 @@
1
1
  module VjsRails
2
- VERSION = '0.1.1'
2
+ VERSION = '0.2.0'
3
3
  end
data/lib/vjs_rails.rb CHANGED
@@ -1,4 +1,3 @@
1
1
  # encoding: utf-8
2
- require 'vjs_rails/railtie'
3
2
  require 'vjs_rails/engine'
4
3
  require 'vjs_rails/version'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vjs_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouhei Fujigaya
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-29 00:00:00.000000000 Z
11
+ date: 2014-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -31,10 +31,12 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - lib/tasks/vjs_rails_tasks.rake
34
+ - lib/generators/vjs_rails/assets/assets_generator.rb
35
+ - lib/generators/vjs_rails/assets/templates/vjs.css.erb
36
+ - lib/generators/vjs_rails/assets/templates/vjs.less.erb
37
+ - lib/generators/vjs_rails/assets/USAGE
35
38
  - lib/vjs_rails/action_view/helpers.rb
36
39
  - lib/vjs_rails/engine.rb
37
- - lib/vjs_rails/railtie.rb
38
40
  - lib/vjs_rails/version.rb
39
41
  - lib/vjs_rails.rb
40
42
  - app/assets/javascripts/vjs.flash.js.erb
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :vjs_rails do
3
- # # Task goes here
4
- # end
@@ -1,13 +0,0 @@
1
- # encoding: utf-8
2
- require 'vjs_rails/action_view/helpers'
3
-
4
- module VjsRails
5
- class Railtie < ::Rails::Railtie
6
- initializer 'vjs_rails.action_view_helpers' do |app|
7
- ActiveSupport.on_load :action_view do
8
- include VjsRails::ActionView::Helpers
9
- end
10
- end
11
-
12
- end
13
- end