sunspot_rails_rbg 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. data/History.txt +51 -0
  2. data/LICENSE +18 -0
  3. data/MIT-LICENSE +20 -0
  4. data/README.rdoc +258 -0
  5. data/Rakefile +18 -0
  6. data/TESTING.md +35 -0
  7. data/TODO +8 -0
  8. data/VERSION.yml +4 -0
  9. data/dev_tasks/rdoc.rake +24 -0
  10. data/dev_tasks/release.rake +4 -0
  11. data/dev_tasks/spec.rake +22 -0
  12. data/dev_tasks/todo.rake +4 -0
  13. data/generators/sunspot/sunspot_generator.rb +9 -0
  14. data/generators/sunspot/templates/sunspot.yml +18 -0
  15. data/install.rb +1 -0
  16. data/lib/generators/sunspot_rails/install/install_generator.rb +13 -0
  17. data/lib/generators/sunspot_rails/install/templates/config/sunspot.yml +17 -0
  18. data/lib/generators/sunspot_rails.rb +9 -0
  19. data/lib/sunspot/rails/adapters.rb +83 -0
  20. data/lib/sunspot/rails/configuration.rb +322 -0
  21. data/lib/sunspot/rails/init.rb +5 -0
  22. data/lib/sunspot/rails/log_subscriber.rb +33 -0
  23. data/lib/sunspot/rails/railtie.rb +36 -0
  24. data/lib/sunspot/rails/railties/controller_runtime.rb +36 -0
  25. data/lib/sunspot/rails/request_lifecycle.rb +36 -0
  26. data/lib/sunspot/rails/searchable.rb +412 -0
  27. data/lib/sunspot/rails/server.rb +173 -0
  28. data/lib/sunspot/rails/solr_instrumentation.rb +21 -0
  29. data/lib/sunspot/rails/solr_logging.rb +63 -0
  30. data/lib/sunspot/rails/spec_helper.rb +26 -0
  31. data/lib/sunspot/rails/stub_session_proxy.rb +88 -0
  32. data/lib/sunspot/rails/tasks.rb +62 -0
  33. data/lib/sunspot/rails/version.rb +5 -0
  34. data/lib/sunspot/rails.rb +59 -0
  35. data/lib/sunspot_rails.rb +12 -0
  36. data/spec/configuration_spec.rb +173 -0
  37. data/spec/model_lifecycle_spec.rb +63 -0
  38. data/spec/model_spec.rb +356 -0
  39. data/spec/request_lifecycle_spec.rb +61 -0
  40. data/spec/schema.rb +27 -0
  41. data/spec/server_spec.rb +37 -0
  42. data/spec/session_spec.rb +24 -0
  43. data/spec/spec_helper.rb +46 -0
  44. data/spec/stub_session_proxy_spec.rb +122 -0
  45. metadata +181 -0
