rubocop-itsmycargo 0.2.10 → 20.09.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: 2ec4f385dd23dc56698e876527cccb2c6fa2bc8331d768e52cb1376251d32f20
4
- data.tar.gz: 3d8dd8fe79ccd59d56cef56952f1cc459a8da9dfaa9f5baa015513fafcfa36e3
3
+ metadata.gz: bb5a2e246ae53b8de04b16fae9bb4e91238ce9c3cb49aaf7727d06daff6e8805
4
+ data.tar.gz: d0c7485160bc5724d213e84047cdc0886d466b95d306b592e028b03b1fd3fe4f
5
5
  SHA512:
6
- metadata.gz: 83f6eb784a5c829e7e0b8a6e51136a1239713faaded61a29255978a2730b89014280df8ae5a301c87da16c270db6183a596436f25c397f110355e5eae7b74d78
7
- data.tar.gz: 206649d1899afa1b032c0f3a65ab6a7473b170827178da30eb98920b553f9fcbc96b5d0dbbc600aa90cde38b2b8965e4bf2fe07b64625e6c64b91f550244b9dd
6
+ metadata.gz: 25fff13abba3ad35a4a358549d15761b27b2697d98721064a36513e0bcdbe550d8865fd2c7acce522c100280e16f330a1fdd899fa4708812c9677a618a3f1ae7
7
+ data.tar.gz: 9bee96b3b3e22f8bc34c997a50aad5bc491adf2d9150d22e5e637dd24f479a2b44170f0d0d42842e9599a1322245610996fdc85b318ed8cac933426341f4306f
@@ -0,0 +1,22 @@
1
+ name: Publish Gem
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "master"
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+
11
+ steps:
12
+ - uses: actions/checkout@v2
13
+ - run: |
14
+ git config user.name github-actions
15
+ git config user.email github-actions@github.com
16
+
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/Rakefile CHANGED
@@ -1,12 +1,3 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "bump/tasks"
4
3
  require "bundler/gem_tasks"
5
- require "rspec/core/rake_task"
6
-
7
- Bump.tag_by_default = true
8
- Bump.changelog = true
9
-
10
- RSpec::Core::RakeTask.new(:spec)
11
-
12
- task default: :spec
@@ -2,11 +2,10 @@
2
2
 
3
3
  lib = File.expand_path("lib", __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "rubocop/itsmycargo/version"
6
5
 
7
6
  Gem::Specification.new do |spec|
8
7
  spec.name = "rubocop-itsmycargo"
9
- spec.version = Rubocop::Itsmycargo::VERSION
8
+ spec.version = "#{Time.now.strftime("%y.%m")}.#{ENV.fetch("GITHUB_RUN_NUMBER", "0")}"
10
9
  spec.authors = ["Mikko Kokkonen"]
11
10
  spec.email = ["oss@itsmycargo.com"]
12
11
 
@@ -24,13 +23,11 @@ Gem::Specification.new do |spec|
24
23
  end
25
24
  spec.bindir = "exe"
26
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
- spec.require_paths = ["lib"]
28
26
 
29
27
  spec.add_dependency "rubocop-rails", "2.8.0"
30
28
  spec.add_dependency "rubocop-rspec", "1.43.2"
31
29
  spec.add_dependency "standard", "0.6.0"
32
30
 
33
- spec.add_development_dependency "bump", "~> 0.9"
34
31
  spec.add_development_dependency "bundler", "~> 2.1"
35
32
  spec.add_development_dependency "rake", "~> 13.0"
36
33
  spec.add_development_dependency "rspec", "~> 3.0"
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.2.10
4
+ version: 20.09.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikko Kokkonen
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.6.0
55
- - !ruby/object:Gem::Dependency
56
- name: bump
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '0.9'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '0.9'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: bundler
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -116,6 +102,7 @@ extensions: []
116
102
  extra_rdoc_files: []
117
103
  files:
118
104
  - ".github/dependabot.yml"
105
+ - ".github/workflows/publish.yml"
119
106
  - ".gitignore"
120
107
  - ".rspec"
121
108
  - ".rubocop.yml"
@@ -133,8 +120,6 @@ files:
133
120
  - config/rails.yml
134
121
  - config/rspec.yml
135
122
  - docs/Guide.adoc
136
- - lib/rubocop/itsmycargo.rb
137
- - lib/rubocop/itsmycargo/version.rb
138
123
  - rubocop-itsmycargo.gemspec
139
124
  homepage: https://github.com/itsmycargo/rubocop-itsmycargo
140
125
  licenses:
@@ -157,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
142
  - !ruby/object:Gem::Version
158
143
  version: '0'
159
144
  requirements: []
160
- rubygems_version: 3.1.2
145
+ rubygems_version: 3.0.3
161
146
  signing_key:
162
147
  specification_version: 4
163
148
  summary: RuboCop Styles and Configuration for ItsMyCargo.
@@ -1,3 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "rubocop/itsmycargo/version"
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Rubocop
4
- module Itsmycargo
5
- VERSION = "0.2.10"
6
- end
7
- end