Skip to content

Commit

Permalink
RedisSearch updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Aug 18, 2011
1 parent 7ee5b30 commit 8e4d10c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -71,7 +71,7 @@ gem "juggernaut"
# Diff 内容并输出 HTML 格式
gem "htmldiff", :git => "git://github.com/huacnlee/htmldiff.git"

gem "redis-search", "0.3", :path => "../redis-search"
gem "redis-search", "0.3.1"

group :development do
gem 'rails-dev-boost-beta','0.1.2', :require => 'rails_development_boost'
Expand Down
12 changes: 4 additions & 8 deletions Gemfile.lock
Expand Up @@ -4,13 +4,6 @@ GIT
specs:
htmldiff (0.0.1)

PATH
remote: ../redis-search
specs:
redis-search (0.3)
redis (~> 2.1.1)
rmmseg-cpp-huacnlee (~> 0.2.8)

GEM
remote: http://rubygems.org/
specs:
Expand Down Expand Up @@ -175,6 +168,9 @@ GEM
redis (2.1.1)
redis-namespace (1.0.3)
redis (< 3.0.0)
redis-search (0.3.1)
redis (~> 2.1.1)
rmmseg-cpp-huacnlee (~> 0.2.8)
resque (1.15.0)
json (~> 1.4.6)
redis-namespace (>= 0.10.0)
Expand Down Expand Up @@ -241,7 +237,7 @@ DEPENDENCIES
rails (= 3.0.5)
rails-dev-boost-beta (= 0.1.2)
redis (= 2.1.1)
redis-search (= 0.3)!
redis-search (= 0.3.1)
resque (= 1.15.0)
resque_mailer (= 1.0.1)
rmmseg-cpp-huacnlee (= 0.2.8)
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/redis.rb
Expand Up @@ -9,7 +9,7 @@
redis_search.select("3")
RedisSearch.configure do |config|
config.redis = redis_search
config.complete_max_length = 100
config.complete_max_length = 30
end

# Resque
Expand Down

0 comments on commit 8e4d10c

Please sign in to comment.