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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lungojs-rails (0.0.8)
4
+ lungojs-rails (0.0.9)
5
5
  railties (>= 3.2.0, < 5.0)
6
6
  thor (~> 0.14)
7
7
 
@@ -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('.', __FILE__)
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 "../../../../../vendor/assets/javascripts/lungo-1.2.js", "public/javascripts/lungo-1.2.js"
19
- copy_file "../../../../../vendor/assets/stylesheets/lungo-1.2.css", "public/stylesheets/lungo-1.2.js"
20
- copy_file "../../../../../vendor/assets/stylesheets/lungo.theme.default.css", "public/stylesheets/lungo.theme.default.js"
21
- copy_file "../../../../../vendor/assets/stylesheets/lungo.theme.default.font.css", "public/stylesheets/lungo.theme.default.font.js"
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('./', __FILE__)
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.")
@@ -4,7 +4,7 @@
4
4
 
5
5
  module Lungojs
6
6
  module Rails
7
- VERSION = "0.0.8"
7
+ VERSION = "0.0.9"
8
8
  LUNGO_JS_VERSION = "1.2"
9
9
  end
10
10
  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.8
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: 186351734638730194
97
+ hash: -3627760707061836499
98
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  none: false
100
100
  requirements: