check-ahead 0.1.0 → 0.2.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: 31dc9c420a4e762f5127520aea444dfd5e97ccf614cd61379ebe85a789448ca2
4
- data.tar.gz: f3a028ea3a805d7f3a98231d19f823dbb16d72d340ccffaeaa6f1e098814e01c
3
+ metadata.gz: 4a9890e4bb8b1ffe7320efe5c8c4441fa024d17a54853a638daa390d1c1d64b8
4
+ data.tar.gz: 393415c81ba102cc76478e847a6b73532d01585243879051507459b361a6b3d7
5
5
  SHA512:
6
- metadata.gz: d26310b43c061cf8c4162a539630119d475abee61036a525819c54d2d7d1ac8b9d11b506ec48131b29ce9426c5cbdd862ea1422a6d8b0c7c3c80edfea27289c0
7
- data.tar.gz: f6bc0e25bb49f157b0bad38d9f47fce7db662c73d9e05bf1abda51f2ac38c2afbe9dd087df5ff7233d1ee150d62cff025556bcd7144e2b91d63acc52a7ba84dc
6
+ metadata.gz: 16bc30453e51e04c38c8f193aa8b10d8dd82c14b10740dc09ed6f67c23449fcc245c427c29054f2d2f85ad801ec1ba6797fdaf463de5d5411179d31fdadeb8c1
7
+ data.tar.gz: a31a2c432ff08ea586726b381815785b00eb69398f6440e7650992f373d3f1b08ea960b1fde8af8de5ed270f7a8643485dbbe1119e11e15b96dbdbf6a375e56b
@@ -0,0 +1,14 @@
1
+ ---
2
+ name: Check Commits
3
+
4
+ on: [push]
5
+
6
+ jobs:
7
+ check-ahead:
8
+ env:
9
+ CHECK_COMMIT_MESSAGE: false
10
+ CHECK_MAX_LENGTH: true
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v1
14
+ - uses: gimmyxd/check-ahead-action@1.2.pre
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,6 @@
1
+ ### Commit Message
2
+ Accepted commits messages:
3
+ <commits>
4
+ * maint
5
+ * bump
6
+ </commits>
data/Gemfile CHANGED
@@ -6,6 +6,7 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  group :developmen, :test do
9
+ gem 'climate_control'
9
10
  gem 'pry-byebug'
10
11
  gem 'rubocop', require: false
11
12
  gem 'rubocop-performance', require: false
data/Gemfile.lock CHANGED
@@ -9,9 +9,9 @@ GEM
9
9
  specs:
10
10
  ast (2.4.0)
11
11
  byebug (11.0.1)
12
+ climate_control (0.2.0)
12
13
  coderay (1.1.2)
13
14
  concurrent-ruby (1.1.5)
14
- diff-lcs (1.3)
15
15
  dry-cli (0.5.0)
16
16
  concurrent-ruby (~> 1.0)
17
17
  jaro_winkler (1.5.4)
@@ -26,20 +26,6 @@ GEM
26
26
  byebug (~> 11.0)
27
27
  pry (~> 0.10)
28
28
  rainbow (3.0.0)
29
- rake (10.5.0)
30
- rspec (3.9.0)
31
- rspec-core (~> 3.9.0)
32
- rspec-expectations (~> 3.9.0)
33
- rspec-mocks (~> 3.9.0)
34
- rspec-core (3.9.1)
35
- rspec-support (~> 3.9.1)
36
- rspec-expectations (3.9.0)
37
- diff-lcs (>= 1.2.0, < 2.0)
38
- rspec-support (~> 3.9.0)
39
- rspec-mocks (3.9.1)
40
- diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.9.0)
42
- rspec-support (3.9.2)
43
29
  rubocop (0.79.0)
44
30
  jaro_winkler (~> 1.5.1)
45
31
  parallel (~> 1.10)
@@ -59,14 +45,13 @@ PLATFORMS
59
45
  x86_64-darwin-18
60
46
 
61
47
  DEPENDENCIES
62
- bundler (~> 2.0)
48
+ bundler (>= 1.15.0, < 3.0)
63
49
  check-ahead!
50
+ climate_control
64
51
  pry-byebug
65
- rake (~> 10.0)
66
- rspec (~> 3.7)
67
52
  rubocop
68
53
  rubocop-performance
69
54
  rubocop-rspec
70
55
 
71
56
  BUNDLED WITH
72
- 2.1.1
57
+ 2.1.4
data/check-ahead.gemspec CHANGED
@@ -34,7 +34,5 @@ Gem::Specification.new do |spec|
34
34
 
35
35
  spec.add_runtime_dependency 'dry-cli', ' ~> 0.4'
36
36
 
37
- spec.add_development_dependency 'bundler', '~> 2.0'
38
- spec.add_development_dependency 'rake', '~> 10.0'
39
- spec.add_development_dependency 'rspec', '~> 3.7'
37
+ spec.add_development_dependency 'bundler', '>= 1.15.0', '< 3.0'
40
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CheckAhead
4
- VERSION = '0.1.0'
4
+ VERSION = '0.2.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: check-ahead
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - gimmy
@@ -28,44 +28,22 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '2.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '2.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
33
+ version: 1.15.0
34
+ - - "<"
46
35
  - !ruby/object:Gem::Version
47
- version: '10.0'
36
+ version: '3.0'
48
37
  type: :development
49
38
  prerelease: false
50
39
  version_requirements: !ruby/object:Gem::Requirement
51
40
  requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '10.0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
41
+ - - ">="
60
42
  - !ruby/object:Gem::Version
61
- version: '3.7'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
43
+ version: 1.15.0
44
+ - - "<"
67
45
  - !ruby/object:Gem::Version
68
- version: '3.7'
46
+ version: '3.0'
69
47
  description: CheckAhead let you define rules to guard against unwanted commits
70
48
  email:
71
49
  - gheorghe.popescu@puppet.com
@@ -74,12 +52,14 @@ executables:
74
52
  extensions: []
75
53
  extra_rdoc_files: []
76
54
  files:
55
+ - ".github/workflows/chech-ahead.yml"
77
56
  - ".github/workflows/rspec.yml"
78
57
  - ".github/workflows/rubocop.yml"
79
58
  - ".gitignore"
80
59
  - ".rspec"
81
60
  - ".rubocop.yml"
82
61
  - CODE_OF_CONDUCT.md
62
+ - CONTRIBUTING.md
83
63
  - Gemfile
84
64
  - Gemfile.lock
85
65
  - LICENSE.txt