minitest-rails-capybara 3.0.1 → 3.0.2

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
- SHA1:
3
- metadata.gz: cea6d43a94b5f8b189aeeb932d7056e24cee8bba
4
- data.tar.gz: 8f241bf02f5bd94090869569bc79ee0c850679ba
2
+ SHA256:
3
+ metadata.gz: a32d69121707a24fabf6e80de7c68408d98909c97e6733fa6398a172f4000f63
4
+ data.tar.gz: 5b8c3025c026c5aeb98b4b0dc2401637abd0f8fa6fb9e95d134ed1166c73b3ab
5
5
  SHA512:
6
- metadata.gz: a320b978568fc7f1b1c3a577083e832cf334a005d4946e4a48bc6bebfe5089720d01011e7a2e0b8f4bd59ee4facae892913ee12d06b605e7e3f935b79bc0b6cc
7
- data.tar.gz: 58a21cbbea5cd855c3049f8cdd7d80e8b8d83d407177c83b1068fe41f405b2ed7afb7d794d3c2ed1e79889bbcada9dd12372171e5d2ebc541bd03746dc27e8ab
6
+ metadata.gz: 1ab311aa706f92d63e3be80740f0c81218d21e01cf0bdf5d6cf16512a210f3ef54bc1127e3ee96b10e09b6e363bd696ca46920256f2f844a66f37ad995f233e1
7
+ data.tar.gz: 8185bb800e11d316546f23081d4cd7e53c6770057e3c3baa15591389d41c9300fb7c3dc8c3202cc3eb73ce53985bf5b6dff9f7b7da27f533a11cdc216d786208
@@ -7,12 +7,16 @@ notifications:
7
7
  email:
8
8
  - mike@blowmage.com
9
9
  rvm:
10
- - 2.3.1
10
+ - 2.6.3
11
+ - 2.6.0
12
+ - 2.5.5
13
+ - 2.5.0
14
+ - 2.4.6
15
+ - 2.4.0
16
+ - 2.3.8
11
17
  - 2.3.0
12
- - 2.2.4
13
- - 2.2.3
14
- - 2.2.2
15
- - ruby-head
16
- env:
17
- - "RAILS_VERSION=5.0"
18
- - "RAILS_VERSION=head"
18
+ gemfile:
19
+ - gemfiles/rails-5.2.gemfile
20
+ - gemfiles/rails-5.1.gemfile
21
+ - gemfiles/rails-5.0.gemfile
22
+ script: "bundle exec rake test"
@@ -1,3 +1,9 @@
1
+ === 3.0.2 / 2019-09-10
2
+
3
+ * Allow Capybara 3 (@iloveitaly)
4
+
5
+ https://github.com/blowmage/minitest-rails-capybara/compare/v3.0.1...v3.0.2
6
+
1
7
  === 3.0.1 / 2017-03-09
2
8
 
3
9
  * Fix bug in spec configuration, tests should use the spec DSL by default now.
data/Gemfile CHANGED
@@ -2,6 +2,9 @@ source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
- version = ENV["RAILS_VERSION"] || "5.0"
5
+ gem "rails", "~> 5.0"
6
+ gem "sqlite3"
7
+ gem "rake"
6
8
 
7
- eval_gemfile File.expand_path("../gemfiles/#{version}.gemfile", __FILE__)
9
+ gem "hoe-git", "~> 1.0"
10
+ gem "hoe-gemspec", "~> 1.0"
@@ -7,8 +7,6 @@ LICENSE
7
7
  Manifest.txt
8
8
  README.rdoc
9
9
  Rakefile
10
- gemfiles/5.0.gemfile
11
- gemfiles/head.gemfile
12
10
  lib/generators/minitest/feature/feature_generator.rb
13
11
  lib/generators/minitest/feature/templates/feature_spec.rb
14
12
  lib/generators/minitest/feature/templates/feature_test.rb
@@ -53,7 +53,7 @@ Or you can opt-out of the Capybara's spec DSL by providing the <tt>--no-spec</tt
53
53
 
54
54
  rails generate minitest:feature CanAccessHome --no-spec
55
55
 
56
- Which will generate a feature test using the Capybara spec DSL:
56
+ which will generate a feature test without using the Capybara spec DSL:
57
57
 
58
58
  require "test_helper"
59
59
 
data/Rakefile CHANGED
@@ -20,7 +20,7 @@ Hoe.spec "minitest-rails-capybara" do
20
20
  license "MIT"
21
21
 
22
22
  dependency "minitest-rails", "~> 3.0"
23
- dependency "capybara", "~> 2.7"
23
+ dependency "capybara", [">= 2.7", "<= 4"]
24
24
  dependency "minitest-capybara", "~> 0.8"
