poper 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/poper/rule/generic.rb +1 -1
- data/lib/poper/runner.rb +1 -1
- data/lib/poper/version.rb +1 -1
- metadata +29 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29bbfce96863e678090142d7c29b4f40a362e474
|
4
|
+
data.tar.gz: 0ab6461d197fe317a4ca38d829a3e3ddcabe4dd6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c16261938a7b511f438983953cf1a7b614d087b34cf3d0deeaf03e3581c5aaf29741c9f8b4002905851a7449f72365c377c3f541e829bfd75b50eaeedad9330
|
7
|
+
data.tar.gz: 83292d3e038933109915010989d4e66b4b1d5855f35d5b473fa119fd36fd2e0f5deb3918da8c209a72347ca4d8b27f892674f703b347e4a8c461cbe832c983e9
|
data/lib/poper/rule/generic.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Poper
|
2
2
|
module Rule
|
3
3
|
class Generic < Rule
|
4
|
-
MSG =
|
4
|
+
MSG = 'Consider writing a more detailed, not as generic, commit message'
|
5
5
|
GENERIC = %w(fix fixed fixes oops todo fixme commit changes hm hmm hmmm
|
6
6
|
test tests quickfix)
|
7
7
|
|
data/lib/poper/runner.rb
CHANGED
@@ -4,7 +4,7 @@ module Poper
|
|
4
4
|
class Runner
|
5
5
|
def initialize(commit, repo_path = '.')
|
6
6
|
@repo = Rugged::Repository.new(repo_path)
|
7
|
-
merge_base = @repo.merge_base(commit, commit) #
|
7
|
+
merge_base = @repo.merge_base(commit, commit) # HACK: to make refs work
|
8
8
|
@commit = @repo.lookup(merge_base)
|
9
9
|
end
|
10
10
|
|
data/lib/poper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mindaugas Mozūras
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rugged
|
@@ -16,56 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.21.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.
|
26
|
+
version: 0.21.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: thor
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.19.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: 0.
|
40
|
+
version: 0.19.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 10.
|
47
|
+
version: '10.3'
|
48
48
|
type: :development
|
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: 10.
|
54
|
+
version: '10.3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '3.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-its
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
69
83
|
description:
|
70
84
|
email: mindaugas.mozuras@gmail.com
|
71
85
|
executables:
|
@@ -73,6 +87,10 @@ executables:
|
|
73
87
|
extensions: []
|
74
88
|
extra_rdoc_files: []
|
75
89
|
files:
|
90
|
+
- LICENSE
|
91
|
+
- README.md
|
92
|
+
- bin/poper
|
93
|
+
- lib/poper.rb
|
76
94
|
- lib/poper/cli.rb
|
77
95
|
- lib/poper/rule/capitalization.rb
|
78
96
|
- lib/poper/rule/fifty_char_summary.rb
|
@@ -82,10 +100,6 @@ files:
|
|
82
100
|
- lib/poper/rule/single_word.rb
|
83
101
|
- lib/poper/runner.rb
|
84
102
|
- lib/poper/version.rb
|
85
|
-
- lib/poper.rb
|
86
|
-
- LICENSE
|
87
|
-
- README.md
|
88
|
-
- bin/poper
|
89
103
|
homepage: http://github.org/mmozuras/poper
|
90
104
|
licenses:
|
91
105
|
- MIT
|
@@ -106,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
120
|
version: 1.3.6
|
107
121
|
requirements: []
|
108
122
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.0
|
123
|
+
rubygems_version: 2.3.0
|
110
124
|
signing_key:
|
111
125
|
specification_version: 4
|
112
126
|
summary: Poper makes sure that your git commit messages are well-formed
|