pronto-poper 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18e33627816b7844fe393eed919a4b97e010b8c6
4
- data.tar.gz: 2dbc36d93acd06194d2d03f66944d9603fd6e7c0
3
+ metadata.gz: cf773d2a90c53c76ba12de17299f114b33692a58
4
+ data.tar.gz: 4adec03fcf7e25210ac2e7c6caf93c853717f28c
5
5
  SHA512:
6
- metadata.gz: ba76a3b74fcfa991eb1750ef55053f282efd1d39af0d70a3d1d47f796523ff8cb4c8c536dd5a723c451fbb28d6363b3a3c7c3b5ba1fba0c040dc09753872ef4a
7
- data.tar.gz: 75e2efad93fbd7102c713dd9e0f305dd1179bcae933568103fa79283d9858f962c80de93db5b54f4a144d82b76601152da1e66825051ca6cb479618555c9f5c8
6
+ metadata.gz: 06aab89bc2f140332d2076a63e846fc315a084d06beaa11e0461ea097db4fef1507152198786814f2c307e72059be093479725cf7cfdb2da42d5754afb728664
7
+ data.tar.gz: 765c7708eec51e5c2f1a23ed77598318d91106e9005e36b2ecbc35390a0e4ccd1e1372d31dff47ad39159d817f8372db0c8a7e4ccc061310701bbe2b7144b57f
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License
2
2
 
3
- Copyright (c) 2013 Mindaugas Mozūras
3
+ Copyright (c) 2014 Mindaugas Mozūras
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Pronto runner Poper
1
+ # Pronto runner for Poper
2
2
 
3
3
  [![Code Climate](https://codeclimate.com/github/mmozuras/pronto-poper.png)](https://codeclimate.com/github/mmozuras/pronto-poper)
4
4
  [![Build Status](https://travis-ci.org/mmozuras/pronto-poper.png)](https://travis-ci.org/mmozuras/pronto-poper)
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module PoperVersion
3
- VERSION = '0.2.0'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
data/lib/pronto/poper.rb CHANGED
@@ -6,13 +6,13 @@ module Pronto
6
6
  def run(patches, commit)
7
7
  return [] unless patches
8
8
 
9
- poper_runner = ::Poper::Runner.new(commit, patches.owner.repo.path)
9
+ poper_runner = ::Poper::Runner.new(commit, patches.repo.path.to_s)
10
10
  errors = poper_runner.run
11
11
 
12
- messages_for(patches, errors)
12
+ messages_for(errors)
13
13
  end
14
14
 
15
- def messages_for(patches, errors)
15
+ def messages_for(errors)
16
16
  errors.map do |error|
17
17
  Message.new(nil, nil, :warning, error.message.capitalize, error.commit)
18
18
  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.2.0
4
+ version: 0.3.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: 2013-10-20 00:00:00.000000000 Z
11
+ date: 2014-09-11 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.2.0
19
+ version: 0.3.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.2.0
26
+ version: 0.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: poper
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,38 +44,52 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 10.1.0
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.1.0
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: 2.14.0
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: 2.14.0
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: []
72
86
  extensions: []
73
87
  extra_rdoc_files: []
74
88
  files:
75
- - lib/pronto/poper/version.rb
76
- - lib/pronto/poper.rb
77
89
  - LICENSE
78
90
  - README.md
91
+ - lib/pronto/poper.rb
92
+ - lib/pronto/poper/version.rb
79
93
  homepage: http://github.org/mmozuras/pronto-poper
80
94
  licenses:
81
95
  - MIT
@@ -96,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
110
  version: 1.3.6
97
111
  requirements: []
98
112
  rubyforge_project:
99
- rubygems_version: 2.0.7
113
+ rubygems_version: 2.3.0
100
114
  signing_key:
101
115
  specification_version: 4
102
116
  summary: Pronto runner for Poper, git commit message analyzer