steno 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
data/bin/steno-prettify CHANGED
@@ -1,10 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__)
4
-
5
- require "bundler"
6
- Bundler.setup
7
-
8
3
  require "optparse"
9
4
  require "yajl"
10
5
 
data/lib/steno/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Steno
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
data/steno.gemspec CHANGED
@@ -9,7 +9,16 @@ Gem::Specification.new do |gem|
9
9
  gem.summary = "A logging library."
10
10
  gem.homepage = "http://www.cloudfoundry.org"
11
11
 
12
- gem.files = `git ls-files`.split($\)
12
+ gitignore = File.readlines(".gitignore").grep(/^[^#]/).map { |s| s.chomp }
13
+
14
+ # Ignore Gemfile, this is a library
15
+ gitignore << "Gemfile*"
16
+
17
+ glob = Dir["**/*"].
18
+ reject { |f| File.directory?(f) }.
19
+ reject { |f| gitignore.any? { |i| File.fnmatch(i, f) } }
20
+
21
+ gem.files = glob
13
22
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
14
23
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
24
  gem.name = "steno"
@@ -17,7 +26,7 @@ Gem::Specification.new do |gem|
17
26
  gem.version = Steno::VERSION
18
27
 
19
28
  gem.add_dependency("grape")
20
- gem.add_dependency("yajl-ruby")
29
+ gem.add_dependency("yajl-ruby", "~> 1.0")
21
30
 
22
31
  gem.add_development_dependency("ci_reporter")
23
32
  gem.add_development_dependency("rack-test")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: steno
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-20 00:00:00.000000000 Z
12
+ date: 2012-08-30 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: grape
16
- requirement: !ruby/object:Gem::Requirement
16
+ requirement: &19932500 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,31 +21,21 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
24
+ version_requirements: *19932500
30
25
  - !ruby/object:Gem::Dependency
31
26
  name: yajl-ruby
32
- requirement: !ruby/object:Gem::Requirement
27
+ requirement: &19931860 !ruby/object:Gem::Requirement
33
28
  none: false
34
29
  requirements:
35
- - - ! '>='
30
+ - - ~>
36
31
  - !ruby/object:Gem::Version
37
- version: '0'
32
+ version: '1.0'
38
33
  type: :runtime
39
34
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
35
+ version_requirements: *19931860
46
36
  - !ruby/object:Gem::Dependency
47
37
  name: ci_reporter
48
- requirement: !ruby/object:Gem::Requirement
38
+ requirement: &19931260 !ruby/object:Gem::Requirement
49
39
  none: false
50
40
  requirements:
51
41
  - - ! '>='
@@ -53,15 +43,10 @@ dependencies:
53
43
  version: '0'
54
44
  type: :development
55
45
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
46
+ version_requirements: *19931260
62
47
  - !ruby/object:Gem::Dependency
63
48
  name: rack-test
64
- requirement: !ruby/object:Gem::Requirement
49
+ requirement: &19930500 !ruby/object:Gem::Requirement
65
50
  none: false
66
51
  requirements:
67
52
  - - ! '>='
@@ -69,15 +54,10 @@ dependencies:
69
54
  version: '0'
70
55
  type: :development
71
56
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
57
+ version_requirements: *19930500
78
58
  - !ruby/object:Gem::Dependency
79
59
  name: rake
80
- requirement: !ruby/object:Gem::Requirement
60
+ requirement: &19929840 !ruby/object:Gem::Requirement
81
61
  none: false
82
62
  requirements:
83
63
  - - ! '>='
@@ -85,15 +65,10 @@ dependencies:
85
65
  version: '0'
86
66
  type: :development
87
67
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
68
+ version_requirements: *19929840
94
69
  - !ruby/object:Gem::Dependency
95
70
  name: rspec
96
- requirement: !ruby/object:Gem::Requirement
71
+ requirement: &19929160 !ruby/object:Gem::Requirement
97
72
  none: false
98
73
  requirements:
99
74
  - - ! '>='
@@ -101,12 +76,7 @@ dependencies:
101
76
  version: '0'
102
77
  type: :development
103
78
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
79
+ version_requirements: *19929160
110
80
  description: A thread-safe logging library designed to support multiple log destinations.
111
81
  email:
112
82
  - mpage@rbcon.com
@@ -115,49 +85,47 @@ executables:
115
85
  extensions: []
116
86
  extra_rdoc_files: []
117
87
  files:
118
- - .gitignore
119
- - Gemfile
120
- - LICENSE
121
- - README.md
122
88
  - Rakefile
123
- - bin/steno-prettify
124
- - lib/steno.rb
125
- - lib/steno/codec.rb
126
- - lib/steno/codec/base.rb
127
- - lib/steno/codec/json.rb
128
- - lib/steno/config.rb
129
- - lib/steno/context.rb
130
- - lib/steno/core_ext.rb
131
- - lib/steno/errors.rb
132
- - lib/steno/http_handler.rb
133
- - lib/steno/json_prettifier.rb
134
- - lib/steno/log_level.rb
135
- - lib/steno/logger.rb
136
- - lib/steno/record.rb
137
- - lib/steno/sink.rb
138
- - lib/steno/sink/base.rb
139
- - lib/steno/sink/io.rb
140
- - lib/steno/sink/syslog.rb
141
- - lib/steno/tagged_logger.rb
142
- - lib/steno/version.rb
143
- - spec/spec_helper.rb
144
- - spec/support/barrier.rb
145
89
  - spec/support/null_sink.rb
146
90
  - spec/support/shared_context_specs.rb
147
- - spec/unit/config_spec.rb
91
+ - spec/support/barrier.rb
92
+ - spec/spec_helper.rb
148
93
  - spec/unit/context_spec.rb
94
+ - spec/unit/steno_spec.rb
95
+ - spec/unit/json_prettifier_spec.rb
96
+ - spec/unit/config_spec.rb
149
97
  - spec/unit/core_ext_spec.rb
98
+ - spec/unit/record_spec.rb
99
+ - spec/unit/logger_spec.rb
100
+ - spec/unit/log_level_spec.rb
150
101
  - spec/unit/http_handler_spec.rb
151
102
  - spec/unit/json_codec_spec.rb
152
- - spec/unit/json_prettifier_spec.rb
153
- - spec/unit/log_level_spec.rb
154
- - spec/unit/logger_spec.rb
155
- - spec/unit/record_spec.rb
156
- - spec/unit/sink/io_spec.rb
157
103
  - spec/unit/sink/syslog_spec.rb
158
- - spec/unit/steno_spec.rb
104
+ - spec/unit/sink/io_spec.rb
159
105
  - spec/unit/tagged_logger_spec.rb
106
+ - lib/steno/tagged_logger.rb
107
+ - lib/steno/config.rb
108
+ - lib/steno/codec.rb
109
+ - lib/steno/logger.rb
110
+ - lib/steno/context.rb
111
+ - lib/steno/version.rb
112
+ - lib/steno/log_level.rb
113
+ - lib/steno/http_handler.rb
114
+ - lib/steno/errors.rb
115
+ - lib/steno/core_ext.rb
116
+ - lib/steno/record.rb
117
+ - lib/steno/sink.rb
118
+ - lib/steno/json_prettifier.rb
119
+ - lib/steno/sink/io.rb
120
+ - lib/steno/sink/syslog.rb
121
+ - lib/steno/sink/base.rb
122
+ - lib/steno/codec/json.rb
123
+ - lib/steno/codec/base.rb
124
+ - lib/steno.rb
125
+ - README.md
126
+ - LICENSE
160
127
  - steno.gemspec
128
+ - bin/steno-prettify
161
129
  homepage: http://www.cloudfoundry.org
162
130
  licenses: []
163
131
  post_install_message:
@@ -178,25 +146,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
146
  version: '0'
179
147
  requirements: []
180
148
  rubyforge_project:
181
- rubygems_version: 1.8.23
149
+ rubygems_version: 1.8.10
182
150
  signing_key:
183
151
  specification_version: 3
184
152
  summary: A logging library.
185
153
  test_files:
186
- - spec/spec_helper.rb
187
- - spec/support/barrier.rb
188
154
  - spec/support/null_sink.rb
189
155
  - spec/support/shared_context_specs.rb
190
- - spec/unit/config_spec.rb
156
+ - spec/support/barrier.rb
157
+ - spec/spec_helper.rb
191
158
  - spec/unit/context_spec.rb
159
+ - spec/unit/steno_spec.rb
160
+ - spec/unit/json_prettifier_spec.rb
161
+ - spec/unit/config_spec.rb
192
162
  - spec/unit/core_ext_spec.rb
163
+ - spec/unit/record_spec.rb
164
+ - spec/unit/logger_spec.rb
165
+ - spec/unit/log_level_spec.rb
193
166
  - spec/unit/http_handler_spec.rb
194
167
  - spec/unit/json_codec_spec.rb
195
- - spec/unit/json_prettifier_spec.rb
196
- - spec/unit/log_level_spec.rb
197
- - spec/unit/logger_spec.rb
198
- - spec/unit/record_spec.rb
199
- - spec/unit/sink/io_spec.rb
200
168
  - spec/unit/sink/syslog_spec.rb
201
- - spec/unit/steno_spec.rb
169
+ - spec/unit/sink/io_spec.rb
202
170
  - spec/unit/tagged_logger_spec.rb
data/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- Gemfile.lock
2
- spec/reports
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in steno.gemspec
4
- gemspec