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 +5 -5
- data/.travis.yml +12 -8
- data/CHANGELOG.rdoc +6 -0
- data/Gemfile +5 -2
- data/Manifest.txt +0 -2
- data/README.rdoc +1 -1
- data/Rakefile +1 -1
- data/lib/minitest-rails-capybara.rb +1 -1
- data/minitest-rails-capybara.gemspec +13 -13
- data/tasks/test.rake +13 -4
- data/test/rails_helper.rb +1 -0
- data/test/test_dsl.rb +1 -1
- metadata +21 -12
- data/gemfiles/5.0.gemfile +0 -5
- data/gemfiles/head.gemfile +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a32d69121707a24fabf6e80de7c68408d98909c97e6733fa6398a172f4000f63
|
4
|
+
data.tar.gz: 5b8c3025c026c5aeb98b4b0dc2401637abd0f8fa6fb9e95d134ed1166c73b3ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ab311aa706f92d63e3be80740f0c81218d21e01cf0bdf5d6cf16512a210f3ef54bc1127e3ee96b10e09b6e363bd696ca46920256f2f844a66f37ad995f233e1
|
7
|
+
data.tar.gz: 8185bb800e11d316546f23081d4cd7e53c6770057e3c3baa15591389d41c9300fb7c3dc8c3202cc3eb73ce53985bf5b6dff9f7b7da27f533a11cdc216d786208
|
data/.travis.yml
CHANGED
@@ -7,12 +7,16 @@ notifications:
|
|
7
7
|
email:
|
8
8
|
- mike@blowmage.com
|
9
9
|
rvm:
|
10
|
-
- 2.3
|
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
|
-
|
13
|
-
-
|
14
|
-
-
|
15
|
-
-
|
16
|
-
|
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"
|
data/CHANGELOG.rdoc
CHANGED
data/Gemfile
CHANGED
@@ -2,6 +2,9 @@ source "http://rubygems.org"
|
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
|
5
|
+
gem "rails", "~> 5.0"
|
6
|
+
gem "sqlite3"
|
7
|
+
gem "rake"
|
6
8
|
|
7
|
-
|
9
|
+
gem "hoe-git", "~> 1.0"
|
10
|
+
gem "hoe-gemspec", "~> 1.0"
|
data/Manifest.txt
CHANGED
@@ -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
|
data/README.rdoc
CHANGED
@@ -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
|
-
|
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", "
|
23
|
+
dependency "capybara", [">= 2.7", "<= 4"]
|
24
24
|
dependency "minitest-capybara", "~> 0.8"
|
25
25
|
dependency "minitest-metadata", "~> 0.6"
|
26
26
|
end
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: minitest-rails-capybara 3.0.
|
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.
|
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 = "
|
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 = "
|
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, ["
|
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, ["
|
31
|
-
s.add_development_dependency(%q<hoe>.freeze, ["~> 3.
|
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, ["
|
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, ["
|
38
|
-
s.add_dependency(%q<hoe>.freeze, ["~> 3.
|
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, ["
|
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, ["
|
46
|
-
s.add_dependency(%q<hoe>.freeze, ["~> 3.
|
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
|
data/tasks/test.rake
CHANGED
@@ -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
|
11
|
-
task "
|
10
|
+
desc "Run tests for Rails 5.1"
|
11
|
+
task "5.1" do
|
12
12
|
sh "rm -f Gemfile.lock"
|
13
|
-
ENV["RAILS_VERSION"] = "
|
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:
|
29
|
+
sh "rake test:5.1"
|
30
|
+
sh "rake test:5.2"
|
22
31
|
end
|
23
32
|
end
|
data/test/rails_helper.rb
CHANGED
data/test/test_dsl.rb
CHANGED
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.
|
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:
|
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.
|
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.
|
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
|
-
|
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
|
data/gemfiles/5.0.gemfile
DELETED