netsoft-danger 0.3.5 → 0.3.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b7b3e2a4fbfa992da4950813e78d8276a5f8055b4b09987d36b62b761134f8a
4
- data.tar.gz: e7f4046f836e76a11c5fcb5e37b31acdf664e921f506f8f7312a489852418168
3
+ metadata.gz: 4a81baab75ddc9560cb393a78808eefc811ef7ac94a6607af196810e19e767a0
4
+ data.tar.gz: 2d1c26f1193a659a10de32539e849c20ef29f4aed96fb1fd60fb892b31b7e4db
5
5
  SHA512:
6
- metadata.gz: 2cde3fa84fa78f571710f9d52d4508410550f0e30d7795e5f925aca31902453e328ccb332db3fb003bcfd692a22a55a470eff5ed0859a87492131b5c3636aa76
7
- data.tar.gz: 38b61ca91282d42ba78b2bd7752f0be930fc1790f751bfb7c1e53e4772d66ca74dcf3d5e756aeb8011c6da009340bbacd436c7969f1030cce123ea406aefe8d1
6
+ metadata.gz: 5068eee24065a199329218236d15338fb1d743e1a5e59143f6399d1736445e2da5f6ef6c001d298536ad77291fbe1cbdf95bd135e13bb384f848dace6deb4f7b
7
+ data.tar.gz: 913064065503d4e902dc6aa769be625560cd9bd589c2636c06cf2e24f9ab2784d1d4c865fb5ea88bdbc939c738286fee15d254e109542ba66bd2bcacbc2ca987
data/.circleci/config.yml CHANGED
@@ -111,6 +111,10 @@ jobs:
111
111
  name: Build gem
112
112
  command: |-
113
113
  gem build *.gemspec
114
+ - run:
115
+ name: Run rubocop
116
+ command: |-
117
+ bundle exec rubocop
114
118
  - run:
115
119
  name: Run Danger
116
120
  command: |-
data/.rubocop.yml ADDED
@@ -0,0 +1,15 @@
1
+ inherit_gem:
2
+ netsoft-rubocop:
3
+ - default.yml
4
+
5
+ Style/SignalException:
6
+ Exclude:
7
+ - Dangerfile
8
+
9
+ Style/IfUnlessModifier:
10
+ Exclude:
11
+ - Dangerfile
12
+
13
+ Layout/EmptyLineAfterGuardClause:
14
+ Exclude:
15
+ - Dangerfile
data/CHANGELOG.md CHANGED
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9
9
  ### Changed
10
10
  ### Fixed
11
11
 
12
+ ## [0.3.6]
13
+ ### Added
14
+ - rubocop checks for this gem
15
+ ### Changed
16
+ - allow bundler 1.17.3
17
+
12
18
  ## [0.3.5]
13
19
  ### Added
14
20
  - package.json checks
data/Dangerfile CHANGED
@@ -1,30 +1,32 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Don't let testing shortcuts get into master by accident
2
- if Dir.exists?('spec')
3
- fail("fdescribe left in tests") if `grep -r -e '\\bfdescribe\\b' spec/ |grep -v 'danger ok' `.length > 1
4
- fail("fcontext left in tests") if `grep -r -e '\\bfcontext\\b' spec/ |grep -v 'danger ok' `.length > 1
5
- fail("fit left in tests") if `grep -r -e '\\bfit\\b' spec/ | grep -v 'danger ok' `.length > 1
6
- fail("ap left in tests") if `grep -r -e '\\bap\\b' spec/ | grep -v 'danger ok' `.length > 1
7
- fail("puts left in tests") if `grep -r -e '\\bputs\\b' spec/ | grep -v 'danger ok' `.length > 1
4
+ if Dir.exist?('spec')
5
+ fail('fdescribe left in tests') if `grep -r -e '\\bfdescribe\\b' spec/ |grep -v 'danger ok' `.length > 1
6
+ fail('fcontext left in tests') if `grep -r -e '\\bfcontext\\b' spec/ |grep -v 'danger ok' `.length > 1
7
+ fail('fit left in tests') if `grep -r -e '\\bfit\\b' spec/ | grep -v 'danger ok' `.length > 1
8
+ fail('ap left in tests') if `grep -r -e '\\bap\\b' spec/ | grep -v 'danger ok' `.length > 1
9
+ fail('puts left in tests') if `grep -r -e '\\bputs\\b' spec/ | grep -v 'danger ok' `.length > 1
8
10
  end
9
11
 
