Skip to content

Commit 8f16579

Browse files
authored
Merge pull request #8 from opf/create-ruby-gem
Create ruby gem
2 parents 6933404 + cb6e888 commit 8f16579

8 files changed

Lines changed: 18 additions & 13 deletions

File tree

.changeset/neat-masks-swim.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openproject/primer-view-components': patch
3+
---
4+
5+
Preparation for the gem creation

.github/workflows/release_notification.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Release notification
22
on:
3-
release:
4-
types:
5-
- published
3+
pull_request:
4+
branches:
5+
- DO_NOT_EXECUTE_THIS_WORKFLOW
66

77
jobs:
88
notify:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ jobs:
229229
230230
Our visual comparison tests found UI differences. Please review the differences by viewing the files changed tab to ensure that the changes were intentional.
231231
232-
[Review visual differences](https://github.com/primer/view_components/pull/${{ github.event.number }}/files?file-filters%5B%5D=.png&show-viewed-files=false)
232+
[Review visual differences](https://github.com/opf/primer_view_components/pull/${{ github.event.number }}/files?file-filters%5B%5D=.png&show-viewed-files=false)
233233
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
234234
COMMENT_IDENTIFIER: 'visual-comparison-diff'
235235
- uses: actions/upload-artifact@v3

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
primer_view_components (0.6.1)
4+
openproject_primer_view_components (0.6.1)
55
actionview (>= 5.0.0)
66
activesupport (>= 5.0.0)
77
openproject-octicons (>= 19.6.7)
@@ -253,7 +253,7 @@ DEPENDENCIES
253253
matrix (~> 0.4.2)
254254
minitest (< 5.19)
255255
mocha
256-
primer_view_components!
256+
openproject_primer_view_components!
257257
pry
258258
puma (~> 6.3.0)
259259
rack (~> 2.2)

demo/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ gem "puma", "~> 6.3.0"
3636
# Reduces boot times through caching; required in config/boot.rb
3737
gem "bootsnap", ">= 1.4.2", require: false
3838

39-
gem "primer_view_components", path: "../"
39+
gem "openproject_primer_view_components", path: "../"
4040
gem "view_component", '>= 3.1.0'
4141
gem "lookbook", "~> 2.0.5" unless rails_version.to_f < 7
4242

demo/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
primer_view_components (0.6.1)
4+
openproject_primer_view_components (0.6.1)
55
actionview (>= 5.0.0)
66
activesupport (>= 5.0.0)
77
openproject-octicons (>= 19.6.7)
@@ -392,7 +392,7 @@ DEPENDENCIES
392392
kuby-kind (~> 0.1)
393393
listen
394394
lookbook (~> 2.0.5)
395-
primer_view_components!
395+
openproject_primer_view_components!
396396
pry-byebug
397397
puma (~> 6.3.0)
398398
rack-cors

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
"main": "app/assets/javascripts/primer_view_components.js",
66
"module": "app/components/primer/primer.js",
77
"types": "app/components/primer/primer.d.ts",
8-
"repository": "primer/view_components",
8+
"repository": "opf/primer_view_components",
99
"keywords": [
1010
"rails",
1111
"view_components",
1212
"components",
1313
"library",
1414
"design-system"
1515
],
16-
"author": "GitHub, Inc.",
16+
"author": "GitHub, Inc. && OpenProject GmbH",
1717
"license": "MIT",
1818
"homepage": "https://github.com/opf/primer_view_components#readme",
1919
"bugs": {

primer_view_components.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
55
require "primer/view_components/version"
66

77
Gem::Specification.new do |spec|
8-
spec.name = "primer_view_components"
8+
spec.name = "openproject_primer_view_components"
99
spec.version = Primer::ViewComponents::VERSION::STRING
10-
spec.authors = ["GitHub Open Source"]
10+
spec.authors = ["GitHub Open Source", "OpenProject GmbH"]
1111

1212
spec.summary = "ViewComponents of the Primer Design System for OpenProject"
1313
spec.license = "MIT"

0 commit comments

Comments
 (0)