zz-export-pull-requests 0.3.11 → 0.3.12

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/epr +4 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec23970f15be8703f88796fd826581b0cb275913be1cbe31620659da0de5e580
4
- data.tar.gz: 0caf623b5619c463baa10d45cdd3fedb61912058b980bbd3f77d2bf845e3f09e
3
+ metadata.gz: ad7da2494c7c8ad182157844df4558d731231afc7c3c8453b4cd0cf128e56be5
4
+ data.tar.gz: 9b990c531f0a9beb4c93c8d188459c15381c6f36762a373a34e00d305e7e3cb1
5
5
  SHA512:
6
- metadata.gz: 88f774bc035801a5def78caaf335f0a26be167544c0b24a7147a2fa402edd5b06831c52e24e8b00a5a154e050b8cad05a1ca3302e9d1e403ba02a831b5c7d7df
7
- data.tar.gz: 54b5aa18b655620e74642ec2607cd47047c6a81fd054262104abbc365ee72cd903cbe709bbb5835554d5445efa80c0cfafe42fe8d75d600a679bd63111ad9dd2
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.11"
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.info("HELLO FROM REDIS LOGGER")
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.11
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-26 00:00:00.000000000 Z
11
+ date: 2019-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: github_api