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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c44d8efd0539ab016e391776bdb0482e7095f2c0167d653ad44f1be1405b3090
4
- data.tar.gz: '097dd6321d53376a96bff9ca0f969d29912b66670b181dc4fe58db1feac2c91a'
3
+ metadata.gz: 87a2167152fd03a542d32f164a5dfb521f6db314a553d8d8b6f108efab669635
4
+ data.tar.gz: 2e8fad35367a9d663adc6d220f2a65c768b00c8742fea7b5acd0b3e522539b17
5
5
  SHA512:
6
- metadata.gz: 4a0dc950fd951087ed669aed77fdfc1b2b09c2961889f4d994b93836aff7c2f6c2f120d7fee168aeb43b97142d9b92048550631cf30420ea0c989f68c8680bc8
7
- data.tar.gz: 62968c676eee69aa9f41f99a3e5066c2dc7ce78c212c4cef8c38bbd6f2c02ffddd1a61192d0b034c16fb08515850a3acb3e7d6b89ccbd841b70b97a5c6bc9402
6
+ metadata.gz: cdb23553e3231e9afc7848dc4bd2f7237e50888ea77118f3fb5f27c4c216c1743bab2a1b14fd5c16f0fb267442da61d4a9dc96b60bb8337236e15a63b2084d16
7
+ data.tar.gz: 07f1907cfc1592fed2c314a06efa79c7e41cd744c5b7a1600c39ffc4a00e13bc303dda559bc53d73b65c8b6021004d85fbd5854c137cdf1eb77d4105e55c0f65
data/CHANGELOG.md CHANGED
@@ -1,12 +1,27 @@
1
1
  ### Unreleased
2
2
 
3
- * Adds support for Rails 6.
4
- * Removes build support for Rails 3 & 4.
5
- * Removes build support for Ruby < 2.5.
6
- * Removes support for capybara webkit.
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
@@ -1,4 +1,5 @@
1
1
  require "teaspoon/environment"
2
+ require "teaspoon/utility"
2
3
 
3
4
  module Teaspoon
4
5
  class Console
@@ -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=#{input.shellescape}", "--dir #{output_path}", format
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}")
@@ -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
- require Teaspoon::Engine.root.join("app/controllers/teaspoon/suite_controller")
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
@@ -1,3 +1,3 @@
1
1
  module Teaspoon
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
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.0
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: 2020-03-02 00:00:00.000000000 Z
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.3
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'