netsoft-danger 0.4.4 → 0.6.0

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: 9ede65dccfd27b5f5b819632ce51c02c2263f20f6b62c4e046cb6a314f3d6011
4
- data.tar.gz: 84dbd8f9915149af1a24a9341daacb2397533c6c88b9cfb04e3cb903508649b3
3
+ metadata.gz: d2d0604e13a2bbd095af7c03da769e5687fb97401441c45bb54d3a6e682bad16
4
+ data.tar.gz: 1a37871ed405e809abf23acf518b99042e3e49bc2f1684d6941bf37b7e801e85
5
5
  SHA512:
6
- metadata.gz: 8d4ebf3f9558fb7e1f5851cf3768a9a7f7a1f6b4913833ff0cab5b35ce30e7272032f7af0e990a506e2a2c351d71c26a06503194da442fcb0a6aeca3ab7c94c7
7
- data.tar.gz: 1d70671f77a7693cf240974029ff0e7fec4501f8cef0e5ef9e1d2ddf2029ea09089a31e614f213d39743cf93e39f5bb8e1aa4df1c0176672c093f405a6eb5cd2
6
+ metadata.gz: 9defe1928aaaa112b151d44f2bdacee0ac8b4821cf9b1e6b2ffd7d91b10dc889a9e1339705dad2d5c19bcafbc7ff5da30f07699e88c3f3d7a290a2d15acad9d5
7
+ data.tar.gz: 85d7f668e2d38d708b11c2dde99c9b0608fcc1198506edb3065eed199d88fe0ad056667c3ffd30869e92db057631d05bd03d71e68b5dfcb345d8a7c5ded765b8
data/CHANGELOG.md CHANGED
@@ -9,6 +9,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9
9
  ### Changed
10
10
  ### Fixed
11
11
 
12
+ ## [0.6.0]
13
+ - remove the focus and print checks from the ruby danger (now handled by rubocop)
14
+
15
+ ## [0.5.0]
16
+ ### Changed
17
+ - updated danger to 8.x
18
+
19
+ ## [0.4.5]
20
+ ### Changed
21
+ - remove the "fit left in tests" check
22
+
12
23
  ## [0.4.4]
13
24
  ### Changed
14
25
  - stop pushing to private gem server
data/Dangerfile CHANGED
@@ -12,15 +12,6 @@ def toggle_label(github, label, should_set)
12
12
  end
13
13
  end
14
14
 
15
- # Don't let testing shortcuts get into master by accident
16
- if Dir.exist?('spec')
17
- fail('fdescribe left in tests') if `grep -r -I -e '\\bfdescribe\\b' spec/ |grep -v 'danger ok' `.length > 1
18
- fail('fcontext left in tests') if `grep -r -I -e '\\bfcontext\\b' spec/ |grep -v 'danger ok' `.length > 1
19
- fail('fit left in tests') if `grep -r -I -e '\\bfit\\b' spec/ | grep -v 'danger ok' `.length > 1
20
- fail('ap left in tests') if `grep -r -I -e '\\bap\\b' spec/ | grep -v 'danger ok' `.length > 1
21
- fail('puts left in tests') if `grep -r -I -e '\\bputs\\b' spec/ | grep -v 'danger ok' `.length > 1
22
- end
23
-
24
15
  if File.exist?('Gemfile')
25
16
  if `grep -r -e "^ *gem 'hubstaff_[a-z]\\+" Gemfile | grep -e ",.\\+[a-zA-Z]" `.length > 1
26
17
  fail('gemfile: Beta hubstaff_* gems are not allowed in master/production')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NetsoftDanger
4
- VERSION = '0.4.4'
4
+ VERSION = '0.6.0'
5
5
  end
@@ -13,12 +13,14 @@ Gem::Specification.new do |s|
13
13
  s.description = 'Packages a Dangerfile to be used with Danger.'
14
14
  s.executables << 'netsoft-circle'
15
15
 
16
- s.files = `git ls-files`.split("\n")
16
+ s.files = `git ls-files`.split("\n").reject { |f|
17
+ f.match?(%r{^\.github/}i)
18
+ }
17
19
  s.require_paths = ['lib']
18
20
 
19
21
  s.required_ruby_version = '>= 2.4'
20
22
 
21
- s.add_runtime_dependency 'danger', '~> 5.0'
23
+ s.add_runtime_dependency 'danger', '~> 8.0'
22
24
  s.add_runtime_dependency 'faraday'
23
25
  s.add_runtime_dependency 'simplecov', '~> 0.20.0'
24
26
  s.add_runtime_dependency 'thor'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netsoft-danger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - urkle
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-16 00:00:00.000000000 Z
11
+ date: 2022-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: danger
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
19
+ version: '8.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: '5.0'
26
+ version: '8.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -101,9 +101,6 @@ executables:
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - ".circleci/config.yml"
105
- - ".github/PULL_REQUEST_TEMPLATE.md"
106
- - ".github/PULL_REQUEST_TEMPLATE.txt"
107
104
  - ".gitignore"
108
105
  - ".rubocop.yml"
109
106
  - CHANGELOG.md
data/.circleci/config.yml DELETED
@@ -1,134 +0,0 @@
1
- version: 2
2
-
3
- defaults: &defaults
4
- docker: &ruby_image
5
- - &ruby_image
6
- image: circleci/ruby:2.5.5-stretch
7
- environment:
8
- RUBYOPT: '-KU -E utf-8:utf-8'
9
- BUNDLE_PATH: vendor/bundle
10
- BUNDLE_VERSION: 1.17.3
11
- BUNDLE_JOBS: 4
12
- BUNDLE_RETRY: 3
13
-
14
- filters:
15
- test: &filter_test
16
- filters:
17
- tags:
18
- ignore: /^v.*/
19
- beta: &filter_beta
20
- filters:
21
- branches:
22
- ignore: /.*/
23
- tags:
24
- only: /^v[0-9]+(\.[0-9]+)+(\.[a-z].+).*/
25
- release: &filter_release
26
- filters:
27
- branches:
28
- ignore: /.*/
29
- tags:
30
- only: /^v[0-9]+(\.[0-9]+)+/
31
-
32
- workflows:
33
- version: 2
34
- build_test:
35
- jobs:
36
- - "Checkout":
37
- <<: *filter_test
38
- context: org-global
39
- - "Build":
40
- <<: *filter_test
41
- context: org-global
42
- requires:
43
- - "Checkout"
44
- build_test_beta:
45
- jobs:
46
- - "Checkout":
47
- <<: *filter_beta
48
- context: org-global
49
- - "Build":
50
- <<: *filter_beta
51
- context: org-global
52
- requires:
53
- - "Checkout"
54
- - "Publish":
55
- <<: *filter_beta
56
- context: org-global
57
- requires:
58
- - "Build"
59
- build_test_release:
60
- jobs:
61
- - "Checkout":
62
- <<: *filter_release
63
- context: org-global
64
- - "Build":
65
- <<: *filter_release
66
- context: org-global
67
- requires:
68
- - "Checkout"
69
- - "Publish":
70
- <<: *filter_release
71
- context: org-global
72
- requires:
73
- - "Build"
74
-
75
- jobs:
76
- "Checkout":
77
- <<: *defaults
78
- steps:
79
- - attach_workspace:
80
- at: .
81
- - checkout
82
-
83
- - restore_cache:
84
- keys:
85
- - netsoft-danger-bundle-v3-{{ checksum "Gemfile" }}-{{ checksum "netsoft-danger.gemspec" }}
86
- - run:
87
- name: Install bundler
88
- command: gem install bundler --version=$BUNDLE_VERSION
89
- - run:
90
- name: Bundle Install
91
- command: |-
92
- bundle _${BUNDLE_VERSION}_ check || bundle _${BUNDLE_VERSION}_ install --retry=$BUNDLE_RETRY
93
- - save_cache:
94
- key: netsoft-danger-bundle-v3-{{ checksum "Gemfile" }}-{{ checksum "netsoft-danger.gemspec" }}
95
- paths:
96
- - vendor/bundle
97
- - Gemfile.lock
98
-
99
- - persist_to_workspace:
100
- root: .
101
- paths: .
102
- "Build":
103
- <<: *defaults
104
- steps:
105
- - attach_workspace:
106
- at: .
107
- - run:
108
- name: Install bundler
109
- command: gem install bundler --version=$BUNDLE_VERSION
110
- - run:
111
- name: Build gem
112
- command: |-
113
- gem build *.gemspec
114
- - run:
115
- name: Run rubocop
116
- command: |-
117
- bundle exec rubocop
118
- - run:
119
- name: Run Danger
120
- command: |-
121
- bundle exec danger
122
- "Publish":
123
- <<: *defaults
124
- steps:
125
- - attach_workspace:
126
- at: .
127
- - run:
128
- name: Deploy to gem server
129
- command: |-
130
- ./bin/tag_check.sh
131
- ./bin/setup-rubygems.sh
132
- rm -rf pkg
133
- rake build
134
- gem push pkg/*.gem
@@ -1,24 +0,0 @@
1
- ## Change description
2
-
3
- > Please include a summary of the change and which issue is fixed. Please also include
4
- relevant motivation and context. List any dependencies that are required for this change.
5
-
6
- ## Related issues
7
-
8
- - Source: <Issue link or Spec Link>
9
- - UAT: <UAT Link>
10
- - QA: <QA Task Link here>
11
- - Review app: <Link to Heroku>
12
-
13
- ## Checklists
14
-
15
- ### Development
16
-
17
- - [ ] The commit message follows our [guidelines](https://docs.hubstaff.com/hubstaff-docs/latest/great_commit_messages.html)
18
- - [ ] I have performed a self-review of my own code
19
- - [ ] I have thoroughly tested the changes
20
- - [ ] I have added tests that prove my fix is effective or that my feature works
21
-
22
- ### Security
23
-
24
- - [ ] Security impact of change has been considered
@@ -1,25 +0,0 @@
1
- ## Change description
2
-
3
- > Please include a summary of the change and which issue is fixed. Please also include
4
- relevant motivation and context. List any dependencies that are required for this change.
5
-
6
- ## Related issues
7
-
8
- - Source: <Issue link or Spec Link>
9
- - UAT: <UAT Link>
10
- - QA: <QA Task Link here>
11
- - Review app: <Link to Heroku>
12
-
13
- ## Checklists
14
-
15
- ### Development
16
-
17
- - [ ] The commit message follows our guidelines
18
- - [ ] I have performed a self-review of my own code
19
- - [ ] I have thoroughly tested the changes
20
- - [ ] I have added tests that prove my fix is effective or that my feature works
21
-
22
- ### Security
23
-
24
- - [ ] Security impact of change has been considered
25
-