haml-sprockets 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,8 @@
1
+ Copyright (c) 2011 Vagmi Mudumbai
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8
+
data/README.md CHANGED
@@ -1,7 +1,11 @@
1
1
  # Using HAML-JS with Sprockets and Rails 3.1
2
2
 
3
+ ## About
4
+
3
5
  Rails 3.1 uses sprockets for its asset pipeline. Rails 3.1 has shown considerable love for SCSS and SASS but has left [HAML] out. We at [Dharana Software Innovations][] are die hard HAML fans. We beleive that it is the best templating language around. So we would like to have it as a part of our client side toolkit as well. The [haml-js] project does exactly that. It was written for Node.js but works well with the browser too.
4
6
 
7
+ ## How to use it?
8
+
5
9
  The gem includes [haml-js]. You would not have to download it separately. To use this gem, you need to do the following.
6
10
 
7
11
  In the `Gemfile`, add the following line.
@@ -23,6 +27,10 @@ You can now access the template anywhere in your javascript or coffeescript code
23
27
 
24
28
  This should give you back the string `"<h1>Hello HAML</h1>"`.
25
29
 
30
+ ## LICENSE
31
+
32
+ This is distributed under the MIT license.
33
+
26
34
 
27
35
  [HAML]: http://haml-lang.com/
28
36
  [haml-js]: https://github.com/creationix/haml-js
@@ -1,5 +1,5 @@
1
1
  module Haml
2
2
  module Sprockets
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-sprockets
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:
@@ -13,7 +13,7 @@ date: 2011-09-09 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: tilt
16
- requirement: &2152621180 !ruby/object:Gem::Requirement
16
+ requirement: &2153170660 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.3'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2152621180
24
+ version_requirements: *2153170660
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sprockets
27
- requirement: &2152620680 !ruby/object:Gem::Requirement
27
+ requirement: &2153170160 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: 2.0.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2152620680
35
+ version_requirements: *2153170160
36
36
  description: Use the JST processor and have haml code read in and appended to application.js
37
37
  email:
38
38
  - vagmi.mudumbai@gmail.com
@@ -42,6 +42,7 @@ extra_rdoc_files: []
42
42
  files:
43
43
  - .gitignore
44
44
  - Gemfile
45
+ - LICENSE
45
46
  - README.md
46
47
  - Rakefile
47
48
  - haml-sprockets.gemspec