25
25
  dependency "minitest-metadata", "~> 0.6"
26
26
  end
@@ -3,7 +3,7 @@ require "minitest-rails"
3
3
  module Minitest
4
4
  module Rails
5
5
  module Capybara
6
- VERSION = "3.0.1"
6
+ VERSION = "3.0.2"
7
7
  end
8
8
  end
9
9
  end
@@ -1,14 +1,14 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: minitest-rails-capybara 3.0.0.20160701091723 ruby lib
2
+ # stub: minitest-rails-capybara 3.0.2.20190910100645 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "minitest-rails-capybara".freeze
6
- s.version = "3.0.0.20160701091723"
6
+ s.version = "3.0.2.20190910100645"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib".freeze]
10
10
  s.authors = ["Mike Moore".freeze]
11
- s.date = "2016-07-01"
11
+ s.date = "2019-09-10"
12
12
  s.description = "Adds Capybara feature tests in Minitest and Rails.".freeze
13
13
  s.email = ["mike@blowmage.com".freeze]
14
14
  s.extra_rdoc_files = ["CHANGELOG.rdoc".freeze, "Manifest.txt".freeze, "README.rdoc".freeze]
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.homepage = "http://blowmage.com/minitest-rails-capybara".freeze
17
17
  s.licenses = ["MIT".freeze]
18
18
  s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
19
- s.rubygems_version = "2.6.4".freeze
19
+ s.rubygems_version = "3.0.3".freeze
20
20
  s.summary = "Capybara integration for Minitest and Rails".freeze
21
21
 
22
22
  if s.respond_to? :specification_version then
@@ -24,25 +24,25 @@ Gem::Specification.new do |s|
24
24
 
25
25
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
26
  s.add_runtime_dependency(%q<minitest-rails>.freeze, ["~> 3.0"])
27
- s.add_runtime_dependency(%q<capybara>.freeze, ["~> 2.7"])
27
+ s.add_runtime_dependency(%q<capybara>.freeze, [">= 2.7", "<= 4"])
28
28
  s.add_runtime_dependency(%q<minitest-capybara>.freeze, ["~> 0.8"])
29
29
  s.add_runtime_dependency(%q<minitest-metadata>.freeze, ["~> 0.6"])
30
- s.add_development_dependency(%q<rdoc>.freeze, ["~> 4.0"])
31
- s.add_development_dependency(%q<hoe>.freeze, ["~> 3.15"])
30
+ s.add_development_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"])
31
+ s.add_development_dependency(%q<hoe>.freeze, ["~> 3.18"])
32
32
  else
33
33
  s.add_dependency(%q<minitest-rails>.freeze, ["~> 3.0"])
34
- s.add_dependency(%q<capybara>.freeze, ["~> 2.7"])
34
+ s.add_dependency(%q<capybara>.freeze, [">= 2.7", "<= 4"])
35
35
  s.add_dependency(%q<minitest-capybara>.freeze, ["~> 0.8"])
36
36
  s.add_dependency(%q<minitest-metadata>.freeze, ["~> 0.6"])
37
- s.add_dependency(%q<rdoc>.freeze, ["~> 4.0"])
38
- s.add_dependency(%q<hoe>.freeze, ["~> 3.15"])
37
+ s.add_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"])
38
+ s.add_dependency(%q<hoe>.freeze, ["~> 3.18"])
39
39
  end
40
40
  else
41
41
  s.add_dependency(%q<minitest-rails>.freeze, ["~> 3.0"])
42
- s.add_dependency(%q<capybara>.freeze, ["~> 2.7"])
42
+ s.add_dependency(%q<capybara>.freeze, [">= 2.7", "<= 4"])
43
43
  s.add_dependency(%q<minitest-capybara>.freeze, ["~> 0.8"])
44
44
  s.add_dependency(%q<minitest-metadata>.freeze, ["~> 0.6"])
45
- s.add_dependency(%q<rdoc>.freeze, ["~> 4.0"])
46
- s.add_dependency(%q<hoe>.freeze, ["~> 3.15"])
45
+ s.add_dependency(%q<rdoc>.freeze, [">= 4.0", "< 7"])
46
+ s.add_dependency(%q<hoe>.freeze, ["~> 3.18"])
47
47
  end
48
48
  end
@@ -7,10 +7,18 @@ namespace :test do
7
7
  sh "rm -f Gemfile.lock"
8
8
  end
9
9
 
10
- desc "Run tests for Rails head"
11
- task "head" do
10
+ desc "Run tests for Rails 5.1"
11
+ task "5.1" do
12
12
  sh "rm -f Gemfile.lock"
