pronto-poper 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/lib/pronto/poper.rb +6 -5
- data/lib/pronto/poper/version.rb +1 -1
- data/pronto-poper.gemspec +3 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ee8dd40af6dacd0be0bbcfbbdb51cd8a886980e
|
4
|
+
data.tar.gz: f5a65d09379ab5b0106aa08d8b5e55bb6ff6325b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cc3d58e70d56c958d07431a4d4a814ebcb4a0e35b10ddeb83ae011bdc47f1f45f44c596b265d8d4af6211efdcd5838a247d2da2957d74594bb67fe78c8ce646
|
7
|
+
data.tar.gz: 0c32d3e494bca04dbcbd50e70d349e6f055a1ccdb9c39852f114dcaedeff859c8f38b8133c1d44dd5c21bfbadb121d4d983d7757b6dba069499e78f2ed16f0d7
|
data/LICENSE
CHANGED
data/lib/pronto/poper.rb
CHANGED
@@ -3,18 +3,19 @@ require 'poper'
|
|
3
3
|
|
4
4
|
module Pronto
|
5
5
|
class Poper < Runner
|
6
|
-
def run
|
7
|
-
return [] unless patches
|
6
|
+
def run
|
7
|
+
return [] unless @patches
|
8
8
|
|
9
|
-
poper_runner = ::Poper::Runner.new(commit,
|
9
|
+
poper_runner = ::Poper::Runner.new(@commit, repo_path.to_s)
|
10
10
|
|
11
11
|
poper_runner.run
|
12
|
-
.select { |error| error.commit != commit }
|
12
|
+
.select { |error| error.commit != @commit }
|
13
13
|
.map { |error| message_for(error) }
|
14
14
|
end
|
15
15
|
|
16
16
|
def message_for(error)
|
17
|
-
Message.new(nil, nil, :warning, error.message.capitalize, error.commit
|
17
|
+
Message.new(nil, nil, :warning, error.message.capitalize, error.commit,
|
18
|
+
self.class)
|
18
19
|
end
|
19
20
|
end
|
20
21
|
end
|
data/lib/pronto/poper/version.rb
CHANGED
data/pronto-poper.gemspec
CHANGED
@@ -32,9 +32,9 @@ Gem::Specification.new do |s|
|
|
32
32
|
s.extra_rdoc_files = ['LICENSE', 'README.md']
|
33
33
|
s.require_paths = ['lib']
|
34
34
|
|
35
|
-
s.add_dependency('pronto', '~> 0.
|
35
|
+
s.add_dependency('pronto', '~> 0.6.0')
|
36
36
|
s.add_dependency('poper', '~> 0.1.0')
|
37
|
-
s.add_development_dependency('rake', '~>
|
38
|
-
s.add_development_dependency('rspec', '~> 3.
|
37
|
+
s.add_development_dependency('rake', '~> 11.0')
|
38
|
+
s.add_development_dependency('rspec', '~> 3.4')
|
39
39
|
s.add_development_dependency('rspec-its', '~> 1.2')
|
40
40
|
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
|
+
version: 0.6.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: 2016-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pronto
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.6.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.6.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: poper
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '11.0'
|
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: '
|
54
|
+
version: '11.0'
|
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.4'
|
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.4'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec-its
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|