auto_complete 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +23 -0
  5. data/README.md +37 -0
  6. data/Rakefile +8 -0
  7. data/app/helpers/auto_complete_macros_helper.rb +145 -0
  8. data/auto_complete.gemspec +25 -0
  9. data/lib/auto_complete.rb +13 -0
  10. data/lib/auto_complete/class_methods.rb +49 -0
  11. data/lib/auto_complete/version.rb +3 -0
  12. data/test/auto_complete_test.rb +55 -0
  13. data/test/dummy/.gitignore +15 -0
  14. data/test/dummy/Gemfile +38 -0
  15. data/test/dummy/README.rdoc +261 -0
  16. data/test/dummy/Rakefile +7 -0
  17. data/test/dummy/app/assets/images/rails.png +0 -0
  18. data/test/dummy/app/assets/javascripts/application.js +16 -0
  19. data/test/dummy/app/assets/javascripts/example.js.coffee +9 -0
  20. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  21. data/test/dummy/app/assets/swfs/example.swf +0 -0
  22. data/test/dummy/app/assets/swfs/source/Example.as +26 -0
  23. data/test/dummy/app/assets/swfs/source/example.fla +0 -0
  24. data/test/dummy/app/controllers/application_controller.rb +5 -0
  25. data/test/dummy/app/helpers/application_helper.rb +2 -0
  26. data/test/dummy/app/mailers/.gitkeep +0 -0
  27. data/test/dummy/app/models/.gitkeep +0 -0
  28. data/test/dummy/app/views/application/example.html.erb +7 -0
  29. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  30. data/test/dummy/config.ru +4 -0
  31. data/test/dummy/config/application.rb +67 -0
  32. data/test/dummy/config/boot.rb +6 -0
  33. data/test/dummy/config/database.yml +25 -0
  34. data/test/dummy/config/environment.rb +5 -0
  35. data/test/dummy/config/environments/development.rb +37 -0
  36. data/test/dummy/config/environments/production.rb +67 -0
  37. data/test/dummy/config/environments/test.rb +37 -0
  38. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  39. data/test/dummy/config/initializers/inflections.rb +15 -0
  40. data/test/dummy/config/initializers/mime_types.rb +5 -0
  41. data/test/dummy/config/initializers/secret_token.rb +7 -0
  42. data/test/dummy/config/initializers/session_store.rb +8 -0
  43. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  44. data/test/dummy/config/locales/en.yml +5 -0
  45. data/test/dummy/config/routes.rb +59 -0
  46. data/test/dummy/db/seeds.rb +7 -0
  47. data/test/dummy/lib/assets/.gitkeep +0 -0
  48. data/test/dummy/lib/tasks/.gitkeep +0 -0
  49. data/test/dummy/log/.gitkeep +0 -0
  50. data/test/dummy/public/404.html +26 -0
  51. data/test/dummy/public/422.html +26 -0
  52. data/test/dummy/public/500.html +25 -0
  53. data/test/dummy/public/favicon.ico +0 -0
  54. data/test/dummy/public/robots.txt +5 -0
  55. data/test/dummy/script/rails +6 -0
  56. data/test/dummy/test/fixtures/.gitkeep +0 -0
  57. data/test/dummy/test/functional/.gitkeep +0 -0
  58. data/test/dummy/test/integration/.gitkeep +0 -0
  59. data/test/dummy/test/test_helper.rb +13 -0
  60. data/test/dummy/test/unit/.gitkeep +0 -0
  61. data/test/dummy/vendor/assets/javascripts/.gitkeep +0 -0
  62. data/test/dummy/vendor/assets/stylesheets/.gitkeep +0 -0
  63. data/test/dummy/vendor/plugins/.gitkeep +0 -0
  64. data/test/test_helper.rb +19 -0
  65. metadata +202 -0