13
- ENV["RAILS_VERSION"] = "head"
13
+ ENV["RAILS_VERSION"] = "5.1"
14
+ sh "bundle && bundle exec rake test"
15
+ sh "rm -f Gemfile.lock"
16
+ end
17
+
18
+ desc "Run tests for Rails 5.2"
19
+ task "5.2" do
20
+ sh "rm -f Gemfile.lock"
21
+ ENV["RAILS_VERSION"] = "5.2"
14
22
  sh "bundle && bundle exec rake test"
15
23
  sh "rm -f Gemfile.lock"
16
24
  end
@@ -18,6 +26,7 @@ namespace :test do
18
26
  desc "Run tests for all Rails versions"
19
27
  task "all" do
20
28
  sh "rake test:5.0"
21
- sh "rake test:head"
29
+ sh "rake test:5.1"
30
+ sh "rake test:5.2"
22
31
  end
23
32
  end
@@ -5,6 +5,7 @@ require "action_controller/railtie"
5
5
 
6
6
  class TestApp < Rails::Application
7
7
  config.secret_token = "821c600ece97fc4ba952d67655b4b475"
8
+ config.eager_load = false
8
9
  initialize!
9
10
  routes.draw do
10
11
  root to: "hello#world"
@@ -5,7 +5,7 @@ describe "Capybara DSL Feature Test" do
5
5
  it "can call using_wait_time" do
6
6
  ret = "ZOMG! using_wait_time was called!"
7
7
  Capybara.stub :using_wait_time, ret do
8
- assert_equal ret, using_wait_time(6)
8
+ assert_equal ret, using_wait_time(6) {}
9
9
  end
10
10
  end
11
11
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-rails-capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-09 00:00:00.000000000 Z
11
+ date: 2019-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest-rails
@@ -28,16 +28,22 @@ dependencies:
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.7'
34
+ - - "<="
35
+ - !ruby/object:Gem::Version
36
+ version: '4'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
43
  version: '2.7'
44
+ - - "<="
45
+ - !ruby/object:Gem::Version
46
+ version: '4'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: minitest-capybara
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -70,30 +76,36 @@ dependencies:
70
76
  name: rdoc
71
77
  requirement: !ruby/object:Gem::Requirement
72
78
  requirements:
73
- - - "~>"
79
+ - - ">="
74
80
  - !ruby/object:Gem::Version
75
81
  version: '4.0'
82
+ - - "<"
83
+ - !ruby/object:Gem::Version
84
+ version: '7'
76
85
  type: :development
77
86
  prerelease: false
78
87
  version_requirements: !ruby/object:Gem::Requirement
79
88
  requirements:
80
- - - "~>"
89
+ - - ">="
81
90
  - !ruby/object:Gem::Version
82
91
  version: '4.0'
92
+ - - "<"
93
+ - !ruby/object:Gem::Version
94
+ version: '7'
83
95
  - !ruby/object:Gem::Dependency
84
96
  name: hoe
85
97
  requirement: !ruby/object:Gem::Requirement
86
98
  requirements:
87
99
  - - "~>"
88
100
  - !ruby/object:Gem::Version
89
- version: '3.16'
101
+ version: '3.18'
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
93
105
  requirements:
94
106
  - - "~>"
95
107
  - !ruby/object:Gem::Version
96
- version: '3.16'
108
+ version: '3.18'
97
109
  description: Adds Capybara feature tests in Minitest and Rails.
98
110
  email:
99
111
  - mike@blowmage.com
@@ -113,8 +125,6 @@ files:
113
125
  - Manifest.txt
114
126
  - README.rdoc
115
127
  - Rakefile
116
- - gemfiles/5.0.gemfile
117
- - gemfiles/head.gemfile
118
128
  - lib/generators/minitest/feature/feature_generator.rb
119
129
  - lib/generators/minitest/feature/templates/feature_spec.rb
120
130
  - lib/generators/minitest/feature/templates/feature_test.rb
@@ -149,8 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
159
  - !ruby/object:Gem::Version
150
160
  version: '0'
151
161
  requirements: []
152
- rubyforge_project:
153
- rubygems_version: 2.6.8
162
+ rubygems_version: 3.0.3
154
163
  signing_key:
155
164
  specification_version: 4
156
165
  summary: Capybara integration for Minitest and Rails
@@ -1,5 +0,0 @@
1
- source "http://rubygems.org" do
2
- gem "rails", "~> 5.0.0"
3
- gem "sqlite3"
4
- gem "rake"
5
- end
@@ -1,5 +0,0 @@
1
- source "http://rubygems.org" do
2
- gem "rails", github: "rails/rails"
3
- gem "sqlite3"
4
- gem "rake"
5
- end