baldur 0.1.1 → 0.1.2

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: c530dc1592f68c70aea978df00320e2b5c60c3bdf1438fed868858b13808e19c
4
- data.tar.gz: '0827b0d90a5520b0af7fcc92fc4d6cae262274d54a7bfe6c8ba92c8beacc1d45'
3
+ metadata.gz: 755f7b5c5357a353e44fc2885a9dbae5134fd8e2150bdc24d7b49b670ac93fd3
4
+ data.tar.gz: 1a5b0a736bfe6cb16bc00714b0e0e2649cd9e2233f22c53943bc95fd4c3c150f
5
5
  SHA512:
6
- metadata.gz: aeeda062066859904828caecb85e2dc4599274138b6d2aeaa3172a9edfd358c673579b1e32b4864e19422b306811e7f774d7e0c2208c6817d8f94438b2998bb0
7
- data.tar.gz: 21f0c38a4047ab20ae7bd75c2001f8a4e1f013f27ddb930852c915cf39627017e318399cd204038b77e538686c05bce2323fdbd82652cda316056c5b06400bc3
6
+ metadata.gz: da5b42f713b2a5e3416227666f956548017058ff95dd0a51ea53472ff08c417d6239ac224f9a58dafaedc0d29dbd016a73f49ab7368b894cb0d47ff0355d3b52
7
+ data.tar.gz: 6ba4f17fc97e25faea592202d16fddbec20f4752e7f1d835f2f03499b988c4f0662a3f817aa2a10a1edbbc50a8dfb48f49d2f55ac0a392a9acdfa43572cf2a4d
data/README.md CHANGED
@@ -15,7 +15,7 @@ Baldur is a reusable Rails UI engine for apps using the same frontend stack as t
15
15
  Baldur now declares `tailwindcss-rails` as a gem dependency, so hosts do not need to add that gem separately unless they want to pin a specific version.
16
16
 
17
17
  ```ruby
18
- gem "baldur"
18
+ gem "baldur", "~> 0.1.2"
19
19
  ```
20
20
 
21
21
  2. Run:
@@ -45,6 +45,18 @@ bundle exec rails generate baldur:install_google_auth
45
45
 
46
46
  Default install behavior keeps Geist loaded through the host `fonts.css` scaffold. If a host app wants a different stack, it should update `fonts.css` and then map the loaded families in `theme.css`.
47
47
 
48
+ ## Security
49
+
50
+ - New Baldur releases require MFA for RubyGems owners via gem metadata starting with `0.1.2`.
51
+ - Release artifacts should be installed from RubyGems or GitHub releases and can be verified with the published `.sha512` checksum file.
52
+ - Report vulnerabilities privately through GitHub Security Advisories.
53
+
54
+ To verify a release artifact manually:
55
+
56
+ ```sh
57
+ sha512sum -c baldur-0.1.2.gem.sha512
58
+ ```
59
+
48
60
  ## Styling Ownership
49
61
 
50
62
  Tailwind provides the utility/base layer. Baldur is the source of truth for shared design-system primitives.
data/SECURITY.md ADDED
@@ -0,0 +1,29 @@
1
+ # Security Policy
2
+
3
+ ## Reporting a Vulnerability
4
+
5
+ Please do not report security issues through public GitHub issues or pull requests.
6
+
7
+ Preferred reporting paths:
8
+
9
+ 1. Open a private GitHub Security Advisory draft for this repository.
10
+ 2. Use GitHub Security Advisories for private disclosure.
11
+
12
+ Please include:
13
+
14
+ - affected version(s)
15
+ - a clear description of the issue
16
+ - reproduction steps or proof of concept
17
+ - impact assessment if known
18
+ - any suggested remediation
19
+
20
+ ## Disclosure Process
21
+
22
+ - I will acknowledge receipt of a report as quickly as practical.
23
+ - I will investigate privately and prepare a fix before public disclosure.
24
+ - Once a fix is available, I may publish a GitHub Security Advisory and request a CVE if the issue merits one.
25
+ - Public disclosure should wait until affected users have a reasonable chance to upgrade.
26
+
27
+ ## Supported Versions
28
+
29
+ Security fixes are best-effort and will normally target the latest released version of Baldur.
data/baldur.gemspec CHANGED
@@ -4,11 +4,16 @@ Gem::Specification.new do |spec|
4
4
  spec.name = "baldur"
5
5
  spec.version = Baldur::VERSION
6
6
  spec.authors = [ "Varun Murkar" ]
7
- spec.email = [ "hello@varunmurkar.com" ]
8
7
  spec.summary = "Reusable Rails UI engine for same-stack application interfaces"
9
8
  spec.description = "Baldur packages reusable Rails view helpers, components, styles, and Stimulus controllers."
10
9
  spec.homepage = "https://github.com/varunmurkar/baldur"
11
10
  spec.license = "MIT"
11
+ spec.metadata = {
12
+ "source_code_uri" => "https://github.com/varunmurkar/baldur",
13
+ "bug_tracker_uri" => "https://github.com/varunmurkar/baldur/issues",
14
+ "changelog_uri" => "https://github.com/varunmurkar/baldur/releases",
15
+ "rubygems_mfa_required" => "true"
16
+ }
12
17
 
13
18
  spec.files = Dir.chdir(__dir__) do
14
19
  Dir[
@@ -16,6 +21,7 @@ Gem::Specification.new do |spec|
16
21
  "README.md",
17
22
  "TODO.md",
18
23
  "LICENSE",
24
+ "SECURITY.md",
19
25
  "baldur.gemspec",
20
26
  "Gemfile"
21
27
  ].select { |path| File.file?(path) }
@@ -1,3 +1,3 @@
1
1
  module Baldur
2
- VERSION = "0.1.1".freeze
2
+ VERSION = "0.1.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baldur
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Varun Murkar
@@ -67,8 +67,6 @@ dependencies:
67
67
  version: '0'
68
68
  description: Baldur packages reusable Rails view helpers, components, styles, and
69
69
  Stimulus controllers.
70
- email:
71
- - hello@varunmurkar.com
72
70
  executables: []
73
71
  extensions: []
74
72
  extra_rdoc_files: []
@@ -76,6 +74,7 @@ files:
76
74
  - Gemfile
77
75
  - LICENSE
78
76
  - README.md
77
+ - SECURITY.md
79
78
  - TODO.md
80
79
  - app/assets/javascripts/baldur/controllers/accordion_controller.js
81
80
  - app/assets/javascripts/baldur/controllers/alert_controller.js
@@ -238,7 +237,11 @@ files:
238
237
  homepage: https://github.com/varunmurkar/baldur
239
238
  licenses:
240
239
  - MIT
241
- metadata: {}
240
+ metadata:
241
+ source_code_uri: https://github.com/varunmurkar/baldur
242
+ bug_tracker_uri: https://github.com/varunmurkar/baldur/issues
243
+ changelog_uri: https://github.com/varunmurkar/baldur/releases
244
+ rubygems_mfa_required: 'true'
242
245
  rdoc_options: []
243
246
  require_paths:
244
247
  - lib