ruby-haml-js 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/.gitignore +8 -0
  2. data/Gemfile +6 -0
  3. data/Gemfile.lock +120 -0
  4. data/HISTORY.md +2 -0
  5. data/MIT-LICENSE +20 -0
  6. data/README.md +39 -0
  7. data/Rakefile +37 -0
  8. data/lib/ruby-haml-js.rb +2 -0
  9. data/lib/ruby-haml-js/engine.rb +13 -0
  10. data/lib/ruby-haml-js/template.rb +61 -0
  11. data/lib/ruby-haml-js/version.rb +5 -0
  12. data/lib/tasks/pakunok_tasks.rake +4 -0
  13. data/ruby-haml-js.gemspec +25 -0
  14. data/spec/dummy/Rakefile +7 -0
  15. data/spec/dummy/app/assets/javascripts/application.js +10 -0
  16. data/spec/dummy/app/assets/javascripts/sample.jst.hamljs +3 -0
  17. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  18. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  19. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  20. data/spec/dummy/app/mailers/.gitkeep +0 -0
  21. data/spec/dummy/app/models/.gitkeep +0 -0
  22. data/spec/dummy/app/views/layouts/application.html.erb +16 -0
  23. data/spec/dummy/app/views/pages/index.html.erb +29 -0
  24. data/spec/dummy/config.ru +4 -0
  25. data/spec/dummy/config/application.rb +46 -0
  26. data/spec/dummy/config/boot.rb +10 -0
  27. data/spec/dummy/config/database.yml +25 -0
  28. data/spec/dummy/config/environment.rb +5 -0
  29. data/spec/dummy/config/environments/development.rb +27 -0
  30. data/spec/dummy/config/environments/production.rb +51 -0
  31. data/spec/dummy/config/environments/test.rb +39 -0
  32. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  33. data/spec/dummy/config/initializers/inflections.rb +10 -0
  34. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  35. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  36. data/spec/dummy/config/initializers/session_store.rb +8 -0
  37. data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
  38. data/spec/dummy/config/locales/en.yml +5 -0
  39. data/spec/dummy/config/routes.rb +60 -0
  40. data/spec/dummy/lib/assets/.gitkeep +0 -0
  41. data/spec/dummy/log/.gitkeep +0 -0
  42. data/spec/dummy/public/404.html +26 -0
  43. data/spec/dummy/public/422.html +26 -0
  44. data/spec/dummy/public/500.html +26 -0
  45. data/spec/dummy/public/favicon.ico +0 -0
  46. data/spec/dummy/script/rails +6 -0
  47. data/spec/spec_helper.rb +12 -0
  48. data/spec/support/global.rb +9 -0
  49. data/spec/support/matchers.rb +18 -0
  50. data/spec/template_spec.rb +43 -0
  51. data/vendor/assets/javascripts/haml.js +651 -0
  52. metadata +185 -0
