barsoom_utils 0.1.1 → 0.1.1.9
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 +4 -4
- data/.github/workflows/ci.yml +51 -0
- data/.gitignore +1 -0
- data/VERSION +1 -0
- data/barsoom_utils.gemspec +2 -4
- data/lib/barsoom_utils/version.rb +1 -1
- metadata +7 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d76365699d8611f9d3a8a4a1679e7a088a27ade04978799c04f7aef93675c28e
|
4
|
+
data.tar.gz: e6836fc1868c583fbfd6fd72755fdcc55622fcd3a6ea772cb048de63d7ea7780
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b87a79da272dfcac1c506d8403b80844d0c3116eaac217d9a87a7ff3980dadcb0772c9c25e1c19713d45cb56597d751e7ff1e9c605ad70718c70d8001060924c
|
7
|
+
data.tar.gz: 755719832dcfe3da93fa5ace2041848815f6bf639791be98a38ec98ab8346ad61e505f9fb6f2fec3d8cdcfa781512090f34b2106436886b59427b5180e12d719
|
@@ -0,0 +1,51 @@
|
|
1
|
+
name: Ruby CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- master
|
7
|
+
pull_request:
|
8
|
+
branches:
|
9
|
+
- master
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
test:
|
13
|
+
runs-on: ubuntu-latest
|
14
|
+
strategy:
|
15
|
+
matrix:
|
16
|
+
ruby-version:
|
17
|
+
- "3.0"
|
18
|
+
- "2.7"
|
19
|
+
- "2.6"
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v2
|
22
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
23
|
+
uses: ruby/setup-ruby@v1
|
24
|
+
with:
|
25
|
+
ruby-version: ${{ matrix.ruby-version }}
|
26
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
27
|
+
- name: Run tests
|
28
|
+
run: bundle exec rake
|
29
|
+
|
30
|
+
release:
|
31
|
+
needs: test
|
32
|
+
environment: Rubygems
|
33
|
+
runs-on: ubuntu-latest
|
34
|
+
steps:
|
35
|
+
- uses: actions/checkout@v2
|
36
|
+
- name: Set up Ruby
|
37
|
+
uses: ruby/setup-ruby@v1
|
38
|
+
with:
|
39
|
+
ruby-version: "3.0"
|
40
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
41
|
+
- name: Publish gem
|
42
|
+
run: |
|
43
|
+
mkdir -p $HOME/.gem
|
44
|
+
touch $HOME/.gem/credentials
|
45
|
+
chmod 0600 $HOME/.gem/credentials
|
46
|
+
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
|
47
|
+
sed -i "1s/.*/&.${GITHUB_RUN_NUMBER}/" VERSION # Add build number to version
|
48
|
+
gem build *.gemspec
|
49
|
+
gem push *.gem
|
50
|
+
env:
|
51
|
+
RUBYGEMS_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}"
|
data/.gitignore
CHANGED
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.1.9
|
data/barsoom_utils.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
# frozen_string_literal: true
|
3
|
-
lib = File.expand_path("
|
3
|
+
lib = File.expand_path("lib", __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
require "barsoom_utils/version"
|
6
6
|
|
@@ -10,13 +10,11 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.authors = [ "Tomas Skogberg" ]
|
11
11
|
spec.email = [ "tomas.skogberg@gmail.com" ]
|
12
12
|
spec.summary = %q{Various helpful utils}
|
13
|
-
spec.homepage = "
|
13
|
+
spec.homepage = "https://dev.auctionet.com/"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.metadata = { "rubygems_mfa_required" => "true" }
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0")
|
18
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
18
|
spec.require_paths = [ "lib" ]
|
21
19
|
|
22
20
|
spec.add_development_dependency "bundler"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: barsoom_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1
|
4
|
+
version: 0.1.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Skogberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -157,12 +157,14 @@ executables: []
|
|
157
157
|
extensions: []
|
158
158
|
extra_rdoc_files: []
|
159
159
|
files:
|
160
|
+
- ".github/workflows/ci.yml"
|
160
161
|
- ".gitignore"
|
161
162
|
- ".rspec"
|
162
163
|
- ".rubocop.yml"
|
163
164
|
- Gemfile
|
164
165
|
- README.md
|
165
166
|
- Rakefile
|
167
|
+
- VERSION
|
166
168
|
- barsoom_utils.gemspec
|
167
169
|
- lib/barsoom_utils.rb
|
168
170
|
- lib/barsoom_utils/exception_notifier.rb
|
@@ -178,7 +180,7 @@ files:
|
|
178
180
|
- spec/ping_health_check_spec.rb
|
179
181
|
- spec/spec/debug_helpers_spec.rb
|
180
182
|
- spec/spec_helper.rb
|
181
|
-
homepage:
|
183
|
+
homepage: https://dev.auctionet.com/
|
182
184
|
licenses:
|
183
185
|
- MIT
|
184
186
|
metadata:
|
@@ -198,13 +200,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
200
|
- !ruby/object:Gem::Version
|
199
201
|
version: '0'
|
200
202
|
requirements: []
|
201
|
-
rubygems_version: 3.2.
|
203
|
+
rubygems_version: 3.2.22
|
202
204
|
signing_key:
|
203
205
|
specification_version: 4
|
204
206
|
summary: Various helpful utils
|
205
|
-
test_files:
|
206
|
-
- spec/exception_notifier_spec.rb
|
207
|
-
- spec/feature_toggle_spec.rb
|
208
|
-
- spec/ping_health_check_spec.rb
|
209
|
-
- spec/spec/debug_helpers_spec.rb
|
210
|
-
- spec/spec_helper.rb
|
207
|
+
test_files: []
|