datadog-json_logger 0.1.1.pre.test → 0.1.2

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: 460672e5cee32d37ce779296733467e38a122da396c251932cc7440ca99089b9
4
- data.tar.gz: 57aab8430940db50285598ebdbb4a6526d66a84522385dc90611fa63f5faefbd
3
+ metadata.gz: c782c86a30a6c1fe054f28ac51fdf9880c3b93e1baef6a5f6ede2a303bfdc9af
4
+ data.tar.gz: fc5723c72b6e7f0d336f0a13ffb8bf72b0abc9191bfe1d5cc3322401e45248b7
5
5
  SHA512:
6
- metadata.gz: b80d08b931bf89095787158e011594027709b1ca68266496b32e4a84c5d69050f806d6f730fc76107bc1e43dd8582843acfff740a4004cba3907a69f4893d4a0
7
- data.tar.gz: f47096b11025d01f4600528330f67ffea79c47ed12133c62c0d79749a8f8e307a69771d65f227c699b208dcdd73d0a625fe12f3fd7f20708e1bce40d67c7d128
6
+ metadata.gz: 753436056b447ae7c563fed9bd003c549f67eac0977a4d9c2c4b1f1ac362addfa8aaae1108cd2d7e070c331dd9e6342dd7203aa19d0562fdeeb754537c0e82cc
7
+ data.tar.gz: cee0addc171cb32832ad02b0999bf09e3cf66cbcf9ad8b6cd4d024f24e905fd3f3b601157166bb40f5f29124461b224d44b1ce702114751799968a1cacbd4e5a
data/Dockerfile.nexus ADDED
@@ -0,0 +1,12 @@
1
+ FROM ruby:3.0.1-alpine
2
+
3
+ RUN apk add --no-cache build-base git
4
+
5
+ COPY . /gem
6
+ WORKDIR /gem
7
+
8
+ RUN chmod +x nexus_release.sh
9
+
10
+ RUN gem install nexus
11
+
12
+ CMD ["/bin/sh", "/gem/nexus_release.sh"]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Datadog
4
4
  module Loggers
5
- VERSION = "0.1.1-test"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
data/nexus_release.sh ADDED
@@ -0,0 +1,10 @@
1
+ #! /bin/sh
2
+
3
+ gem_file=$(ls -1 | grep '\.gem$' | head -n 1)
4
+
5
+ if [ -z "$gem_file" ]; then
6
+ echo "Error : no .gem file was found"
7
+ exit 1
8
+ fi
9
+
10
+ gem nexus --url $NEXUS_DEPLOY_URL --credential $NEXUS_CREDENTIALS $gem_file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datadog-json_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.pre.test
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eth3rnit3
@@ -37,6 +37,7 @@ files:
37
37
  - ".ruby-version"
38
38
  - CHANGELOG.md
39
39
  - CODE_OF_CONDUCT.md
40
+ - Dockerfile.nexus
40
41
  - LICENSE.txt
41
42
  - README.md
42
43
  - Rakefile
@@ -45,6 +46,7 @@ files:
45
46
  - lib/datadog/loggers/json_formatter.rb
46
47
  - lib/datadog/loggers/version.rb
47
48
  - lib/datadog/sinatra_middleware.rb
49
+ - nexus_release.sh
48
50
  - sig/datadog/json_logger.rbs
49
51
  homepage: https://github.com/eth3rnit3/datadog-json_logger
50
52
  licenses:
@@ -66,9 +68,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
68
  version: '3.0'
67
69
  required_rubygems_version: !ruby/object:Gem::Requirement
68
70
  requirements:
69
- - - ">"
71
+ - - ">="
70
72
  - !ruby/object:Gem::Version
71
- version: 1.3.1
73
+ version: '0'
72
74
  requirements: []
73
75
  rubygems_version: 3.4.10
74
76
  signing_key: