handlebone 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/Gemfile +16 -0
- data/Guardfile +18 -0
- data/LICENSE.txt +20 -0
- data/README.markdown +58 -0
- data/Rakefile +67 -0
- data/VERSION +1 -0
- data/generators/backbone_view/backbone_view_generator.rb +9 -0
- data/generators/backbone_view/templates/view.coffee.erb +2 -0
- data/generators/backbone_view/templates/view_template.html.handlebars +2 -0
- data/lib/assets/javascripts/handlebars_helpers.coffee +46 -0
- data/lib/assets/javascripts/handlebars_view.coffee +26 -0
- data/lib/generators/backbone/USAGE +8 -0
- data/lib/generators/backbone/backbone_generator.rb +6 -0
- data/lib/handlebone.rb +5 -0
- data/lib/handlebone/engine.rb +9 -0
- data/lib/handlebone/helper.rb +13 -0
- data/rakelib/coffeescript.rake +30 -0
- data/spec/javascripts/fixtures/child_view.handlebars.html +4 -0
- data/spec/javascripts/fixtures/multiple_child_parent_view.handlebars.html +7 -0
- data/spec/javascripts/fixtures/parent_view.handlebars.html +6 -0
- data/spec/javascripts/fixtures/simple_view.handlebars.html +4 -0
- data/spec/javascripts/handlebars_view_spec.coffee +55 -0
- data/spec/javascripts/helpers/SpecHelper.js +9 -0
- data/spec/javascripts/helpers/loadTemplateHelper.js +17 -0
- data/spec/javascripts/jasmine-jquery-1.1.3.js +205 -0
- data/spec/javascripts/jquery.js +167 -0
- data/spec/javascripts/support/jasmine.yml +78 -0
- data/spec/javascripts/support/jasmine_config.rb +23 -0
- data/spec/javascripts/support/jasmine_runner.rb +32 -0
- data/test/helper.rb +18 -0
- data/test/test_backbone-handlebars.rb +7 -0
- data/vendor/assets/javascripts/backbone.js +1066 -0
- data/vendor/assets/javascripts/handlebars.js +1417 -0
- data/vendor/assets/javascripts/underscore.js +748 -0
- metadata +164 -0
metadata
ADDED
@@ -0,0 +1,164 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: handlebone
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Chris Nelson
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-08-19 00:00:00.000000000 -04:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: shoulda
|
17
|
+
requirement: &2156892380 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *2156892380
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: bundler
|
28
|
+
requirement: &2156908280 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *2156908280
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: jeweler
|
39
|
+
requirement: &2156907800 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 1.6.0
|
45
|
+
type: :development
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *2156907800
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rcov
|
50
|
+
requirement: &2156907320 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *2156907320
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: jasmine
|
61
|
+
requirement: &2156906840 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
type: :development
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: *2156906840
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: coffee-script
|
72
|
+
requirement: &2156906360 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: *2156906360
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: guard-coffeescript
|
83
|
+
requirement: &2156905880 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: *2156905880
|
92
|
+
description: That's all folks
|
93
|
+
email: superchrisnelson@gmail.com
|
94
|
+
executables: []
|
95
|
+
extensions: []
|
96
|
+
extra_rdoc_files:
|
97
|
+
- LICENSE.txt
|
98
|
+
- README.markdown
|
99
|
+
files:
|
100
|
+
- .document
|
101
|
+
- Gemfile
|
102
|
+
- Guardfile
|
103
|
+
- LICENSE.txt
|
104
|
+
- README.markdown
|
105
|
+
- Rakefile
|
106
|
+
- VERSION
|
107
|
+
- generators/backbone_view/backbone_view_generator.rb
|
108
|
+
- generators/backbone_view/templates/view.coffee.erb
|
109
|
+
- generators/backbone_view/templates/view_template.html.handlebars
|
110
|
+
- lib/assets/javascripts/handlebars_helpers.coffee
|
111
|
+
- lib/assets/javascripts/handlebars_view.coffee
|
112
|
+
- lib/generators/backbone/USAGE
|
113
|
+
- lib/generators/backbone/backbone_generator.rb
|
114
|
+
- lib/handlebone.rb
|
115
|
+
- lib/handlebone/engine.rb
|
116
|
+
- lib/handlebone/helper.rb
|
117
|
+
- rakelib/coffeescript.rake
|
118
|
+
- spec/javascripts/fixtures/child_view.handlebars.html
|
119
|
+
- spec/javascripts/fixtures/multiple_child_parent_view.handlebars.html
|
120
|
+
- spec/javascripts/fixtures/parent_view.handlebars.html
|
121
|
+
- spec/javascripts/fixtures/simple_view.handlebars.html
|
122
|
+
- spec/javascripts/handlebars_view_spec.coffee
|
123
|
+
- spec/javascripts/helpers/SpecHelper.js
|
124
|
+
- spec/javascripts/helpers/loadTemplateHelper.js
|
125
|
+
- spec/javascripts/jasmine-jquery-1.1.3.js
|
126
|
+
- spec/javascripts/jquery.js
|
127
|
+
- spec/javascripts/support/jasmine.yml
|
128
|
+
- spec/javascripts/support/jasmine_config.rb
|
129
|
+
- spec/javascripts/support/jasmine_runner.rb
|
130
|
+
- test/helper.rb
|
131
|
+
- test/test_backbone-handlebars.rb
|
132
|
+
- vendor/assets/javascripts/backbone.js
|
133
|
+
- vendor/assets/javascripts/handlebars.js
|
134
|
+
- vendor/assets/javascripts/underscore.js
|
135
|
+
has_rdoc: true
|
136
|
+
homepage: http://github.com/gaslightsoftware/handlebone
|
137
|
+
licenses:
|
138
|
+
- MIT
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
145
|
+
requirements:
|
146
|
+
- - ! '>='
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
segments:
|
150
|
+
- 0
|
151
|
+
hash: 4030430383593299424
|
152
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
requirements: []
|
159
|
+
rubyforge_project:
|
160
|
+
rubygems_version: 1.6.2
|
161
|
+
signing_key:
|
162
|
+
specification_version: 3
|
163
|
+
summary: Backbone views with handlebars templates
|
164
|
+
test_files: []
|