10
- if File.exists?('Gemfile')
12
+ if File.exist?('Gemfile')
11
13
  if `grep -r -e "^ *gem 'hubstaff_[a-z]\\+" Gemfile | grep -e ",.\\+[a-zA-Z]" `.length > 1
12
- fail("[gemfile] Beta hubstaff_* gems are not allowed in master/production")
14
+ fail('[gemfile] Beta hubstaff_* gems are not allowed in master/production')
13
15
  end
14
16
  if `grep -r -e "^ *gem 'hubstaff_[a-z]\\+" Gemfile | grep -e ",.\\+'[~>=]\\+.\\+[a-zA-Z]" `.length > 1
15
- fail("[gemfile] Beta hubstaff_* gems should be the exact version")
17
+ fail('[gemfile] Beta hubstaff_* gems should be the exact version')
16
18
  end
17
19
  if `grep -r -e "^ *gem 'hubstaff_[a-z]\\+" Gemfile | grep -e ",.\\+[' ][0-9.]\\+'" | grep -v '~>' `.length > 1
18
- fail("[gemfile] Release hubstaff_* gems should be using a ~> version")
20
+ fail('[gemfile] Release hubstaff_* gems should be using a ~> version')
19
21
  end
20
22
  end
21
23
 
22
24
  git.commits.each do |c|
