erichummel-sunspot_rails 1.2.1a

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