utf8_enforcer_workaround 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b10c881a91a814ae2b568ea36cd53da77e366c176d51a0982cfab8567f3a0c0e
4
+ data.tar.gz: 5435f738c2094bea01b69ec19327691ac2b7d00bbc7a17b36cc0379e96242d96
5
+ SHA512:
6
+ metadata.gz: bcd38ab16068c6d58e1f09337346d1dea4f95269848d0690ddf160a06fdb2ed3fc9c27040e63dbd1de1b2113e6d9e64143f7f38b1ce94c8a38aa3f649ae9d62e
7
+ data.tar.gz: b1afd3877f8713e6e7327dfe9f0ee0039693cc0bb74381e511904d0bc9c3fe42cd88c4415d449256a90abcea5f36652423802168d72d4e3fe9649a6f80f1ca1a
data/.travis.yml ADDED
@@ -0,0 +1,52 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.1.10
5
+ - 2.2.10
6
+ - 2.3.8
7
+ - 2.4.9
8
+ - 2.5.7
9
+ - 2.6.5
10
+ gemfile:
11
+ - gemfiles/rails3.2.gemfile
12
+ - gemfiles/rails4.0.gemfile
13
+ - gemfiles/rails4.1.gemfile
14
+ - gemfiles/rails4.2.gemfile
15
+ - gemfiles/rails5.0.gemfile
16
+ - gemfiles/rails5.1.gemfile
17
+ - gemfiles/rails5.2.gemfile
18
+ matrix:
19
+ exclude:
20
+ - rvm: 1.9.3
21
+ gemfile: gemfiles/rails5.0.gemfile
22
+ - rvm: 1.9.3
23
+ gemfile: gemfiles/rails5.1.gemfile
24
+ - rvm: 1.9.3
25
+ gemfile: gemfiles/rails5.2.gemfile
26
+ - rvm: 1.9.3
27
+ gemfile: gemfiles/rails6.0.gemfile
28
+ - rvm: 2.1.10
29
+ gemfile: gemfiles/rails5.0.gemfile
30
+ - rvm: 2.1.10
31
+ gemfile: gemfiles/rails5.1.gemfile
32
+ - rvm: 2.1.10
33
+ gemfile: gemfiles/rails5.2.gemfile
34
+ - rvm: 2.1.10
35
+ gemfile: gemfiles/rails6.0.gemfile
36
+ - rvm: 2.2.10
37
+ gemfile: gemfiles/rails6.0.gemfile
38
+ - rvm: 2.3.8
39
+ gemfile: gemfiles/rails6.0.gemfile
40
+ - rvm: 2.4.9
41
+ gemfile: gemfiles/rails4.0.gemfile # https://github.com/rails/rails/issues/25125
42
+ - rvm: 2.4.9
43
+ gemfile: gemfiles/rails4.1.gemfile # https://github.com/rails/rails/issues/25125
44
+ - rvm: 2.5.7
45
+ gemfile: gemfiles/rails4.0.gemfile # https://github.com/rails/rails/issues/25125
46
+ - rvm: 2.5.7
47
+ gemfile: gemfiles/rails4.1.gemfile # https://github.com/rails/rails/issues/25125
48
+ - rvm: 2.6.5
49
+ gemfile: gemfiles/rails4.0.gemfile # https://github.com/rails/rails/issues/25125
50
+ - rvm: 2.6.5
51
+ gemfile: gemfiles/rails4.1.gemfile # https://github.com/rails/rails/issues/25125
52
+
data/Appraisals CHANGED
@@ -1,10 +1,60 @@
1
1
  #-*- ruby -*-
2
2
  appraise "rails3.2" do
3
3
  gem "rails", "~> 3.2.0"
4
- gem "utf8_enforcer_workaround", :path => "../"
4
+ gem "sqlite3", '~> 1.3.5'
5
+ gem 'capybara'
6
+ gem 'rspec'
5
7
  end
6
8
 
7
9
  appraise "rails4.0" do
8
10
  gem "rails", "~> 4.0.0"
9
- gem "utf8_enforcer_workaround", :path => "../"
11
+ gem "sqlite3", '~> 1.3.5'
12
+ gem 'capybara'
13
+ gem 'rspec'
10
14
  end
