livescript-rails 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,12 +3,7 @@ require 'rails/engine'
3
3
  module LiveScript
4
4
  module Rails
5
5
  class Engine < ::Rails::Engine
6
- if ::Rails.version.to_f >= 3.1
7
- config.app_generators.template_engine :ls
8
- else
9
- config.generators.template_engine :ls
10
- end
11
-
6
+ config.app_generators.javascript_engine :ls
12
7
  initializer :register_livescript do |app|
13
8
  app.assets.register_engine '.ls', TiltTemplate
14
9
  app.assets.register_engine '.livescript', TiltTemplate
@@ -1,5 +1,5 @@
1
1
  module LiveScript
2
2
  module Rails
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  require "rails/generators/named_base"
2
2
 
3
- module LiveScript
3
+ module Ls
4
4
  module Generators
5
5
  class AssetsGenerator < ::Rails::Generators::NamedBase
6
6
  source_root File.expand_path("../templates", __FILE__)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livescript-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-04 00:00:00.000000000 Z
12
+ date: 2012-10-13 00:00:00.000000000 -05:00
13
+ default_executable:
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: execjs
16
- requirement: !ruby/object:Gem::Requirement
17
+ requirement: &2153561800 !ruby/object:Gem::Requirement
17
18
  none: false
18
19
  requirements:
19
20
  - - ! '>='
@@ -21,15 +22,10 @@ dependencies:
21
22
  version: '0'
22
23
  type: :runtime
23
24
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
25
+ version_requirements: *2153561800
30
26
  - !ruby/object:Gem::Dependency
31
27
  name: livescript
32
- requirement: !ruby/object:Gem::Requirement
28
+ requirement: &2153712940 !ruby/object:Gem::Requirement
33
29
  none: false
34
30
  requirements:
35
31
  - - ! '>='
@@ -37,15 +33,10 @@ dependencies:
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
36
+ version_requirements: *2153712940
46
37
  - !ruby/object:Gem::Dependency
47
38
  name: railties
48
- requirement: !ruby/object:Gem::Requirement
39
+ requirement: &2153820080 !ruby/object:Gem::Requirement
49
40
  none: false
50
41
  requirements:
51
42
  - - ! '>='
@@ -53,15 +44,10 @@ dependencies:
53
44
  version: '0'
54
45
  type: :runtime
55
46
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
47
+ version_requirements: *2153820080
62
48
  - !ruby/object:Gem::Dependency
63
49
  name: tilt
64
- requirement: !ruby/object:Gem::Requirement
50
+ requirement: &2153889360 !ruby/object:Gem::Requirement
65
51
  none: false
66
52
  requirements:
67
53
  - - ! '>='
@@ -69,12 +55,7 @@ dependencies:
69
55
  version: '0'
70
56
  type: :runtime
71
57
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
58
+ version_requirements: *2153889360
78
59
  description: LiveScript adapter for the Rails asset pipeline.
79
60
  email:
80
61
  - vic.borja@gmail.com
@@ -92,9 +73,10 @@ files:
92
73
  - lib/livescript/rails/engine.rb
93
74
  - lib/livescript/rails/template_handler.rb
94
75
  - lib/livescript/rails/version.rb
95
- - lib/rails/generators/livescript/assets/assets_generator.rb
96
- - lib/rails/generators/livescript/assets/templates/javascript.js.ls
76
+ - lib/rails/generators/ls/assets/assets_generator.rb
77
+ - lib/rails/generators/ls/assets/templates/javascript.js.ls
97
78
  - livescript-rails.gemspec
79
+ has_rdoc: true
98
80
  homepage: https://github.com/Roonin-mx/livescript-rails
99
81
  licenses: []
100
82
  post_install_message:
@@ -115,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
97
  version: '0'
116
98
  requirements: []
117
99
  rubyforge_project:
118
- rubygems_version: 1.8.24
100
+ rubygems_version: 1.6.2
119
101
  signing_key:
120
102
  specification_version: 3
121
103
  summary: LiveScript adapter for the Rails asset pipeline.