rubocop-itsmycargo 0.1.4 → 0.1.5

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: 291f01e78ed3fd313d3f8ea3537e459a1381a6e0716eaf3d121b3c1fe19f80b1
4
- data.tar.gz: '052868c137b9dec6759ceea47b93cf65c26edfc5ce022a5d4e932f623ac1f49b'
3
+ metadata.gz: edac930c8c469641d880c16601a35a113965458dce90cd2c474cf656b4cb7600
4
+ data.tar.gz: 8ac12532ec873088e79b0cd577e7b3902b1b11b1cf1140fb40d9b7f0fd72d430
5
5
  SHA512:
6
- metadata.gz: 956b06fe6edacd2364c28ae80a44e2a2aeba09a2b19d9b3e93136e943e67107a7271b9c6f68de0b2ae4e1a3127b7cd713175e8846f39757c83034ae24db54b66
7
- data.tar.gz: f0dbdc36593cdb2dff04b7af5ba5e31156b5e7d76b64f7993faf0372bd12e69cca804f7d34b30920eb2ef40769c7a91e1001c894a606cec60760245708788355
6
+ metadata.gz: d9a928bc19bc654178a12cf778ce9b6c5ef22da0ec31919024b8eba17894552b8f03e8d216e74bbe5cf29f8125f1b974f081b156f2e663e630544fd1a033ddea
7
+ data.tar.gz: 951bcf1ce75a1b7f8f317e18f886443e105b6418e31bc258e4e85333f34eacf3d32dc8cb3fd445a73c3b2fe48fd8551a456628dd998c867048c370c93d49a1a9
@@ -0,0 +1,49 @@
1
+ name: Ruby Gems
2
+
3
+ on:
4
+ push:
5
+ paths-ignore:
6
+ - 'lib/rubocop/itsmycargo/version.rb'
7
+ - 'CHANGELOG.md'
8
+ branches:
9
+ - master
10
+
11
+ jobs:
12
+ build:
13
+ name: Build & Publish
14
+ runs-on: ubuntu-latest
15
+
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - uses: actions/setup-ruby@v1
19
+ with:
20
+ ruby-version: '2.7'
21
+ - run: |
22
+ git config --local user.email "dev-services@itsmycargo.com"
23
+ git config --local user.name "ItsMyCargo"
24
+ - run: bundle
25
+ - run: rake bump:patch
26
+ - run: git push --follow-tags
27
+
28
+ - name: Publish to RubyGems
29
+ run: |
30
+ mkdir -p $HOME/.gem
31
+ touch $HOME/.gem/credentials
32
+ chmod 0600 $HOME/.gem/credentials
33
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
34
+ gem build *.gemspec
35
+ gem push *.gem
36
+ env:
37
+ GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
38
+
39
+ - name: Publish to GitHub Package Registry
40
+ run: |
41
+ mkdir -p $HOME/.gem
42
+ touch $HOME/.gem/credentials
43
+ chmod 0600 $HOME/.gem/credentials
44
+ printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
45
+ gem build *.gemspec
46
+ gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
47
+ env:
48
+ GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
49
+ OWNER: itsmycargo
data/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ ### Next
2
+ ### v0.1.5-rc-rc - 2020-02-13
3
+ ### v0.1.10-rc-rc - 2020-02-13
4
+ ### v0.1.9-rc-rc - 2020-02-13
5
+ ### v0.1.8-rc-rc - 2020-02-13
6
+ ### v0.1.7-rc-rc - 2020-02-13
7
+ ### v0.1.6-rc-rc - 2020-02-13
8
+ ### v0.1.5-rc-rc - 2020-02-13
9
+ ### v0.1.5-rc-rc - 2020-02-13
10
+ ### v0.1.4-rc - 2020-02-13
11
+
12
+ ### v0.1.4 - 2020-02-11
13
+ - allow more lines for rspec
data/Rakefile CHANGED
@@ -1,8 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'bump/tasks'
3
4
  require 'bundler/gem_tasks'
4
5
  require 'rspec/core/rake_task'
5
6
 
7
+ Bump.tag_by_default = true
8
+ Bump.changelog = true
9
+
6
10
  RSpec::Core::RakeTask.new(:spec)
7
11
 
8
12
  task default: :spec
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Itsmycargo
5
- VERSION = '0.1.4'
5
+ VERSION = '0.1.5'
6
6
  end
7
7
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.name = 'rubocop-itsmycargo'
9
9
  spec.version = Rubocop::Itsmycargo::VERSION
10
10
  spec.authors = ['Mikko Kokkonen']
11
- spec.email = ['mikko.kokkonen@itsmycargo.com']
11
+ spec.email = ['oss@itsmycargo.com']
12
12
 
13
13
  spec.summary = 'RuboCop Styles and Configuration for ItsMyCargo.'
14
14
  spec.homepage = 'https://github.com/itsmycargo/rubocop-itsmycargo'
@@ -26,11 +26,12 @@ Gem::Specification.new do |spec|
26
26
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
27
  spec.require_paths = ['lib']
28
28
 
29
- spec.add_dependency 'rubocop', '~> 0.77'
30
- spec.add_dependency 'rubocop-performance', '~> 1.5'
31
- spec.add_dependency 'rubocop-rails', '~> 2.4'
32
- spec.add_dependency 'rubocop-rspec', '~> 1.37'
29
+ spec.add_dependency 'rubocop'
30
+ spec.add_dependency 'rubocop-performance'
31
+ spec.add_dependency 'rubocop-rails'
32
+ spec.add_dependency 'rubocop-rspec'
33
33
 
34
+ spec.add_development_dependency 'bump', '~> 0.9'
34
35
  spec.add_development_dependency 'bundler', '~> 2.1'
35
36
  spec.add_development_dependency 'rake', '~> 13.0'
36
37
  spec.add_development_dependency 'rspec', '~> 3.0'
metadata CHANGED
@@ -1,71 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-itsmycargo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikko Kokkonen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-11 00:00:00.000000000 Z
11
+ date: 2020-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.77'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0.77'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.5'
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '1.5'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '2.4'
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '2.4'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '1.37'
61
+ version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bump
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.9'
76
+ type: :development
77
+ prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '1.37'
82
+ version: '0.9'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -110,15 +124,17 @@ dependencies:
110
124
  version: '3.0'
111
125
  description:
112
126
  email:
113
- - mikko.kokkonen@itsmycargo.com
127
+ - oss@itsmycargo.com
114
128
  executables: []
115
129
  extensions: []
116
130
  extra_rdoc_files: []
117
131
  files:
132
+ - ".github/workflows/bump.yml"
118
133
  - ".gitignore"
119
134
  - ".rspec"
120
135
  - ".rubocop.yml"
121
136
  - ".ruby-version"
137
+ - CHANGELOG.md
122
138
  - Gemfile
123
139
  - LICENSE.txt
124
140
  - README.md