teaspoon 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -4
- data/lib/teaspoon/console.rb +1 -0
- data/lib/teaspoon/coverage.rb +1 -1
- data/lib/teaspoon/engine.rb +3 -1
- data/lib/teaspoon/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87a2167152fd03a542d32f164a5dfb521f6db314a553d8d8b6f108efab669635
|
4
|
+
data.tar.gz: 2e8fad35367a9d663adc6d220f2a65c768b00c8742fea7b5acd0b3e522539b17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdb23553e3231e9afc7848dc4bd2f7237e50888ea77118f3fb5f27c4c216c1743bab2a1b14fd5c16f0fb267442da61d4a9dc96b60bb8337236e15a63b2084d16
|
7
|
+
data.tar.gz: 07f1907cfc1592fed2c314a06efa79c7e41cd744c5b7a1600c39ffc4a00e13bc303dda559bc53d73b65c8b6021004d85fbd5854c137cdf1eb77d4105e55c0f65
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,27 @@
|
|
1
1
|
### Unreleased
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
*
|
6
|
-
*
|
3
|
+
### 1.2.1
|
4
|
+
|
5
|
+
* require utility in console to get Teaspoon.root (#562)
|
6
|
+
* Update ruby version requirement to allow ruby 3.0 (#583)
|
7
|
+
* Fix coverage output path (#579)
|
8
|
+
* Delay using Rails until loaded (#582)
|
9
|
+
* Run tests via Github Actions (#588)
|
10
|
+
|
11
|
+
### 1.2.0
|
12
|
+
|
13
|
+
#### Enhancements
|
14
|
+
|
15
|
+
* Add Rails 6 (beta1) support (#556)
|
16
|
+
* Allow passing selenium options (#537)
|
7
17
|
|
8
18
|
#### Bug Fixes
|
9
19
|
|
20
|
+
* Removes Rails 3 & 4 support (#560)
|
21
|
+
* Removes support for capybara webkit (#560)
|
22
|
+
* Fixes gem coffeescript assets being discovered by sprockets (#405)
|
23
|
+
* Many other small changes/fixes
|
24
|
+
|
10
25
|
### 1.1.5
|
11
26
|
|
12
27
|
#### Enhancements
|
data/lib/teaspoon/console.rb
CHANGED
data/lib/teaspoon/coverage.rb
CHANGED
@@ -60,7 +60,7 @@ module Teaspoon
|
|
60
60
|
output_path = File.join(@config.output_path, @suite_name)
|
61
61
|
result, st =
|
62
62
|
Open3.capture2e(
|
63
|
-
@executable, "report", "--include
|
63
|
+
@executable, "report", "--include", input.shellescape, "--dir", output_path, format
|
64
64
|
)
|
65
65
|
return result.gsub("Done", "").gsub("Using reporter [#{format}]", "").strip if st.exitstatus.zero?
|
66
66
|
raise Teaspoon::DependencyError.new("Unable to generate #{format} coverage report:\n#{result}")
|
data/lib/teaspoon/engine.rb
CHANGED
@@ -61,7 +61,9 @@ module Teaspoon
|
|
61
61
|
mount_at = Teaspoon.configuration.mount_at
|
62
62
|
|
63
63
|
return if app.routes.recognize_path(mount_at)[:action] != "routing_error" rescue nil
|
64
|
-
|
64
|
+
ActiveSupport.on_load(:action_controller) do
|
65
|
+
require Teaspoon::Engine.root.join("app/controllers/teaspoon/suite_controller")
|
66
|
+
end
|
65
67
|
|
66
68
|
app.routes.prepend { mount Teaspoon::Engine => mount_at, as: "teaspoon" }
|
67
69
|
end
|
data/lib/teaspoon/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: teaspoon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jejacks0n
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: railties
|
@@ -133,7 +133,7 @@ require_paths:
|
|
133
133
|
- lib
|
134
134
|
required_ruby_version: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '2.4'
|
139
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
rubygems_version: 3.0.
|
145
|
+
rubygems_version: 3.0.8
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: 'Teaspoon: A Javascript test runner built on top of Rails'
|