pronto-poper 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pronto/poper/version.rb +1 -1
- data/lib/pronto/poper.rb +5 -6
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71a7226bebd8045ca9b5c2d98504cfbbe97e65a3
|
4
|
+
data.tar.gz: 00a5ee49e20ec241844e7772676010af26183e91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28bf898973ca8ab46d3da81733dbfb13eabcf4050ecb040f3916ae8086344a68455c72c01a34514f19a636aff60127500bc644cb1e53a9f5131a7fe9ab66765b
|
7
|
+
data.tar.gz: 1c7f1167f515e4ba93bac71cc1c0347d3b21e042ba6f053eefd147437b273748fab931d1217de8be8a4208e742e5a3753463084a32f07cb22ae2936d93262349
|
data/lib/pronto/poper/version.rb
CHANGED
data/lib/pronto/poper.rb
CHANGED
@@ -7,15 +7,14 @@ module Pronto
|
|
7
7
|
return [] unless patches
|
8
8
|
|
9
9
|
poper_runner = ::Poper::Runner.new(commit, patches.repo.path.to_s)
|
10
|
-
errors = poper_runner.run
|
11
10
|
|
12
|
-
|
11
|
+
poper_runner.run
|
12
|
+
.select { |error| error.commit != commit }
|
13
|
+
.map { |error| message_for(error) }
|
13
14
|
end
|
14
15
|
|
15
|
-
def
|
16
|
-
|
17
|
-
Message.new(nil, nil, :warning, error.message.capitalize, error.commit)
|
18
|
-
end
|
16
|
+
def message_for(error)
|
17
|
+
Message.new(nil, nil, :warning, error.message.capitalize, error.commit)
|
19
18
|
end
|
20
19
|
end
|
21
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto-poper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
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: 2015-
|
11
|
+
date: 2015-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pronto
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '10.
|
47
|
+
version: '10.4'
|
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.4'
|
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: '3.
|
61
|
+
version: '3.3'
|
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: '3.
|
68
|
+
version: '3.3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-its
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,9 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: 1.3.6
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.4.5
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Pronto runner for Poper, git commit message analyzer
|
117
117
|
test_files: []
|
118
|
-
has_rdoc:
|