Skip to content

Commit ad54a25

Browse files
committed
Drop Ruby 1️⃣.9️⃣ support
1 parent af65bdd commit ad54a25

File tree

3 files changed

+1
-85
lines changed

3 files changed

+1
-85
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: ruby
22

33
rvm:
4-
- 1.9.3
54
- 2.0.0
65
- 2.1
76
- 2.2.4

lib/html5_validators.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ class Railtie < ::Rails::Railtie #:nodoc:
2323
end
2424
ActiveSupport.on_load(:action_view) do
2525
if ActionPack::VERSION::STRING >= '4'
26-
if RUBY_VERSION > '2'
27-
require 'html5_validators/action_view/form_helpers'
28-
else
29-
require 'html5_validators/action_view/form_helpers_ruby1'
30-
end
26+
require 'html5_validators/action_view/form_helpers'
3127
else
3228
require 'html5_validators/action_view/form_helpers_rails3'
3329
end

lib/html5_validators/action_view/form_helpers_ruby1.rb

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)