simple-navigation-ext 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/CHANGELOG +177 -0
  2. data/README +22 -0
  3. data/Rakefile +48 -0
  4. data/VERSION +1 -0
  5. data/generators/navigation_config/USAGE +1 -0
  6. data/generators/navigation_config/navigation_config_generator.rb +8 -0
  7. data/generators/navigation_config/templates/config/navigation.rb +67 -0
  8. data/lib/generators/navigation_config/navigation_config_generator.rb +12 -0
  9. data/lib/simple-navigation.rb +1 -0
  10. data/lib/simple_navigation/adapters/base.rb +37 -0
  11. data/lib/simple_navigation/adapters/padrino.rb +20 -0
  12. data/lib/simple_navigation/adapters/rails.rb +94 -0
  13. data/lib/simple_navigation/adapters/sinatra.rb +68 -0
  14. data/lib/simple_navigation/adapters.rb +9 -0
  15. data/lib/simple_navigation/core/configuration.rb +70 -0
  16. data/lib/simple_navigation/core/item.rb +117 -0
  17. data/lib/simple_navigation/core/item_adapter.rb +63 -0
  18. data/lib/simple_navigation/core/item_container.rb +146 -0
  19. data/lib/simple_navigation/core/items_provider.rb +35 -0
  20. data/lib/simple_navigation/core.rb +5 -0
  21. data/lib/simple_navigation/rails_controller_methods.rb +144 -0
  22. data/lib/simple_navigation/rendering/helpers.rb +82 -0
  23. data/lib/simple_navigation/rendering/renderer/base.rb +71 -0
  24. data/lib/simple_navigation/rendering/renderer/breadcrumbs.rb +37 -0
  25. data/lib/simple_navigation/rendering/renderer/links.rb +25 -0
  26. data/lib/simple_navigation/rendering/renderer/list.rb +47 -0
  27. data/lib/simple_navigation/rendering.rb +10 -0
  28. data/lib/simple_navigation.rb +162 -0
  29. data/rails/init.rb +1 -0
  30. data/spec/lib/simple_navigation/adapters/padrino_spec.rb +29 -0
  31. data/spec/lib/simple_navigation/adapters/rails_spec.rb +284 -0
  32. data/spec/lib/simple_navigation/adapters/sinatra_spec.rb +60 -0
  33. data/spec/lib/simple_navigation/core/configuration_spec.rb +122 -0
  34. data/spec/lib/simple_navigation/core/item_adapter_spec.rb +209 -0
  35. data/spec/lib/simple_navigation/core/item_container_spec.rb +396 -0
  36. data/spec/lib/simple_navigation/core/item_spec.rb +513 -0
  37. data/spec/lib/simple_navigation/core/items_provider_spec.rb +60 -0
  38. data/spec/lib/simple_navigation/rails_controller_methods_spec.rb +249 -0
  39. data/spec/lib/simple_navigation/rendering/helpers_spec.rb +183 -0
  40. data/spec/lib/simple_navigation/rendering/renderer/base_spec.rb +199 -0
  41. data/spec/lib/simple_navigation/rendering/renderer/breadcrumbs_spec.rb +58 -0
  42. data/spec/lib/simple_navigation/rendering/renderer/links_spec.rb +58 -0
  43. data/spec/lib/simple_navigation/rendering/renderer/list_spec.rb +189 -0
  44. data/spec/lib/simple_navigation_spec.rb +307 -0
  45. data/spec/spec_helper.rb +96 -0
  46. metadata +158 -0
metadata ADDED
@@ -0,0 +1,158 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simple-navigation-ext
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Marco
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-01-21 00:00:00 +01:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rspec
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 13
30
+ segments:
31
+ - 2
32
+ - 0
33
+ - 1
34
+ version: 2.0.1
35
+ type: :development
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: activesupport
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 7
46
+ segments:
47
+ - 2
48
+ - 3
49
+ - 2
50
+ version: 2.3.2
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ description: simple-navigation-ext is an extension of andi schacke's library and add the feature to explicitly exclude urls from highlighting.
54
+ email: info@screenconcept.ch
55
+ executables: []
56
+
57
+ extensions: []
58
+
59
+ extra_rdoc_files:
60
+ - README
61
+ files:
62
+ - CHANGELOG
63
+ - README
64
+ - Rakefile
65
+ - VERSION
66
+ - generators/navigation_config/USAGE
67
+ - generators/navigation_config/navigation_config_generator.rb
68
+ - generators/navigation_config/templates/config/navigation.rb
69
+ - lib/generators/navigation_config/navigation_config_generator.rb
70
+ - lib/simple-navigation.rb
71
+ - lib/simple_navigation.rb
72
+ - lib/simple_navigation/adapters.rb
73
+ - lib/simple_navigation/adapters/base.rb
74
+ - lib/simple_navigation/adapters/padrino.rb
75
+ - lib/simple_navigation/adapters/rails.rb
76
+ - lib/simple_navigation/adapters/sinatra.rb
77
+ - lib/simple_navigation/core.rb
78
+ - lib/simple_navigation/core/configuration.rb
79
+ - lib/simple_navigation/core/item.rb
80
+ - lib/simple_navigation/core/item_adapter.rb
81
+ - lib/simple_navigation/core/item_container.rb
82
+ - lib/simple_navigation/core/items_provider.rb
83
+ - lib/simple_navigation/rails_controller_methods.rb
84
+ - lib/simple_navigation/rendering.rb
85
+ - lib/simple_navigation/rendering/helpers.rb
86
+ - lib/simple_navigation/rendering/renderer/base.rb
87
+ - lib/simple_navigation/rendering/renderer/breadcrumbs.rb
88
+ - lib/simple_navigation/rendering/renderer/links.rb
89
+ - lib/simple_navigation/rendering/renderer/list.rb
90
+ - rails/init.rb
91
+ - spec/lib/simple_navigation/adapters/padrino_spec.rb
92
+ - spec/lib/simple_navigation/adapters/rails_spec.rb
93
+ - spec/lib/simple_navigation/adapters/sinatra_spec.rb
94
+ - spec/lib/simple_navigation/core/configuration_spec.rb
95
+ - spec/lib/simple_navigation/core/item_adapter_spec.rb
96
+ - spec/lib/simple_navigation/core/item_container_spec.rb
97
+ - spec/lib/simple_navigation/core/item_spec.rb
98
+ - spec/lib/simple_navigation/core/items_provider_spec.rb
99
+ - spec/lib/simple_navigation/rails_controller_methods_spec.rb
100
+ - spec/lib/simple_navigation/rendering/helpers_spec.rb
101
+ - spec/lib/simple_navigation/rendering/renderer/base_spec.rb
102
+ - spec/lib/simple_navigation/rendering/renderer/breadcrumbs_spec.rb
103
+ - spec/lib/simple_navigation/rendering/renderer/links_spec.rb
104
+ - spec/lib/simple_navigation/rendering/renderer/list_spec.rb
105
+ - spec/lib/simple_navigation_spec.rb
106
+ - spec/spec_helper.rb
107
+ has_rdoc: true
108
+ homepage: https://github.com/screenconcept/simple-navigation
109
+ licenses: []
110
+
111
+ post_install_message:
112
+ rdoc_options:
113
+ - --inline-source
114
+ - --charset=UTF-8
115
+ require_paths:
116
+ - lib
117
+ required_ruby_version: !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ hash: 3
123
+ segments:
124
+ - 0
125
+ version: "0"
126
+ required_rubygems_version: !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ hash: 3
132
+ segments:
133
+ - 0
134
+ version: "0"
135
+ requirements: []
136
+
137
+ rubyforge_project:
138
+ rubygems_version: 1.3.7
139
+ signing_key:
140
+ specification_version: 3
141
+ summary: simple-navigation-ext is an extension of andi schacke's library and add the feature to explicitly exclude urls from highlighting.
142
+ test_files:
143
+ - spec/lib/simple_navigation/adapters/padrino_spec.rb
144
+ - spec/lib/simple_navigation/adapters/rails_spec.rb
145
+ - spec/lib/simple_navigation/adapters/sinatra_spec.rb
146
+ - spec/lib/simple_navigation/core/configuration_spec.rb
147
+ - spec/lib/simple_navigation/core/item_adapter_spec.rb
148
+ - spec/lib/simple_navigation/core/item_container_spec.rb
149
+ - spec/lib/simple_navigation/core/item_spec.rb
150
+ - spec/lib/simple_navigation/core/items_provider_spec.rb
151
+ - spec/lib/simple_navigation/rails_controller_methods_spec.rb
152
+ - spec/lib/simple_navigation/rendering/helpers_spec.rb
153
+ - spec/lib/simple_navigation/rendering/renderer/base_spec.rb
154
+ - spec/lib/simple_navigation/rendering/renderer/breadcrumbs_spec.rb
155
+ - spec/lib/simple_navigation/rendering/renderer/links_spec.rb
156
+ - spec/lib/simple_navigation/rendering/renderer/list_spec.rb
157
+ - spec/lib/simple_navigation_spec.rb
158
+ - spec/spec_helper.rb