summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-01-16 17:29:03 -0700
committermo khan <mo.khan@gmail.com>2020-01-16 17:29:03 -0700
commitb383ae92f5f1c2156e903f33823abea2aadef98d (patch)
tree9c78905cb12fe9f7730e792e711b8dc9ac8e7904
parentc41ef24c13fbf01e614891ee74292fb3a2097d73 (diff)
require Pathnamev0.1.3
-rw-r--r--CHANGELOG.md9
-rw-r--r--Gemfile.lock2
-rw-r--r--lib/spandx.rb1
-rw-r--r--lib/spandx/commands/scan.rb2
-rw-r--r--lib/spandx/version.rb2
5 files changed, 11 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a23f558..10fbac4 100644
--- a/CHANGELOG.md
+++ b/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
diff --git a/Gemfile.lock b/Gemfile.lock
index 18babfc..d085f73 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- spandx (0.1.2)
+ spandx (0.1.3)
net-hippie (~> 0.3)
thor (~> 0.1)
diff --git a/lib/spandx.rb b/lib/spandx.rb
index 102a66c..4448b65 100644
--- a/lib/spandx.rb
+++ b/lib/spandx.rb
@@ -3,6 +3,7 @@
require 'forwardable'
require 'json'
require 'net/hippie'
+require 'pathname'
require 'spandx/catalogue'
require 'spandx/gateways/http'
diff --git a/lib/spandx/commands/scan.rb b/lib/spandx/commands/scan.rb
index 5cb4d81..de3c5a7 100644
--- a/lib/spandx/commands/scan.rb
+++ b/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
diff --git a/lib/spandx/version.rb b/lib/spandx/version.rb
index 61af8b5..ca8e29a 100644
--- a/lib/spandx/version.rb
+++ b/lib/spandx/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Spandx
- VERSION = '0.1.2'
+ VERSION = '0.1.3'
end