Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 94878e7

Browse files
committed
fix(sass) added missing lib folder into gemspec
1 parent bfa127f commit 94878e7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

lib/patternfly-sass/version.rb

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
module Patternfly
2-
require 'json'
3-
path = File.join(File.dirname(__FILE__), '../../package.json')
4-
VERSION = JSON.parse(File.read(path))['version']
2+
VERSION = begin
3+
# Retrieve the version number from the package.json
4+
require 'json'
5+
path = File.join(File.dirname(__FILE__), '../../package.json')
6+
JSON.parse(File.read(path))['version']
7+
end
58
end

patternfly-sass.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
2222
'CODE_OF_CONDUCT.md',
2323
'QUICKSTART.md',
2424
'OPEN_SOURCE_LICENCES.txt',
25+
Dir.glob('lib/**/*'),
2526
Dir.glob('dist/sass/**/*'),
2627
Dir.glob('dist/js/**/*'),
2728
Dir.glob('dist/fonts/**/*'),

0 commit comments

Comments
 (0)