File without changes
File without changes
@@ -0,0 +1,19 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+ Rails.backtrace_cleaner.remove_silencers!
7
+
8
+ # Load support files
9
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
10
+
11
+
12
+ # ActionView::TestCase::TestController.instance_eval do
13
+ # helper Rails.application.routes.url_helpers#, (append other helpers you need)
14
+ # end
15
+ # ActionView::TestCase::TestController.class_eval do
16
+ # def _routes
17
+ # Rails.application.routes
18
+ # end
19
+ # end
metadata ADDED
@@ -0,0 +1,202 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: auto_complete
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - David Heinemeier Hansson, Marc-André Lafortune
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-06-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: Gem for the legacy auto_complete plugin
56
+ email:
57
+ - github@marc-andre.ca
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - .gitignore
63
+ - Gemfile
64
+ - LICENSE.txt
65
+ - README.md
66
+ - Rakefile
67
+ - app/helpers/auto_complete_macros_helper.rb
68
+ - auto_complete.gemspec
69
+ - lib/auto_complete.rb
70
+ - lib/auto_complete/class_methods.rb
71
+ - lib/auto_complete/version.rb
72
+ - test/auto_complete_test.rb
73
+ - test/dummy/.gitignore
74
+ - test/dummy/Gemfile
75
+ - test/dummy/README.rdoc
76
+ - test/dummy/Rakefile
77
+ - test/dummy/app/assets/images/rails.png
78
+ - test/dummy/app/assets/javascripts/application.js
79
+ - test/dummy/app/assets/javascripts/example.js.coffee
80
+ - test/dummy/app/assets/stylesheets/application.css
81
+ - test/dummy/app/assets/swfs/example.swf
82
+ - test/dummy/app/assets/swfs/source/Example.as
83
+ - test/dummy/app/assets/swfs/source/example.fla
84
+ - test/dummy/app/controllers/application_controller.rb
85
+ - test/dummy/app/helpers/application_helper.rb
86
+ - test/dummy/app/mailers/.gitkeep
87
+ - test/dummy/app/models/.gitkeep
88
+ - test/dummy/app/views/application/example.html.erb
89
+ - test/dummy/app/views/layouts/application.html.erb
90
+ - test/dummy/config.ru
91
+ - test/dummy/config/application.rb
92
+ - test/dummy/config/boot.rb
93
+ - test/dummy/config/database.yml
94
+ - test/dummy/config/environment.rb
95
+ - test/dummy/config/environments/development.rb
96
+ - test/dummy/config/environments/production.rb
97
+ - test/dummy/config/environments/test.rb
98
+ - test/dummy/config/initializers/backtrace_silencers.rb
99
+ - test/dummy/config/initializers/inflections.rb
100
+ - test/dummy/config/initializers/mime_types.rb
101
+ - test/dummy/config/initializers/secret_token.rb
102
+ - test/dummy/config/initializers/session_store.rb
103
+ - test/dummy/config/initializers/wrap_parameters.rb
104
+ - test/dummy/config/locales/en.yml
105
+ - test/dummy/config/routes.rb
106
+ - test/dummy/db/seeds.rb
107
+ - test/dummy/lib/assets/.gitkeep
108
+ - test/dummy/lib/tasks/.gitkeep
109
+ - test/dummy/log/.gitkeep
110
+ - test/dummy/public/404.html
111
+ - test/dummy/public/422.html
112
+ - test/dummy/public/500.html
113
+ - test/dummy/public/favicon.ico
114
+ - test/dummy/public/robots.txt
115
+ - test/dummy/script/rails
116
+ - test/dummy/test/fixtures/.gitkeep
117
+ - test/dummy/test/functional/.gitkeep
118
+ - test/dummy/test/integration/.gitkeep
119
+ - test/dummy/test/test_helper.rb
120
+ - test/dummy/test/unit/.gitkeep
121
+ - test/dummy/vendor/assets/javascripts/.gitkeep
122
+ - test/dummy/vendor/assets/stylesheets/.gitkeep
123
+ - test/dummy/vendor/plugins/.gitkeep
124
+ - test/test_helper.rb
125
+ homepage: ''
126
+ licenses:
127
+ - MIT
128
+ metadata: {}
129
+ post_install_message:
130
+ rdoc_options: []
131
+ require_paths:
132
+ - lib
133
+ required_ruby_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - '>='
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ required_rubygems_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ requirements: []
144
+ rubyforge_project:
145
+ rubygems_version: 2.0.3
146
+ signing_key:
147
+ specification_version: 4
148
+ summary: Gem for the legacy auto_complete plugin
149
+ test_files:
150
+ - test/auto_complete_test.rb
151
+ - test/dummy/.gitignore
152
+ - test/dummy/Gemfile
153
+ - test/dummy/README.rdoc
154
+ - test/dummy/Rakefile
155
+ - test/dummy/app/assets/images/rails.png
156
+ - test/dummy/app/assets/javascripts/application.js
157
+ - test/dummy/app/assets/javascripts/example.js.coffee
158
+ - test/dummy/app/assets/stylesheets/application.css
159
+ - test/dummy/app/assets/swfs/example.swf
160
+ - test/dummy/app/assets/swfs/source/Example.as
161
+ - test/dummy/app/assets/swfs/source/example.fla
162
+ - test/dummy/app/controllers/application_controller.rb
163
+ - test/dummy/app/helpers/application_helper.rb
164
+ - test/dummy/app/mailers/.gitkeep
165
+ - test/dummy/app/models/.gitkeep
166
+ - test/dummy/app/views/application/example.html.erb
167
+ - test/dummy/app/views/layouts/application.html.erb
168
+ - test/dummy/config.ru
169
+ - test/dummy/config/application.rb
170
+ - test/dummy/config/boot.rb
171
+ - test/dummy/config/database.yml
172
+ - test/dummy/config/environment.rb
173
+ - test/dummy/config/environments/development.rb
174
+ - test/dummy/config/environments/production.rb
175
+ - test/dummy/config/environments/test.rb
176
+ - test/dummy/config/initializers/backtrace_silencers.rb
177
+ - test/dummy/config/initializers/inflections.rb
178
+ - test/dummy/config/initializers/mime_types.rb
179
+ - test/dummy/config/initializers/secret_token.rb
180
+ - test/dummy/config/initializers/session_store.rb
181
+ - test/dummy/config/initializers/wrap_parameters.rb
182
+ - test/dummy/config/locales/en.yml
183
+ - test/dummy/config/routes.rb
184
+ - test/dummy/db/seeds.rb
185
+ - test/dummy/lib/assets/.gitkeep
186
+ - test/dummy/lib/tasks/.gitkeep
187
+ - test/dummy/log/.gitkeep
188
+ - test/dummy/public/404.html
189
+ - test/dummy/public/422.html
190
+ - test/dummy/public/500.html
191
+ - test/dummy/public/favicon.ico
192
+ - test/dummy/public/robots.txt
193
+ - test/dummy/script/rails
194
+ - test/dummy/test/fixtures/.gitkeep
195
+ - test/dummy/test/functional/.gitkeep
196
+ - test/dummy/test/integration/.gitkeep
197
+ - test/dummy/test/test_helper.rb
198
+ - test/dummy/test/unit/.gitkeep
199
+ - test/dummy/vendor/assets/javascripts/.gitkeep
200
+ - test/dummy/vendor/assets/stylesheets/.gitkeep
201
+ - test/dummy/vendor/plugins/.gitkeep
202
+ - test/test_helper.rb