captcha3 1.1.7 → 1.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,10 +5,4 @@ require "captcha3/image_generator"
5
5
  module Captcha3
6
6
  require 'captcha3/railtie' if defined?(Rails)
7
7
  ActionController::Base.send(:include, ValidateCaptcha)
8
- if defined?(Rails)
9
- environment = File.open("#{Rails.root}/config/environment.rb", "a")
10
- salt = SecureRandom.base64(32).tr("+/=", "xyz")
11
- environment.puts("CAPTCHA_SALT = #{salt}")
12
- environment.close
13
- end
14
8
  end
@@ -1,3 +1,3 @@
1
1
  module Captcha3
2
- VERSION = "1.1.7"
2
+ VERSION = "1.1.8"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: captcha3
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 7
10
- version: 1.1.7
9
+ - 8
10
+ version: 1.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - victordong