sunspot_activerecord 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README ADDED
@@ -0,0 +1,9 @@
1
+ sunspot_activerecord is simplified (just reduced) version of sunspot_rails gem (see http://outoftime.github.com/sunspot/) to enable usage of sunspot+active_record -based models in not Rails projects.
2
+
3
+ Like original sunspot_rails gem it provides sunspot adapters for activerecord, expands ActiveRecord::Base class with method searchable, that configures Sunspot to index specific model and adds some methods for work with sunspot.
4
+
5
+ Main difference: sunspot_activerecord doesn't make assumptions about request processing specifity (no ActionController work) and doesn't provide bulk operations at the end of request cycle. That's why in default configuration it indexes and commit model changes on every suitable change.
6
+
7
+ Current version doesn't include also sunspot server and session configuration.
8
+
9
+
@@ -1,3 +1,3 @@
1
1
  module SunspotActiverecord
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -19,5 +19,5 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
  s.add_dependency 'sunspot'
22
- s.add_dependency 'activerecord'
22
+ s.add_dependency 'activerecord', "~> 2.3.8"
23
23
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunspot_activerecord
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease: false
4
+ hash: 27
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Olga Gorun
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-23 00:00:00 +03:00
18
+ date: 2011-04-25 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -38,12 +38,14 @@ dependencies:
38
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
- - - ">="
41
+ - - ~>
42
42
  - !ruby/object:Gem::Version
43
- hash: 3
43
+ hash: 19
44
44
  segments:
45
- - 0
46
- version: "0"
45
+ - 2
46
+ - 3
47
+ - 8
48
+ version: 2.3.8
47
49
  type: :runtime
48
50
  version_requirements: *id002
49
51
  description: Simplified version of sunspot_rails gem to enable usage of sunspot+active_record -based models in not Rails projects
@@ -58,6 +60,7 @@ extra_rdoc_files: []
58
60
  files:
59
61
  - .gitignore
60
62
  - Gemfile
63
+ - README
61
64
  - Rakefile
62
65
  - lib/sunspot_activerecord.rb
63
66
  - lib/sunspot_activerecord/adapters.rb
@@ -94,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
97
  requirements: []
95
98
 
96
99
  rubyforge_project: sunspot_activerecord
97
- rubygems_version: 1.3.7
100
+ rubygems_version: 1.6.2
98
101
  signing_key:
99
102
  specification_version: 3
100
103
  summary: active_record support for sunspot