design_system 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 478d3c38c6d1dd43f4b5ed7e9544d7ae6d9bbea41a8384620eb0ccfd0fd96a70
|
4
|
+
data.tar.gz: bc749e01626f266e808870de95898c3ba85bc735966b6c985e6c500f5d7aa7c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50b126c593d06eb5d52572b6c01e9f5c6337784fa905175e8704c0f9250a283a66a8a076914b0b72a7f20c2f6c1171732a09a34197544177255b4838d04c68e7
|
7
|
+
data.tar.gz: e065b64424239c5bed9f7e1c500ebafc5708a7f7fb4e7e368bee7304e650115a95c3afdd1794793cf2173b18cb456101c9c827f804e5fce9316369b66bab6745
|
data/Rakefile
CHANGED
@@ -15,6 +15,11 @@ class JsBuilder
|
|
15
15
|
def self.build(watch: false)
|
16
16
|
require 'fileutils'
|
17
17
|
|
18
|
+
sh 'npm install'
|
19
|
+
|
20
|
+
# Remove all old builds
|
21
|
+
FileUtils.rm_rf(Dir.glob('public/design_system/static/design_system-*'))
|
22
|
+
|
18
23
|
output_dir = "public/design_system/static/design_system-#{DesignSystem::VERSION}"
|
19
24
|
mkdir_p(output_dir)
|
20
25
|
|
@@ -45,3 +50,15 @@ namespace :js do
|
|
45
50
|
JsBuilder.build(watch: true)
|
46
51
|
end
|
47
52
|
end
|
53
|
+
|
54
|
+
desc 'Deploy the gem to RubyGems.org'
|
55
|
+
task :deploy_to_rubygems do
|
56
|
+
# Raise an error if the static files are not built
|
57
|
+
unless Dir.exist?("public/design_system/static/design_system-#{DesignSystem::VERSION}")
|
58
|
+
raise "Static files not built. Please run `rake js:build` before deploying."
|
59
|
+
end
|
60
|
+
|
61
|
+
sh 'gem build'
|
62
|
+
|
63
|
+
sh "gem push design_system-#{DesignSystem::VERSION}.gem"
|
64
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: design_system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Filis Liu
|
@@ -446,7 +446,7 @@ files:
|
|
446
446
|
- lib/tasks/design_system_tasks.rake
|
447
447
|
- lib/tasks/govuk.rake
|
448
448
|
- lib/tasks/nhsuk.rake
|
449
|
-
- public/design_system/static/design_system-0.
|
449
|
+
- public/design_system/static/design_system-0.8.1/design_system.js
|
450
450
|
- public/design_system/static/govuk-frontend-5.11.1/fonts/bold-affa96571d-v2.woff
|
451
451
|
- public/design_system/static/govuk-frontend-5.11.1/fonts/bold-b542beb274-v2.woff2
|
452
452
|
- public/design_system/static/govuk-frontend-5.11.1/fonts/light-94a07e06a1-v2.woff2
|
@@ -509,7 +509,7 @@ metadata:
|
|
509
509
|
allowed_push_host: https://rubygems.org
|
510
510
|
homepage_uri: https://github.com/HealthDataInsight/design_system
|
511
511
|
source_code_uri: https://github.com/HealthDataInsight/design_system
|
512
|
-
changelog_uri: https://github.com/HealthDataInsight/design_system/CHANGELOG.md
|
512
|
+
changelog_uri: https://github.com/HealthDataInsight/design_system/blob/main/CHANGELOG.md
|
513
513
|
rubygems_mfa_required: 'true'
|
514
514
|
post_install_message:
|
515
515
|
rdoc_options: []
|
/data/public/design_system/static/{design_system-0.7.0 → design_system-0.8.1}/design_system.js
RENAMED
File without changes
|