Commit a18f47b

mo khan <mo.khan@gmail.com>
2020-11-19 23:29:12
fix: remove spinner for streaming reports tag: v0.16.1
1 parent e8e07d5
Changed files (4)
lib/spandx/cli/printers/table.rb
@@ -8,7 +8,6 @@ module Spandx
 
         def initialize(output: $stderr)
           @spinner = TTY::Spinner.new('[:spinner] Scanning...', output: output, clear: true, format: :dots)
-          @spinner.auto_spin
         end
 
         def match?(format)
@@ -16,6 +15,7 @@ module Spandx
         end
 
         def print_header(_io)
+          @spinner.auto_spin
           @dependencies = SortedSet.new
         end
 
lib/spandx/version.rb
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module Spandx
-  VERSION = '0.16.0'
+  VERSION = '0.16.1'
 end
CHANGELOG.md
@@ -1,4 +1,4 @@
-Version 0.16.0
+Version 0.16.1
 
 # Changelog
 
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+## [0.16.1] - 2020-11-19
+### Fixed
+- Start spinner for table printer only
+
 ## [0.16.0] - 2020-11-19
 ### Changed
 - Pull smaller license cache.
@@ -216,7 +220,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ### Added
 - Provide ruby API to the latest SPDX catalogue.
 
-[Unreleased]: https://github.com/spandx/spandx/compare/v0.16.0...HEAD
+[Unreleased]: https://github.com/spandx/spandx/compare/v0.16.1...HEAD
+[0.16.1]: https://github.com/spandx/spandx/compare/v0.16.0...v0.16.1
 [0.16.0]: https://github.com/spandx/spandx/compare/v0.15.1...v0.16.0
 [0.15.1]: https://github.com/spandx/spandx/compare/v0.15.0...v0.15.1
 [0.15.0]: https://github.com/spandx/spandx/compare/v0.14.0...v0.15.0
Gemfile.lock
@@ -1,7 +1,7 @@
 PATH
   remote: .
   specs:
-    spandx (0.16.0)
+    spandx (0.16.1)
       addressable (~> 2.7)
       bundler (>= 1.16, < 3.0.0)
       net-hippie (~> 1.0)