15
+
16
+ appraise "rails4.1" do
17
+ gem "rails", "~> 4.1.0"
18
+ gem "sqlite3", '~> 1.3.5'
19
+ gem 'capybara'
20
+ gem 'rspec'
21
+ end
22
+
23
+ appraise "rails4.2" do
24
+ gem "rails", "~> 4.2.0"
25
+ gem "sqlite3", '~> 1.3.5'
26
+ gem 'capybara'
27
+ gem 'rspec'
28
+ end
29
+
30
+ appraise "rails5.0" do
31
+ gem "rails", "~> 5.0.0"
32
+ gem "sqlite3", '~> 1.3.5'
33
+ gem 'capybara'
34
+ gem 'rspec'
35
+ gem 'bootsnap', '~> 1.0', require: false
36
+ end
37
+
38
+ appraise "rails5.1" do
39
+ gem "rails", "~> 5.1.0"
40
+ gem "sqlite3", '~> 1.4.0'
41
+ gem 'capybara'
42
+ gem 'rspec'
43
+ gem 'bootsnap', '~> 1.0', require: false
44
+ end
45
+
46
+ appraise "rails5.2" do
47
+ gem "rails", "~> 5.2.0"
48
+ gem "sqlite3", '~> 1.4.0'
49
+ gem 'capybara'
50
+ gem 'rspec'
51
+ gem 'bootsnap', '~> 1.0', require: false
52
+ end
53
+
54
+ # appraise "rails6.0" do
55
+ # gem "rails", "~> 6.0.0"
56
+ # gem "sqlite3", '~> 1.4.0'
57
+ # gem 'capybara'
58
+ # gem 'rspec'
59
+ # gem 'bootsnap', '~> 1.0', require: false
60
+ # end
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Utf8EnforcerWorkaround
2
2
  ======================
3
3
 
