Skip to content

Commit

Permalink
freeze strings under lib/
Browse files Browse the repository at this point in the history
  • Loading branch information
jmstfv committed Oct 13, 2019
1 parent 2e61dcd commit 04db811
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/invisible_captcha.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'invisible_captcha/version'
require 'invisible_captcha/controller_ext'
require 'invisible_captcha/view_helpers'
Expand Down
2 changes: 2 additions & 0 deletions lib/invisible_captcha/controller_ext.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module InvisibleCaptcha
module ControllerExt
module ClassMethods
Expand Down
2 changes: 2 additions & 0 deletions lib/invisible_captcha/form_helpers.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module InvisibleCaptcha
module FormHelpers
def invisible_captcha(honeypot, options = {})
Expand Down
2 changes: 2 additions & 0 deletions lib/invisible_captcha/railtie.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module InvisibleCaptcha
class Railtie < Rails::Railtie
initializer 'invisible_captcha.rails_integration' do
Expand Down
2 changes: 2 additions & 0 deletions lib/invisible_captcha/version.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module InvisibleCaptcha
VERSION = "0.12.2"
end
2 changes: 2 additions & 0 deletions lib/invisible_captcha/view_helpers.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module InvisibleCaptcha
module ViewHelpers
# Builds the honeypot html
Expand Down

0 comments on commit 04db811

Please sign in to comment.