mwmitchell-rsolr-ext 0.5.9 → 0.5.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/rsolr-ext.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  # add this directory to the load path if it hasn't already been added
2
- lambda {|base|
2
+
3
+ lambda { |base|
3
4
  $: << base unless $:.include?(base) || $:.include?(File.expand_path(base))
4
5
  }.call(File.dirname(__FILE__))
5
6
 
@@ -8,18 +9,23 @@ unless defined?(Mash)
8
9
  end
9
10
 
10
11
  unless Hash.respond_to?(:to_mash)
11
- require 'core_ext'
12
+ class Hash
13
+ def to_mash
14
+ Mash.new(self)
15
+ end
16
+ end
12
17
  end
13
18
 
14
19
  module RSolr
15
20
 
16
21
  module Ext
17
22
 
18
- VERSION = '0.5.9'
23
+ VERSION = '0.6.0'
19
24
 
20
25
  autoload :Request, 'rsolr-ext/request.rb'
21
26
  autoload :Response, 'rsolr-ext/response.rb'
22
27
  autoload :Mapable, 'rsolr-ext/mapable.rb'
28
+ autoload :Access, 'rsolr-ext/access.rb'
23
29
 
24
30
  end
25
31
 
data/rsolr-ext.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "rsolr-ext"
3
- s.version = "0.5.9"
4
- s.date = "2009-03-20"
3
+ s.version = "0.5.95"
4
+ s.date = "2009-04-25"
5
5
  s.summary = "An extension lib for RSolr"
6
6
  s.email = "goodieboy@gmail.com"
7
7
  s.homepage = "http://github.com/mwmitchell/rsolr_ext"
@@ -10,7 +10,6 @@ Gem::Specification.new do |s|
10
10
  s.authors = ["Matt Mitchell"]
11
11
  s.files = [
12
12
 
13
- "lib/core_ext.rb",
14
13
  "lib/mash.rb",
15
14
 
16
15
  "lib/rsolr-ext/mapable.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mwmitchell-rsolr-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.95
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Mitchell
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-20 00:00:00 -07:00
12
+ date: 2009-04-25 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -23,7 +23,6 @@ extra_rdoc_files:
23
23
  - LICENSE
24
24
  - README.rdoc
25
25
  files:
26
- - lib/core_ext.rb
27
26
  - lib/mash.rb
28
27
  - lib/rsolr-ext/mapable.rb
29
28
  - lib/rsolr-ext/request/queryable.rb
data/lib/core_ext.rb DELETED
@@ -1,5 +0,0 @@
1
- class Hash
2
- def to_mash
3
- Mash.new(self)
4
- end
5
- end