4
+ [![Build Status](https://secure.travis-ci.org/softace/utf8_enforcer_workaround.png)](http://travis-ci.org/softace/utf8_enforcer_workaround)
5
+ [![Dependency Status](https://gemnasium.com/softace/utf8_enforcer_workaround.png)](https://gemnasium.com/softace/utf8_enforcer_workaround)
6
+ [![Code Climate](https://codeclimate.com/github/softace/utf8_enforcer_workaround.png)](https://codeclimate.com/github/softace/utf8_enforcer_workaround)
7
+
4
8
  Make utf8 enforcer tag to be applied only for non-standards-complying
5
9
  browsers.
6
10
 
@@ -14,6 +18,7 @@ Requirements
14
18
 
15
19
  * Rails 3.x
16
20
  * Rails 4.x
21
+ * Rails 5.x
17
22
 
18
23
  Installation
19
24
  ------------
@@ -41,10 +46,21 @@ Alternatively you can write your own logic in your
41
46
  ApplicationController to decide whether or not to include the utf8
42
47
  enforcer tag. Here is an example showing the default logic:
43
48
 
44
- before_filter do
49
+ before_action do
45
50
  @utf8_enforcer_tag_enabled = browser.ie?
46
51
  end
47
-
52
+
53
+ Development
54
+ -----------
55
+
56
+ ```
57
+ gem install bundler
58
+ bundle install
59
+ bundle exec appraisal generate
60
+ bundle exec appraisal install
61
+ bundle exec appraisal rake
62
+ ```
63
+
48
64
 
49
65
  Contributing
50
66
  ------------
@@ -58,6 +74,6 @@ Contributing
58
74
  Copyright
59
75
  ---------
60
76
 
61
- Copyright (c) 2013 Jarl Friis. See LICENSE.txt for
77
+ Copyright (c) 2012-2019 Jarl Friis. See LICENSE.txt for
62
78
  further details.
63
79
 
@@ -67,7 +67,7 @@ end
67
67
 
68
68
  Given /^I add this snippet to the User model:$/ do |snippet|
69
69
  file_name = "app/models/user.rb"
70
- in_current_dir do
70
+ in_current_directory do
71
71
  content = File.read(file_name)
72
72
  File.open(file_name, 'w') { |f| f << content.sub(/end\Z/, "#{snippet}\nend") }
73
73
  end
@@ -75,14 +75,14 @@ end
75
75
 
76
76
  Given /^I add this snippet to the "(.*?)" controller:$/ do |controller_name, snippet|
77
77
  file_name = "app/controllers/#{controller_name}_controller.rb"
78
- in_current_dir do
78
+ in_current_directory do
79
79
  content = File.read(file_name)
80
80
  File.open(file_name, 'w') { |f| f << content.sub(/end\Z/, "#{snippet}\nend") }
81
81
  end
82
82
  end
83
83
 
84
84
  Given /^I start the rails application$/ do
85
- in_current_dir do
85
+ in_current_directory do
86
86
  require "./config/environment"
87
87
  require "capybara/rails"
88
88
  end
@@ -93,7 +93,7 @@ Given /^I reload my application$/ do
93
93
  end
94
94
 
95
95
  When %r{I turn off class caching} do
96
- in_current_dir do
96
+ in_current_directory do
97
97
  file = "config/environments/test.rb"
98
98
  config = IO.read(file)
99
99
  config.gsub!(%r{^\s*config.cache_classes.*$},
@@ -107,7 +107,7 @@ Given /^I update my application to use Bundler$/ do
107
107
  boot_config_template = File.read('features/support/fixtures/boot_config.txt')
108
108
  preinitializer_template = File.read('features/support/fixtures/preinitializer.txt')
109
109
  gemfile_template = File.read('features/support/fixtures/gemfile.txt')
110
- in_current_dir do
110
+ in_current_directory do
111
111
  content = File.read("config/boot.rb").sub(/Rails\.boot!/, boot_config_template)
112
112
  File.open("config/boot.rb", "w") { |file| file.write(content) }
113
113
  File.open("config/preinitializer.rb", "w") { |file| file.write(preinitializer_template) }
@@ -120,7 +120,7 @@ Given /^I add the paperclip rake task to a Rails 2.3 application$/ do
120
120
  if framework_version?("2.3")
121
121
  require 'fileutils'
122
122
  source = File.expand_path('lib/tasks/paperclip.rake')
123
- destination = in_current_dir { File.expand_path("lib/tasks") }
123
+ destination = in_current_directory { File.expand_path("lib/tasks") }
124
124
  FileUtils.cp source, destination
125
125
  append_to "Rakefile", "require 'paperclip'"
126
126
  end
@@ -166,7 +166,7 @@ end
166
166
 
167
167
  module FileHelpers
168
168
  def append_to(path, contents)
169
- in_current_dir do
169
+ in_current_directory do
170
170
  File.open(path, "a") do |file|
171
171
  file.puts
172
172
  file.puts contents
@@ -179,7 +179,7 @@ module FileHelpers
179
179
  end
180
180
 
181
181
  def comment_out_gem_in_gemfile(gemname)
182
- in_current_dir do
182
+ in_current_directory do
183
183
  gemfile = File.read("Gemfile")
184
184
  gemfile.sub!(/^(\s*)(gem\s*['"]#{gemname})/, "\\1# \\2")
185
185
  File.open("Gemfile", 'w'){ |file| file.write(gemfile) }
@@ -2,9 +2,9 @@
2
2
  Then /there is (a|no) utf8 input tag/ do |exists|
3
3
  rails32_xpath = "//input[@name='utf8' and @type='hidden' and @value='✓']"
4
4
  if exists == 'a'
5
- page.should have_xpath(rails32_xpath)
5
+ page.should have_xpath(rails32_xpath, visible: false)
6
6
  elsif exists == 'no'
7
- page.should have_no_xpath(rails32_xpath)
7
+ page.should have_no_xpath(rails32_xpath, visible: false)
8
8
  else
9
9
  raise ArgumentError.new("exists shall be either 'a' or 'no'")
10
10
  end
@@ -15,5 +15,5 @@ Given /I use Internet Explorer/ do
15
15
  end
16
16
 
17
17
  Given /I use a compliant browser/ do
18
- Capybara.current_driver = :rack_test_non_compliant
18
+ Capybara.current_driver = :rack_test_compliant
19
19
  end
@@ -34,8 +34,10 @@ module RailsCommandHelpers
34
34
  def new_application_command(name)
35
35
  case framework_version
36
36
  when /^2/ then "rails #{name}"
37
- when /^3/ then "rails new #{name}"
37
+ when /^3/ then "rails new #{name} --skip-sprockets --skip-javascript"
38
38
  when /^4/ then "rails new #{name} --skip-sprockets --skip-javascript"
39
+ when /^5/ then "rails new #{name} --skip-sprockets --skip-javascript"
40
+ else raise "No support for #{framework_version} yet, please open a FR on https://github.com/softace/utf8_enforcer_workaround/issues"
39
41
  end
40
42
  end
41
43
 
@@ -44,6 +46,8 @@ module RailsCommandHelpers
44
46
  when /^2/ then "script/generate"
45
47
  when /^3/ then "script/rails generate"
46
48
  when /^4/ then "rails generate"
49
+ when /^5/ then "rails generate"
50
+ else raise "No support for #{framework_version} yet, please open a FR on https://github.com/softace/utf8_enforcer_workaround/issues"
47
51
  end
48
52
  end
49
53
 
@@ -52,6 +56,8 @@ module RailsCommandHelpers
52
56
  when /^2/ then "script/runner"
53
57
  when /^3/ then "script/rails runner"
54
58
  when /^4/ then "rails runner"
59
+ when /^5/ then "rails runner"
60
+ else raise "No support for #{framework_version} yet, please open a FR on https://github.com/softace/utf8_enforcer_workaround/issues"
55
61
  end
56
62
  end
57
63
  end
@@ -3,6 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 3.2.0"
6
- gem "utf8_enforcer_workaround", :path=>"../"
6
+ gem "sqlite3", "~> 1.3.5"
7
+ gem "capybara"
8
+ gem "rspec"
7
9
 
8
- gemspec :path=>"../"
10
+ gemspec path: "../"
@@ -3,6 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 4.0.0"
6
- gem "utf8_enforcer_workaround", :path=>"../"
6
+ gem "sqlite3", "~> 1.3.5"
7
+ gem "capybara"
8
+ gem "rspec"
7
9
 
8
- gemspec :path=>"../"
10
+ gemspec path: "../"
@@ -0,0 +1,10 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 4.1.0"
6
+ gem "sqlite3", "~> 1.3.5"
7
+ gem "capybara"
8
+ gem "rspec"
9
+
10
+ gemspec path: "../"
@@ -0,0 +1,10 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 4.2.0"
6
+ gem "sqlite3", "~> 1.3.5"
7
+ gem "capybara"
8
+ gem "rspec"
9
+
10
+ gemspec path: "../"
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.0.0"
6
+ gem "sqlite3", "~> 1.3.5"
7
+ gem "capybara"
8
+ gem "rspec"
9
+ gem "bootsnap", "~> 1.0", require: false
10
+
11
+ gemspec path: "../"
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.1.0"
6
+ gem "sqlite3", "~> 1.4.0"
7
+ gem "capybara"
8
+ gem "rspec"
9
+ gem "bootsnap", "~> 1.0", require: false
10
+
11
+ gemspec path: "../"
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 5.2.0"
6
+ gem "sqlite3", "~> 1.4.0"
7
+ gem "capybara"
8
+ gem "rspec"
9
+ gem "bootsnap", "~> 1.0", require: false
10
+
11
+ gemspec path: "../"
@@ -6,8 +6,14 @@ module Utf8EnforcerWorkaround
6
6
  extend ActiveSupport::Concern
7
7
  module ClassMethods
8
8
  def utf8_enforcer_workaround
9
- before_filter do
10
- @utf8_enforcer_tag_enabled = browser.ie?
9
+ if ActionPack::VERSION::STRING < "5.0.0"
10
+ before_filter do
11
+ @utf8_enforcer_tag_enabled = browser.ie?
12
+ end
13
+ elsif ActionPack::VERSION::STRING >= "5.0.0"
14
+ before_action do
15
+ @utf8_enforcer_tag_enabled = browser.ie?
16
+ end
11
17
  end
12
18
  end
13
19
  end
@@ -18,5 +18,6 @@ end
18
18
 
19
19
  ActionView::Helpers::FormTagHelper.class_eval do
20
20
  include Utf8EnforcerWorkaround::ActionView::Helpers::FormTagHelper
21
- alias_method_chain :utf8_enforcer_tag, :tag_removed
21
+ alias_method :utf8_enforcer_tag_without_tag_removed, :utf8_enforcer_tag
22
+ alias_method :utf8_enforcer_tag, :utf8_enforcer_tag_with_tag_removed
22
23
  end
@@ -1,3 +1,3 @@
1
1
  module Utf8EnforcerWorkaround
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
@@ -5,8 +5,9 @@ require File.expand_path('../lib/utf8_enforcer_workaround/version', __FILE__)
5
5
  Gem::Specification.new do |gem|
6
6
  gem.authors = ["Jarl Friis"]
7
7
  gem.email = ["jarl@softace.dk"]
8
+ gem.licenses = "MIT"
8
9
  gem.description = %q{Make utf8_enforcer to be applied only for non-standards-complying browsers.}
9
- gem.summary = %q{Make utf8_enforcer to be applied only for non-standards-complying browsers.}
10
+ gem.summary = %q{Make utf8_enforcer to be applied only for non-standards-complying browsers. This will reduce clutter for complying browsers.}
10
11
  gem.homepage = "https://github.com/softace/utf8_enforcer_workaround"
11
12
 
12
13
  gem.files = `git ls-files`.split($\)
@@ -20,14 +21,14 @@ Gem::Specification.new do |gem|
20
21
  gem.rubyforge_project = "utf8_enforcer_workaround"
21
22
 
22
23
  gem.add_dependency('rails', '>= 3.2.0')
23
- gem.add_dependency('browser', '>= 0.1.0')
24
+ gem.add_dependency('browser', '~> 0.1', '>= 0.1.0')
24
25
 
25
- gem.add_development_dependency('bundler')
26
- gem.add_development_dependency('rake')
27
- gem.add_development_dependency('appraisal', '~> 0.4')
28
- gem.add_development_dependency('cucumber', '~> 1.2')
26
+ gem.add_development_dependency('bundler', '~> 1.12')
27
+ gem.add_development_dependency('rake', '~> 0')
28
+ gem.add_development_dependency('appraisal', '~> 2.0')
29
+ gem.add_development_dependency('cucumber', '~> 2.2')
29
30
  gem.add_development_dependency('sqlite3', '~> 1.3')
30
- gem.add_development_dependency('aruba')
31
- gem.add_development_dependency('capybara')
32
- gem.add_development_dependency('launchy')
31
+ gem.add_development_dependency('aruba', '~> 0')
32
+ gem.add_development_dependency('capybara', '~> 0')
33
+ gem.add_development_dependency('launchy', '~> 0')
33
34
  end
metadata CHANGED
@@ -1,174 +1,159 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: utf8_enforcer_workaround
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
- prerelease:
4
+ version: 1.2.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jarl Friis
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-08-20 00:00:00.000000000 Z
11
+ date: 2019-10-03 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.2.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.2.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: browser
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: 0.1.0
34
+ - - "~>"
35
+ - !ruby/object:Gem::Version
36
+ version: '0.1'
38
37
  type: :runtime
39
38
  prerelease: false
40
39
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
40
  requirements:
43
- - - ! '>='
41
+ - - ">="
44
42
  - !ruby/object:Gem::Version
45
43
  version: 0.1.0
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0.1'
46
47
  - !ruby/object:Gem::Dependency
47
48
  name: bundler
48
49
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: '1.12'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
57
  requirements:
59
- - - ! '>='
58
+ - - "~>"
60
59
  - !ruby/object:Gem::Version
61
- version: '0'
60
+ version: '1.12'
62
61
  - !ruby/object:Gem::Dependency
63
62
  name: rake
64
63
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
64
  requirements:
67
- - - ! '>='
65
+ - - "~>"
68
66
  - !ruby/object:Gem::Version
69
67
  version: '0'
70
68
  type: :development
71
69
  prerelease: false
72
70
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
71
  requirements:
75
- - - ! '>='
72
+ - - "~>"
76
73
  - !ruby/object:Gem::Version
77
74
  version: '0'
78
75
  - !ruby/object:Gem::Dependency
79
76
  name: appraisal
80
77
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
78
  requirements:
83
- - - ~>
79
+ - - "~>"
84
80
  - !ruby/object:Gem::Version
85
- version: '0.4'
81
+ version: '2.0'
86
82
  type: :development
87
83
  prerelease: false
88
84
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
85
  requirements:
91
- - - ~>
86
+ - - "~>"
92
87
  - !ruby/object:Gem::Version
93
- version: '0.4'
88
+ version: '2.0'
94
89
  - !ruby/object:Gem::Dependency
95
90
  name: cucumber
96
91
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
92
  requirements:
99
- - - ~>
93
+ - - "~>"
100
94
  - !ruby/object:Gem::Version
101
- version: '1.2'
95
+ version: '2.2'
102
96
  type: :development
103
97
  prerelease: false
104
98
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
99
  requirements:
107
- - - ~>
100
+ - - "~>"
108
101
  - !ruby/object:Gem::Version
109
- version: '1.2'
102
+ version: '2.2'
110
103
  - !ruby/object:Gem::Dependency
111
104
  name: sqlite3
112
105
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
106
  requirements:
115
- - - ~>
107
+ - - "~>"
116
108
  - !ruby/object:Gem::Version
117
109
  version: '1.3'
118
110
  type: :development
119
111
  prerelease: false
120
112
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
113
  requirements:
123
- - - ~>
114
+ - - "~>"
124
115
  - !ruby/object:Gem::Version
125
116
  version: '1.3'
126
117
  - !ruby/object:Gem::Dependency
127
118
  name: aruba
128
119
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
120
  requirements:
131
- - - ! '>='
121
+ - - "~>"
132
122
  - !ruby/object:Gem::Version
133
123
  version: '0'
134
124
  type: :development
135
125
  prerelease: false
136
126
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
127
  requirements:
139
- - - ! '>='
128
+ - - "~>"
140
129
  - !ruby/object:Gem::Version
141
130
  version: '0'
142
131
  - !ruby/object:Gem::Dependency
143
132
  name: capybara
144
133
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
134
  requirements:
147
- - - ! '>='
135
+ - - "~>"
148
136
  - !ruby/object:Gem::Version
149
137
  version: '0'
150
138
  type: :development
151
139
  prerelease: false
152
140
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
141
  requirements:
155
- - - ! '>='
142
+ - - "~>"
156
143
  - !ruby/object:Gem::Version
157
144
  version: '0'
158
145
  - !ruby/object:Gem::Dependency
159
146
  name: launchy
160
147
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
148
  requirements:
163
- - - ! '>='
149
+ - - "~>"
164
150
  - !ruby/object:Gem::Version
165
151
  version: '0'
166
152
  type: :development
167
153
  prerelease: false
168
154
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
155
  requirements:
171
- - - ! '>='
156
+ - - "~>"
172
157
  - !ruby/object:Gem::Version
173
158
  version: '0'
174
159
  description: Make utf8_enforcer to be applied only for non-standards-complying browsers.
@@ -178,7 +163,8 @@ executables: []
178
163
  extensions: []
179
164
  extra_rdoc_files: []
180
165
  files:
181
- - .gitignore
166
+ - ".gitignore"
167
+ - ".travis.yml"
182
168
  - Appraisals
183
169
  - Gemfile
184
170
  - LICENSE.txt
@@ -195,41 +181,40 @@ files:
195
181
  - features/support/selectors.rb
196
182
  - gemfiles/rails3.2.gemfile
197
183
  - gemfiles/rails4.0.gemfile
184
+ - gemfiles/rails4.1.gemfile
185
+ - gemfiles/rails4.2.gemfile
186
+ - gemfiles/rails5.0.gemfile
187
+ - gemfiles/rails5.1.gemfile
188
+ - gemfiles/rails5.2.gemfile
198
189
  - lib/utf8_enforcer_workaround.rb
199
190
  - lib/utf8_enforcer_workaround/action_controller/base.rb
200
191
  - lib/utf8_enforcer_workaround/action_view/helpers/form_tag_helper.rb
201
192
  - lib/utf8_enforcer_workaround/version.rb
202
193
  - utf8_enforcer_workaround.gemspec
203
194
  homepage: https://github.com/softace/utf8_enforcer_workaround
204
- licenses: []
195
+ licenses:
196
+ - MIT
197
+ metadata: {}
205
198
  post_install_message:
206
199
  rdoc_options: []
207
200
  require_paths:
208
201
  - lib
209
202
  required_ruby_version: !ruby/object:Gem::Requirement
210
- none: false
211
203
  requirements:
212
- - - ! '>='
204
+ - - ">="
213
205
  - !ruby/object:Gem::Version
214
206
  version: '0'
215
- segments:
216
- - 0
217
- hash: 1309340087898795168
218
207
  required_rubygems_version: !ruby/object:Gem::Requirement
219
- none: false
220
208
  requirements:
221
- - - ! '>='
209
+ - - ">="
222
210
  - !ruby/object:Gem::Version
223
211
  version: '0'
224
- segments:
225
- - 0
226
- hash: 1309340087898795168
227
212
  requirements: []
228
- rubyforge_project: utf8_enforcer_workaround
229
- rubygems_version: 1.8.23
213
+ rubygems_version: 3.0.3
230
214
  signing_key:
231
- specification_version: 3
215
+ specification_version: 4
232
216
  summary: Make utf8_enforcer to be applied only for non-standards-complying browsers.
217
+ This will reduce clutter for complying browsers.
233
218
  test_files:
234
219
  - features/compliant_browser.feature
235
220
  - features/non_compliant_browser.feature