metadata ADDED
@@ -0,0 +1,181 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sunspot_rails_rbg
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 3
9
+ - 0
10
+ version: 1.3.0
11
+ platform: ruby
12
+ authors:
13
+ - Mat Brown
14
+ - Peer Allan
15
+ - Michael Moen
16
+ - Benjamin Krause
17
+ - Adam Salter
18
+ - Brandon Keepers
19
+ - Paul Canavese
20
+ - John Eberly
21
+ - Gert Thiel
22
+ autorequire:
23
+ bindir: bin
24
+ cert_chain: []
25
+
26
+ date: 2011-07-21 00:00:00 Z
27
+ dependencies:
28
+ - !ruby/object:Gem::Dependency
29
+ name: sunspot_rbg
30
+ prerelease: false
31
+ requirement: &id001 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - "="
35
+ - !ruby/object:Gem::Version
36
+ hash: 27
37
+ segments:
38
+ - 1
39
+ - 3
40
+ - 0
41
+ version: 1.3.0
42
+ type: :runtime
43
+ version_requirements: *id001
44
+ - !ruby/object:Gem::Dependency
45
+ name: nokogiri
46
+ prerelease: false
47
+ requirement: &id002 !ruby/object:Gem::Requirement
48
+ none: false
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ hash: 3
53
+ segments:
54
+ - 0
55
+ version: "0"
56
+ type: :runtime
57
+ version_requirements: *id002
58
+ - !ruby/object:Gem::Dependency
59
+ name: rspec
60
+ prerelease: false
61
+ requirement: &id003 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ hash: 11
67
+ segments:
68
+ - 1
69
+ - 2
70
+ version: "1.2"
71
+ type: :development
72
+ version_requirements: *id003
73
+ - !ruby/object:Gem::Dependency
74
+ name: rspec-rails
75
+ prerelease: false
76
+ requirement: &id004 !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - ~>
80
+ - !ruby/object:Gem::Version
81
+ hash: 11
82
+ segments:
83
+ - 1
84
+ - 2
85
+ version: "1.2"
86
+ type: :development
87
+ version_requirements: *id004
88
+ description: " Proxy release, copy of master branch on 7-21-2011. \n\
89
+ Sunspot::Rails is an extension to the Sunspot library for Solr search.\n\
90
+ Sunspot::Rails adds integration between Sunspot and ActiveRecord, including\n\
91
+ defining search and indexing related methods on ActiveRecord models themselves,\n\
92
+ running a Sunspot-compatible Solr instance for development and test\n\
93
+ environments, and automatically commit Solr index changes at the end of each\n\
94
+ Rails request.\n"
95
+ email: nessur@gmail.com
96
+ executables: []
97
+
98
+ extensions: []
99
+
100
+ extra_rdoc_files: []
101
+
102
+ files:
103
+ - History.txt
104
+ - LICENSE
105
+ - MIT-LICENSE
106
+ - Rakefile
107
+ - README.rdoc
108
+ - TESTING.md
109
+ - TODO
110
+ - VERSION.yml
111
+ - lib/generators/sunspot_rails/install/install_generator.rb
112
+ - lib/generators/sunspot_rails/install/templates/config/sunspot.yml
113
+ - lib/generators/sunspot_rails.rb
114
+ - lib/sunspot/rails/adapters.rb
115
+ - lib/sunspot/rails/configuration.rb
116
+ - lib/sunspot/rails/init.rb
117
+ - lib/sunspot/rails/log_subscriber.rb
118
+ - lib/sunspot/rails/railtie.rb
119
+ - lib/sunspot/rails/railties/controller_runtime.rb
120
+ - lib/sunspot/rails/request_lifecycle.rb
121
+ - lib/sunspot/rails/searchable.rb
122
+ - lib/sunspot/rails/server.rb
123
+ - lib/sunspot/rails/solr_instrumentation.rb
124
+ - lib/sunspot/rails/solr_logging.rb
125
+ - lib/sunspot/rails/spec_helper.rb
126
+ - lib/sunspot/rails/stub_session_proxy.rb
127
+ - lib/sunspot/rails/tasks.rb
128
+ - lib/sunspot/rails/version.rb
129
+ - lib/sunspot/rails.rb
130
+ - lib/sunspot_rails.rb
131
+ - dev_tasks/rdoc.rake
132
+ - dev_tasks/release.rake
133
+ - dev_tasks/spec.rake
134
+ - dev_tasks/todo.rake
135
+ - generators/sunspot/sunspot_generator.rb
136
+ - generators/sunspot/templates/sunspot.yml
137
+ - install.rb
138
+ - spec/configuration_spec.rb
139
+ - spec/model_lifecycle_spec.rb
140
+ - spec/model_spec.rb
141
+ - spec/request_lifecycle_spec.rb
142
+ - spec/schema.rb
143
+ - spec/server_spec.rb
144
+ - spec/session_spec.rb
145
+ - spec/spec_helper.rb
146
+ - spec/stub_session_proxy_spec.rb
147
+ homepage: http://github.com/outoftime/sunspot_rails
148
+ licenses: []
149
+
150
+ post_install_message:
151
+ rdoc_options: []
152
+
153
+ require_paths:
154
+ - lib
155
+ required_ruby_version: !ruby/object:Gem::Requirement
156
+ none: false
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ hash: 3
161
+ segments:
162
+ - 0
163
+ version: "0"
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ none: false
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ hash: 3
170
+ segments:
171
+ - 0
172
+ version: "0"
173
+ requirements: []
174
+
175
+ rubyforge_project: sunspot_rbg
176
+ rubygems_version: 1.8.5
177
+ signing_key:
178
+ specification_version: 3
179
+ summary: Rails integration for the Sunspot Solr search library
180
+ test_files: []
181
+