activejob-traceable 0.3.6 → 0.4.0

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: c0dc49ffddefa127f83ab5d5e0c4a60c276ca7b7d86d96f976f43766fde9a7ac
4
- data.tar.gz: 484dd54f1e047bde532909c076deae8f774b7a1b8c69651ae77a59caa3b38062
3
+ metadata.gz: ff9134281999c7d1295ecf6539f6822c3b5236da86152b551f84b47ef3c9c103
4
+ data.tar.gz: 1709730aaf3eb5ff6dc4f6594b4c0c23ec6b11cddbc2e7145344a22dbdbc290f
5
5
  SHA512:
6
- metadata.gz: d7a03098d61968eff1af46fb9f03e5268db5bf2bbb4131b3bff3fa220babf2562986582f8c516442daaae8f1ad97b79c249ef7036afbd5994eeaa919c7e27828
7
- data.tar.gz: 468de74f9c8373331ef0557400c8f7f7a29cc277f6b299f638ed9571ab584fa7450d4414cbad1d115b957f31511fa94dbecca2e0033df9da9099b2b42e34228f
6
+ metadata.gz: 3c3c86bd7267e70dbc4ae2c9b985a2f0c63d53d330cdc37f1ad0b01716c370b5d5025b089bbfb0191bf29e2c0a178b2d56c5c7cd6d7c0dee6c350c577388cb20
7
+ data.tar.gz: 4fa36116a98bff5877512b2da25cf8d2b4ce50e6018b496e31f664a60397e47c2d0b723f56c7ff85618369d4b0c9721708b6e518f42c61c7c908317005bba586
@@ -0,0 +1,32 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '*'
7
+
8
+ jobs:
9
+ build:
10
+ name: Build and publish
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: read
14
+ packages: write
15
+
16
+ steps:
17
+ - uses: actions/checkout@v3
18
+ - name: Set up Ruby 3.2
19
+ uses: ruby/setup-ruby@v1
20
+ with:
21
+ ruby-version: 3.2.2
22
+
23
+ - name: Publish to RubyGems
24
+ run: |
25
+ mkdir -p $HOME/.gem
26
+ touch $HOME/.gem/credentials
27
+ chmod 0600 $HOME/.gem/credentials
28
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
29
+ gem build *.gemspec
30
+ gem push *.gem
31
+ env:
32
+ GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
@@ -0,0 +1,27 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches: ["master"]
6
+ pull_request:
7
+ branches: ["master"]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ test:
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ matrix:
17
+ ruby-version: ['3.0', '3.1', '3.2']
18
+
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - name: Set up Ruby
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+ bundler-cache: true # runs 'bundle install' and caches installed gems automatically
26
+ - name: Run tests
27
+ run: bundle exec rake
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ ![Gem Version](https://badge.fury.io/rb/activejob-traceable.svg) ![CI Status](https://github.com/qonto/activejob-traceable/actions/workflows/tests.yml/badge.svg)
2
+
1
3
  # ActiveJob::Traceable
2
4
 
3
5
  Patches ActiveJob to add attribute `tracing_info`, which is added as log's tag.
@@ -47,7 +49,7 @@ Once configured, works out of the box.
47
49
 
48
50
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
49
51
 
50
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
52
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, make sure you updated the version number in `version.rb`, and then create a new release and tag from github.
51
53
 
52
54
  ## Contributing
53
55
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveJob
4
4
  module Traceable
5
- VERSION = '0.3.6'
5
+ VERSION = '0.4.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activejob-traceable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Qonto team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-02 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob
@@ -94,13 +94,15 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '3.8'
97
- description:
97
+ description:
98
98
  email:
99
99
  - backend@qonto.eu
100
100
  executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - ".github/workflows/rubygems.yml"
105
+ - ".github/workflows/tests.yml"
104
106
  - ".gitignore"
105
107
  - ".rspec"
106
108
  - ".travis.yml"
@@ -117,7 +119,7 @@ homepage: https://github.com/qonto/activejob-traceable
117
119
  licenses:
118
120
  - MIT
119
121
  metadata: {}
120
- post_install_message:
122
+ post_install_message:
121
123
  rdoc_options: []
122
124
  require_paths:
123
125
  - lib
@@ -133,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
135
  version: '0'
134
136
  requirements: []
135
137
  rubygems_version: 3.4.10
136
- signing_key:
138
+ signing_key:
137
139
  specification_version: 4
138
140
  summary: Patches ActiveJob to add trace_id attribute.
139
141
  test_files: []