Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
❄️ frozen_string_literal: true
  • Loading branch information
amatsuda committed Nov 25, 2016
1 parent 3f11cd9 commit eb523d9
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
@@ -1,3 +1,4 @@
# frozen_string_literal: true
source 'https://rubygems.org'

# Specify your gem's dependencies in html5_validators.gemspec
Expand Down
1 change: 1 addition & 0 deletions Rakefile
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'bundler'
Bundler::GemHelper.install_tasks

Expand Down
1 change: 1 addition & 0 deletions html5_validators.gemspec
@@ -1,4 +1,5 @@
# -*- encoding: utf-8 -*-
# frozen_string_literal: true
$:.push File.expand_path('../lib', __FILE__)
require 'html5_validators/version'

Expand Down
1 change: 1 addition & 0 deletions lib/html5_validators.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'rails'

module Html5Validators
Expand Down
1 change: 1 addition & 0 deletions lib/html5_validators/action_view/form_helpers.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Html5Validators
module ActionViewExtension
module FormHelper
Expand Down
1 change: 1 addition & 0 deletions lib/html5_validators/action_view/form_helpers_rails3.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# Legacy Rails 3.x support
module ActionView
module Helpers
Expand Down
1 change: 1 addition & 0 deletions lib/html5_validators/active_model/helper_methods.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module ActiveModel
module Validations
module HelperMethods
Expand Down
1 change: 1 addition & 0 deletions lib/html5_validators/active_model/validations.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Html5Validators
module ActiveModelExtension
extend ActiveSupport::Concern
Expand Down
1 change: 1 addition & 0 deletions lib/html5_validators/active_record/base.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Html5Validators
module ActiveRecordExtension
extend ActiveSupport::Concern
Expand Down
1 change: 1 addition & 0 deletions lib/html5_validators/version.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Html5Validators
VERSION = '1.4.0'
end
1 change: 1 addition & 0 deletions spec/fake_app.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'active_record'
require 'action_controller/railtie'

Expand Down
1 change: 1 addition & 0 deletions spec/features/validation_spec.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'spec_helper'

feature 'person#new' do
Expand Down
1 change: 1 addition & 0 deletions spec/models/active_record/inherited_spec.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'spec_helper'

if defined? ActiveRecord
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
@@ -1,3 +1,4 @@
# frozen_string_literal: true
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
# load Rails first
Expand Down

0 comments on commit eb523d9

Please sign in to comment.