23
- short = " ( #{c.sha[0..7]} )"
24
- has_migrations = c.diff_parent.any? {|f| f.path =~ /db\/migrate\// }
25
- has_schema_changes = c.diff_parent.any? {|f| f.path =~ /db\/schema\.rb/ }
26
- has_migration_msg = c.message =~ /\A\[migration\]/
27
- no_schema_ok = ENV['DANGER_NO_SCHEMA_OK'] || false
25
+ short = " ( #{c.sha[0..7]} )"
26
+ has_migrations = c.diff_parent.any? { |f| f.path =~ %r{db/migrate/} }
27
+ has_schema_changes = c.diff_parent.any? { |f| f.path =~ %r{db/schema\.rb} }
28
+ has_migration_msg = c.message.start_with?('[migration]')
29
+ no_schema_ok = ENV['DANGER_NO_SCHEMA_OK'] || false
28
30
  if has_migrations || has_schema_changes
29
31
  unless has_migration_msg
30
32
  fail '[migration] Schema migration commits need to be prefixed with [migration]' + short
@@ -35,45 +37,45 @@ git.commits.each do |c|
35
37
  if !has_migrations && has_schema_changes
36
38
  warn '[migration] Please checkin your migrations with your schema.rb changes' + short
37
39
  end
38
- if c.diff_parent.any? {|f| !( f.path =~ /db\/migrate\/|db\/schema\.rb/ ) }
40
+ if c.diff_parent.any? { |f| f.path !~ %r{db/migrate/|db/schema\.rb} }
39
41
  fail '[migration] Migration commit contains non-migration changes' + short
40
42
  end
41
43
  elsif has_migration_msg
42
44
  fail '[migration] Migration commit with no migrations!' + short
43
45
  end
44
46
 
45
- has_hubstaff_icon_changes = c.diff_parent.any? {|f| f.path =~ /hubstaff(icons|font)|fontcustom-manifest/ }
47
+ has_hubstaff_icon_changes = c.diff_parent.any? { |f| f.path =~ /hubstaff(icons|font)|fontcustom-manifest/ }
46
48
  if has_hubstaff_icon_changes
47
- if c.diff_parent.any? {|f| !( f.path =~ /hubstaff-(icons|font)/ || f.path =~ /fontcustom-manifest/ ) }
49
+ if c.diff_parent.any? { |f| !(f.path =~ /hubstaff-(icons|font)/ || f.path =~ /fontcustom-manifest/) }
48
50
  fail '[hubstaff-icons] Put hubstaff-icon changes into their own commit' + short
49
51
  end
50
52
  end
51
53
 
52
- has_gemfile_changes = c.diff_parent.any? {|f| f.path =~ /Gemfile|gemspec/ }
53
- has_gemfile_msg = c.message =~ /\A\[gemfile\]/
54
+ has_gemfile_changes = c.diff_parent.any? { |f| f.path =~ /Gemfile|gemspec/ }
55
+ has_gemfile_msg = c.message.start_with?('[gemfile]')
54
56
  if has_gemfile_changes
55
57
  unless has_gemfile_msg
56
58
  fail '[gemfile] Gemfile commits need to be prefixed with [gemfile] ' + short
57
59
  end
58
- if c.diff_parent.any? {|f| !( f.path =~ /Gemfile|gemspec/ ) }
60
+ if c.diff_parent.any? { |f| f.path !~ /Gemfile|gemspec/ }
59
61
  fail '[gemfile] Gemfile commit contains non-gemfile changes' + short
60
62
  end
61
- if c.diff_parent.any? {|f| f.path == 'Gemfile.lock' }
62
- unless `grep -e '^ 1.15.2$' Gemfile.lock`.length > 1
63
- fail("[gemfile] Gemfile not bundled with bundler 1.15.2")
63
+ if c.diff_parent.any? { |f| f.path == 'Gemfile.lock' }
64
+ unless `grep -E -- '^BUNDLED WITH\s*\n\s+(1\\.15\\.2|1\\.17\\.3)$' Gemfile.lock`.length > 1
65
+ fail('[gemfile] Gemfile not bundled with bundler 1.15.2 or 1.17.3')
64
66
  end
65
67
  end
66
68
  elsif has_gemfile_msg
67
69
  fail '[gemfile] Gemfile commit has no gemfile changes!' + short
68
70
  end
69
71
 
70
- has_package_changes = c.diff_parent.any? {|f| f.path =~ /package\.json|yarn\.lock/ }
71
- has_package_msg = c.message =~ /\A\[package\.json\]/
72
+ has_package_changes = c.diff_parent.any? { |f| f.path =~ /package\.json|yarn\.lock/ }
73
+ has_package_msg = c.message.start_with?('[package.json]')
72
74
  if has_package_changes
73
75
  unless has_package_msg
74
76
  fail '[package.json] Package.json commits need to be prefixed with [package.json] ' + short
75
77
  end
76
- if c.diff_parent.any? {|f| !( f.path =~ /package\.json|yarn\.lock/ ) }
78
+ if c.diff_parent.any? { |f| f.path !~ /package\.json|yarn\.lock/ }
77
79
  fail '[package.json] Package.json commit contains non-package changes' + short
78
80
  end
79
81
  elsif has_package_msg
@@ -81,38 +83,40 @@ git.commits.each do |c|
81
83
  end
82
84
  end
83
85
 
84
- require 'open-uri'
86
+ if ENV['CIRCLE_TOKEN']
87
+ require 'open-uri'
85
88
 
86
- artifact_url = "https://circleci.com/api/v1.1/project/github/#{ENV['CIRCLE_PROJECT_USERNAME']}/#{ENV["CIRCLE_PROJECT_REPONAME"]}/#{ENV['CIRCLE_BUILD_NUM']}/artifacts?circle-token=#{ENV['CIRCLE_TOKEN']}"
87
- artifacts = JSON.load(open(artifact_url).read).map{|a| a["url"]}
89
+ artifact_url = "https://circleci.com/api/v1.1/project/github/#{ENV['CIRCLE_PROJECT_USERNAME']}/#{ENV['CIRCLE_PROJECT_REPONAME']}/#{ENV['CIRCLE_BUILD_NUM']}/artifacts?circle-token=#{ENV['CIRCLE_TOKEN']}"
90
+ artifacts = JSON.parse(URI.parse(artifact_url).read).map { |a| a['url'] }
88
91
 
89
- jest = artifacts.find{ |artifact| artifact.end_with?('jest/index.html') }
90
- coverage = artifacts.find{ |artifact| artifact.end_with?('coverage/index.html') }
91
- rubocop = artifacts.find{ |artifact| artifact.end_with?('rubocop/report.html') }
92
- eslint = artifacts.find{ |artifact| artifact.end_with?('eslint/report.html') }
93
- rspec_files = artifacts.select{ |artifact| artifact =~ /rspec-(.+)\.html$/ }
92
+ jest = artifacts.find { |artifact| artifact.end_with?('jest/index.html') }
93
+ coverage = artifacts.find { |artifact| artifact.end_with?('coverage/index.html') }
94
+ rubocop = artifacts.find { |artifact| artifact.end_with?('rubocop/report.html') }
95
+ eslint = artifacts.find { |artifact| artifact.end_with?('eslint/report.html') }
96
+ rspec_files = artifacts.select { |artifact| artifact =~ /rspec-(.+)\.html$/ }
94
97
 
95
- {}.tap do |hash|
96
- hash['Ruby coverage report'] = coverage if coverage
97
- hash['RSpec test report'] = rspec_files unless rspec_files.empty?
98
- hash['RuboCop inspection report'] = rubocop if rubocop
99
- hash['ESLint inspection report'] = eslint if eslint
100
- hash['Jest coverage report'] = jest if jest
101
- end.each do |msg, links|
102
- links = [*links]
103
- if links.size == 1
104
- message("[#{msg}](#{links[0]})")
105
- else
106
- r = /rspec-(.+)\.html$/
107
- the_links = links.map do |l|
108
- m = r.match(l)
109
- if m
110
- "[#{m[1]}](#{l})"
111
- else
112
- "[link](#{l})"
113
- end
114
- end.join(', ')
98
+ {}.tap do |hash|
99
+ hash['Ruby coverage report'] = coverage if coverage
100
+ hash['RSpec test report'] = rspec_files unless rspec_files.empty?
101
+ hash['RuboCop inspection report'] = rubocop if rubocop
102
+ hash['ESLint inspection report'] = eslint if eslint
103
+ hash['Jest coverage report'] = jest if jest
104
+ end.each do |msg, links|
105
+ links = [*links]
106
+ if links.size == 1
107
+ message("[#{msg}](#{links[0]})")
108
+ else
109
+ r = /rspec-(.+)\.html$/
110
+ the_links = links.map { |l|
111
+ m = r.match(l)
112
+ if m
113
+ "[#{m[1]}](#{l})"
114
+ else
115
+ "[link](#{l})"
116
+ end
117
+ }.join(', ')
115
118
 
116
- message("#{msg} - #{the_links}")
119
+ message("#{msg} - #{the_links}")
120
+ end
117
121
  end
118
122
  end
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  gemspec
data/Rakefile CHANGED
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler'
2
4
  Bundler::GemHelper.install_tasks
3
5
 
4
6
  desc 'Default: run build.'
5
- task :default => :build
7
+ task default: :build
data/bin/netsoft-circle CHANGED
@@ -1,35 +1,35 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'thor'
4
5
  require 'fileutils'
5
6
 
6
- class NetsoftCircle < Thor
7
+ class NetsoftCircle < Thor # :nodoc:
7
8
  desc 'setup', 'Setup Heroku for deployment'
8
9
  def setup
9
-
10
10
  File.open("#{ENV['HOME']}/.netrc", 'a+') do |file|
11
- file << <<-EOF
11
+ file << <<~CONFIG
12
12
 
13
- machine api.heroku.com
14
- login #{ENV['HEROKU_LOGIN']}
15
- password #{ENV['HEROKU_API_KEY']}
16
- machine git.heroku.com
17
- login #{ENV['HEROKU_LOGIN']}
18
- password #{ENV['HEROKU_API_KEY']}
19
- EOF
13
+ machine api.heroku.com
14
+ login #{ENV['HEROKU_LOGIN']}
15
+ password #{ENV['HEROKU_API_KEY']}
16
+ machine git.heroku.com
17
+ login #{ENV['HEROKU_LOGIN']}
18
+ password #{ENV['HEROKU_API_KEY']}
19
+ CONFIG
20
20
  end
21
21
 
22
- Dir.mkdir("#{ENV['HOME']}/.ssh") unless Dir.exists?("#{ENV['HOME']}/.ssh")
22
+ Dir.mkdir("#{ENV['HOME']}/.ssh") unless Dir.exist?("#{ENV['HOME']}/.ssh")
23
23
  File.open("#{ENV['HOME']}/.ssh/config", 'a+') do |file|
24
- file << <<-EOF
24
+ file << <<~CONFIG
25
25
 
26
- VerifyHostKeyDNS yes
27
- StrictHostKeyChecking no
28
- EOF
26
+ VerifyHostKeyDNS yes
27
+ StrictHostKeyChecking no
28
+ CONFIG
29
29
  end
30
30
 
31
31
  system('git config --global url."https://git.heroku.com/".insteadOf heroku:')
32
- exit(1) unless $?.success?
32
+ exit(1) unless $CHILD_STATUS.success?
33
33
  end
34
34
 
35
35
  desc 'merge', 'Merges several simplecov json result files'
@@ -37,6 +37,7 @@ EOF
37
37
  def merge(*files)
38
38
  require 'simplecov'
39
39
  return if files.empty?
40
+
40
41
  results = []
41
42
 
42
43
  files.each do |file|
@@ -54,7 +55,7 @@ EOF
54
55
 
55
56
  desc 'rspec', 'Run rspec'
56
57
  def rspec
57
- system <<-EOF
58
+ system <<~COMMAND
58
59
  bundle _${BUNDLE_VERSION}_ exec rspec \
59
60
  --color \
60
61
  --format RspecJunitFormatter \
@@ -63,20 +64,20 @@ EOF
63
64
  --out $CIRCLE_ARTIFACTS/rspec.html \
64
65
  --format progress \
65
66
  $(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)
66
- EOF
67
- exit(1) unless $?.success?
67
+ COMMAND
68
+ exit(1) unless $CHILD_STATUS.success?
68
69
  end
69
70
 
70
71
  desc 'rubocop', 'Run rubocop'
71
72
  def rubocop
72
- system <<-EOF
73
+ system <<~COMMAND
73
74
  bundle _${BUNDLE_VERSION}_ exec rubocop \
74
75
  --parallel \
75
76
  --format progress \
76
77
  --format html \
77
78
  --out $CIRCLE_ARTIFACTS/rubocop/report.html
78
- EOF
79
- exit(1) unless $?.success?
79
+ COMMAND
80
+ exit(1) unless $CHILD_STATUS.success?
80
81
  end
81
82
 
82
83
  def self.exit_on_failure?
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module NetsoftDanger
2
- VERSION = '0.3.5'.freeze
4
+ VERSION = '0.3.6'
3
5
  end
@@ -1,5 +1,6 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
3
4
  require 'netsoft-danger/version'
4
5
 
5
6
  Gem::Specification.new do |s|
@@ -15,8 +16,15 @@ Gem::Specification.new do |s|
15
16
  s.files = `git ls-files`.split("\n")
16
17
  s.require_paths = ['lib']
17
18
 
18
- s.add_development_dependency 'rake'
19
19
  s.add_runtime_dependency 'danger', '~> 5.0'
20
+ s.add_runtime_dependency 'faraday'
20
21
  s.add_runtime_dependency 'thor'
21
- s.add_runtime_dependency 'faraday', '~> 0.15.0'
22
+
23
+ s.add_development_dependency 'rake'
24
+
25
+ s.add_development_dependency 'netsoft-rubocop', '= 1.0.1'
26
+ s.add_development_dependency 'rubocop', '= 0.74.0'
27
+ s.add_development_dependency 'rubocop-performance', '= 1.5.2'
28
+ s.add_development_dependency 'rubocop-rails', '= 2.4.2'
29
+ s.add_development_dependency 'rubocop-rspec', '= 1.38.1'
22
30
  end
metadata CHANGED
@@ -1,23 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsoft-danger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - urkle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-29 00:00:00.000000000 Z
11
+ date: 2020-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rake
14
+ name: danger
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '5.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '5.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - ">="
18
32
  - !ruby/object:Gem::Version
19
33
  version: '0'
20
- type: :development
34
+ type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
@@ -25,27 +39,27 @@ dependencies:
25
39
  - !ruby/object:Gem::Version
26
40
  version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
- name: danger
42
+ name: thor
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - "~>"
45
+ - - ">="
32
46
  - !ruby/object:Gem::Version
33
- version: '5.0'
47
+ version: '0'
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - "~>"
52
+ - - ">="
39
53
  - !ruby/object:Gem::Version
40
- version: '5.0'
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
- name: thor
56
+ name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - ">="
46
60
  - !ruby/object:Gem::Version
47
61
  version: '0'
48
- type: :runtime
62
+ type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
@@ -53,19 +67,75 @@ dependencies:
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
- name: faraday
70
+ name: netsoft-rubocop
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - "~>"
73
+ - - '='
60
74
  - !ruby/object:Gem::Version
61
- version: 0.15.0
62
- type: :runtime
75
+ version: 1.0.1
76
+ type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - "~>"
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.74.0
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.74.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-performance
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 1.5.2
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 1.5.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 2.4.2
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 2.4.2
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '='
130
+ - !ruby/object:Gem::Version
131
+ version: 1.38.1
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '='
67
137
  - !ruby/object:Gem::Version
68
- version: 0.15.0
138
+ version: 1.38.1
69
139
  description: Packages a Dangerfile to be used with Danger.
70
140
  email: []
71
141
  executables:
@@ -75,6 +145,7 @@ extra_rdoc_files: []
75
145
  files:
76
146
  - ".circleci/config.yml"
77
147
  - ".gitignore"
148
+ - ".rubocop.yml"
78
149
  - CHANGELOG.md
79
150
  - Dangerfile
80
151
  - Gemfile