rd_searchlogic 3.0.0.rc

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/.gitignore +7 -0
  2. data/LICENSE +20 -0
  3. data/README.rdoc +308 -0
  4. data/Rakefile +42 -0
  5. data/VERSION.yml +5 -0
  6. data/init.rb +1 -0
  7. data/lib/searchlogic/active_record/association_proxy.rb +19 -0
  8. data/lib/searchlogic/active_record/consistency.rb +49 -0
  9. data/lib/searchlogic/active_record/named_scope_tools.rb +102 -0
  10. data/lib/searchlogic/core_ext/object.rb +43 -0
  11. data/lib/searchlogic/core_ext/proc.rb +17 -0
  12. data/lib/searchlogic/named_scopes/alias_scope.rb +67 -0
  13. data/lib/searchlogic/named_scopes/association_conditions.rb +163 -0
  14. data/lib/searchlogic/named_scopes/association_ordering.rb +44 -0
  15. data/lib/searchlogic/named_scopes/conditions.rb +232 -0
  16. data/lib/searchlogic/named_scopes/or_conditions.rb +141 -0
  17. data/lib/searchlogic/named_scopes/ordering.rb +74 -0
  18. data/lib/searchlogic/rails_helpers.rb +79 -0
  19. data/lib/searchlogic/search.rb +259 -0
  20. data/lib/searchlogic.rb +89 -0
  21. data/rails/init.rb +1 -0
  22. data/spec/searchlogic/active_record/association_proxy_spec.rb +23 -0
  23. data/spec/searchlogic/active_record/consistency_spec.rb +28 -0
  24. data/spec/searchlogic/core_ext/object_spec.rb +9 -0
  25. data/spec/searchlogic/core_ext/proc_spec.rb +8 -0
  26. data/spec/searchlogic/named_scopes/alias_scope_spec.rb +23 -0
  27. data/spec/searchlogic/named_scopes/association_conditions_spec.rb +221 -0
  28. data/spec/searchlogic/named_scopes/association_ordering_spec.rb +29 -0
  29. data/spec/searchlogic/named_scopes/conditions_spec.rb +321 -0
  30. data/spec/searchlogic/named_scopes/or_conditions_spec.rb +66 -0
  31. data/spec/searchlogic/named_scopes/ordering_spec.rb +34 -0
  32. data/spec/searchlogic/search_spec.rb +459 -0
  33. data/spec/spec_helper.rb +146 -0
  34. metadata +123 -0
metadata ADDED
@@ -0,0 +1,123 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rd_searchlogic
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: true
5
+ segments:
6
+ - 3
7
+ - 0
8
+ - 0
9
+ - rc
10
+ version: 3.0.0.rc
11
+ platform: ruby
12
+ authors:
13
+ - Ben Johnson of Binary Logic
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-08-04 00:00:00 +04:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: activerecord
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 3
30
+ - 0
31
+ - 0
32
+ - beta4
33
+ version: 3.0.0.beta4
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ description: Searchlogic makes using ActiveRecord named scopes easier and less repetitive.
37
+ email: bjohnson@binarylogic.com
38
+ executables: []
39
+
40
+ extensions: []
41
+
42
+ extra_rdoc_files:
43
+ - LICENSE
44
+ - README.rdoc
45
+ files:
46
+ - .gitignore
47
+ - LICENSE
48
+ - README.rdoc
49
+ - Rakefile
50
+ - VERSION.yml
51
+ - init.rb
52
+ - lib/searchlogic.rb
53
+ - lib/searchlogic/active_record/association_proxy.rb
54
+ - lib/searchlogic/active_record/consistency.rb
55
+ - lib/searchlogic/active_record/named_scope_tools.rb
56
+ - lib/searchlogic/core_ext/object.rb
57
+ - lib/searchlogic/core_ext/proc.rb
58
+ - lib/searchlogic/named_scopes/alias_scope.rb
59
+ - lib/searchlogic/named_scopes/association_conditions.rb
60
+ - lib/searchlogic/named_scopes/association_ordering.rb
61
+ - lib/searchlogic/named_scopes/conditions.rb
62
+ - lib/searchlogic/named_scopes/or_conditions.rb
63
+ - lib/searchlogic/named_scopes/ordering.rb
64
+ - lib/searchlogic/rails_helpers.rb
65
+ - lib/searchlogic/search.rb
66
+ - rails/init.rb
67
+ - spec/searchlogic/active_record/association_proxy_spec.rb
68
+ - spec/searchlogic/active_record/consistency_spec.rb
69
+ - spec/searchlogic/core_ext/object_spec.rb
70
+ - spec/searchlogic/core_ext/proc_spec.rb
71
+ - spec/searchlogic/named_scopes/alias_scope_spec.rb
72
+ - spec/searchlogic/named_scopes/association_conditions_spec.rb
73
+ - spec/searchlogic/named_scopes/association_ordering_spec.rb
74
+ - spec/searchlogic/named_scopes/conditions_spec.rb
75
+ - spec/searchlogic/named_scopes/or_conditions_spec.rb
76
+ - spec/searchlogic/named_scopes/ordering_spec.rb
77
+ - spec/searchlogic/search_spec.rb
78
+ - spec/spec_helper.rb
79
+ has_rdoc: true
80
+ homepage: http://github.com/railsdog/searchlogic
81
+ licenses: []
82
+
83
+ post_install_message:
84
+ rdoc_options:
85
+ - --charset=UTF-8
86
+ require_paths:
87
+ - lib
88
+ required_ruby_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ segments:
93
+ - 0
94
+ version: "0"
95
+ required_rubygems_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">"
98
+ - !ruby/object:Gem::Version
99
+ segments:
100
+ - 1
101
+ - 3
102
+ - 1
103
+ version: 1.3.1
104
+ requirements: []
105
+
106
+ rubyforge_project: searchlogic
107
+ rubygems_version: 1.3.6
108
+ signing_key:
109
+ specification_version: 3
110
+ summary: Searchlogic makes using ActiveRecord named scopes easier and less repetitive.
111
+ test_files:
112
+ - spec/searchlogic/active_record/consistency_spec.rb
113
+ - spec/searchlogic/active_record/association_proxy_spec.rb
114
+ - spec/searchlogic/named_scopes/ordering_spec.rb
115
+ - spec/searchlogic/named_scopes/association_ordering_spec.rb
116
+ - spec/searchlogic/named_scopes/or_conditions_spec.rb
117
+ - spec/searchlogic/named_scopes/association_conditions_spec.rb
118
+ - spec/searchlogic/named_scopes/conditions_spec.rb
119
+ - spec/searchlogic/named_scopes/alias_scope_spec.rb
120
+ - spec/searchlogic/core_ext/proc_spec.rb
121
+ - spec/searchlogic/core_ext/object_spec.rb
122
+ - spec/searchlogic/search_spec.rb
123
+ - spec/spec_helper.rb