Commit b383ae9

mo khan <mo.khan@gmail.com>
2020-01-17 00:29:03
require Pathname tag: v0.1.3
1 parent c41ef24
lib/spandx/commands/scan.rb
@@ -6,7 +6,7 @@ module Spandx
       attr_reader :lockfile
 
       def initialize(lockfile, options)
-        @lockfile = lockfile ? Pathname.new(File.expand_path(lockfile)) : nil
+        @lockfile = lockfile ? ::Pathname.new(File.expand_path(lockfile)) : nil
         @options = options
       end
 
lib/spandx/version.rb
@@ -1,5 +1,5 @@
 # frozen_string_literal: true
 
 module Spandx
-  VERSION = '0.1.2'
+  VERSION = '0.1.3'
 end
lib/spandx.rb
@@ -3,6 +3,7 @@
 require 'forwardable'
 require 'json'
 require 'net/hippie'
+require 'pathname'
 
 require 'spandx/catalogue'
 require 'spandx/gateways/http'
CHANGELOG.md
@@ -1,4 +1,4 @@
-Version 0.1.2
+Version 0.1.3
 
 # Changelog
 All notable changes to this project will be documented in this file.
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 ## [Unreleased]
 - nil
 
+## [0.1.3] - 2020-01-16
+### Added
+- Require `pathname`
+
 ## [0.1.2] - 2020-01-16
 ### Added
 - Add CLI for `spandx scan <LOCKER>`
@@ -20,6 +24,7 @@ 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/mokhan/spandx/compare/v0.1.2...HEAD
+[Unreleased]: https://github.com/mokhan/spandx/compare/v0.1.3...HEAD
+[0.1.3]: https://github.com/mokhan/spandx/compare/v0.1.2...v0.1.3
 [0.1.2]: https://github.com/mokhan/spandx/compare/v0.1.1...v0.1.2
 [0.1.1]: https://github.com/mokhan/spandx/compare/v0.1.0...v0.1.1
Gemfile.lock
@@ -1,7 +1,7 @@
 PATH
   remote: .
   specs:
-    spandx (0.1.2)
+    spandx (0.1.3)
       net-hippie (~> 0.3)
       thor (~> 0.1)