Skip to content

Commit af65bdd

Browse files
committed
🚀 💣
1 parent 8114008 commit af65bdd

File tree

13 files changed

+38
-38
lines changed

13 files changed

+38
-38
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ require 'rspec/core'
55
require 'rspec/core/rake_task'
66

77
task :noop do; end
8-
task :default => :spec
8+
task default: :spec
99

10-
RSpec::Core::RakeTask.new(:spec => :noop)
10+
RSpec::Core::RakeTask.new(spec: :noop)

gemfiles/Gemfile.rails-3.0

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ gem 'capybara', '~> 2.0.0'
1010
gem 'mime-types', '< 2'
1111
gem 'rubyzip', '< 1'
1212

13-
gemspec :path => '..'
13+
gemspec path: '..'

gemfiles/Gemfile.rails-3.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ gem 'capybara', '~> 2.0.0'
1313
gem 'mime-types', '< 2'
1414
gem 'rubyzip', '< 1'
1515

16-
gemspec :path => '..'
16+
gemspec path: '..'

gemfiles/Gemfile.rails-3.2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ gem 'capybara', '~> 2.0.0'
1313
gem 'mime-types', '< 2'
1414
gem 'rubyzip', '< 1'
1515

16-
gemspec :path => '..'
16+
gemspec path: '..'

gemfiles/Gemfile.rails-4.0

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
33
gem 'railties', '~> 4.0.0'
44
gem 'activerecord', '~> 4.0.0'
55

6-
gemspec :path => '..'
6+
gemspec path: '..'

gemfiles/Gemfile.rails-4.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
33
gem 'railties', '~> 4.1.0'
44
gem 'activerecord', '~> 4.1.0'
55

6-
gemspec :path => '..'
6+
gemspec path: '..'

gemfiles/Gemfile.rails-4.2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
33
gem 'railties', '~> 4.2.0'
44
gem 'activerecord', '~> 4.2.0'
55

6-
gemspec :path => '..'
6+
gemspec path: '..'

gemfiles/Gemfile.rails-edge

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
source 'https://rubygems.org'
22

3-
gem 'railties', :git => 'git://github.com/rails/rails.git'
3+
gem 'railties', git: 'git://github.com/rails/rails.git'
44
gem 'rack', git: 'git://github.com/rack/rack.git'
5-
gem 'activerecord', :git => 'git://github.com/rails/rails.git'
6-
gem 'arel', :git => 'git://github.com/rails/arel.git'
5+
gem 'activerecord', git: 'git://github.com/rails/rails.git'
6+
gem 'arel', git: 'git://github.com/rails/arel.git'
77

8-
gemspec :path => '..'
8+
gemspec path: '..'

lib/html5_validators/active_model/initializer_monkey_patches.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def initialize(options)
1414
end
1515

1616
def validate_each_with_default_tokenizer(record, attribute, value)
17-
@options = (options || {}).reverse_merge(:tokenizer => DEFAULT_TOKENIZER).freeze
17+
@options = (options || {}).reverse_merge(tokenizer: DEFAULT_TOKENIZER).freeze
1818
validate_each_without_default_tokenizer record, attribute, value
1919
end
2020
alias_method_chain :validate_each, :default_tokenizer

lib/html5_validators/active_model/validations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module ActiveModelExtension
33
extend ActiveSupport::Concern
44

55
included do
6-
cattr_accessor :auto_html5_validation, :instance_accessor => false, :instance_reader => false, :instance_writer => false
6+
cattr_accessor :auto_html5_validation, instance_accessor: false, instance_reader: false, instance_writer: false
77
end
88
end
99
end

0 commit comments

Comments
 (0)