navi 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/.rvmrc +1 -0
- data/Gemfile +41 -0
- data/Gemfile.lock +196 -0
- data/Guardfile +23 -0
- data/LICENSE.txt +20 -0
- data/README.textile +26 -0
- data/Rakefile +50 -0
- data/VERSION +1 -0
- data/features/create_menu_items.feature +13 -0
- data/features/step_definitions/category_steps.rb +3 -0
- data/features/step_definitions/menu_item_steps.rb +19 -0
- data/features/step_definitions/page_steps.rb +3 -0
- data/features/step_definitions/web_steps.rb +211 -0
- data/features/support/env.rb +61 -0
- data/features/support/paths.rb +33 -0
- data/features/support/selectors.rb +39 -0
- data/lib/navi/helpers.rb +24 -0
- data/lib/navi/navigable/base.rb +16 -0
- data/lib/navi/navigable/instance_methods.rb +24 -0
- data/lib/navi/navigator/.base.rb.swo +0 -0
- data/lib/navi/navigator/base.rb +11 -0
- data/lib/navi/navigator/class_methods.rb +27 -0
- data/lib/navi/navigator/instance_methods.rb +57 -0
- data/lib/navi/railtie.rb +11 -0
- data/lib/navi/renderers/base.rb +31 -0
- data/lib/navi/renderers/simple_navigation.rb +30 -0
- data/lib/navi.rb +29 -0
- data/navi.gemspec +281 -0
- data/spec/blueprints.rb +16 -0
- data/spec/dummy/.gitignore +6 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/categories_controller.rb +7 -0
- data/spec/dummy/app/controllers/menu_items_controller.rb +15 -0
- data/spec/dummy/app/controllers/pages_controller.rb +7 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/category.rb +3 -0
- data/spec/dummy/app/models/menu_item.rb +2 -0
- data/spec/dummy/app/models/page.rb +3 -0
- data/spec/dummy/app/views/categories/_form.html.haml +2 -0
- data/spec/dummy/app/views/categories/edit.html.haml +5 -0
- data/spec/dummy/app/views/categories/index.html.haml +17 -0
- data/spec/dummy/app/views/categories/new.html.haml +5 -0
- data/spec/dummy/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/app/views/menu_items/edit.html.haml +14 -0
- data/spec/dummy/app/views/menu_items/index.html.haml +11 -0
- data/spec/dummy/app/views/pages/_form.html.haml +2 -0
- data/spec/dummy/app/views/pages/edit.html.haml +5 -0
- data/spec/dummy/app/views/pages/index.html.haml +17 -0
- data/spec/dummy/app/views/pages/new.html.haml +5 -0
- data/spec/dummy/app/widgets/menu_editor/category/form/.display.html.haml.swo +0 -0
- data/spec/dummy/app/widgets/menu_editor/category/form/display.html.haml +7 -0
- data/spec/dummy/app/widgets/menu_editor/category/form_widget.rb +18 -0
- data/spec/dummy/app/widgets/menu_editor/display.html.haml +5 -0
- data/spec/dummy/app/widgets/menu_editor/page/form/.display.html.haml.swo +0 -0
- data/spec/dummy/app/widgets/menu_editor/page/form/display.html.haml +8 -0
- data/spec/dummy/app/widgets/menu_editor/page/form_widget.rb +18 -0
- data/spec/dummy/app/widgets/menu_editor/tree/display.html.haml +4 -0
- data/spec/dummy/app/widgets/menu_editor/tree/item.html.haml +7 -0
- data/spec/dummy/app/widgets/menu_editor/tree/items.html.haml +2 -0
- data/spec/dummy/app/widgets/menu_editor/tree_widget.rb +48 -0
- data/spec/dummy/app/widgets/menu_editor_widget.rb +11 -0
- data/spec/dummy/config/application.rb +45 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/cucumber.yml +8 -0
- data/spec/dummy/config/database.yml +19 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +26 -0
- data/spec/dummy/config/environments/production.rb +49 -0
- data/spec/dummy/config/environments/test.rb +35 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/navigable.rb +1 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/navigation.rb +7 -0
- data/spec/dummy/config/routes.rb +61 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20110607155019_create_menu_items.rb +20 -0
- data/spec/dummy/db/migrate/20110607155202_create_categories.rb +13 -0
- data/spec/dummy/db/migrate/20110607160052_create_pages.rb +13 -0
- data/spec/dummy/db/schema.rb +41 -0
- data/spec/dummy/db/seeds.rb +15 -0
- data/spec/dummy/lib/tasks/.gitkeep +0 -0
- data/spec/dummy/lib/tasks/cucumber.rake +57 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/images/rails.png +0 -0
- data/spec/dummy/public/index.html +239 -0
- data/spec/dummy/public/javascripts/application.js +2 -0
- data/spec/dummy/public/javascripts/jquery-ui.js +11603 -0
- data/spec/dummy/public/javascripts/jquery-ui.min.js +406 -0
- data/spec/dummy/public/javascripts/jquery.js +8936 -0
- data/spec/dummy/public/javascripts/jquery.min.js +18 -0
- data/spec/dummy/public/javascripts/jquery_ujs.js +315 -0
- data/spec/dummy/public/javascripts/menu_items/index.js +40 -0
- data/spec/dummy/public/javascripts/rails.js +315 -0
- data/spec/dummy/public/robots.txt +5 -0
- data/spec/dummy/public/stylesheets/.gitkeep +0 -0
- data/spec/dummy/script/cucumber +10 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/vendor/plugins/.gitkeep +0 -0
- data/spec/navi/helpers_spec.rb +5 -0
- data/spec/navi/navi_spec.rb +76 -0
- data/spec/navi/navigator_spec.rb +204 -0
- data/spec/navi/renderers/simple_navigation_spec.rb +49 -0
- data/spec/spec_helper.rb +125 -0
- metadata +683 -0
metadata
ADDED
@@ -0,0 +1,683 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: navi
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Ramon Tayag
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-06-13 00:00:00 +08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
type: :runtime
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 7
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 0
|
32
|
+
- 0
|
33
|
+
version: 3.0.0
|
34
|
+
name: activesupport
|
35
|
+
version_requirements: *id001
|
36
|
+
prerelease: false
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
type: :runtime
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 7
|
45
|
+
segments:
|
46
|
+
- 3
|
47
|
+
- 0
|
48
|
+
- 0
|
49
|
+
version: 3.0.0
|
50
|
+
name: activerecord
|
51
|
+
version_requirements: *id002
|
52
|
+
prerelease: false
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
type: :runtime
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - "="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 31
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
- 1
|
64
|
+
- 2
|
65
|
+
version: 0.1.2
|
66
|
+
name: ordered_tree
|
67
|
+
version_requirements: *id003
|
68
|
+
prerelease: false
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
type: :runtime
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 23
|
77
|
+
segments:
|
78
|
+
- 2
|
79
|
+
- 6
|
80
|
+
- 0
|
81
|
+
version: 2.6.0
|
82
|
+
name: rspec
|
83
|
+
version_requirements: *id004
|
84
|
+
prerelease: false
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
type: :runtime
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ~>
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 23
|
93
|
+
segments:
|
94
|
+
- 1
|
95
|
+
- 0
|
96
|
+
- 0
|
97
|
+
version: 1.0.0
|
98
|
+
name: bundler
|
99
|
+
version_requirements: *id005
|
100
|
+
prerelease: false
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
type: :runtime
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ~>
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 7
|
109
|
+
segments:
|
110
|
+
- 1
|
111
|
+
- 5
|
112
|
+
- 2
|
113
|
+
version: 1.5.2
|
114
|
+
name: jeweler
|
115
|
+
version_requirements: *id006
|
116
|
+
prerelease: false
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
type: :runtime
|
119
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
hash: 3
|
125
|
+
segments:
|
126
|
+
- 0
|
127
|
+
version: "0"
|
128
|
+
name: rcov
|
129
|
+
version_requirements: *id007
|
130
|
+
prerelease: false
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
type: :runtime
|
133
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
134
|
+
none: false
|
135
|
+
requirements:
|
136
|
+
- - "="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
hash: 15
|
139
|
+
segments:
|
140
|
+
- 3
|
141
|
+
- 2
|
142
|
+
- 0
|
143
|
+
version: 3.2.0
|
144
|
+
name: simple-navigation
|
145
|
+
version_requirements: *id008
|
146
|
+
prerelease: false
|
147
|
+
- !ruby/object:Gem::Dependency
|
148
|
+
type: :runtime
|
149
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
150
|
+
none: false
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
hash: 3
|
155
|
+
segments:
|
156
|
+
- 0
|
157
|
+
version: "0"
|
158
|
+
name: inherited_resources
|
159
|
+
version_requirements: *id009
|
160
|
+
prerelease: false
|
161
|
+
- !ruby/object:Gem::Dependency
|
162
|
+
type: :runtime
|
163
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
164
|
+
none: false
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
hash: 3
|
169
|
+
segments:
|
170
|
+
- 0
|
171
|
+
version: "0"
|
172
|
+
name: guard-rspec
|
173
|
+
version_requirements: *id010
|
174
|
+
prerelease: false
|
175
|
+
- !ruby/object:Gem::Dependency
|
176
|
+
type: :runtime
|
177
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
178
|
+
none: false
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
hash: 3
|
183
|
+
segments:
|
184
|
+
- 0
|
185
|
+
version: "0"
|
186
|
+
name: libnotify
|
187
|
+
version_requirements: *id011
|
188
|
+
prerelease: false
|
189
|
+
- !ruby/object:Gem::Dependency
|
190
|
+
type: :runtime
|
191
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
192
|
+
none: false
|
193
|
+
requirements:
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
hash: 3
|
197
|
+
segments:
|
198
|
+
- 0
|
199
|
+
version: "0"
|
200
|
+
name: rb-inotify
|
201
|
+
version_requirements: *id012
|
202
|
+
prerelease: false
|
203
|
+
- !ruby/object:Gem::Dependency
|
204
|
+
type: :runtime
|
205
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
206
|
+
none: false
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
hash: 3
|
211
|
+
segments:
|
212
|
+
- 0
|
213
|
+
version: "0"
|
214
|
+
name: sqlite3
|
215
|
+
version_requirements: *id013
|
216
|
+
prerelease: false
|
217
|
+
- !ruby/object:Gem::Dependency
|
218
|
+
type: :runtime
|
219
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
220
|
+
none: false
|
221
|
+
requirements:
|
222
|
+
- - "="
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
hash: 49
|
225
|
+
segments:
|
226
|
+
- 0
|
227
|
+
- 8
|
228
|
+
- 7
|
229
|
+
version: 0.8.7
|
230
|
+
name: rake
|
231
|
+
version_requirements: *id014
|
232
|
+
prerelease: false
|
233
|
+
- !ruby/object:Gem::Dependency
|
234
|
+
type: :runtime
|
235
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
236
|
+
none: false
|
237
|
+
requirements:
|
238
|
+
- - "="
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
hash: 17
|
241
|
+
segments:
|
242
|
+
- 1
|
243
|
+
- 1
|
244
|
+
- 1
|
245
|
+
version: 1.1.1
|
246
|
+
name: apotomo
|
247
|
+
version_requirements: *id015
|
248
|
+
prerelease: false
|
249
|
+
- !ruby/object:Gem::Dependency
|
250
|
+
type: :runtime
|
251
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
252
|
+
none: false
|
253
|
+
requirements:
|
254
|
+
- - "="
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
hash: 9
|
257
|
+
segments:
|
258
|
+
- 3
|
259
|
+
- 0
|
260
|
+
- 7
|
261
|
+
version: 3.0.7
|
262
|
+
name: rails
|
263
|
+
version_requirements: *id016
|
264
|
+
prerelease: false
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
type: :runtime
|
267
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
268
|
+
none: false
|
269
|
+
requirements:
|
270
|
+
- - ">="
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
hash: 3
|
273
|
+
segments:
|
274
|
+
- 0
|
275
|
+
version: "0"
|
276
|
+
name: haml
|
277
|
+
version_requirements: *id017
|
278
|
+
prerelease: false
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
type: :runtime
|
281
|
+
requirement: &id018 !ruby/object:Gem::Requirement
|
282
|
+
none: false
|
283
|
+
requirements:
|
284
|
+
- - "="
|
285
|
+
- !ruby/object:Gem::Version
|
286
|
+
hash: 15
|
287
|
+
segments:
|
288
|
+
- 3
|
289
|
+
- 2
|
290
|
+
- 0
|
291
|
+
version: 3.2.0
|
292
|
+
name: simple-navigation
|
293
|
+
version_requirements: *id018
|
294
|
+
prerelease: false
|
295
|
+
- !ruby/object:Gem::Dependency
|
296
|
+
type: :runtime
|
297
|
+
requirement: &id019 !ruby/object:Gem::Requirement
|
298
|
+
none: false
|
299
|
+
requirements:
|
300
|
+
- - ">="
|
301
|
+
- !ruby/object:Gem::Version
|
302
|
+
hash: 17
|
303
|
+
segments:
|
304
|
+
- 1
|
305
|
+
- 0
|
306
|
+
- 3
|
307
|
+
version: 1.0.3
|
308
|
+
name: jquery-rails
|
309
|
+
version_requirements: *id019
|
310
|
+
prerelease: false
|
311
|
+
- !ruby/object:Gem::Dependency
|
312
|
+
type: :runtime
|
313
|
+
requirement: &id020 !ruby/object:Gem::Requirement
|
314
|
+
none: false
|
315
|
+
requirements:
|
316
|
+
- - "="
|
317
|
+
- !ruby/object:Gem::Version
|
318
|
+
hash: 21
|
319
|
+
segments:
|
320
|
+
- 2
|
321
|
+
- 6
|
322
|
+
- 1
|
323
|
+
version: 2.6.1
|
324
|
+
name: rspec-rails
|
325
|
+
version_requirements: *id020
|
326
|
+
prerelease: false
|
327
|
+
- !ruby/object:Gem::Dependency
|
328
|
+
type: :runtime
|
329
|
+
requirement: &id021 !ruby/object:Gem::Requirement
|
330
|
+
none: false
|
331
|
+
requirements:
|
332
|
+
- - "="
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
hash: 15
|
335
|
+
segments:
|
336
|
+
- 0
|
337
|
+
- 5
|
338
|
+
- 2
|
339
|
+
version: 0.5.2
|
340
|
+
name: cucumber-rails
|
341
|
+
version_requirements: *id021
|
342
|
+
prerelease: false
|
343
|
+
- !ruby/object:Gem::Dependency
|
344
|
+
type: :runtime
|
345
|
+
requirement: &id022 !ruby/object:Gem::Requirement
|
346
|
+
none: false
|
347
|
+
requirements:
|
348
|
+
- - ">="
|
349
|
+
- !ruby/object:Gem::Version
|
350
|
+
hash: 3
|
351
|
+
segments:
|
352
|
+
- 0
|
353
|
+
version: "0"
|
354
|
+
name: cucumber
|
355
|
+
version_requirements: *id022
|
356
|
+
prerelease: false
|
357
|
+
- !ruby/object:Gem::Dependency
|
358
|
+
type: :runtime
|
359
|
+
requirement: &id023 !ruby/object:Gem::Requirement
|
360
|
+
none: false
|
361
|
+
requirements:
|
362
|
+
- - ">="
|
363
|
+
- !ruby/object:Gem::Version
|
364
|
+
hash: 15424055
|
365
|
+
segments:
|
366
|
+
- 1
|
367
|
+
- 0
|
368
|
+
- 0
|
369
|
+
- rc
|
370
|
+
- 1
|
371
|
+
version: 1.0.0.rc1
|
372
|
+
name: capybara
|
373
|
+
version_requirements: *id023
|
374
|
+
prerelease: false
|
375
|
+
- !ruby/object:Gem::Dependency
|
376
|
+
type: :runtime
|
377
|
+
requirement: &id024 !ruby/object:Gem::Requirement
|
378
|
+
none: false
|
379
|
+
requirements:
|
380
|
+
- - ">="
|
381
|
+
- !ruby/object:Gem::Version
|
382
|
+
hash: 3
|
383
|
+
segments:
|
384
|
+
- 0
|
385
|
+
version: "0"
|
386
|
+
name: database_cleaner
|
387
|
+
version_requirements: *id024
|
388
|
+
prerelease: false
|
389
|
+
- !ruby/object:Gem::Dependency
|
390
|
+
type: :runtime
|
391
|
+
requirement: &id025 !ruby/object:Gem::Requirement
|
392
|
+
none: false
|
393
|
+
requirements:
|
394
|
+
- - ">="
|
395
|
+
- !ruby/object:Gem::Version
|
396
|
+
hash: 3
|
397
|
+
segments:
|
398
|
+
- 0
|
399
|
+
version: "0"
|
400
|
+
name: launchy
|
401
|
+
version_requirements: *id025
|
402
|
+
prerelease: false
|
403
|
+
- !ruby/object:Gem::Dependency
|
404
|
+
type: :runtime
|
405
|
+
requirement: &id026 !ruby/object:Gem::Requirement
|
406
|
+
none: false
|
407
|
+
requirements:
|
408
|
+
- - ">="
|
409
|
+
- !ruby/object:Gem::Version
|
410
|
+
hash: 3
|
411
|
+
segments:
|
412
|
+
- 0
|
413
|
+
version: "0"
|
414
|
+
name: machinist
|
415
|
+
version_requirements: *id026
|
416
|
+
prerelease: false
|
417
|
+
- !ruby/object:Gem::Dependency
|
418
|
+
type: :runtime
|
419
|
+
requirement: &id027 !ruby/object:Gem::Requirement
|
420
|
+
none: false
|
421
|
+
requirements:
|
422
|
+
- - ">="
|
423
|
+
- !ruby/object:Gem::Version
|
424
|
+
hash: 3
|
425
|
+
segments:
|
426
|
+
- 0
|
427
|
+
version: "0"
|
428
|
+
name: faker
|
429
|
+
version_requirements: *id027
|
430
|
+
prerelease: false
|
431
|
+
- !ruby/object:Gem::Dependency
|
432
|
+
type: :runtime
|
433
|
+
requirement: &id028 !ruby/object:Gem::Requirement
|
434
|
+
none: false
|
435
|
+
requirements:
|
436
|
+
- - "="
|
437
|
+
- !ruby/object:Gem::Version
|
438
|
+
hash: 27
|
439
|
+
segments:
|
440
|
+
- 0
|
441
|
+
- 3
|
442
|
+
- 4
|
443
|
+
version: 0.3.4
|
444
|
+
name: guard-cucumber
|
445
|
+
version_requirements: *id028
|
446
|
+
prerelease: false
|
447
|
+
- !ruby/object:Gem::Dependency
|
448
|
+
type: :runtime
|
449
|
+
requirement: &id029 !ruby/object:Gem::Requirement
|
450
|
+
none: false
|
451
|
+
requirements:
|
452
|
+
- - ">="
|
453
|
+
- !ruby/object:Gem::Version
|
454
|
+
hash: 3
|
455
|
+
segments:
|
456
|
+
- 0
|
457
|
+
version: "0"
|
458
|
+
name: libnotify
|
459
|
+
version_requirements: *id029
|
460
|
+
prerelease: false
|
461
|
+
- !ruby/object:Gem::Dependency
|
462
|
+
type: :runtime
|
463
|
+
requirement: &id030 !ruby/object:Gem::Requirement
|
464
|
+
none: false
|
465
|
+
requirements:
|
466
|
+
- - ">="
|
467
|
+
- !ruby/object:Gem::Version
|
468
|
+
hash: 3
|
469
|
+
segments:
|
470
|
+
- 0
|
471
|
+
version: "0"
|
472
|
+
name: rb-inotify
|
473
|
+
version_requirements: *id030
|
474
|
+
prerelease: false
|
475
|
+
- !ruby/object:Gem::Dependency
|
476
|
+
type: :runtime
|
477
|
+
requirement: &id031 !ruby/object:Gem::Requirement
|
478
|
+
none: false
|
479
|
+
requirements:
|
480
|
+
- - ">="
|
481
|
+
- !ruby/object:Gem::Version
|
482
|
+
hash: 3
|
483
|
+
segments:
|
484
|
+
- 0
|
485
|
+
version: "0"
|
486
|
+
name: nifty-generators
|
487
|
+
version_requirements: *id031
|
488
|
+
prerelease: false
|
489
|
+
description: Allows you to save menu items in the database. You can create your own renderer.
|
490
|
+
email: ramon@tayag.net
|
491
|
+
executables: []
|
492
|
+
|
493
|
+
extensions: []
|
494
|
+
|
495
|
+
extra_rdoc_files:
|
496
|
+
- LICENSE.txt
|
497
|
+
- README.textile
|
498
|
+
files:
|
499
|
+
- .document
|
500
|
+
- .rspec
|
501
|
+
- .rvmrc
|
502
|
+
- Gemfile
|
503
|
+
- Gemfile.lock
|
504
|
+
- Guardfile
|
505
|
+
- LICENSE.txt
|
506
|
+
- README.textile
|
507
|
+
- Rakefile
|
508
|
+
- VERSION
|
509
|
+
- features/create_menu_items.feature
|
510
|
+
- features/step_definitions/category_steps.rb
|
511
|
+
- features/step_definitions/menu_item_steps.rb
|
512
|
+
- features/step_definitions/page_steps.rb
|
513
|
+
- features/step_definitions/web_steps.rb
|
514
|
+
- features/support/env.rb
|
515
|
+
- features/support/paths.rb
|
516
|
+
- features/support/selectors.rb
|
517
|
+
- lib/navi.rb
|
518
|
+
- lib/navi/helpers.rb
|
519
|
+
- lib/navi/navigable/base.rb
|
520
|
+
- lib/navi/navigable/instance_methods.rb
|
521
|
+
- lib/navi/navigator/.base.rb.swo
|
522
|
+
- lib/navi/navigator/base.rb
|
523
|
+
- lib/navi/navigator/class_methods.rb
|
524
|
+
- lib/navi/navigator/instance_methods.rb
|
525
|
+
- lib/navi/railtie.rb
|
526
|
+
- lib/navi/renderers/base.rb
|
527
|
+
- lib/navi/renderers/simple_navigation.rb
|
528
|
+
- navi.gemspec
|
529
|
+
- spec/blueprints.rb
|
530
|
+
- spec/dummy/.gitignore
|
531
|
+
- spec/dummy/Rakefile
|
532
|
+
- spec/dummy/app/controllers/application_controller.rb
|
533
|
+
- spec/dummy/app/controllers/categories_controller.rb
|
534
|
+
- spec/dummy/app/controllers/menu_items_controller.rb
|
535
|
+
- spec/dummy/app/controllers/pages_controller.rb
|
536
|
+
- spec/dummy/app/helpers/application_helper.rb
|
537
|
+
- spec/dummy/app/models/category.rb
|
538
|
+
- spec/dummy/app/models/menu_item.rb
|
539
|
+
- spec/dummy/app/models/page.rb
|
540
|
+
- spec/dummy/app/views/categories/_form.html.haml
|
541
|
+
- spec/dummy/app/views/categories/edit.html.haml
|
542
|
+
- spec/dummy/app/views/categories/index.html.haml
|
543
|
+
- spec/dummy/app/views/categories/new.html.haml
|
544
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
545
|
+
- spec/dummy/app/views/menu_items/edit.html.haml
|
546
|
+
- spec/dummy/app/views/menu_items/index.html.haml
|
547
|
+
- spec/dummy/app/views/pages/_form.html.haml
|
548
|
+
- spec/dummy/app/views/pages/edit.html.haml
|
549
|
+
- spec/dummy/app/views/pages/index.html.haml
|
550
|
+
- spec/dummy/app/views/pages/new.html.haml
|
551
|
+
- spec/dummy/app/widgets/menu_editor/category/form/.display.html.haml.swo
|
552
|
+
- spec/dummy/app/widgets/menu_editor/category/form/display.html.haml
|
553
|
+
- spec/dummy/app/widgets/menu_editor/category/form_widget.rb
|
554
|
+
- spec/dummy/app/widgets/menu_editor/display.html.haml
|
555
|
+
- spec/dummy/app/widgets/menu_editor/page/form/.display.html.haml.swo
|
556
|
+
- spec/dummy/app/widgets/menu_editor/page/form/display.html.haml
|
557
|
+
- spec/dummy/app/widgets/menu_editor/page/form_widget.rb
|
558
|
+
- spec/dummy/app/widgets/menu_editor/tree/display.html.haml
|
559
|
+
- spec/dummy/app/widgets/menu_editor/tree/item.html.haml
|
560
|
+
- spec/dummy/app/widgets/menu_editor/tree/items.html.haml
|
561
|
+
- spec/dummy/app/widgets/menu_editor/tree_widget.rb
|
562
|
+
- spec/dummy/app/widgets/menu_editor_widget.rb
|
563
|
+
- spec/dummy/config.ru
|
564
|
+
- spec/dummy/config/application.rb
|
565
|
+
- spec/dummy/config/boot.rb
|
566
|
+
- spec/dummy/config/cucumber.yml
|
567
|
+
- spec/dummy/config/database.yml
|
568
|
+
- spec/dummy/config/environment.rb
|
569
|
+
- spec/dummy/config/environments/development.rb
|
570
|
+
- spec/dummy/config/environments/production.rb
|
571
|
+
- spec/dummy/config/environments/test.rb
|
572
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
573
|
+
- spec/dummy/config/initializers/inflections.rb
|
574
|
+
- spec/dummy/config/initializers/mime_types.rb
|
575
|
+
- spec/dummy/config/initializers/navigable.rb
|
576
|
+
- spec/dummy/config/initializers/secret_token.rb
|
577
|
+
- spec/dummy/config/initializers/session_store.rb
|
578
|
+
- spec/dummy/config/locales/en.yml
|
579
|
+
- spec/dummy/config/navigation.rb
|
580
|
+
- spec/dummy/config/routes.rb
|
581
|
+
- spec/dummy/db/migrate/20110607155019_create_menu_items.rb
|
582
|
+
- spec/dummy/db/migrate/20110607155202_create_categories.rb
|
583
|
+
- spec/dummy/db/migrate/20110607160052_create_pages.rb
|
584
|
+
- spec/dummy/db/schema.rb
|
585
|
+
- spec/dummy/db/seeds.rb
|
586
|
+
- spec/dummy/lib/tasks/.gitkeep
|
587
|
+
- spec/dummy/lib/tasks/cucumber.rake
|
588
|
+
- spec/dummy/public/404.html
|
589
|
+
- spec/dummy/public/422.html
|
590
|
+
- spec/dummy/public/500.html
|
591
|
+
- spec/dummy/public/favicon.ico
|
592
|
+
- spec/dummy/public/images/rails.png
|
593
|
+
- spec/dummy/public/index.html
|
594
|
+
- spec/dummy/public/javascripts/application.js
|
595
|
+
- spec/dummy/public/javascripts/jquery-ui.js
|
596
|
+
- spec/dummy/public/javascripts/jquery-ui.min.js
|
597
|
+
- spec/dummy/public/javascripts/jquery.js
|
598
|
+
- spec/dummy/public/javascripts/jquery.min.js
|
599
|
+
- spec/dummy/public/javascripts/jquery_ujs.js
|
600
|
+
- spec/dummy/public/javascripts/menu_items/index.js
|
601
|
+
- spec/dummy/public/javascripts/rails.js
|
602
|
+
- spec/dummy/public/robots.txt
|
603
|
+
- spec/dummy/public/stylesheets/.gitkeep
|
604
|
+
- spec/dummy/script/cucumber
|
605
|
+
- spec/dummy/script/rails
|
606
|
+
- spec/dummy/vendor/plugins/.gitkeep
|
607
|
+
- spec/navi/helpers_spec.rb
|
608
|
+
- spec/navi/navi_spec.rb
|
609
|
+
- spec/navi/navigator_spec.rb
|
610
|
+
- spec/navi/renderers/simple_navigation_spec.rb
|
611
|
+
- spec/spec_helper.rb
|
612
|
+
has_rdoc: true
|
613
|
+
homepage: http://github.com/ramontayag/navi
|
614
|
+
licenses:
|
615
|
+
- MIT
|
616
|
+
post_install_message:
|
617
|
+
rdoc_options: []
|
618
|
+
|
619
|
+
require_paths:
|
620
|
+
- lib
|
621
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
622
|
+
none: false
|
623
|
+
requirements:
|
624
|
+
- - ">="
|
625
|
+
- !ruby/object:Gem::Version
|
626
|
+
hash: 3
|
627
|
+
segments:
|
628
|
+
- 0
|
629
|
+
version: "0"
|
630
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
631
|
+
none: false
|
632
|
+
requirements:
|
633
|
+
- - ">="
|
634
|
+
- !ruby/object:Gem::Version
|
635
|
+
hash: 3
|
636
|
+
segments:
|
637
|
+
- 0
|
638
|
+
version: "0"
|
639
|
+
requirements: []
|
640
|
+
|
641
|
+
rubyforge_project:
|
642
|
+
rubygems_version: 1.6.2
|
643
|
+
signing_key:
|
644
|
+
specification_version: 3
|
645
|
+
summary: Allows you to save menu items in the database.
|
646
|
+
test_files:
|
647
|
+
- spec/blueprints.rb
|
648
|
+
- spec/dummy/app/controllers/application_controller.rb
|
649
|
+
- spec/dummy/app/controllers/categories_controller.rb
|
650
|
+
- spec/dummy/app/controllers/menu_items_controller.rb
|
651
|
+
- spec/dummy/app/controllers/pages_controller.rb
|
652
|
+
- spec/dummy/app/helpers/application_helper.rb
|
653
|
+
- spec/dummy/app/models/category.rb
|
654
|
+
- spec/dummy/app/models/menu_item.rb
|
655
|
+
- spec/dummy/app/models/page.rb
|
656
|
+
- spec/dummy/app/widgets/menu_editor/category/form_widget.rb
|
657
|
+
- spec/dummy/app/widgets/menu_editor/page/form_widget.rb
|
658
|
+
- spec/dummy/app/widgets/menu_editor/tree_widget.rb
|
659
|
+
- spec/dummy/app/widgets/menu_editor_widget.rb
|
660
|
+
- spec/dummy/config/application.rb
|
661
|
+
- spec/dummy/config/boot.rb
|
662
|
+
- spec/dummy/config/environment.rb
|
663
|
+
- spec/dummy/config/environments/development.rb
|
664
|
+
- spec/dummy/config/environments/production.rb
|
665
|
+
- spec/dummy/config/environments/test.rb
|
666
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
667
|
+
- spec/dummy/config/initializers/inflections.rb
|
668
|
+
- spec/dummy/config/initializers/mime_types.rb
|
669
|
+
- spec/dummy/config/initializers/navigable.rb
|
670
|
+
- spec/dummy/config/initializers/secret_token.rb
|
671
|
+
- spec/dummy/config/initializers/session_store.rb
|
672
|
+
- spec/dummy/config/navigation.rb
|
673
|
+
- spec/dummy/config/routes.rb
|
674
|
+
- spec/dummy/db/migrate/20110607155019_create_menu_items.rb
|
675
|
+
- spec/dummy/db/migrate/20110607155202_create_categories.rb
|
676
|
+
- spec/dummy/db/migrate/20110607160052_create_pages.rb
|
677
|
+
- spec/dummy/db/schema.rb
|
678
|
+
- spec/dummy/db/seeds.rb
|
679
|
+
- spec/navi/helpers_spec.rb
|
680
|
+
- spec/navi/navi_spec.rb
|
681
|
+
- spec/navi/navigator_spec.rb
|
682
|
+
- spec/navi/renderers/simple_navigation_spec.rb
|
683
|
+
- spec/spec_helper.rb
|