tutter-sppuppet 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: 3c4746d2776652a1a3312a5c400938c2ada7e747
4
- data.tar.gz: 9bb20eb13de1803246a25ab8cf19d122cf96ee9b
3
+ metadata.gz: 6d1ab8e26a1410be66395110033e1fbb11747d82
4
+ data.tar.gz: 30bfe37515d891861ab8b6d4003cc53c3ce47696
5
5
  SHA512:
6
- metadata.gz: 1bf0a7d8d0b52e04a8df8b8b6930d7980747975b2765a0d93e7bcb3d37d863675f278424a98dfea6e5f91522caba2fcf8838d66afb83accfeaf4db1699788622
7
- data.tar.gz: 71e4e8f8a8007b208c7354a5e0e27940a28190f0bb9f7eb630d8a9e36ff28cc83f9168ab1c4661513ca40eefa05a84d2a7bb7d6085e87d12e1119b9c55094f23
6
+ metadata.gz: 21ffd61b8c3c054cb9152b3f1f525b7369524db635d07f5eae6c1ace9a47e491dab6de7fd89e29efa2ddc92315e2fb09c47b7f2a578f56de782246321471bfd2
7
+ data.tar.gz: 48a6176522bbadb736e957fbed09a1f040748da6e4c820d96bbd0d2b033ae070ffe3f6eb6b467a5846c7f80c48c62245cbe63eb7655b696a9b150eeec5ff1727
data/.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'tutter-sppuppet'
4
- s.version = '0.0.3'
4
+ s.version = '0.0.4'
5
5
  s.author = 'Johan Haals'
6
6
  s.email = ['johan.haals@gmail.com']
7
7
  s.homepage = 'https://github.com/jhaals/tutter-sppuppet'
data/README.md CHANGED
@@ -7,7 +7,7 @@ and merge code without having more then read access to the project.
7
7
  2. Someone thinks it looks good and adds a _+1_ comment
8
8
  3. Another person comment _+1_
9
9
  4. The pull request can be merged by commenting _!merge_ when it has the
10
- desired amount of +1's(configurable)
10
+ desired amount of +1's(configurable, defaults to 1)
11
11
 
12
12
  A pull request will be blocked if it has a _-1_ comment
13
13
 
@@ -2,6 +2,7 @@ class Sppuppet
2
2
 
3
3
  def initialize(settings, client, project, data, event)
4
4
  @settings = settings
5
+ @settings['plus_ones_required'] ||= 1
5
6
  @client = client
6
7
  @project = project
7
8
  @data = data
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tutter-sppuppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan Haals
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-23 00:00:00.000000000 Z
11
+ date: 2015-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tutter