We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af65bdd commit ad54a25Copy full SHA for ad54a25
.travis.yml
@@ -1,7 +1,6 @@
1
language: ruby
2
3
rvm:
4
- - 1.9.3
5
- 2.0.0
6
- 2.1
7
- 2.2.4
lib/html5_validators.rb
@@ -23,11 +23,7 @@ class Railtie < ::Rails::Railtie #:nodoc:
23
end
24
ActiveSupport.on_load(:action_view) do
25
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
+ require 'html5_validators/action_view/form_helpers'
31
else
32
require 'html5_validators/action_view/form_helpers_rails3'
33
lib/html5_validators/action_view/form_helpers_ruby1.rb
0 commit comments