haml_assets 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock ADDED
@@ -0,0 +1,18 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ haml_assets (0.0.2)
5
+ haml
6
+ tilt
7
+
8
+ GEM
9
+ remote: http://rubygems.org/
10
+ specs:
11
+ haml (3.1.2)
12
+ tilt (1.3.3)
13
+
14
+ PLATFORMS
15
+ ruby
16
+
17
+ DEPENDENCIES
18
+ haml_assets!
data/README.md CHANGED
@@ -10,8 +10,11 @@ This gem adds haml templating support to the Rails 3.1 asset pipeline. This gem
10
10
 
11
11
  Add this to your `Gemfile`
12
12
 
13
- gem haml_assets
14
- gem ejs
13
+ gem 'haml_assets'
14
+ gem 'ejs'
15
+ gem 'haml', :git => 'https://github.com/infbio/haml.git', :branch => 'form_for_fix'
16
+
17
+ There is a catastrophic form_for bug in the haml gem. Use our fork until it is fixed. Check our fork for details.
15
18
 
16
19
  # Using haml for your Javascript templates
17
20
 
@@ -68,4 +71,5 @@ Once you've made your great commits:
68
71
  # Authors
69
72
 
70
73
  Les Hill : @leshill
74
+
71
75
  Wes Gibbs : @wgibbs
@@ -1,6 +1,8 @@
1
1
  module HamlAssets
2
2
  class Engine < ::Rails::Engine
3
3
  initializer "sprockets.haml", after: "sprockets.environment" do |app|
4
+ next unless app.assets
5
+
4
6
  app.assets.register_engine('.haml', HamlSprocketsEngine)
5
7
  end
6
8
  end
@@ -1,3 +1,3 @@
1
1
  module HamlAssets
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-08-25 00:00:00.000000000Z
13
+ date: 2011-09-01 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: haml
17
- requirement: &70096504992300 !ruby/object:Gem::Requirement
17
+ requirement: &70156924929860 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70096504992300
25
+ version_requirements: *70156924929860
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: tilt
28
- requirement: &70096504991880 !ruby/object:Gem::Requirement
28
+ requirement: &70156924929440 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70096504991880
36
+ version_requirements: *70156924929440
37
37
  description: Use Haml with Rails helpers in the asset pipeline
38
38
  email:
39
39
  - les@infbio.com
@@ -45,6 +45,7 @@ files:
45
45
  - .gitignore
46
46
  - .rvmrc
47
47
  - Gemfile
48
+ - Gemfile.lock
48
49
  - README.md
49
50
  - Rakefile
50
51
  - haml_assets.gemspec