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

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

No files matched your search

+1 -1
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.
+1 -1
View File
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rucaptcha (1.1.3)
rucaptcha (1.1.4)
railties (>= 3.2)
GEM
+1 -1
View File
@@ -24,7 +24,7 @@ module RuCaptcha
if store_name == :null_store
raise msg
else
Rails.logger.warn msg
puts msg
end
end
end
+1 -1
View File
@@ -1,3 +1,3 @@
module RuCaptcha
VERSION = '1.1.3'
VERSION = '1.1.4'
end