Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* [#45](https://github.com/dblock/fui/pull/45): Migrated from Travis CI to GitHub Actions with danger-pr-comment workflow - [@dblock](https://github.com/dblock).
* [#37](https://github.com/dblock/fui/issues/37): Fixed `ArgumentError: invalid byte sequence in UTF-8` when processing files with non-UTF-8 encoding - [@dblock](https://github.com/dblock).
* [#42](https://github.com/dblock/fui/issues/42): Fixed `NameError: undefined local variable or method 'project_path'` in verbose mode - [@dblock](https://github.com/dblock).
* Your contribution here.

### 0.5.0 (2018/12/19)
Expand Down
2 changes: 1 addition & 1 deletion lib/fui/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def bridging_headers(verbose)

path_tokens = tokens[1].split('/')
bridging_header = path_tokens[path_tokens.length - 1]
puts "Bridging Header Found: #{bridging_header} in #{project_path}." if verbose
puts "Bridging Header Found: #{bridging_header} in #{path}." if verbose
bridging_headers << bridging_header
end
bridging_headers.uniq
Expand Down
4 changes: 4 additions & 0 deletions spec/fui/project_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
project = Fui::Project.new(@fixture)
expect(project.bridging_headers(false)).to eq(['BridgingHeaderSpec-Bridging-Header.h'])
end
it 'bridging headers are found in verbose mode' do
project = Fui::Project.new(@fixture)
expect { project.bridging_headers(true) }.not_to raise_error
end
end
describe '#bridging_headers' do
before :each do
Expand Down
Loading