barkibu-kb 0.16.1 → 0.16.2

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: 634ba54978f920d7ec79cef88563cd4f4b3d9944a5e83f6daece7ffee2de57ca
4
- data.tar.gz: fc0c3993067c3e997ef7b8c08b64ab3824b436318aa4b8f432a5b77ef05a1a7c
3
+ metadata.gz: fb67cd61d20540319a057c991e8d3057f7de137f34b766cd083a00f503587168
4
+ data.tar.gz: a8a9eede090992a9aa54b3f7eacb6e4e3840b6f3932d809a4bfa8315f38dde61
5
5
  SHA512:
6
- metadata.gz: 6690757c91eededb3fdcbd1d4cadd2170d892fc66f250a1a3a289e7e9cf817e407a3bae44751864fa17f3a8025af0ce27a97a994fc9dc7efffbc4a1231e0ac8a
7
- data.tar.gz: 23513bb572543d12c0292a350fb8b9beebb4db128943546b9eedf6170c8891991f6e93479d251eeab1f0599f066187668ccdb3f7399f06d7b7d80374564be33f
6
+ metadata.gz: 9139e56115d588e201d0247761a429fab0c01fc3ea9676eb05cc211915a72ad45077ca4996c39f9b080413f81d6263636ba2a6a5fefbb815907bb47e7b8f2015
7
+ data.tar.gz: 6e78fed61516a203cf2e07db8c6e088fa242a4fbe083cf7380f8e6e3d8e55b660a9a5fe7395ff52197be90b5cd21002e5b32d29e886cddd5e7a90b8ea46c3826
@@ -0,0 +1,22 @@
1
+ name: Publish Gem
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+
10
+ steps:
11
+ - uses: actions/checkout@v1
12
+
13
+ - name: Github whoami
14
+ run: |
15
+ git config user.name 'Barkibot'
16
+ git config user.email 'dev+bot@barkibu.com'
17
+ - name: Release Gem
18
+ uses: cadwallion/publish-rubygems-action@master
19
+ env:
20
+ GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
21
+ RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
22
+ RELEASE_COMMAND: rake release
data/.rubocop.yml CHANGED
@@ -27,7 +27,7 @@ Metrics/BlockLength:
27
27
 
28
28
  Naming/FileName:
29
29
  Exclude:
30
- - 'lib/kb-*.rb'
30
+ - 'lib/barkibu-kb*.rb'
31
31
 
32
32
  Style/FrozenStringLiteralComment:
33
33
  Enabled: false
data/CHANGELOG.md CHANGED
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.16.2]
8
+ - Rename gems to barkibu-kb / barkibu-kb-fake
9
+
7
10
  ## [0.16.0]
8
11
  - Add `Hubspot` model to retrieve information from [Hubspot Relationship endpoint](https://knowledge-base-staging.herokuapp.com/swagger-ui/index.html#/Hubspot)
9
12
  - Change `husbpot_id` attribute on PetContract, now it comes from the Hubspot Relationship
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- barkibu-kb (0.16.1)
4
+ barkibu-kb (0.16.2)
5
5
  activemodel (>= 4.0.2)
6
6
  activerecord
7
7
  activesupport (>= 3.0.0)
@@ -10,8 +10,8 @@ PATH
10
10
  faraday-http
11
11
  faraday_middleware
12
12
  i18n
13
- barkibu-kb-fake (0.16.1)
14
- barkibu-kb (= 0.16.1)
13
+ barkibu-kb-fake (0.16.2)
14
+ barkibu-kb (= 0.16.2)
15
15
  countries
16
16
  sinatra
17
17
  webmock
data/Rakefile CHANGED
@@ -18,7 +18,6 @@ end
18
18
  desc 'Tags version, pushes to remote, and pushes gem'
19
19
  task release: :build do
20
20
  sh 'git', 'tag', '-m', changelog, "v#{KB::VERSION}"
21
- sh 'git push origin master'
22
21
  sh "git push origin v#{KB::VERSION}"
23
22
  sh 'ls pkg/*.gem | xargs -n 1 gem push'
24
23
  end
@@ -34,8 +34,8 @@ Gem::Specification.new do |spec|
34
34
  spec.require_paths = ['lib']
35
35
  spec.required_ruby_version = '>= 2.6'
36
36
 
37
- spec.add_runtime_dependency 'countries'
38
37
  spec.add_runtime_dependency 'barkibu-kb', KB::VERSION
38
+ spec.add_runtime_dependency 'countries'
39
39
  spec.add_runtime_dependency 'sinatra'
40
40
  spec.add_runtime_dependency 'webmock'
41
41
  end
data/lib/barkibu-kb.rb CHANGED
@@ -1,4 +1,3 @@
1
- require'byebug'
2
1
  require 'kb/version'
3
2
  require 'active_model'
4
3
  require 'active_record'
data/lib/kb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module KB
2
- VERSION = '0.16.1'.freeze
2
+ VERSION = '0.16.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barkibu-kb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Léo Figea
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-10 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable
@@ -229,6 +229,7 @@ extensions: []
229
229
  extra_rdoc_files: []
230
230
  files:
231
231
  - ".env.example"
232
+ - ".github/workflows/release.yaml"
232
233
  - ".gitignore"
233
234
  - ".rspec"
234
235
  - ".rubocop.yml"