Skip to content

Commit e65282f

Browse files
authored
Work around activesupport logger bug (#1416)
Add logger dependency to work around gem issues Add missing activesupport dependency
1 parent d4e083a commit e65282f

4 files changed

Lines changed: 9 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
'undocumented'.
1515
[John Fairhurst](https://github.com/johnfairh)
1616

17+
* Work around activesupport vs. concurrent-ruby crash.
18+
[John Fairhurst](https://github.com/johnfairh)
19+
[#1414](https://github.com/realm/jazzy/issues/1414)
20+
1721
## 0.15.3
1822

1923
##### Breaking

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ PATH
1010
remote: .
1111
specs:
1212
jazzy (0.15.3)
13+
activesupport (>= 5.0, < 8)
1314
cocoapods (~> 1.5)
15+
logger
1416
mustache (~> 1.1)
1517
open4 (~> 1.3)
1618
redcarpet (~> 3.4)

jazzy.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ Gem::Specification.new do |spec|
1818
spec.files = `git ls-files`.split($/)
1919
spec.executables << 'jazzy'
2020

21+
spec.add_dependency 'activesupport', '>= 5.0', '< 8'
2122
spec.add_dependency 'cocoapods', '~> 1.5'
23+
spec.add_dependency 'logger'
2224
spec.add_dependency 'mustache', '~> 1.1'
2325
spec.add_dependency 'open4', '~> 1.3'
2426
spec.add_dependency 'redcarpet', '~> 3.4'

lib/jazzy/source_declaration/type.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# frozen_string_literal: true
22

3+
require 'logger'
34
require 'active_support'
45
require 'active_support/inflector'
56

0 commit comments

Comments
 (0)