el_vfs_client 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,4 @@
1
+ //= require jquery
2
+ //= require jquery-ui
3
+ //= require el_vfs/elfinder
4
+ //= require el_vfs/i18n/elfinder.ru.js
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <title>ElFinder</title>
6
- <%= javascript_include_tag 'jquery', 'jquery-ui', 'el_vfs/elfinder', 'el_vfs/i18n/elfinder.ru.js' %>
6
+ <%= javascript_include_tag 'engine' %>
7
7
  <%= stylesheet_link_tag 'el_vfs/el_vfs' %>
8
8
  <script type="text/javascript" charset="utf-8" >
9
9
  //<![CDATA[
@@ -1,3 +1,3 @@
1
1
  module ElVfsClient
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/el_vfs_client.rb CHANGED
@@ -1,4 +1,10 @@
1
1
  require "el_vfs_client/engine"
2
+ require 'rails'
2
3
 
3
4
  module ElVfsClient
5
+ class Engine < ::Rails::Engine
6
+ initializer :assets do |config|
7
+ ::Rails.application.config.assets.precompile += %w( engine.js el_vfs/el_vfs.css )
8
+ end
9
+ end
4
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: el_vfs_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,11 +12,11 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2012-01-17 00:00:00.000000000 Z
15
+ date: 2012-02-14 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: configliere
19
- requirement: &17669340 !ruby/object:Gem::Requirement
19
+ requirement: &17151760 !ruby/object:Gem::Requirement
20
20
  none: false
21
21
  requirements:
22
22
  - - ! '>='
@@ -24,10 +24,10 @@ dependencies:
24
24
  version: '0'
25
25
  type: :runtime
26
26
  prerelease: false
27
- version_requirements: *17669340
27
+ version_requirements: *17151760
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: curb
30
- requirement: &17668680 !ruby/object:Gem::Requirement
30
+ requirement: &17150620 !ruby/object:Gem::Requirement
31
31
  none: false
32
32
  requirements:
33
33
  - - ! '>='
@@ -35,10 +35,10 @@ dependencies:
35
35
  version: '0'
36
36
  type: :runtime
37
37
  prerelease: false
38
- version_requirements: *17668680
38
+ version_requirements: *17150620
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: rails
41
- requirement: &17667420 !ruby/object:Gem::Requirement
41
+ requirement: &17149820 !ruby/object:Gem::Requirement
42
42
  none: false
43
43
  requirements:
44
44
  - - ! '>='
@@ -46,7 +46,7 @@ dependencies:
46
46
  version: '0'
47
47
  type: :runtime
48
48
  prerelease: false
49
- version_requirements: *17667420
49
+ version_requirements: *17149820
50
50
  description: Description of ElVfsClient.
51
51
  email:
52
52
  - mail@openteam.ru
@@ -55,6 +55,7 @@ extensions: []
55
55
  extra_rdoc_files: []
56
56
  files:
57
57
  - app/views/el_finder/layout.html.erb
58
+ - app/assets/javascripts/engine.js
58
59
  - app/assets/javascripts/el_vfs/i18n/elfinder.ar.js
59
60
  - app/assets/javascripts/el_vfs/i18n/elfinder.ru.js
60
61
  - app/assets/javascripts/el_vfs/i18n/elfinder.LANG.js