watir-rails 1.0.4 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b32693f90099aad27d5da3471f0d8d01bd6b3172
4
- data.tar.gz: 6a5844920d2d62a7ff57fda7717ef75ef3cd0367
3
+ metadata.gz: 0f8abf0d7e9d327caf7fa3e7c5a21d13dac8f47c
4
+ data.tar.gz: b90e0a98b4296d0f740d6fd69c946ed9097f188b
5
5
  SHA512:
6
- metadata.gz: f2892944f90aba0a3ca2f49d094d8cbc5bc6bf666a0be9ac61ed4d47af611ae197cf17bad082ffad37f0e1a9bc6faa940dd902c508c451825a6d1c00faf7f31f
7
- data.tar.gz: 96b4b68e46419b5d3226e0e67ce85c257793600536f2f995dc4e9c3bd4c474fa554608389ea4540b35543c7e274ce6214de4267d72a7a5a285e4f37fa2ea4158
6
+ metadata.gz: 903bacfd1d2c8409a8c43f3d2e4882aa996e2d046f3039b0264f9b9e05d2bb893d941f86820be2caacc93b69e27a89db5cbe6de039a8e760d84566b6d6f35bae
7
+ data.tar.gz: 46ac28987d1dfe385bf3d7a185a2da6c86eadf6a42c2578edf2489f08e3155196524642f5413592cfc1e55ea6a1f04877054082fdd3820072fcd4c78f4b261f1
@@ -1,15 +1,16 @@
1
- rvm:
2
- - 2.2.0
3
- - 2.0.0
4
- - ruby-head
5
- gemfile:
6
- - gemfiles/Gemfile.rails-2.x
7
- - gemfiles/Gemfile.rails-3.x
8
- - Gemfile
9
- notifications:
10
- recipients:
11
- - jarmo.p@gmail.com
12
- matrix:
13
- allow_failures:
14
- - rvm: ruby-head
15
-
1
+ rvm:
2
+ - 2.2.1
3
+ - 2.1.5
4
+ - 2.0.0
5
+ - ruby-head
6
+ gemfile:
7
+ - gemfiles/Gemfile.rails-2.x
8
+ - gemfiles/Gemfile.rails-3.x
9
+ - Gemfile
10
+ notifications:
11
+ recipients:
12
+ - jarmo.p@gmail.com
13
+ matrix:
14
+ allow_failures:
15
+ - rvm: ruby-head
16
+
data/.yardopts CHANGED
@@ -1,6 +1,6 @@
1
- --readme README.md
2
- --no-private
3
- --hide-void-return
4
- --title "Watir-Rails"
5
- --files LICENSE
6
- --default-return ""
1
+ --readme README.md
2
+ --no-private
3
+ --hide-void-return
4
+ --title "Watir-Rails"
5
+ --files LICENSE
6
+ --default-return ""
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.1.0 - 2015/07/22
2
+
3
+ * Remove strict `mime-types` dependency. See #13
4
+
1
5
  ### 1.0.4 - 2015/02/28
2
6
 
3
7
  * Allow to set Watir::Rails.ignore_exceptions to false. PR #8 by Andrey Koleshko.
