lungojs-rails 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
@@ -10,15 +10,14 @@ if ::Rails.version < "3.1" || !::Rails.application.config.assets.enabled
|
|
10
10
|
module Generators
|
11
11
|
class InstallGenerator < ::Rails::Generators::Base
|
12
12
|
desc "This generator installs Lungo.js #{Lungojs::Rails::LUNGO_JS_VERSION}"
|
13
|
-
source_root File.expand_path('
|
13
|
+
source_root File.expand_path('..', __FILE__)
|
14
14
|
|
15
15
|
def copy_lungojs
|
16
|
-
|
17
16
|
say_status("copying", "Lungo.js (#{Lungojs::Rails::LUNGO_JS_VERSION})", :green)
|
18
|
-
copy_file "
|
19
|
-
copy_file "
|
20
|
-
copy_file "
|
21
|
-
copy_file "
|
17
|
+
copy_file "../../../../vendor/assets/javascripts/lungo-1.2.js", "public/javascripts/lungo-1.2.js"
|
18
|
+
copy_file "../../../../vendor/assets/stylesheets/lungo-1.2.css", "public/stylesheets/lungo-1.2.js"
|
19
|
+
copy_file "../../../../vendor/assets/stylesheets/lungo.theme.default.css", "public/stylesheets/lungo.theme.default.js"
|
20
|
+
copy_file "../../../../vendor/assets/stylesheets/lungo.theme.default.font.css", "public/stylesheets/lungo.theme.default.font.js"
|
22
21
|
end
|
23
22
|
|
24
23
|
def copy_app
|
@@ -33,7 +32,7 @@ else
|
|
33
32
|
module Generators
|
34
33
|
class InstallGenerator < ::Rails::Generators::Base
|
35
34
|
desc "Just show instructions so people will know what to do when mistakenly using generator for Rails 3.1 apps"
|
36
|
-
source_root File.expand_path('
|
35
|
+
source_root File.expand_path('..', __FILE__)
|
37
36
|
|
38
37
|
def do_nothing
|
39
38
|
say_status("deprecated", "You are using Rails 3.1 with the asset pipeline enabled, so this generator is not needed.")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lungojs-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
segments:
|
96
96
|
- 0
|
97
|
-
hash:
|
97
|
+
hash: -3627760707061836499
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
none: false
|
100
100
|
requirements:
|