datadog-json_logger 0.1.0 → 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: a3e2c3addf5785012880280913d248bb4cf4a56aa2479a2510a9c6de9ffce724
4
- data.tar.gz: f29ccec5312fc528fc1af220cf60b1babb06edb51486d992f0cf813ac48d32e8
3
+ metadata.gz: c782c86a30a6c1fe054f28ac51fdf9880c3b93e1baef6a5f6ede2a303bfdc9af
4
+ data.tar.gz: fc5723c72b6e7f0d336f0a13ffb8bf72b0abc9191bfe1d5cc3322401e45248b7
5
5
  SHA512:
6
- metadata.gz: 7241111db933c2f99fbf138c10687aaa8cfcee40dfa69386638173232926e1b38c77b78fc15ecda0415dd47d21d3c6f1ede0050211c89bb0be28d72c7d10b64e
7
- data.tar.gz: a2801e4b6e04f90adf080a213c0755723f708804654f8a9e7f5de71a457b7dbb5d037349985f2ef6dac523c1cfcdc1f9fa47f6f4409e8e54345aac707a52a87a
6
+ metadata.gz: 753436056b447ae7c563fed9bd003c549f67eac0977a4d9c2c4b1f1ac362addfa8aaae1108cd2d7e070c331dd9e6342dd7203aa19d0562fdeeb754537c0e82cc
7
+ data.tar.gz: cee0addc171cb32832ad02b0999bf09e3cf66cbcf9ad8b6cd4d024f24e905fd3f3b601157166bb40f5f29124461b224d44b1ce702114751799968a1cacbd4e5a
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.2
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.0"
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.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eth3rnit3
@@ -34,8 +34,10 @@ extra_rdoc_files: []
34
34
  files:
35
35
  - ".rspec"
36
36
  - ".rubocop.yml"
37
+ - ".ruby-version"
37
38
  - CHANGELOG.md
38
39
  - CODE_OF_CONDUCT.md
40
+ - Dockerfile.nexus
39
41
  - LICENSE.txt
40
42
  - README.md
41
43
  - Rakefile
@@ -44,6 +46,7 @@ files:
44
46
  - lib/datadog/loggers/json_formatter.rb
45
47
  - lib/datadog/loggers/version.rb
46
48
  - lib/datadog/sinatra_middleware.rb
49
+ - nexus_release.sh
47
50
  - sig/datadog/json_logger.rbs
48
51
  homepage: https://github.com/eth3rnit3/datadog-json_logger
49
52
  licenses:
@@ -69,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
72
  - !ruby/object:Gem::Version
70
73
  version: '0'
71
74
  requirements: []
72
- rubygems_version: 3.5.5
75
+ rubygems_version: 3.4.10
73
76
  signing_key:
74
77
  specification_version: 4
75
78
  summary: Connect your ruby application to Datadog logging and tracing.