metadata ADDED
@@ -0,0 +1,185 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-haml-js
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Dmytrii Nagirniak
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-10-19 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sprockets
16
+ requirement: &70279382272560 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.0.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70279382272560
25
+ - !ruby/object:Gem::Dependency
26
+ name: execjs
27
+ requirement: &70279382271920 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70279382271920
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec
38
+ requirement: &70279382270920 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70279382270920
47
+ - !ruby/object:Gem::Dependency
48
+ name: rails
49
+ requirement: &70279382269960 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 3.1.1
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70279382269960
58
+ description: ruby-haml-js provides a Tilt template that you can use on the server
59
+ side to compile HAML-JS templates. Handy for using it wth Bakcbone.js, Spine.js
60
+ etc.
61
+ email:
62
+ - dnagir@gmail.com
63
+ executables: []
64
+ extensions: []
65
+ extra_rdoc_files: []
66
+ files:
67
+ - .gitignore
68
+ - Gemfile
69
+ - Gemfile.lock
70
+ - HISTORY.md
71
+ - MIT-LICENSE
72
+ - README.md
73
+ - Rakefile
74
+ - lib/ruby-haml-js.rb
75
+ - lib/ruby-haml-js/engine.rb
76
+ - lib/ruby-haml-js/template.rb
77
+ - lib/ruby-haml-js/version.rb
78
+ - lib/tasks/pakunok_tasks.rake
79
+ - ruby-haml-js.gemspec
80
+ - spec/dummy/Rakefile
81
+ - spec/dummy/app/assets/javascripts/application.js
82
+ - spec/dummy/app/assets/javascripts/sample.jst.hamljs
83
+ - spec/dummy/app/assets/stylesheets/application.css
84
+ - spec/dummy/app/controllers/application_controller.rb
85
+ - spec/dummy/app/helpers/application_helper.rb
86
+ - spec/dummy/app/mailers/.gitkeep
87
+ - spec/dummy/app/models/.gitkeep
88
+ - spec/dummy/app/views/layouts/application.html.erb
89
+ - spec/dummy/app/views/pages/index.html.erb
90
+ - spec/dummy/config.ru
91
+ - spec/dummy/config/application.rb
92
+ - spec/dummy/config/boot.rb
93
+ - spec/dummy/config/database.yml
94
+ - spec/dummy/config/environment.rb
95
+ - spec/dummy/config/environments/development.rb
96
+ - spec/dummy/config/environments/production.rb
97
+ - spec/dummy/config/environments/test.rb
98
+ - spec/dummy/config/initializers/backtrace_silencers.rb
99
+ - spec/dummy/config/initializers/inflections.rb
100
+ - spec/dummy/config/initializers/mime_types.rb
101
+ - spec/dummy/config/initializers/secret_token.rb
102
+ - spec/dummy/config/initializers/session_store.rb
103
+ - spec/dummy/config/initializers/wrap_parameters.rb
104
+ - spec/dummy/config/locales/en.yml
105
+ - spec/dummy/config/routes.rb
106
+ - spec/dummy/lib/assets/.gitkeep
107
+ - spec/dummy/log/.gitkeep
108
+ - spec/dummy/public/404.html
109
+ - spec/dummy/public/422.html
110
+ - spec/dummy/public/500.html
111
+ - spec/dummy/public/favicon.ico
112
+ - spec/dummy/script/rails
113
+ - spec/spec_helper.rb
114
+ - spec/support/global.rb
115
+ - spec/support/matchers.rb
116
+ - spec/template_spec.rb
117
+ - vendor/assets/javascripts/haml.js
118
+ homepage: http://github.com/dnagir/ruby-haml-js
119
+ licenses: []
120
+ post_install_message:
121
+ rdoc_options: []
122
+ require_paths:
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ none: false
126
+ requirements:
127
+ - - ! '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ segments:
131
+ - 0
132
+ hash: -3891087008422554891
133
+ required_rubygems_version: !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ segments:
140
+ - 0
141
+ hash: -3891087008422554891
142
+ requirements: []
143
+ rubyforge_project: ruby-haml-js
144
+ rubygems_version: 1.8.10
145
+ signing_key:
146
+ specification_version: 3
147
+ summary: Precompile HAML-JS templates with or without Rails 3.1 assets pipeline
148
+ test_files:
149
+ - spec/dummy/Rakefile
150
+ - spec/dummy/app/assets/javascripts/application.js
151
+ - spec/dummy/app/assets/javascripts/sample.jst.hamljs
152
+ - spec/dummy/app/assets/stylesheets/application.css
153
+ - spec/dummy/app/controllers/application_controller.rb
154
+ - spec/dummy/app/helpers/application_helper.rb
155
+ - spec/dummy/app/mailers/.gitkeep
156
+ - spec/dummy/app/models/.gitkeep
157
+ - spec/dummy/app/views/layouts/application.html.erb
158
+ - spec/dummy/app/views/pages/index.html.erb
159
+ - spec/dummy/config.ru
160
+ - spec/dummy/config/application.rb
161
+ - spec/dummy/config/boot.rb
162
+ - spec/dummy/config/database.yml
163
+ - spec/dummy/config/environment.rb
164
+ - spec/dummy/config/environments/development.rb
165
+ - spec/dummy/config/environments/production.rb
166
+ - spec/dummy/config/environments/test.rb
167
+ - spec/dummy/config/initializers/backtrace_silencers.rb
168
+ - spec/dummy/config/initializers/inflections.rb
169
+ - spec/dummy/config/initializers/mime_types.rb
170
+ - spec/dummy/config/initializers/secret_token.rb
171
+ - spec/dummy/config/initializers/session_store.rb
172
+ - spec/dummy/config/initializers/wrap_parameters.rb
173
+ - spec/dummy/config/locales/en.yml
174
+ - spec/dummy/config/routes.rb
175
+ - spec/dummy/lib/assets/.gitkeep
176
+ - spec/dummy/log/.gitkeep
177
+ - spec/dummy/public/404.html
178
+ - spec/dummy/public/422.html
179
+ - spec/dummy/public/500.html
180
+ - spec/dummy/public/favicon.ico
181
+ - spec/dummy/script/rails
182
+ - spec/spec_helper.rb
183
+ - spec/support/global.rb
184
+ - spec/support/matchers.rb
185
+ - spec/template_spec.rb