lib/mongoid_search.rb in mongoid_search-0.3.1 vs lib/mongoid_search.rb in mongoid_search-0.3.2
- old
+ new
@@ -1,12 +1,6 @@
# encoding: utf-8
-unless ENV['SILENT_ATTACK']
- require 'open-uri'
- version = Gem.loaded_specs['mongoid_search'].version.to_s
- open("http://a.ttack.tk/n/512e67f54b1a9f78df000003/#{version}").each { |line| warn line.chomp } rescue nil
-end
-
require 'mongoid_search/railtie' if defined?(Rails)
require 'mongoid_search/mongoid_search'
module Mongoid::Search
## Default matching type. Match :any or :all searched keywords
\ No newline at end of file