Skip to content

Commit 43dac9a

Browse files
committedFeb 2, 2025
Change the way version is included
1 parent 5f7def7 commit 43dac9a

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed
 

‎docs/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [Unreleased]
2+
3+
- Chore:
4+
- Change the way version is included. Insted of including a module `Version`, directly add the `VERSION` constant in the `PassStation` module. It could avoid namespace collision with that kind of generic name.
5+
16
## [2.0.0]
27

38
- Credentials:

‎lib/pass_station.rb

-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010

1111
# Pass Station module
1212
module PassStation
13-
# Constants
14-
include Version
15-
1613
# Password database handling
1714
class DB
1815
# Get / set storage location, where will be stored the password database.

‎lib/pass_station/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

3-
module Version
3+
module PassStation
44
VERSION = '2.0.0'
55
end

‎pass-station.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ require_relative 'lib/pass_station/version'
44

55
Gem::Specification.new do |s|
66
s.name = 'pass-station'
7-
s.version = Version::VERSION
7+
s.version = PassStation::VERSION
88
s.platform = Gem::Platform::RUBY
99
s.summary = 'CLI & library to search for default credentials among thousands of Products / Vendors'
1010
s.description = 'CLI & library to search for default credentials among thousands of Products / Vendors'

0 commit comments

Comments
 (0)