zz-export-pull-requests 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/epr +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad7da2494c7c8ad182157844df4558d731231afc7c3c8453b4cd0cf128e56be5
|
4
|
+
data.tar.gz: 9b990c531f0a9beb4c93c8d188459c15381c6f36762a373a34e00d305e7e3cb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 644f2764fe9702db374e77e78f382fc8da73a246a5762702ea6586a4353585db6d1e56a8c474b970e7be2594d8f556fd6dceff66793fa20803b8bac5f82427dd
|
7
|
+
data.tar.gz: 0bd92c548197b23b1298a7c9b09755efc8656228104970b94d8237425dcddc88ffedea58e6e5007e030e3d80e1312617eb03657efb7a1831c713331fdcaef714
|
data/bin/epr
CHANGED
@@ -10,7 +10,7 @@ require "github_api"
|
|
10
10
|
require "gitlab"
|
11
11
|
require "bitbucket_rest_api"
|
12
12
|
|
13
|
-
VERSION = "0.3.
|
13
|
+
VERSION = "0.3.12"
|
14
14
|
SERVICES = %w[github gitlab bitbucket]
|
15
15
|
GIT_CONFIGS = %w[epr.token github.oauth-token]
|
16
16
|
|
@@ -30,7 +30,9 @@ BITBUCKET_RATE_LIMIT = 950 # actually, it's 1000 - we play safe here
|
|
30
30
|
# Docs: https://www.rubydoc.info/github/redis/redis-rb/master/frames
|
31
31
|
# Read: https://www.mikeperham.com/2015/09/24/storing-data-with-redis/#databases
|
32
32
|
$redisLogger = Logger.new(STDOUT)
|
33
|
-
$redisLogger.
|
33
|
+
$redisLogger.formatter = proc {|severity, datetime, progname, msg|
|
34
|
+
"[#{datetime.strftime('%d/%m/%Y %H:%M:%S')}] EPR-#{severity} - #{msg}\n"
|
35
|
+
}
|
34
36
|
$redis = Redis.new(host: "localhost", db: 15)
|
35
37
|
$redis.set("bb-executed", 0) if $redis.get("bb-executed").nil?
|
36
38
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zz-export-pull-requests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zulhilmi Zainudin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github_api
|