Skip to content

Commit

Permalink
📦️ Another gem dependency fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarlesky committed May 6, 2024
1 parent 1d86719 commit 359f608
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ gem "diy"
gem "rr"
gem "thor"
gem "deep_merge"
gem "unicode-display_width"

#these will be used if present, but ignored otherwise
#gem "curses"
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ GEM
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
thor (1.3.1)
unicode-display_width (2.5.0)

PLATFORMS
x86_64-darwin-22
Expand All @@ -37,6 +38,7 @@ DEPENDENCIES
rr
rspec (~> 3.8)
thor
unicode-display_width

BUNDLED WITH
2.4.17
2 changes: 1 addition & 1 deletion ceedling.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Ceedling projects are created with a YAML configuration file. A variety of conve
s.add_dependency "rake", ">= 12", "< 14"
s.add_dependency "deep_merge", "~> 1.2"
s.add_dependency "constructor", "~> 2"
s.add_dependency "unicode-display_width", ">= 2.5.0"
s.add_dependency "unicode-display_width", "~> 2.5"

# Files needed from submodules
s.files = []
Expand Down
32 changes: 15 additions & 17 deletions spec/reportinator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,22 @@
# SPDX-License-Identifier: MIT
# =========================================================================

# Temporarily disabled until Unicode gem dependency needed by this test is resolved
require 'spec_helper'
require 'ceedling/reportinator'

# require 'spec_helper'
# require 'ceedling/reportinator'

# describe Reportinator do
# before(:each) do
# @rp = described_class.new
# end
describe Reportinator do
before(:each) do
@rp = described_class.new
end

# describe '#generate_banner' do
# it 'generates a banner with a width based on a string' do
# expect(@rp.generate_banner("Hello world!")).to eq("------------\nHello world!\n------------\n")
# end
describe '#generate_banner' do
it 'generates a banner with a width based on a string' do
expect(@rp.generate_banner("Hello world!")).to eq("------------\nHello world!\n------------\n")
end

# it 'generates a banner with a fixed width' do
# expect(@rp.generate_banner("Hello world!", 3)).to eq("---\nHello world!\n---\n")
# end
# end
it 'generates a banner with a fixed width' do
expect(@rp.generate_banner("Hello world!", 3)).to eq("---\nHello world!\n---\n")
end
end

# end
end

0 comments on commit 359f608

Please sign in to comment.