structured_log 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +5 -0
  4. data/CODE_OF_CONDUCT.md +74 -0
  5. data/Gemfile +6 -0
  6. data/Gemfile.lock +27 -0
  7. data/LICENSE +21 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +620 -0
  10. data/Rakefile +44 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +8 -0
  13. data/images/array.jpg +0 -0
  14. data/images/attributes.png +0 -0
  15. data/images/comment.png +0 -0
  16. data/images/custom.png +0 -0
  17. data/images/data.png +0 -0
  18. data/images/exception.png +0 -0
  19. data/images/hash.png +0 -0
  20. data/images/nesting.jpg +0 -0
  21. data/images/potpourri.png +0 -0
  22. data/images/rescue.jpg +0 -0
  23. data/images/structured.png +0 -0
  24. data/images/text.jpg +0 -0
  25. data/images/time.png +0 -0
  26. data/lib/structured_log.rb +322 -0
  27. data/lib/structured_log/version.rb +3 -0
  28. data/readme_files/README.template.md +167 -0
  29. data/readme_files/logs/array.xml +10 -0
  30. data/readme_files/logs/attributes.xml +7 -0
  31. data/readme_files/logs/cdata.xml +12 -0
  32. data/readme_files/logs/comment.xml +5 -0
  33. data/readme_files/logs/custom_entry.xml +12 -0
  34. data/readme_files/logs/custom_section.xml +14 -0
  35. data/readme_files/logs/data.xml +20 -0
  36. data/readme_files/logs/exception.xml +14 -0
  37. data/readme_files/logs/hash.xml +10 -0
  38. data/readme_files/logs/potpourri.xml +13 -0
  39. data/readme_files/logs/potpourri_other.xml +20 -0
  40. data/readme_files/logs/potpourri_usual.xml +8 -0
  41. data/readme_files/logs/rescue.xml +28 -0
  42. data/readme_files/logs/sections.xml +7 -0
  43. data/readme_files/logs/text.xml +5 -0
  44. data/readme_files/logs/time.xml +17 -0
  45. data/readme_files/scripts/array.rb +6 -0
  46. data/readme_files/scripts/attributes.rb +8 -0
  47. data/readme_files/scripts/cdata.rb +17 -0
  48. data/readme_files/scripts/comment.rb +5 -0
  49. data/readme_files/scripts/custom_entry.rb +10 -0
  50. data/readme_files/scripts/custom_section.rb +15 -0
  51. data/readme_files/scripts/data.rb +16 -0
  52. data/readme_files/scripts/exception.rb +5 -0
  53. data/readme_files/scripts/hash.rb +11 -0
  54. data/readme_files/scripts/potpourri.rb +20 -0
  55. data/readme_files/scripts/potpourri_other.rb +17 -0
  56. data/readme_files/scripts/potpourri_usual.rb +12 -0
  57. data/readme_files/scripts/rescue.rb +12 -0
  58. data/readme_files/scripts/sections.rb +17 -0
  59. data/readme_files/scripts/text.rb +8 -0
  60. data/readme_files/scripts/time.rb +15 -0
  61. data/structured_log.gemspec +38 -0
  62. metadata +176 -0
@@ -0,0 +1,38 @@
1
+
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'structured_log/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'structured_log'
8
+ spec.version = StructuredLog::VERSION
9
+ spec.authors = ['burdettelamar']
10
+ spec.email = ['BurdetteLamar@Yahoo.com']
11
+
12
+ spec.summary = 'Structured (not flat) log'
13
+ spec.description = 'Logging where nested sections (blocks) in code become nested XML elements in the log'
14
+ spec.homepage = 'https://github.com/BurdetteLamar/structured_log'
15
+ spec.license = 'MIT'
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
21
+ else
22
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
23
+ 'public gem pushes.'
24
+ end
25
+
26
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
+ f.match(%r{^(test|spec|features)/})
28
+ end
29
+ spec.bindir = 'exe'
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ['lib']
32
+
33
+ spec.add_development_dependency 'bundler', '~> 1.16.2'
34
+ spec.add_development_dependency 'rake', '~> 10.0'
35
+ spec.add_development_dependency 'minitest', '~> 5.0'
36
+ spec.add_development_dependency 'diff-lcs', '~> 1.3'
37
+ spec.add_development_dependency 'markdown_helper', '~> 2.0.0'
38
+ end
metadata ADDED
@@ -0,0 +1,176 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: structured_log
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.9.0
5
+ platform: ruby
6
+ authors:
7
+ - burdettelamar
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-06-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.16.2
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.16.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: diff-lcs
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: markdown_helper
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 2.0.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 2.0.0
83
+ description: Logging where nested sections (blocks) in code become nested XML elements
84
+ in the log
85
+ email:
86
+ - BurdetteLamar@Yahoo.com
87
+ executables: []
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".gitignore"
92
+ - ".travis.yml"
93
+ - CODE_OF_CONDUCT.md
94
+ - Gemfile
95
+ - Gemfile.lock
96
+ - LICENSE
97
+ - LICENSE.txt
98
+ - README.md
99
+ - Rakefile
100
+ - bin/console
101
+ - bin/setup
102
+ - images/array.jpg
103
+ - images/attributes.png
104
+ - images/comment.png
105
+ - images/custom.png
106
+ - images/data.png
107
+ - images/exception.png
108
+ - images/hash.png
109
+ - images/nesting.jpg
110
+ - images/potpourri.png
111
+ - images/rescue.jpg
112
+ - images/structured.png
113
+ - images/text.jpg
114
+ - images/time.png
115
+ - lib/structured_log.rb
116
+ - lib/structured_log/version.rb
117
+ - readme_files/README.template.md
118
+ - readme_files/logs/array.xml
119
+ - readme_files/logs/attributes.xml
120
+ - readme_files/logs/cdata.xml
121
+ - readme_files/logs/comment.xml
122
+ - readme_files/logs/custom_entry.xml
123
+ - readme_files/logs/custom_section.xml
124
+ - readme_files/logs/data.xml
125
+ - readme_files/logs/exception.xml
126
+ - readme_files/logs/hash.xml
127
+ - readme_files/logs/potpourri.xml
128
+ - readme_files/logs/potpourri_other.xml
129
+ - readme_files/logs/potpourri_usual.xml
130
+ - readme_files/logs/rescue.xml
131
+ - readme_files/logs/sections.xml
132
+ - readme_files/logs/text.xml
133
+ - readme_files/logs/time.xml
134
+ - readme_files/scripts/array.rb
135
+ - readme_files/scripts/attributes.rb
136
+ - readme_files/scripts/cdata.rb
137
+ - readme_files/scripts/comment.rb
138
+ - readme_files/scripts/custom_entry.rb
139
+ - readme_files/scripts/custom_section.rb
140
+ - readme_files/scripts/data.rb
141
+ - readme_files/scripts/exception.rb
142
+ - readme_files/scripts/hash.rb
143
+ - readme_files/scripts/potpourri.rb
144
+ - readme_files/scripts/potpourri_other.rb
145
+ - readme_files/scripts/potpourri_usual.rb
146
+ - readme_files/scripts/rescue.rb
147
+ - readme_files/scripts/sections.rb
148
+ - readme_files/scripts/text.rb
149
+ - readme_files/scripts/time.rb
150
+ - structured_log.gemspec
151
+ homepage: https://github.com/BurdetteLamar/structured_log
152
+ licenses:
153
+ - MIT
154
+ metadata:
155
+ allowed_push_host: https://rubygems.org
156
+ post_install_message:
157
+ rdoc_options: []
158
+ require_paths:
159
+ - lib
160
+ required_ruby_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ requirements: []
171
+ rubyforge_project:
172
+ rubygems_version: 2.4.5.2
173
+ signing_key:
174
+ specification_version: 4
175
+ summary: Structured (not flat) log
176
+ test_files: []