data/README.md CHANGED
@@ -1,56 +1,56 @@
1
- # Watir::Rails
2
- [![Gem Version](https://badge.fury.io/rb/watir-rails.png)](http://badge.fury.io/rb/watir-rails)
3
- [![Build Status](https://api.travis-ci.org/watir/watir-rails.png)](http://travis-ci.org/watir/watir-rails)
4
- [![Coverage](https://coveralls.io/repos/watir/watir-rails/badge.png?branch=master)](https://coveralls.io/r/watir/watir-rails)
5
-
6
- This gem makes the [Watir](https://github.com/watir/watir) work with Rails.
7
-
8
-
9
- ## Installation
10
-
11
- Add this code to your Gemfile:
12
-
13
- ```ruby
14
- group :test do
15
- gem "watir-rails"
16
- end
17
- ```
18
-
19
- ## Usage
20
-
21
- Just use Watir like you've always done in your requests/integration tests:
22
-
23
- ```ruby
24
- browser = Watir::Browser.new
25
- browser.goto home_path
26
- browser.text_field(name: "first").set "Jarmo"
27
- browser.text_field(name: "last").set "Pertman"
28
- browser.button(name: "sign_in").click
29
- ```
30
-
31
- ### Ignore Rails Exceptions
32
-
33
- By default, exceptions raised by Rails application will be re-raised in your tests making them to fail.
34
-
35
- This feature is only enabled when `config.action_dispatch.show_exceptions` is set to `false` in your Rails configuration.
36
-
37
- You can disable it in watir-rails by ignoring exceptions:
38
-
39
- ```ruby
40
- Watir::Rails.ignore_exceptions = true
41
- ```
42
-
43
- ## Limitations
44
-
45
- * When using Rails path/url helpers in your tests then always use path instead of url methods, because latter won't work!
46
-
47
-
48
- ## Contributors
49
-
50
- * [Jarmo Pertman](https://github.com/jarmo)
51
- * [Alex Rodionov](https://github.com/p0deje)
52
-
53
-
54
- ## License
55
-
56
- See [LICENSE](https://github.com/watir/watir-rails/blob/master/LICENSE).
1
+ # Watir::Rails
2
+ [![Gem Version](https://badge.fury.io/rb/watir-rails.png)](http://badge.fury.io/rb/watir-rails)
3
+ [![Build Status](https://api.travis-ci.org/watir/watir-rails.png)](http://travis-ci.org/watir/watir-rails)
4
+ [![Coverage](https://coveralls.io/repos/watir/watir-rails/badge.png?branch=master)](https://coveralls.io/r/watir/watir-rails)
5
+
6
+ This gem makes the [Watir](https://github.com/watir/watir) work with Rails.
7
+
8
+
9
+ ## Installation
10
+
11
+ Add this code to your Gemfile:
12
+
13
+ ```ruby
14
+ group :test do
15
+ gem "watir-rails"
16
+ end
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ Just use Watir like you've always done in your requests/integration tests:
22
+
23
+ ```ruby
24
+ browser = Watir::Browser.new
25
+ browser.goto home_path
26
+ browser.text_field(name: "first").set "Jarmo"
27
+ browser.text_field(name: "last").set "Pertman"
28
+ browser.button(name: "sign_in").click
29
+ ```
30
+
31
+ ### Ignore Rails Exceptions
32
+
33
+ By default, exceptions raised by Rails application will be re-raised in your tests making them to fail.
34
+
35
+ This feature is only enabled when `config.action_dispatch.show_exceptions` is set to `false` in your Rails configuration.
36
+
37
+ You can disable it in watir-rails by ignoring exceptions:
38
+
39
+ ```ruby
40
+ Watir::Rails.ignore_exceptions = true
41
+ ```
42
+
43
+ ## Limitations
44
+
45
+ * When using Rails path/url helpers in your tests then always use path instead of url methods, because latter won't work!
46
+
47
+
48
+ ## Contributors
49
+
50
+ * [Jarmo Pertman](https://github.com/jarmo)
51
+ * [Alex Rodionov](https://github.com/p0deje)
52
+
53
+
54
+ ## License
55
+
56
+ See [LICENSE](https://github.com/watir/watir-rails/blob/master/LICENSE).
@@ -1,5 +1,5 @@
1
1
  module Watir
2
2
  class Rails
3
- VERSION = "1.0.4"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
@@ -1,15 +1,15 @@
1
- require "simplecov"
2
- require 'coveralls'
3
-
4
- SimpleCov.formatter = Coveralls::SimpleCov::Formatter
5
- SimpleCov.start
6
-
7
- # Make sure that fake watir gems are loaded for specs.
8
- $LOAD_PATH.unshift File.expand_path("support", File.dirname(__FILE__))
9
-
10
- require "watir/rails"
11
-
12
- RSpec.configure do |c|
13
- c.color = true
14
- c.order = :random
15
- end
1
+ require "simplecov"
2
+ require 'coveralls'
3
+
4
+ SimpleCov.formatter = Coveralls::SimpleCov::Formatter
5
+ SimpleCov.start
6
+
7
+ # Make sure that fake watir gems are loaded for specs.
8
+ $LOAD_PATH.unshift File.expand_path("support", File.dirname(__FILE__))
9
+
10
+ require "watir/rails"
11
+
12
+ RSpec.configure do |c|
13
+ c.color = true
14
+ c.order = :random
15
+ end
@@ -1,66 +1,66 @@
1
- require "spec_helper"
2
-
3
- describe Watir::Browser do
4
- before { Watir::Rails.stub(ignore_exceptions?: true) }
5
-
6
- context "#initialize" do
7
- it "starts Rails before opening the browser" do
8
- Watir::Rails.should_receive(:boot)
9
- Watir::Browser.any_instance.should_receive(:original_initialize).and_call_original
10
-
11
- Watir::Browser.new
12
- end
13
-
14
- it "does not add Exception checker when exceptions are ignored" do
15
- Watir::Rails.stub(ignore_exceptions?: true, boot: nil)
16
-
17
- Watir::Browser.any_instance.should_not_receive(:add_exception_checker)
18
- Watir::Browser.new
19
- end
20
-
21
- it "adds Exception checker when exceptions are not ignored" do
22
- Watir::Rails.stub(ignore_exceptions?: false, boot: nil)
23
-
24
- Watir::Browser.any_instance.should_receive(:add_exception_checker)
25
- Watir::Browser.new
26
- end
27
- end
28
-
29
- context "#goto" do
30
- before do
31
- Watir::Rails.stub(host: "foo.com", port: 42, boot: nil)
32
- end
33
-
34
- let(:browser) { Watir::Browser.new }
35
-
36
- it "uses Rails for paths specified as an url" do
37
- browser.should_receive(:_new_goto).with("http://foo.com:42/foo/bar")
38
- browser.goto("/foo/bar")
39
- end
40
-
41
- it "does not alter url with http:// scheme" do
42
- browser.should_receive(:_new_goto).with("http://baz.org/lol")
43
- browser.goto("http://baz.org/lol")
44
- end
45
-
46
- it "does not alter url with https:// scheme" do
47
- browser.should_receive(:_new_goto).with("https://baz.org/lol")
48
- browser.goto("https://baz.org/lol")
49
- end
50
-
51
- it "does not alter about:urls" do
52
- browser.should_receive(:_new_goto).with("about:url")
53
- browser.goto("about:url")
54
- end
55
-
56
- it "does not alter data:urls" do
57
- browser.should_receive(:_new_goto).with("data:url")
58
- browser.goto("data:url")
59
- end
60
-
61
- it "alters the unknown urls" do
62
- browser.should_receive(:_new_goto).with("http://foo.com:42/xxx:yyy")
63
- browser.goto("http://foo.com:42/xxx:yyy")
64
- end
65
- end
66
- end
1
+ require "spec_helper"
2
+
3
+ describe Watir::Browser do
4
+ before { allow(Watir::Rails).to receive_messages(ignore_exceptions?: true) }
5
+
6
+ context "#initialize" do
7
+ it "starts Rails before opening the browser" do
8
+ expect(Watir::Rails).to receive(:boot)
9
+ expect_any_instance_of(Watir::Browser).to receive(:original_initialize).and_call_original
10
+
11
+ Watir::Browser.new
12
+ end
13
+
14
+ it "does not add Exception checker when exceptions are ignored" do
15
+ allow(Watir::Rails).to receive_messages(ignore_exceptions?: true, boot: nil)
16
+
17
+ expect_any_instance_of(Watir::Browser).not_to receive(:add_exception_checker)
18
+ Watir::Browser.new
19
+ end
20
+
21
+ it "adds Exception checker when exceptions are not ignored" do
22
+ allow(Watir::Rails).to receive_messages(ignore_exceptions?: false, boot: nil)
23
+
24
+ expect_any_instance_of(Watir::Browser).to receive(:add_exception_checker)
25
+ Watir::Browser.new
26
+ end
27
+ end
28
+
29
+ context "#goto" do
30
+ before do
31
+ allow(Watir::Rails).to receive_messages(host: "foo.com", port: 42, boot: nil)
32
+ end
33
+
34
+ let(:browser) { Watir::Browser.new }
35
+
36
+ it "uses Rails for paths specified as an url" do
37
+ expect(browser).to receive(:_new_goto).with("http://foo.com:42/foo/bar")
38
+ browser.goto("/foo/bar")
39
+ end
40
+
41
+ it "does not alter url with http:// scheme" do
42
+ expect(browser).to receive(:_new_goto).with("http://baz.org/lol")
43
+ browser.goto("http://baz.org/lol")
44
+ end
45
+
46
+ it "does not alter url with https:// scheme" do
47
+ expect(browser).to receive(:_new_goto).with("https://baz.org/lol")
48
+ browser.goto("https://baz.org/lol")
49
+ end
50
+
51
+ it "does not alter about:urls" do
52
+ expect(browser).to receive(:_new_goto).with("about:url")
53
+ browser.goto("about:url")
54
+ end
55
+
56
+ it "does not alter data:urls" do
57
+ expect(browser).to receive(:_new_goto).with("data:url")
58
+ browser.goto("data:url")
59
+ end
60
+
61
+ it "alters the unknown urls" do
62
+ expect(browser).to receive(:_new_goto).with("http://foo.com:42/xxx:yyy")
63
+ browser.goto("http://foo.com:42/xxx:yyy")
64
+ end
65
+ end
66
+ end
@@ -1,30 +1,30 @@
1
- require "spec_helper"
2
-
3
- describe Watir::Rails::Middleware do
4
- let(:app) { double("app") }
5
- let(:middleware) { described_class.new app }
6
-
7
- context "#call" do
8
- it "/__identify__ returns app id" do
9
- app.should_not_receive(:call)
10
- middleware.call("PATH_INFO" => "/__identify__").should == [200, {}, [app.object_id.to_s]]
11
- end
12
-
13
- it "other requests are forwarded to the app" do
14
- env = {}
15
- app.should_receive(:call).with(env)
16
- middleware.call(env)
17
- end
18
-
19
- it "errors are stored and re-raised" do
20
- error = RuntimeError.new
21
- app.stub(:call).and_raise error
22
-
23
- expect {
24
- middleware.call({})
25
- }.to raise_error(error)
26
-
27
- middleware.error.should == error
28
- end
29
- end
30
- end
1
+ require "spec_helper"
2
+
3
+ describe Watir::Rails::Middleware do
4
+ let(:app) { double("app") }
5
+ let(:middleware) { described_class.new app }
6
+
7
+ context "#call" do
8
+ it "/__identify__ returns app id" do
9
+ expect(app).not_to receive(:call)
10
+ expect(middleware.call("PATH_INFO" => "/__identify__")).to eq([200, {}, [app.object_id.to_s]])
11
+ end
12
+
13
+ it "other requests are forwarded to the app" do
14
+ env = {}
15
+ expect(app).to receive(:call).with(env)
16
+ middleware.call(env)
17
+ end
18
+
19
+ it "errors are stored and re-raised" do
20
+ error = RuntimeError.new
21
+ allow(app).to receive(:call).and_raise error
22
+
23
+ expect {
24
+ middleware.call({})
25
+ }.to raise_error(error)
26
+
27
+ expect(middleware.error).to eq(error)
28
+ end
29
+ end
30
+ end
@@ -2,92 +2,102 @@ require "spec_helper"
2
2
 
3
3
  describe Watir::Rails do
4
4
  before do
5
- described_class.stub(:warn)
5
+ allow(described_class).to receive(:warn)
6
6
  described_class.ignore_exceptions = nil
7
7
  described_class.instance_eval { @middleware = @port = @server_thread = @host = @app = nil }
8
8
  end
9
9
 
10
10
  context ".boot" do
11
11
  it "starts the server unless already running" do
12
- described_class.stub(app: double("app"), find_available_port: 42)
13
- described_class.should_receive(:running?).twice.and_return(false, true)
14
- described_class.should_receive(:run_default_server).once
12
+ allow(described_class).to receive_messages(app: double("app"), find_available_port: 42)
13
+ expect(described_class).to receive(:running?).twice.and_return(false, true)
14
+ expect(described_class).to receive(:run_default_server).once
15
15
 
16
16
  described_class.boot
17
+ wait_until_server_started
17
18
  end
18
19
 
19
20
  it "does nothing if server is already running" do
20
- described_class.stub(app: double("app"), find_available_port: 42)
21
- described_class.should_receive(:running?).once.and_return(true)
22
- described_class.should_not_receive(:run_default_server)
21
+ allow(described_class).to receive_messages(app: double("app"), find_available_port: 42)
22
+ expect(described_class).to receive(:running?).once.and_return(true)
23
+ expect(described_class).not_to receive(:run_default_server)
23
24
 
24
25
  described_class.boot
25
26
  end
26
27
 
27
28
  it "raises an error if Rails won't boot with timeout" do
28
- described_class.stub(app: double("app"), find_available_port: 42, boot_timeout: 0.01)
29
- described_class.should_receive(:running?).at_least(:twice).and_return(false)
30
- described_class.should_receive(:run_default_server)
29
+ allow(described_class).to receive_messages(app: double("app"),
30
+ find_available_port: 42, boot_timeout: 0.01)
31
+ expect(described_class).to receive(:running?).at_least(:twice).and_return(false)
32
+ expect(described_class).to receive(:run_default_server)
31
33
 
32
34
  expect {
33
35
  described_class.boot
34
36
  }.to raise_error(Timeout::Error)
35
37
  end
38
+
39
+ def wait_until_server_started
40
+ Timeout.timeout(10) { sleep 0.1 while described_class.instance_variable_get(:@server_thread).alive? }
41
+ end
36
42
  end
37
43
 
38
44
  context ".host" do
39
45
  it "@host if specified" do
40
46
  described_class.host = "my_host"
41
- described_class.host.should == "my_host"
47
+ expect(described_class.host).to eq("my_host")
42
48
  end
43
49
 
44
50
  it "local_host if @host is not specified" do
45
51
  described_class.host = nil
46
- described_class.host.should == "127.0.0.1"
52
+ expect(described_class.host).to eq("127.0.0.1")
47
53
  end
48
54
  end
49
55
 
50
56
  context ".ignore_exceptions?" do
51
57
  it "true if @ignore_exceptions is set to true" do
52
58
  described_class.ignore_exceptions = true
53
- described_class.should be_ignore_exceptions
59
+ expect(described_class).to be_ignore_exceptions
54
60
  end
55
61
 
56
62
  it "false if @ignore_exceptions is set to false" do
57
63
  described_class.ignore_exceptions = false
58
- described_class.should_not be_ignore_exceptions
64
+ expect(described_class).not_to be_ignore_exceptions
59
65
  end
60
66
 
61
67
  it "true if Rails.action_dispatch.show_exceptions is set to true for older Rails" do
62
- described_class.stub(legacy_rails?: true)
68
+ allow(described_class).to receive_messages(legacy_rails?: true)
63
69
  described_class.ignore_exceptions = nil
64
- ::Rails.stub_chain(:configuration, :action_dispatch, :show_exceptions).and_return(true)
70
+ allow(::Rails).to receive_message_chain(:configuration,
71
+ :action_dispatch, :show_exceptions).and_return(true)
65
72
 
66
- described_class.should be_ignore_exceptions
73
+ expect(described_class).to be_ignore_exceptions
67
74
  end
68
75
 
69
76
  it "true if Rails.action_dispatch.show_exceptions is set to true for Rails 3" do
70
- described_class.stub(legacy_rails?: false)
77
+ allow(described_class).to receive_messages(legacy_rails?: false)
71
78
  described_class.ignore_exceptions = nil
72
- ::Rails.stub_chain(:application, :config, :action_dispatch, :show_exceptions).and_return(true)
79
+ allow(::Rails).to receive_message_chain(:application,
80
+ :config, :action_dispatch, :show_exceptions).and_return(true)
73
81
 
74
- described_class.should be_ignore_exceptions
82
+ expect(described_class).to be_ignore_exceptions
75
83
  end
76
84
 
77
85
  it "false if Rails.action_dispatch.show_exceptions is set to false for older Rails" do
78
- described_class.stub(legacy_rails?: true)
86
+ allow(described_class).to receive_messages(legacy_rails?: true)
79
87
  described_class.ignore_exceptions = nil
80
- ::Rails.stub_chain(:configuration, :action_dispatch, :show_exceptions).and_return(false)
88
+ allow(::Rails).to receive_message_chain(:configuration,
89
+ :action_dispatch, :show_exceptions).and_return(false)
81
90
 
82
- described_class.should_not be_ignore_exceptions
91
+ expect(described_class).not_to be_ignore_exceptions
83
92
  end
84
93
 
85
94
  it "true if Rails.action_dispatch.show_exceptions is set to false for Rails 3" do
86
- described_class.stub(legacy_rails?: false)
95
+ allow(described_class).to receive_messages(legacy_rails?: false)
87
96
  described_class.ignore_exceptions = nil
88
- ::Rails.stub_chain(:application, :config, :action_dispatch, :show_exceptions).and_return(false)
97
+ allow(::Rails).to receive_message_chain(:application,
98
+ :config, :action_dispatch, :show_exceptions).and_return(false)
89
99
 
90
- described_class.should_not be_ignore_exceptions
100
+ expect(described_class).not_to be_ignore_exceptions
91
101
  end
92
102
  end
93
103
 
@@ -96,15 +106,15 @@ describe Watir::Rails do
96
106
  fake_thread = double("thread", join: :still_running)
97
107
  described_class.instance_variable_set(:@server_thread, fake_thread)
98
108
 
99
- described_class.should_not be_running
109
+ expect(described_class).not_to be_running
100
110
  end
101
111
 
102
112
  it "false if server cannot be accessed" do
103
113
  fake_thread = double("thread", join: nil)
104
114
  described_class.instance_variable_set(:@server_thread, fake_thread)
105
115
 
106
- Net::HTTP.should_receive(:start).and_raise Errno::ECONNREFUSED
107
- described_class.should_not be_running
116
+ expect(Net::HTTP).to receive(:start).and_raise Errno::ECONNREFUSED
117
+ expect(described_class).not_to be_running
108
118
  end
109
119
 
110
120
  it "false if server response is not success" do
@@ -114,8 +124,8 @@ describe Watir::Rails do
114
124
  described_class.instance_variable_set(:@app, app)
115
125
 
116
126
  response = double(Net::HTTPSuccess, is_a?: false)
117
- Net::HTTP.should_receive(:start).and_return response
118
- described_class.should_not be_running
127
+ expect(Net::HTTP).to receive(:start).and_return response
128
+ expect(described_class).not_to be_running
119
129
  end
120
130
 
121
131
  it "true if server response is success" do
@@ -125,8 +135,8 @@ describe Watir::Rails do
125
135
  described_class.instance_variable_set(:@app, app)
126
136
 
127
137
  response = double(Net::HTTPSuccess, is_a?: true, body: app.object_id.to_s)
128
- Net::HTTP.should_receive(:start).and_return response
129
- described_class.should be_running
138
+ expect(Net::HTTP).to receive(:start).and_return response
139
+ expect(described_class).to be_running
130
140
  end
131
141
  end
132
142
  end
@@ -19,11 +19,8 @@ Gem::Specification.new do |gem|
19
19
  gem.add_dependency "rack"
20
20
  gem.add_dependency "rails"
21
21
  gem.add_dependency "watir", "~> 5.0"
22
- # This is needed to make sure that mime-types 2.x is not installed because
23
- # actionmailer has a mail ~> 2.5.4 as its dependency, which needs mime-types ~> 1.16
24
- gem.add_dependency "mime-types", "~> 1.16"
25
22
 
26
23
  gem.add_development_dependency "yard"
27
24
  gem.add_development_dependency "redcarpet"
28
- gem.add_development_dependency "rspec", "~>2.0"
25
+ gem.add_development_dependency "rspec", "~> 3.0"
29
26
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarmo Pertman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-28 00:00:00.000000000 Z
11
+ date: 2015-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
- - !ruby/object:Gem::Dependency
56
- name: mime-types
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.16'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.16'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: yard
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +86,14 @@ dependencies:
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: '2.0'
89
+ version: '3.0'
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
- version: '2.0'
96
+ version: '3.0'
111
97
  description: Use Watir (http://github.com/watir/watir) in Rails.
112
98
  email:
113
99
  - jarmo.p@gmail.com
@@ -156,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
142
  version: '0'
157
143
  requirements: []
158
144
  rubyforge_project:
159
- rubygems_version: 2.4.5
145
+ rubygems_version: 2.4.8
160
146
  signing_key:
161
147
  specification_version: 4
162
148
  summary: Use Watir (http://github.com/watir/watir) in Rails.