rubocop-itsmycargo 0.1.6 → 0.1.7

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: f35ff8e88cf95f8f9ae691f5d03f4771d9c0a74a84f3451780cd42cd11374cff
4
- data.tar.gz: f911c92f2f38c9e968406b5c68e2ec6e78d7c02aa71c92ebd828ce0ad213f5af
3
+ metadata.gz: 2d3a5f0f56afdbba7bd7ef747f4ec070595d7ad5ac6a1b901650c264dffd2327
4
+ data.tar.gz: 3302ccddfc3042d45bdbb86cc2a7e603906aa5ee26c9d43a988d2191968b66ce
5
5
  SHA512:
6
- metadata.gz: 60fb0d56281c340664eab71698ae9747a963943ee6de01b1fcee3453a07c76ab96e7a030c5bd72c18e2b1f4fbe7a9263c170adb2916264d608295b16e6381064
7
- data.tar.gz: 676898b271b8a92a0fa90ffd934c6d4ad7828edc8ac710cf680812d6a7cbb492c6fb3de9f357853130e49e8da693aee178672ebdf4cca7c8031c81d925264b93
6
+ metadata.gz: 4a6e1524f9fb6708a1fb4881d0451769b3d339d71d5cff1c0bff68837e4333224dbcac877ad30b53bcf8f228f94e66c424f73af619f76485896742b7741ddc61
7
+ data.tar.gz: 69044a976089d81e3fb0869129a6a1cde735ad5a0098676f0e511fc8a5f154c37cc9da1c78a9a540b87b42f4457ef2fcadc2ae25a7d878d234006346d1d89179
@@ -1,13 +1,16 @@
1
- name: Ruby Gems
1
+ name: Version
2
2
 
3
3
  on:
4
4
  push:
5
+ paths-ignore:
6
+ - 'lib/rubocop/itsmycargo/version.rb'
7
+ - 'CHANGELOG.md'
5
8
  branches:
6
9
  - master
7
10
 
8
11
  jobs:
9
12
  build:
10
- name: Build & Publish
13
+ name: Bump
11
14
  runs-on: ubuntu-latest
12
15
 
13
16
  steps:
@@ -21,25 +24,3 @@ jobs:
21
24
  - run: bundle
22
25
  - run: rake bump:patch
23
26
  - run: git push --follow-tags
24
-
25
- - name: Publish to RubyGems
26
- run: |
27
- mkdir -p $HOME/.gem
28
- touch $HOME/.gem/credentials
29
- chmod 0600 $HOME/.gem/credentials
30
- printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
31
- gem build *.gemspec
32
- gem push *.gem
33
- env:
34
- GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
35
-
36
- - name: Publish to GitHub Package Registry
37
- run: |
38
- mkdir -p $HOME/.gem
39
- touch $HOME/.gem/credentials
40
- chmod 0600 $HOME/.gem/credentials
41
- echo ":github: Bearer GH_TOKEN" >> $HOME/.gem/credentials
42
- gem build *.gemspec
43
- gem push --key github --host https://rubygems.pkg.github.com/itsmycargo *.gem
44
- env:
45
- GH_TOKEN: ${{secrets.GPR_AUTH_TOKEN}}
@@ -0,0 +1,41 @@
1
+ name: Publish
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ tags:
8
+ - v*
9
+
10
+ jobs:
11
+ build:
12
+ name: Release
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - uses: actions/setup-ruby@v1
18
+ with:
19
+ ruby-version: '2.7'
20
+ - name: Publish to RubyGems
21
+ run: |
22
+ mkdir -p $HOME/.gem
23
+ touch $HOME/.gem/credentials
24
+ chmod 0600 $HOME/.gem/credentials
25
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
26
+ gem build *.gemspec
27
+ gem push *.gem
28
+ env:
29
+ GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
30
+
31
+ - name: Publish to GitHub Package Registry
32
+ run: |
33
+ mkdir -p $HOME/.gem
34
+ touch $HOME/.gem/credentials
35
+ chmod 0600 $HOME/.gem/credentials
36
+ printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
37
+ gem build *.gemspec
38
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
39
+ env:
40
+ GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
41
+ OWNER: itsmycargo
data/CHANGELOG.md CHANGED
@@ -1,9 +1,4 @@
1
1
  ### Next
2
- ### v0.1.6-rc-rc - 2020-02-13
3
- ### v0.1.5-rc-rc - 2020-02-13
4
- ### v0.1.10-rc-rc - 2020-02-13
5
- ### v0.1.9-rc-rc - 2020-02-13
6
- ### v0.1.8-rc-rc - 2020-02-13
7
2
  ### v0.1.7-rc-rc - 2020-02-13
8
3
  ### v0.1.6-rc-rc - 2020-02-13
9
4
  ### v0.1.5-rc-rc - 2020-02-13
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Itsmycargo
5
- VERSION = '0.1.6'
5
+ VERSION = '0.1.7'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-itsmycargo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikko Kokkonen
@@ -130,6 +130,7 @@ extensions: []
130
130
  extra_rdoc_files: []
131
131
  files:
132
132
  - ".github/workflows/bump.yml"
133
+ - ".github/workflows/publish.yml"
133
134
  - ".gitignore"
134
135
  - ".rspec"
135
136
  - ".rubocop.yml"