lines 0.1.23 → 0.1.24

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTIwMmJjMDE2ODE1NTNjMmFlMDEyNTlmOTVkZDIyYzliOTI5NzMyYg==
4
+ ZTJhOWYwNjQ0Y2MwNzlmMThkY2U4ODAzMmFmZjA2NTE2NDU3Zjc0OQ==
5
5
  data.tar.gz: !binary |-
6
- ODM3YmQzNjcwOGNjNTQ3NTViNTNlZTRiZmMyMjc1ZWJkYjZmOGE2OQ==
6
+ NmYxNzcxNzY0YmUyOTFhNWUyNzZkZDBkYmMzYmFiZjJlMTY4YmM5Zg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZGM2NDAwM2YwMmZhZWM4MTk4MzA0MDY1YTZmZDc0MGE5OTQyYjU1MTI3MTM1
10
- NDU0N2JiZWM3ZGZkOGNhNjQzYzc2MTUwMzA0M2RkZmFjZDEyMWQ3YWM1MDNm
11
- MTc5NGIyYTQwNWQ5MjIxNmU1MjhjZWVhMzc5MzE0OWFiNzMwZTA=
9
+ OGE3NWJhNTkyNzU4ZjI5OTY3ODhlZDRjYWYzOTczYTlhMjhhOTM2NjAxMWY0
10
+ MWZiOTc2NDIyNzc2ZGIwZGNlOTg0YTcxNjNhNjk2ZDc5N2MwOGE4MDhiMjhj
11
+ OWE2N2FiNDQ1YzdlNjhhNTkzNmViNWE4MmE3ZjhkMTdiNzM3NzI=
12
12
  data.tar.gz: !binary |-
13
- YjM5OWRkYjFlMmM4MWI4YWI2YzVmMDlmY2Y5OTVkMDgzOGUxYTM0ZjNlYzUx
14
- OGEzOTM3ZjEwYWI1MGU0OTViYjE1ZGRjMDdiMzQzOWFhYzA4MmFmYzNkNDA2
15
- Nzg3ZTU0NzcxM2Q3ODdmOGI0M2ViMWRlOTIzMTI5YWQwNDk4MDk=
13
+ ODIzOWMzZDQ3Y2Y1MDk2NWRmYzUyNDExZjU0YzA2YTIyNTQ3ZjIzYTc2Mzgw
14
+ ZTYxZjBiZDZkMjJjMDE3MzIzZDZlYTIyMzA5YjA2Y2YwNmMyMDM3N2NiZjA0
15
+ NGUzZjQwYTgxOTlmY2I1ZTQ3OTdlM2QwYmQ1ZDY2NzNkZTgxMjk=
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ 0.1.24 / 2013-07-09
3
+ ==================
4
+
5
+ * Fixes escaping issue with Syslog
6
+
2
7
  0.1.22 / 2013-06-27
3
8
  ==================
4
9
 
data/lib/lines.rb CHANGED
@@ -176,10 +176,7 @@ module Lines
176
176
  level = extract_pri(obj)
177
177
  str = dumper.dump(obj)
178
178
 
179
- # Escape printf formatting
180
- str.gsub!('%', '%%')
181
-
182
- syslog.log(level, str)
179
+ syslog.log(level, "%s", str)
183
180
  end
184
181
 
185
182
  protected
data/lib/lines/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lines
2
- VERSION = "0.1.23"
2
+ VERSION = "0.1.24"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lines
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Pfenniger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-08 00:00:00.000000000 Z
11
+ date: 2013-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler