gitlab-mail_room 0.0.18 → 0.0.19

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
  SHA256:
3
- metadata.gz: b35546ba9ef63ad546144c97515d7203a56182abb48be0b4975061e7c8598555
4
- data.tar.gz: c6d96b85320aeafd0b41004e6b606aad1a3642de8ebee52734becc92de387185
3
+ metadata.gz: 2e9602ef5d0f53b51c947485678b32f45b0d6099a2b9e10dea153358bc5023c4
4
+ data.tar.gz: 05203d73f36e129d0f463537d2be619181c804a60aacbdf58d6a12ca6dbf8392
5
5
  SHA512:
6
- metadata.gz: 9732c479849c02606adfda10314f3cfd5d83a8c1283d4054b5464480a3eae20f1414e0db0147a8b8cf383fe0fd4d073fcc0f522377792a4fed0d64daa621ad6f
7
- data.tar.gz: a7d5f829af0796d81deeb8b4b570c932723f0bcfb0d80f322e9bed02dddd809a286cac2beff486c199b992d3d93d1646f268e15b983f8e3e0eae6a8c0c36fb3c
6
+ metadata.gz: b2860a2390178f2862d0ac3f139f1330e9502cfab0ea06d850feef7212c6575c0b97eddda0b958ad274038a819261d1e2984997a52b7e54e6c6b9d5707f6c51c
7
+ data.tar.gz: 5b5f63868bfee8235d4be4f56e62d5d83be90ad3faa8dfa99776720176133de725defb143757058eccd32daee8ef75505560ee91523cc27c0876f3b2a60941cb
data/.gitlab-ci.yml CHANGED
@@ -1,4 +1,5 @@
1
- # Cache gems in between builds
1
+ default:
2
+ image: "ruby:${RUBY_VERSION}"
2
3
 
3
4
  services:
4
5
  - redis:latest
@@ -9,24 +10,17 @@ services:
9
10
  - vendor/ruby
10
11
  variables:
11
12
  REDIS_URL: redis://redis:6379
12
- script:
13
- - bundle exec rspec spec
14
13
  before_script:
15
14
  - apt update && apt install -y libicu-dev
16
15
  - ruby -v # Print out ruby version for debugging
17
- # Uncomment next line if your rails app needs a JS runtime:
18
- # - apt-get update -q && apt-get install nodejs -yqq
19
- - gem install bundler --no-document # Bundler is not installed with the image
20
- - bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
21
-
22
- rspec-2.6:
23
- image: "ruby:2.6"
24
- <<: *test
25
-
26
- rspec-2.7:
27
- image: "ruby:2.7"
28
- <<: *test
16
+ - gem install bundler --no-document # Bundler is not installed with the image
17
+ - bundle config set --local path 'vendor'
18
+ - bundle install -j $(nproc)
19
+ script:
20
+ - bundle exec rspec spec
29
21
 
30
- rspec-3.0:
31
- image: "ruby:3.0"
22
+ rspec:
23
+ parallel:
24
+ matrix:
25
+ - RUBY_VERSION: [ "2.5", "2.6", "2.7", "3.0" ]
32
26
  <<: *test
data/lib/mail_room/jwt.rb CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  require 'faraday'
4
4
  require 'securerandom'
5
+ require 'jwt'
6
+ require 'base64'
5
7
 
6
8
  module MailRoom
7
9
  # Responsible for validating and generating JWT token
@@ -1,4 +1,4 @@
1
1
  module MailRoom
2
2
  # Current version of gitlab-mail_room gem
3
- VERSION = "0.0.18"
3
+ VERSION = "0.0.19"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-mail_room
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Pitale
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-31 00:00:00.000000000 Z
11
+ date: 2022-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-imap
@@ -340,7 +340,7 @@ files:
340
340
  homepage: http://github.com/tpitale/mail_room
341
341
  licenses: []
342
342
  metadata: {}
343
- post_install_message:
343
+ post_install_message:
344
344
  rdoc_options: []
345
345
  require_paths:
346
346
  - lib
@@ -355,8 +355,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
355
355
  - !ruby/object:Gem::Version
356
356
  version: '0'
357
357
  requirements: []
358
- rubygems_version: 3.1.6
359
- signing_key:
358
+ rubygems_version: 3.3.5
359
+ signing_key:
360
360
  specification_version: 4
361
361
  summary: mail_room will proxy email (gmail) from IMAP to a callback URL, logger, or
362
362
  letter_opener