terraspace_ci_gitlab 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: b032f2c6bc8b2194f5b9947c9d136179575cb2b5a7569091170002c44e4fb32c
4
- data.tar.gz: dab7b140333f75176c0518bcf84931df6fdaf30f927b0c8a2c95153fc3d6d836
3
+ metadata.gz: df8bbf3488f5d4bd411233ee3a9deff303edac1b77afddd8145e82e9504dc75a
4
+ data.tar.gz: 14aaf4b6a9404d95502ffea219ff321ba5f67bf5fb748ce30ffab6910d218ba8
5
5
  SHA512:
6
- metadata.gz: 5a294e4c11db5579841607da16062e48ea69540e7890e898b9a84b1b1a823d041236bd40d9c711b26271c7edefeab26fe58feb0c2138e176d8e91b348f226909
7
- data.tar.gz: f6e5294f8d16af5d9097a30183fe9fda4a39e93937df89bcb10e9d92e0587d7a2d976079243813e223024dd5eb56a480a63fdd922dae9bfbb2a2478ad5dd5080
6
+ metadata.gz: 522823eeea04b9482b8a85e1c32655c4fc8a3506f423171453ffb4506c032a9810f69b7becd2a50c519209950ba3fc39f9ba3c6fa58d444c6c00f40834f66e3f
7
+ data.tar.gz: 450b9d19888c728e936b296aa89a61b174e6be70dffe4e7a91432e3f43dfb93490bfd3db195972d394eec0084ca930767cd22000ebd832084f93da2bd717527b
data/CHANGELOG.md CHANGED
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [0.1.1] - 2022-06-14
7
+ - [#1](https://github.com/boltops-tools/terraspace_ci_gitlab/pull/1) handle Gitlab::Error::Forbidden error
8
+
6
9
  ## [0.1.0] - 2022-06-09
7
10
 
8
11
  - Initial release
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) <%= Time.now.year %>
3
+ Copyright (c) Tung Nguyen
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
@@ -37,6 +37,8 @@ module TerraspaceCiGitlab
37
37
  end
38
38
  rescue Gitlab::Error::Unauthorized => e
39
39
  puts "WARN: #{e.message}. Unable to create merge request comment. Please double check your gitlab token"
40
+ rescue Gitlab::Error::Forbidden => e
41
+ puts "WARN: #{e.message}. Unable to create merge request comment. The token does not have the permission. Please double check your gitlab token"
40
42
  end
41
43
 
42
44
  def client
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TerraspaceCiGitlab
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: terraspace_ci_gitlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-10 00:00:00.000000000 Z
11
+ date: 2022-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab