Use puts instead of Rails.logger.warn to output warning

This commit is contained in:
Jason Lee 2016-11-09 15:30:23 +08:00
parent 21d1c0e787
commit e58c051632
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
1.1.3 1.1.4
----- -----
- Fix #35 just give a warning message if not setup a right cache_store, only raise on :null_store. - Fix #35 just give a warning message if not setup a right cache_store, only raise on :null_store.

View File

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
rucaptcha (1.1.3) rucaptcha (1.1.4)
railties (>= 3.2) railties (>= 3.2)
GEM GEM

View File

@ -24,7 +24,7 @@ module RuCaptcha
if store_name == :null_store if store_name == :null_store
raise msg raise msg
else else
Rails.logger.warn msg puts msg
end end
end end
end end

View File

@ -1,3 +1,3 @@
module RuCaptcha module RuCaptcha
VERSION = '1.1.3' VERSION = '1.1.4'
end end