swagcov 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fb23130a50afbecb1dc08dba1385d1bb83ee1ba21dbb6f54f24113e352c5a89
4
- data.tar.gz: 24eceba7559483cb97515d108cc0126596101bed91160f4dce36e7533a0f4e82
3
+ metadata.gz: fb55596ee15206a5ba5a5fbaa04d144009235149b970fc788b6ea946bc7f39c0
4
+ data.tar.gz: f90f351fa04e94c7081bb43023aff7136951a5420aafd9af8b5d4e1cffb01aa6
5
5
  SHA512:
6
- metadata.gz: c1c560d3bd5042d86796c4c2e3318a2ebffcbc300b212d8d460cc1ee9fb6ebefe6d1f67fb7f1dd2a14c890c98120a767e5191d6f746ba17001607b742ab1762b
7
- data.tar.gz: a410017649fea69d1d32c9e2d66881b09b35036a4e423d8b32dbf36a836f7b5cf584faed059f05a5d8ac9d62f5fb1d040074a2d206286fd77020381dfae2abe7
6
+ metadata.gz: a12f6f18ba12054de906aa9a006d8ed85211c66dfd008b8d3f9e8d5e5a016d342a63d3de07773616ff58e9f0e4f63681f15794f1d16200031a0e08858b67e8e8
7
+ data.tar.gz: c0accc6bc9f422d9e23d29d37a49d8db6c58afb00288a31916095d4b343637293f5550b2a3a920972334f70834387302a8a5180a978efaefb43b61ddcd6e248b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
  ## main (unreleased)
3
3
  -
4
4
 
5
+ ## 1.2.1 (2026-01-03)
6
+ ### Fix
7
+ - Load ordering for executable (safely removed unnecessary `logger` requirement) ([#190](https://github.com/smridge/swagcov/pull/190))
8
+
9
+ ### Administrative
10
+ - Update `LICENSE` copyright year range (2021-2026) ([#191](https://github.com/smridge/swagcov/pull/191))
11
+
5
12
  ## 1.2.0 (2025-12-20)
6
13
  ### Fix
7
14
  - Improve check for skipping mounted applications for Rails 4.2 applications ([#179](https://github.com/smridge/swagcov/pull/179))
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2021-2025 Sarah Ridge
1
+ Copyright 2021-2026 Sarah Ridge
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -67,16 +67,15 @@ For example `SWAGCOV_DOTFILE=".openapi_coverage_config.yml" bundle exec swagcov`
67
67
  Versioning support from a test coverage perspective, see [tests.yml](/.github/workflows/tests.yml) for detail
68
68
  | `ruby -v` | `rails 8.1` | `rails 8.0` | `rails 7.2` | `rails 7.1` | `rails 7.0` | `rails 6.1` | `rails 6.0` | `rails 5.2` | `rails 5.1` | `rails 5.0` | `rails 4.2` |
69
69
  | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
70
- | `4.0` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
71
- | `3.5` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
72
- | `3.4` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
73
- | `3.3` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
74
- | `3.2` | | | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
75
- | `3.1` | ❌ | ❌ | | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
76
- | `3.0` | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
77
- | `2.7` | ❌ | ❌ | ❌ | | | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
78
- | `2.6` | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
79
- | `2.5` | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
70
+ | `4.0` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
71
+ | `3.4` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
72
+ | `3.3` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
73
+ | `3.2` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
74
+ | `3.1` | | | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
75
+ | `3.0` | ❌ | ❌ | | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
76
+ | `2.7` | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
77
+ | `2.6` | ❌ | ❌ | ❌ | | | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
78
+ | `2.5` | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
80
79
 
81
80
 
82
81
  ## Installation
data/exe/swagcov CHANGED
@@ -6,12 +6,6 @@
6
6
  # Booting rails approach should work for most applications
7
7
  # Rake task option as an alternative should always work as expected
8
8
 
9
- # Load logger before rails
10
- # Fix for booting rails 6.0-7.0 apps (uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger)
11
- require "logger"
12
-
13
- require "swagcov"
14
-
15
9
  RAILS_APP_PATH = File.expand_path("config/application", Dir.pwd)
16
10
 
17
11
  def boot_rails_application!
@@ -24,4 +18,6 @@ end
24
18
 
25
19
  boot_rails_application!
26
20
 
21
+ require "swagcov"
22
+
27
23
  Swagcov::Runner.new(args: ARGV).run
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Swagcov
4
4
  module Version
5
- STRING = "1.2.0"
5
+ STRING = "1.2.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagcov
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
  - Sarah Ridge
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 4.0.2
76
+ rubygems_version: 4.0.3
77
77
  specification_version: 4
78
78
  summary: OpenAPI documentation coverage report for Rails Route endpoints
79
79
  test_files: []