lungojs-rails 0.0.5 → 0.0.6

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.
@@ -6,11 +6,11 @@ if ::Rails.version < "3.1" || !::Rails.application.config.assets.enabled
6
6
  module Lungojs
7
7
  module Generators
8
8
  class InstallGenerator < ::Rails::Generators::Base
9
-
10
9
  desc "This generator installs Lungo.js #{Lungojs::Rails::LUNGO_JS_VERSION}"
11
- source_root File.expand_path('../../../../../vendor/assets', __FILE__)
12
10
 
13
11
  def copy_lungojs
12
+ source_root File.expand_path('../../../../../vendor/assets', __FILE__)
13
+
14
14
  say_status("copying", "Lungo.js (#{Lungojs::Rails::LUNGO_JS_VERSION})", :green)
15
15
  copy_file "javascripts/lungo-1.2.js", "public/javascripts/lungo-1.2.js"
16
16
  copy_file "stylesheets/lungo-1.2.css", "public/stylesheets/lungo-1.2.js"
@@ -19,6 +19,8 @@ if ::Rails.version < "3.1" || !::Rails.application.config.assets.enabled
19
19
  end
20
20
 
21
21
  def copy_app
22
+ source_root File.expand_path('./', __FILE__)
23
+
22
24
  say_status("copying", "app (#{Lungojs::Rails::LUNGO_JS_VERSION})", :green)
23
25
  directory 'app', 'public/javascripts/app'
24
26
  end
@@ -41,6 +43,8 @@ else
41
43
  end
42
44
 
43
45
  def copy_app
46
+ source_root File.expand_path('./', __FILE__)
47
+
44
48
  say_status("copying", "app (#{Lungojs::Rails::LUNGO_JS_VERSION})", :green)
45
49
  directory 'app', 'public/javascripts/app'
46
50
  end
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  module Lungojs
3
3
  module Rails
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  LUNGO_JS_VERSION = "1.2"
6
6
  end
7
7
  end
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.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: