leafy-rack 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +34 -4
  3. data/.travis.yml +19 -0
  4. data/CHANGELOG.md +7 -0
  5. data/Gemfile +1 -8
  6. data/README.md +10 -148
  7. data/examples/datadog/.gitignore +2 -0
  8. data/examples/datadog/Gemfile +12 -0
  9. data/examples/datadog/Mavenfile +22 -0
  10. data/examples/datadog/README.md +16 -0
  11. data/examples/datadog/lib/java_gauge.rb +20 -0
  12. data/examples/datadog/lib/metrics.rb +18 -0
  13. data/examples/datadog/lib/ruby_gauge.rb +19 -0
  14. data/examples/hellowarld/.gitignore +3 -0
  15. data/examples/hellowarld/Gemfile +15 -0
  16. data/examples/hellowarld/Mavenfile +162 -0
  17. data/examples/hellowarld/README.md +44 -0
  18. data/examples/hellowarld/Rakefile +13 -0
  19. data/examples/hellowarld/WEB-INF/web.xml +31 -0
  20. data/examples/hellowarld/app/hellowarld.rb +55 -0
  21. data/examples/hellowarld/app/views/person.erb +52 -0
  22. data/examples/hellowarld/config.ru +12 -0
  23. data/leafy-complete.gemspec +22 -0
  24. data/leafy-health/.gitignore +4 -0
  25. data/leafy-health/Gemfile +7 -0
  26. data/leafy-health/LICENSE +22 -0
  27. data/leafy-health/README.md +123 -0
  28. data/leafy-health/Rakefile +14 -0
  29. data/leafy-health/leafy-health.gemspec +27 -0
  30. data/leafy-health/lib/leafy-health.rb +2 -0
  31. data/leafy-health/lib/leafy-health_jars.rb +7 -0
  32. data/leafy-health/lib/leafy/health.rb +2 -0
  33. data/leafy-health/lib/leafy/health/health_check.rb +72 -0
  34. data/leafy-health/lib/leafy/health/registry.rb +55 -0
  35. data/leafy-health/lib/leafy/health/version.rb +6 -0
  36. data/leafy-health/spec/registry_spec.rb +164 -0
  37. data/leafy-health/spec/setup.rb +1 -0
  38. data/leafy-logger/.gitignore +5 -0
  39. data/leafy-logger/Gemfile +9 -0
  40. data/leafy-logger/LICENSE +22 -0
  41. data/leafy-logger/README.md +174 -0
  42. data/{Rakefile → leafy-logger/Rakefile} +0 -0
  43. data/leafy-logger/leafy-logger.gemspec +32 -0
  44. data/leafy-logger/lib/leafy-logger.rb +1 -0
  45. data/leafy-logger/lib/leafy-logger_jars.rb +33 -0
  46. data/leafy-logger/lib/leafy/logger.rb +1 -0
  47. data/leafy-logger/lib/leafy/logger/appender_factories.rb +89 -0
  48. data/leafy-logger/lib/leafy/logger/factory.rb +141 -0
  49. data/leafy-logger/lib/leafy/logger/version.rb +6 -0
  50. data/leafy-logger/spec/appender_factories_spec.rb +147 -0
  51. data/leafy-logger/spec/factory_spec.rb +176 -0
  52. data/leafy-logger/spec/logging.yml +16 -0
  53. data/leafy-logger/spec/setup.rb +2 -0
  54. data/leafy-metrics/.gitignore +5 -0
  55. data/leafy-metrics/Gemfile +7 -0
  56. data/leafy-metrics/LICENSE +22 -0
  57. data/leafy-metrics/README.md +221 -0
  58. data/leafy-metrics/Rakefile +14 -0
  59. data/leafy-metrics/leafy-metrics.gemspec +29 -0
  60. data/leafy-metrics/lib/leafy-metrics.rb +2 -0
  61. data/leafy-metrics/lib/leafy-metrics_jars.rb +5 -0
  62. data/leafy-metrics/lib/leafy/metrics.rb +2 -0
  63. data/leafy-metrics/lib/leafy/metrics/console_reporter.rb +32 -0
  64. data/leafy-metrics/lib/leafy/metrics/csv_reporter.rb +26 -0
  65. data/leafy-metrics/lib/leafy/metrics/graphite/graphite.rb +28 -0
  66. data/leafy-metrics/lib/leafy/metrics/graphite/graphite_reporter.rb +43 -0
  67. data/leafy-metrics/lib/leafy/metrics/registry.rb +108 -0
  68. data/leafy-metrics/lib/leafy/metrics/reporter.rb +51 -0
  69. data/leafy-metrics/lib/leafy/metrics/version.rb +6 -0
  70. data/leafy-metrics/spec/console_reporter_spec.rb +72 -0
  71. data/leafy-metrics/spec/csv_reporter_spec.rb +75 -0
  72. data/leafy-metrics/spec/graphite_reporter_spec.rb +72 -0
  73. data/leafy-metrics/spec/graphite_spec.rb +23 -0
  74. data/leafy-metrics/spec/registry_spec.rb +106 -0
  75. data/leafy-metrics/spec/setup.rb +10 -0
  76. data/leafy-rack/.gitignore +4 -0
  77. data/leafy-rack/Gemfile +10 -0
  78. data/leafy-rack/LICENSE +22 -0
  79. data/leafy-rack/README.md +155 -0
  80. data/leafy-rack/Rakefile +14 -0
  81. data/{leafy-rack.gemspec → leafy-rack/leafy-rack.gemspec} +2 -2
  82. data/{lib → leafy-rack/lib}/leafy-rack.rb +0 -0
  83. data/{lib → leafy-rack/lib}/leafy-rack_jars.rb +0 -0
  84. data/{lib → leafy-rack/lib}/leafy/instrumented/basic_instrumented.rb +0 -0
  85. data/{lib → leafy-rack/lib}/leafy/instrumented/instrumented.rb +0 -0
  86. data/{lib → leafy-rack/lib}/leafy/json/health_writer.rb +0 -0
  87. data/{lib → leafy-rack/lib}/leafy/json/json_writer.rb +0 -0
  88. data/{lib → leafy-rack/lib}/leafy/json/metrics_writer.rb +0 -0
  89. data/{lib → leafy-rack/lib}/leafy/rack.rb +0 -0
  90. data/{lib → leafy-rack/lib}/leafy/rack/admin.rb +0 -0
  91. data/{lib → leafy-rack/lib}/leafy/rack/health.rb +0 -0
  92. data/{lib → leafy-rack/lib}/leafy/rack/instrumented.rb +0 -0
  93. data/{lib → leafy-rack/lib}/leafy/rack/metrics.rb +0 -0
  94. data/{lib → leafy-rack/lib}/leafy/rack/ping.rb +0 -0
  95. data/{lib → leafy-rack/lib}/leafy/rack/thread_dump.rb +0 -0
  96. data/{lib → leafy-rack/lib}/leafy/rack/version.rb +1 -1
  97. data/{spec → leafy-rack/spec}/admin_rack_spec.rb +0 -0
  98. data/{spec → leafy-rack/spec}/basic_instrumented_spec.rb +0 -0
  99. data/{spec → leafy-rack/spec}/health_rack_spec.rb +0 -0
  100. data/{spec → leafy-rack/spec}/health_writer_spec.rb +0 -0
  101. data/{spec → leafy-rack/spec}/instrumented_rack_spec.rb +0 -0
  102. data/{spec → leafy-rack/spec}/instrumented_spec.rb +0 -0
  103. data/{spec → leafy-rack/spec}/metrics_rack_spec.rb +0 -0
  104. data/{spec → leafy-rack/spec}/metrics_writer_spec.rb +0 -0
  105. data/{spec → leafy-rack/spec}/ping_rack_spec.rb +0 -0
  106. data/{spec → leafy-rack/spec}/setup.rb +0 -0
  107. data/{spec → leafy-rack/spec}/thread_dump_spec.rb +0 -0
  108. metadata +110 -34
File without changes
@@ -1,6 +1,6 @@
1
1
  module Leafy
2
2
  module Rack
3
- VERSION = '0.3.0'.freeze
3
+ VERSION = '0.3.1'.freeze
4
4
  end
5
5
  end
6
6
 
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leafy-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - christian meier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-22 00:00:00.000000000 Z
11
+ date: 2015-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jar-dependencies
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.0
33
+ version: 0.3.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.0
40
+ version: 0.3.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: leafy-health
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.2.0
47
+ version: 0.3.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.2.0
54
+ version: 0.3.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -103,37 +103,113 @@ extensions: []
103
103
  extra_rdoc_files: []
104
104
  files:
105
105
  - ".gitignore"
106
+ - ".travis.yml"
107
+ - CHANGELOG.md
106
108
  - Gemfile
107
109
  - LICENSE
108
110
  - README.md
109
- - Rakefile
110
- - leafy-rack.gemspec
111
- - lib/leafy-rack.rb
112
- - lib/leafy-rack_jars.rb
113
- - lib/leafy/instrumented/basic_instrumented.rb
114
- - lib/leafy/instrumented/instrumented.rb
115
- - lib/leafy/json/health_writer.rb
116
- - lib/leafy/json/json_writer.rb
117
- - lib/leafy/json/metrics_writer.rb
118
- - lib/leafy/rack.rb
119
- - lib/leafy/rack/admin.rb
120
- - lib/leafy/rack/health.rb
121
- - lib/leafy/rack/instrumented.rb
122
- - lib/leafy/rack/metrics.rb
123
- - lib/leafy/rack/ping.rb
124
- - lib/leafy/rack/thread_dump.rb
125
- - lib/leafy/rack/version.rb
126
- - spec/admin_rack_spec.rb
127
- - spec/basic_instrumented_spec.rb
128
- - spec/health_rack_spec.rb
129
- - spec/health_writer_spec.rb
130
- - spec/instrumented_rack_spec.rb
131
- - spec/instrumented_spec.rb
132
- - spec/metrics_rack_spec.rb
133
- - spec/metrics_writer_spec.rb
134
- - spec/ping_rack_spec.rb
135
- - spec/setup.rb
136
- - spec/thread_dump_spec.rb
111
+ - examples/datadog/.gitignore
112
+ - examples/datadog/Gemfile
113
+ - examples/datadog/Mavenfile
114
+ - examples/datadog/README.md
115
+ - examples/datadog/lib/java_gauge.rb
116
+ - examples/datadog/lib/metrics.rb
117
+ - examples/datadog/lib/ruby_gauge.rb
118
+ - examples/hellowarld/.gitignore
119
+ - examples/hellowarld/Gemfile
120
+ - examples/hellowarld/Gemfile.lock
121
+ - examples/hellowarld/Mavenfile
122
+ - examples/hellowarld/README.md
123
+ - examples/hellowarld/Rakefile
124
+ - examples/hellowarld/WEB-INF/web.xml
125
+ - examples/hellowarld/app/hellowarld.rb
126
+ - examples/hellowarld/app/views/person.erb
127
+ - examples/hellowarld/config.ru
128
+ - leafy-complete.gemspec
129
+ - leafy-health/.gitignore
130
+ - leafy-health/Gemfile
131
+ - leafy-health/LICENSE
132
+ - leafy-health/README.md
133
+ - leafy-health/Rakefile
134
+ - leafy-health/leafy-health.gemspec
135
+ - leafy-health/lib/leafy-health.rb
136
+ - leafy-health/lib/leafy-health_jars.rb
137
+ - leafy-health/lib/leafy/health.rb
138
+ - leafy-health/lib/leafy/health/health_check.rb
139
+ - leafy-health/lib/leafy/health/registry.rb
140
+ - leafy-health/lib/leafy/health/version.rb
141
+ - leafy-health/spec/registry_spec.rb
142
+ - leafy-health/spec/setup.rb
143
+ - leafy-logger/.gitignore
144
+ - leafy-logger/Gemfile
145
+ - leafy-logger/LICENSE
146
+ - leafy-logger/README.md
147
+ - leafy-logger/Rakefile
148
+ - leafy-logger/leafy-logger.gemspec
149
+ - leafy-logger/lib/leafy-logger.rb
150
+ - leafy-logger/lib/leafy-logger_jars.rb
151
+ - leafy-logger/lib/leafy/logger.rb
152
+ - leafy-logger/lib/leafy/logger/appender_factories.rb
153
+ - leafy-logger/lib/leafy/logger/factory.rb
154
+ - leafy-logger/lib/leafy/logger/version.rb
155
+ - leafy-logger/spec/appender_factories_spec.rb
156
+ - leafy-logger/spec/factory_spec.rb
157
+ - leafy-logger/spec/logging.yml
158
+ - leafy-logger/spec/setup.rb
159
+ - leafy-metrics/.gitignore
160
+ - leafy-metrics/Gemfile
161
+ - leafy-metrics/LICENSE
162
+ - leafy-metrics/README.md
163
+ - leafy-metrics/Rakefile
164
+ - leafy-metrics/leafy-metrics.gemspec
165
+ - leafy-metrics/lib/leafy-metrics.rb
166
+ - leafy-metrics/lib/leafy-metrics_jars.rb
167
+ - leafy-metrics/lib/leafy/metrics.rb
168
+ - leafy-metrics/lib/leafy/metrics/console_reporter.rb
169
+ - leafy-metrics/lib/leafy/metrics/csv_reporter.rb
170
+ - leafy-metrics/lib/leafy/metrics/graphite/graphite.rb
171
+ - leafy-metrics/lib/leafy/metrics/graphite/graphite_reporter.rb
172
+ - leafy-metrics/lib/leafy/metrics/registry.rb
173
+ - leafy-metrics/lib/leafy/metrics/reporter.rb
174
+ - leafy-metrics/lib/leafy/metrics/version.rb
175
+ - leafy-metrics/spec/console_reporter_spec.rb
176
+ - leafy-metrics/spec/csv_reporter_spec.rb
177
+ - leafy-metrics/spec/graphite_reporter_spec.rb
178
+ - leafy-metrics/spec/graphite_spec.rb
179
+ - leafy-metrics/spec/registry_spec.rb
180
+ - leafy-metrics/spec/setup.rb
181
+ - leafy-rack/.gitignore
182
+ - leafy-rack/Gemfile
183
+ - leafy-rack/LICENSE
184
+ - leafy-rack/README.md
185
+ - leafy-rack/Rakefile
186
+ - leafy-rack/leafy-rack.gemspec
187
+ - leafy-rack/lib/leafy-rack.rb
188
+ - leafy-rack/lib/leafy-rack_jars.rb
189
+ - leafy-rack/lib/leafy/instrumented/basic_instrumented.rb
190
+ - leafy-rack/lib/leafy/instrumented/instrumented.rb
191
+ - leafy-rack/lib/leafy/json/health_writer.rb
192
+ - leafy-rack/lib/leafy/json/json_writer.rb
193
+ - leafy-rack/lib/leafy/json/metrics_writer.rb
194
+ - leafy-rack/lib/leafy/rack.rb
195
+ - leafy-rack/lib/leafy/rack/admin.rb
196
+ - leafy-rack/lib/leafy/rack/health.rb
197
+ - leafy-rack/lib/leafy/rack/instrumented.rb
198
+ - leafy-rack/lib/leafy/rack/metrics.rb
199
+ - leafy-rack/lib/leafy/rack/ping.rb
200
+ - leafy-rack/lib/leafy/rack/thread_dump.rb
201
+ - leafy-rack/lib/leafy/rack/version.rb
202
+ - leafy-rack/spec/admin_rack_spec.rb
203
+ - leafy-rack/spec/basic_instrumented_spec.rb
204
+ - leafy-rack/spec/health_rack_spec.rb
205
+ - leafy-rack/spec/health_writer_spec.rb
206
+ - leafy-rack/spec/instrumented_rack_spec.rb
207
+ - leafy-rack/spec/instrumented_spec.rb
208
+ - leafy-rack/spec/metrics_rack_spec.rb
209
+ - leafy-rack/spec/metrics_writer_spec.rb
210
+ - leafy-rack/spec/ping_rack_spec.rb
211
+ - leafy-rack/spec/setup.rb
212
+ - leafy-rack/spec/thread_dump_spec.rb
137
213
  homepage: https://github.com/lookout/leafy
138
214
  licenses:
139
215
  - MIT