roentgen 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/roentgen.rb +9 -0
  3. metadata +58 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 51d5925a8634305c9e97880ca101f05ea6bf0709
4
+ data.tar.gz: 6f04e1c36f9d98d488445e22c14153bec6d2077a
5
+ SHA512:
6
+ metadata.gz: be2ab3f2dcfbfbe73caf4aab4c2254409178b904b59e17c5b9944008160f6183b402af64a78d3f18de41081dea38869523f0f0923d62eb85be9c2f6c42f5b5a0
7
+ data.tar.gz: 0a650c46d11250e03dedeb30df2210ebef0e9c904037795dc28984320a4df92da976933c869334fc4a4332744fd3fdfb6d1375c694bd294868cc3668cb2bd2c0
@@ -0,0 +1,9 @@
1
+ require 'securerandom'
2
+
3
+ module Röntgen
4
+ def self.trace_id
5
+ format('1-%x-%s', Time.now, SecureRandom.hex(12))
6
+ end
7
+ end
8
+
9
+ Roentgen = Röntgen
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: roentgen
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Theo Hultberg
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2017-08-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: aws-sdk-xray
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.0.rc12
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.0.rc12
27
+ description: AWS X-Ray client for instrumenting and tracing distributed Ruby applications
28
+ email:
29
+ - theo@iconara.net
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - lib/roentgen.rb
35
+ homepage: https://github.com/iconara/roentgen
36
+ licenses: []
37
+ metadata: {}
38
+ post_install_message:
39
+ rdoc_options: []
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ required_rubygems_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '0'
52
+ requirements: []
53
+ rubyforge_project:
54
+ rubygems_version: 2.5.2
55
+ signing_key:
56
+ specification_version: 4
57
+ summary: AWS X-Ray client for Ruby applications
58
+ test_files: []