nav_lynx 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.md +25 -0
  3. data/Rakefile +22 -0
  4. data/app/helpers/nav_link_helper.rb +128 -0
  5. data/lib/nav_lynx.rb +4 -0
  6. data/lib/nav_lynx/engine.rb +7 -0
  7. data/lib/nav_lynx/version.rb +3 -0
  8. data/spec/dummy/README.rdoc +261 -0
  9. data/spec/dummy/Rakefile +7 -0
  10. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  11. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  12. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  13. data/spec/dummy/app/controllers/dashboard_controller.rb +3 -0
  14. data/spec/dummy/app/controllers/projects_controller.rb +2 -0
  15. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  16. data/spec/dummy/app/views/dashboard/show.html.erb +1 -0
  17. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  18. data/spec/dummy/config.ru +4 -0
  19. data/spec/dummy/config/application.rb +65 -0
  20. data/spec/dummy/config/boot.rb +10 -0
  21. data/spec/dummy/config/database.yml +25 -0
  22. data/spec/dummy/config/environment.rb +5 -0
  23. data/spec/dummy/config/environments/development.rb +37 -0
  24. data/spec/dummy/config/environments/production.rb +67 -0
  25. data/spec/dummy/config/environments/test.rb +37 -0
  26. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  27. data/spec/dummy/config/initializers/inflections.rb +15 -0
  28. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  29. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  30. data/spec/dummy/config/initializers/session_store.rb +8 -0
  31. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  32. data/spec/dummy/config/locales/en.yml +5 -0
  33. data/spec/dummy/config/routes.rb +4 -0
  34. data/spec/dummy/db/development.sqlite3 +0 -0
  35. data/spec/dummy/db/schema.rb +16 -0
  36. data/spec/dummy/db/test.sqlite3 +0 -0
  37. data/spec/dummy/log/development.log +42 -0
  38. data/spec/dummy/log/test.log +263 -0
  39. data/spec/dummy/public/404.html +26 -0
  40. data/spec/dummy/public/422.html +26 -0
  41. data/spec/dummy/public/500.html +25 -0
  42. data/spec/dummy/public/favicon.ico +0 -0
  43. data/spec/dummy/script/rails +6 -0
  44. data/spec/features/navigation_spec.rb +9 -0
  45. data/spec/helpers/nav_link_helper_spec.rb +128 -0
  46. data/spec/spec_helper.rb +29 -0
  47. metadata +204 -0
@@ -0,0 +1,29 @@
1
+ ENV["RAILS_ENV"] ||= 'test'
2
+
3
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'rspec/autorun'
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Requires supporting ruby files with custom matchers and macros, etc,
10
+ # in spec/support/ and its subdirectories.
11
+ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
12
+
13
+ RSpec.configure do |config|
14
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
15
+ # examples within a transaction, remove the following line or assign false
16
+ # instead of true.
17
+ config.use_transactional_fixtures = true
18
+
19
+ # If true, the base class of anonymous controllers will be inferred
20
+ # automatically. This will be the default behavior in future versions of
21
+ # rspec-rails.
22
+ config.infer_base_class_for_anonymous_controllers = false
23
+
24
+ # Run specs in random order to surface order dependencies. If you find an
25
+ # order dependency and want to debug it, you can fix the order by providing
26
+ # the seed, which is printed after each run.
27
+ # --seed 1234
28
+ config.order = "random"
29
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nav_lynx
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Dan Tello
9
+ - Patrick Reagan
10
+ - Brian Landau
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+ date: 2013-06-12 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rails
18
+ requirement: !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: 3.2.13
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: 3.2.13
32
+ - !ruby/object:Gem::Dependency
33
+ name: sqlite3
34
+ requirement: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ - !ruby/object:Gem::Dependency
49
+ name: rspec-rails
50
+ requirement: !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: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ - !ruby/object:Gem::Dependency
65
+ name: capybara
66
+ requirement: !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - ! '>='
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ type: :development
73
+ prerelease: false
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ! '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ description: Rails helper to generate navigation links with a selected class.
81
+ email:
82
+ - dan.tello@viget.com
83
+ - patrick.reagan@viget.com
84
+ - brian.landau@viget.com
85
+ executables: []
86
+ extensions: []
87
+ extra_rdoc_files: []
88
+ files:
89
+ - app/helpers/nav_link_helper.rb
90
+ - lib/nav_lynx/engine.rb
91
+ - lib/nav_lynx/version.rb
92
+ - lib/nav_lynx.rb
93
+ - MIT-LICENSE
94
+ - Rakefile
95
+ - README.md
96
+ - spec/dummy/README.rdoc
97
+ - spec/dummy/Rakefile
98
+ - spec/dummy/app/assets/javascripts/application.js
99
+ - spec/dummy/app/assets/stylesheets/application.css
100
+ - spec/dummy/app/controllers/application_controller.rb
101
+ - spec/dummy/app/controllers/dashboard_controller.rb
102
+ - spec/dummy/app/controllers/projects_controller.rb
103
+ - spec/dummy/app/helpers/application_helper.rb
104
+ - spec/dummy/app/views/dashboard/show.html.erb
105
+ - spec/dummy/app/views/layouts/application.html.erb
106
+ - spec/dummy/config/application.rb
107
+ - spec/dummy/config/boot.rb
108
+ - spec/dummy/config/database.yml
109
+ - spec/dummy/config/environment.rb
110
+ - spec/dummy/config/environments/development.rb
111
+ - spec/dummy/config/environments/production.rb
112
+ - spec/dummy/config/environments/test.rb
113
+ - spec/dummy/config/initializers/backtrace_silencers.rb
114
+ - spec/dummy/config/initializers/inflections.rb
115
+ - spec/dummy/config/initializers/mime_types.rb
116
+ - spec/dummy/config/initializers/secret_token.rb
117
+ - spec/dummy/config/initializers/session_store.rb
118
+ - spec/dummy/config/initializers/wrap_parameters.rb
119
+ - spec/dummy/config/locales/en.yml
120
+ - spec/dummy/config/routes.rb
121
+ - spec/dummy/config.ru
122
+ - spec/dummy/db/development.sqlite3
123
+ - spec/dummy/db/schema.rb
124
+ - spec/dummy/db/test.sqlite3
125
+ - spec/dummy/log/development.log
126
+ - spec/dummy/log/test.log
127
+ - spec/dummy/public/404.html
128
+ - spec/dummy/public/422.html
129
+ - spec/dummy/public/500.html
130
+ - spec/dummy/public/favicon.ico
131
+ - spec/dummy/script/rails
132
+ - spec/features/navigation_spec.rb
133
+ - spec/helpers/nav_link_helper_spec.rb
134
+ - spec/spec_helper.rb
135
+ homepage: http://github.com/vigetlabs/nav_lynx
136
+ licenses: []
137
+ post_install_message:
138
+ rdoc_options: []
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ none: false
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ segments:
148
+ - 0
149
+ hash: -3753548243184339803
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ! '>='
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ segments:
157
+ - 0
158
+ hash: -3753548243184339803
159
+ requirements: []
160
+ rubyforge_project:
161
+ rubygems_version: 1.8.21
162
+ signing_key:
163
+ specification_version: 3
164
+ summary: Rails helper to generate navigation links with a selected class.
165
+ test_files:
166
+ - spec/dummy/README.rdoc
167
+ - spec/dummy/Rakefile
168
+ - spec/dummy/app/assets/javascripts/application.js
169
+ - spec/dummy/app/assets/stylesheets/application.css
170
+ - spec/dummy/app/controllers/application_controller.rb
171
+ - spec/dummy/app/controllers/dashboard_controller.rb
172
+ - spec/dummy/app/controllers/projects_controller.rb
173
+ - spec/dummy/app/helpers/application_helper.rb
174
+ - spec/dummy/app/views/dashboard/show.html.erb
175
+ - spec/dummy/app/views/layouts/application.html.erb
176
+ - spec/dummy/config/application.rb
177
+ - spec/dummy/config/boot.rb
178
+ - spec/dummy/config/database.yml
179
+ - spec/dummy/config/environment.rb
180
+ - spec/dummy/config/environments/development.rb
181
+ - spec/dummy/config/environments/production.rb
182
+ - spec/dummy/config/environments/test.rb
183
+ - spec/dummy/config/initializers/backtrace_silencers.rb
184
+ - spec/dummy/config/initializers/inflections.rb
185
+ - spec/dummy/config/initializers/mime_types.rb
186
+ - spec/dummy/config/initializers/secret_token.rb
187
+ - spec/dummy/config/initializers/session_store.rb
188
+ - spec/dummy/config/initializers/wrap_parameters.rb
189
+ - spec/dummy/config/locales/en.yml
190
+ - spec/dummy/config/routes.rb
191
+ - spec/dummy/config.ru
192
+ - spec/dummy/db/development.sqlite3
193
+ - spec/dummy/db/schema.rb
194
+ - spec/dummy/db/test.sqlite3
195
+ - spec/dummy/log/development.log
196
+ - spec/dummy/log/test.log
197
+ - spec/dummy/public/404.html
198
+ - spec/dummy/public/422.html
199
+ - spec/dummy/public/500.html
200
+ - spec/dummy/public/favicon.ico
201
+ - spec/dummy/script/rails
202
+ - spec/features/navigation_spec.rb
203
+ - spec/helpers/nav_link_helper_spec.rb
204
+ - spec/spec_helper.rb