haml-rails 0.3.5 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  *.gem
2
- tmp/
2
+ .bundle/
3
+ tmp/
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - "1.8.7"
4
+ - "1.9.2"
5
+ - "1.9.3"
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ Copyright (c) 2010 André Arko
2
+
3
+ MIT Licence
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md CHANGED
@@ -14,6 +14,10 @@ Once you've done that, any time you generate a controller or scaffold, you'll ge
14
14
 
15
15
  Haml generators originally from [rails3-generators](http://github.com/indirect/rails3-generators), and written by José Valim, André Arko, Paul Barry, Anuj Dutta, Louis T, and Chris Rhoden. Tests originally written by Louis T.
16
16
 
17
+ ### Code Status
18
+
19
+ [![Build Status](https://travis-ci.org/indirect/haml-rails.png)](https://travis-ci.org/indirect/haml-rails)
20
+
17
21
  ### License
18
22
 
19
- Ruby license or MIT license, take your pick.
23
+ Ruby license or MIT license, take your pick.
data/haml-rails.gemspec CHANGED
@@ -10,17 +10,19 @@ Gem::Specification.new do |s|
10
10
  s.homepage = "http://github.com/indirect/haml-rails"
11
11
  s.summary = "let your Gemfile do the configuring"
12
12
  s.description = "Haml-rails provides Haml generators for Rails 3. It also enables Haml as the templating engine for you, so you don't have to screw around in your own application.rb when your Gemfile already clearly indicated what templating engine you have installed. Hurrah."
13
+ s.licenses = ["MIT"]
13
14
 
14
15
  s.rubyforge_project = "haml-rails"
15
16
  s.required_rubygems_version = ">= 1.3.6"
16
17
 
17
- s.add_dependency "haml", "~> 3.1"
18
+ s.add_dependency "haml", [">= 3.1", "< 4.1"]
18
19
  s.add_dependency "activesupport", [">= 3.1", "< 4.1"]
19
20
  s.add_dependency "actionpack", [">= 3.1", "< 4.1"]
20
21
  s.add_dependency "railties", [">= 3.1", "< 4.1"]
21
22
 
22
23
  s.add_development_dependency "rails", [">= 3.1", "< 4.1"]
23
- s.add_development_dependency "bundler", "~> 1.1"
24
+ s.add_development_dependency "bundler", "~> 1.2"
25
+ s.add_development_dependency "rake"
24
26
 
25
27
  s.files = `git ls-files`.split("\n")
26
28
  s.executables = `git ls-files`.split("\n").select{|f| f =~ /^bin/}
@@ -16,7 +16,7 @@
16
16
  <% end -%>
17
17
  %td= link_to 'Show', <%= singular_table_name %>
18
18
  %td= link_to 'Edit', edit_<%= singular_table_name %>_path(<%= singular_table_name %>)
19
- %td= link_to 'Destroy', <%= singular_table_name %>, <%= key_value :method, ":delete" %>, <%= key_value :data, "{ #{key_value :confirm, "'Are you sure?'"} }" %>
19
+ %td= link_to 'Destroy', <%= singular_table_name %>, :method => :delete, :data => { :confirm => 'Are you sure?' }
20
20
 
21
21
  %br
22
22
 
@@ -1,5 +1,5 @@
1
1
  module Haml
2
2
  module Rails
3
- VERSION = "0.3.5"
3
+ VERSION = "0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haml-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: '0.4'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,30 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-07 00:00:00.000000000 Z
12
+ date: 2013-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: haml
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: '3.1'
22
+ - - <
23
+ - !ruby/object:Gem::Version
24
+ version: '4.1'
22
25
  type: :runtime
23
26
  prerelease: false
24
27
  version_requirements: !ruby/object:Gem::Requirement
25
28
  none: false
26
29
  requirements:
27
- - - ~>
30
+ - - ! '>='
28
31
  - !ruby/object:Gem::Version
29
32
  version: '3.1'
33
+ - - <
34
+ - !ruby/object:Gem::Version
35
+ version: '4.1'
30
36
  - !ruby/object:Gem::Dependency
31
37
  name: activesupport
32
38
  requirement: !ruby/object:Gem::Requirement
@@ -122,7 +128,7 @@ dependencies:
122
128
  requirements:
123
129
  - - ~>
124
130
  - !ruby/object:Gem::Version
125
- version: '1.1'
131
+ version: '1.2'
126
132
  type: :development
127
133
  prerelease: false
128
134
  version_requirements: !ruby/object:Gem::Requirement
@@ -130,7 +136,23 @@ dependencies:
130
136
  requirements:
131
137
  - - ~>
132
138
  - !ruby/object:Gem::Version
133
- version: '1.1'
139
+ version: '1.2'
140
+ - !ruby/object:Gem::Dependency
141
+ name: rake
142
+ requirement: !ruby/object:Gem::Requirement
143
+ none: false
144
+ requirements:
145
+ - - ! '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
148
+ type: :development
149
+ prerelease: false
150
+ version_requirements: !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
134
156
  description: Haml-rails provides Haml generators for Rails 3. It also enables Haml
135
157
  as the templating engine for you, so you don't have to screw around in your own
136
158
  application.rb when your Gemfile already clearly indicated what templating engine
@@ -142,7 +164,9 @@ extensions: []
142
164
  extra_rdoc_files: []
143
165
  files:
144
166
  - .gitignore
167
+ - .travis.yml
145
168
  - Gemfile
169
+ - LICENSE
146
170
  - README.md
147
171
  - Rakefile
148
172
  - haml-rails.gemspec
@@ -165,7 +189,8 @@ files:
165
189
  - test/lib/generators/haml/testing_helper.rb
166
190
  - test/test_helper.rb
167
191
  homepage: http://github.com/indirect/haml-rails
168
- licenses: []
192
+ licenses:
193
+ - MIT
169
194
  post_install_message:
170
195
  rdoc_options: []
171
196
  require_paths:
@@ -189,3 +214,4 @@ signing_key:
189
214
  specification_version: 3
190
215
  summary: let your Gemfile do the configuring
191
216
  test_files: []
217
+ has_rdoc: