factory_bot_instrumentation 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1499c25b1b236fdbc39ab9a3e410a34d93741bc11cc9dabb3a2dc9764e5ba1e0
4
- data.tar.gz: 94b23f771a4cc3ad31ab0c77b0c21b482cb6e2fc4a28f12c98d623d295f02864
3
+ metadata.gz: '095790396136e517f5ddc481cc32bfa51699d18bf4ade73f2fa5c373da852b31'
4
+ data.tar.gz: 53bdd05bd081e8518480cee2b31ffad94456f1d9d02d1666a50ade83271079da
5
5
  SHA512:
6
- metadata.gz: 7912b58231c9580d40c7bc012c79be35497f45b6a0c26e0fe0b128deeb8d006251d6fdf8d35056eb365353c3e9c2d3296d28c3a1591853c6fa383770641a34ff
7
- data.tar.gz: 07b190052b9e64db90020e0aecc0211b3bec93e0f4e273dcd44a26765e62828d473a7f760a26e6f6514c142527833ef55a49ab741399a1f094f9f4f2731ebb01
6
+ metadata.gz: ced446c93a59a9a1eb7e75c282ab1ecd5d5a7dc44f9d57bb830d2a6dbb9dbdd5ec380e45d2f3c8b76d5a6dff4dffd7f425e1b0ae4dd331c31d890f524daaf438
7
+ data.tar.gz: 5a612b2db37e5201dc2c865ac532962827c4ba3ecf65e912fa56589dc467bedb466457787aa053bb96a7ee2e3227635fa3da893467b05549a1fef3b83a1fe742
@@ -46,3 +46,9 @@ jobs:
46
46
 
47
47
  - name: Push the release Git commit/tag and package to the registry
48
48
  run: make release
49
+
50
+ - name: Build and upload application documentation
51
+ run: api-docs && coverage --docs-only
52
+ env:
53
+ WORKFLOW_DISPATCH_TOKEN: '${{ secrets.WORKFLOW_DISPATCH_TOKEN }}'
54
+ GITHUB_TAG: 'v${{ github.event.inputs.VERSION }}'
@@ -45,21 +45,3 @@ jobs:
45
45
 
46
46
  - name: Upload the code coverage report
47
47
  run: coverage
48
-
49
- trigger-docs:
50
- name: Trigger the documentation upload
51
- runs-on: ubuntu-22.04
52
- timeout-minutes: 2
53
- needs: test
54
- if: github.ref == 'refs/heads/master'
55
- steps:
56
- - name: Prepare the virtual environment
57
- uses: hausgold/actions/ci@master
58
- with:
59
- clone_token: '${{ secrets.CLONE_TOKEN }}'
60
- settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
61
- settings: '${{ github.repository }}'
62
- target: ci/noop
63
-
64
- - name: Trigger the documentation upload
65
- run: workflow documentation
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 1.2.1
6
+
7
+ * Added API docs building to continuous integration (#21)
8
+
5
9
  ### 1.2.0
6
10
 
7
11
  * Dropped support for Ruby <2.7 (#20)
@@ -4,7 +4,7 @@ module FactoryBot
4
4
  # The gem version details.
5
5
  module Instrumentation
6
6
  # The version of the +factory_bot_instrumentation+ gem
7
- VERSION = '1.2.0'
7
+ VERSION = '1.2.1'
8
8
 
9
9
  class << self
10
10
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_bot_instrumentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-08 00:00:00.000000000 Z
11
+ date: 2024-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: factory_bot
@@ -66,7 +66,6 @@ extensions: []
66
66
  extra_rdoc_files: []
67
67
  files:
68
68
  - ".editorconfig"
69
- - ".github/workflows/documentation.yml"
70
69
  - ".github/workflows/release.yml"
71
70
  - ".github/workflows/test.yml"
72
71
  - ".gitignore"
@@ -1,40 +0,0 @@
1
- name: Build Documentation
2
- on:
3
- repository_dispatch:
4
- types: [documentation]
5
-
6
- concurrency:
7
- group: 'docs'
8
-
9
- jobs:
10
- docs:
11
- name: Build gem documentation
12
- runs-on: ubuntu-22.04
13
- timeout-minutes: 5
14
- steps:
15
- - uses: actions/checkout@v4
16
-
17
- - name: Install the correct Ruby version
18
- uses: ruby/setup-ruby@v1
19
- with:
20
- ruby-version: 2.7
21
- bundler-cache: true
22
- rubygems: '3.4.22'
23
-
24
- - name: Prepare the virtual environment
25
- uses: hausgold/actions/ci@master
26
- with:
27
- clone_token: '${{ secrets.CLONE_TOKEN }}'
28
- settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
29
- settings: '${{ github.repository }}'
30
- target: ci/gem-test
31
-
32
- - name: Build gem documentation
33
- run: make docs
34
-
35
- - name: Upload the code coverage report
36
- run: coverage
37
-
38
- - name: Add this job to the commit status
39
- run: commit-status '${{ job.status }}'
40
- if: always()