github-markup 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +6 -0
- data/lib/github-markup.rb +1 -1
- data/lib/github/markup/command_implementation.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a68355c11bfbaaba61c5b8b2539f1aabc2555a8d
|
4
|
+
data.tar.gz: e5c2cb1e440dab9c90a65755f03a8a3cd587bdae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df83824e205c672c8b9f1fd036101ca192f6b12f9f053f8ecc87a539e4b5713e8ea34d49336059e873317cd44a7e509c99b319def93a5fcd68e55483e5d2d070
|
7
|
+
data.tar.gz: 1adfc555e5366392299855b754f808339cf7756882c58aeedfbd22ea0e03b9a0b75ef40390aab1635e8c23edb8a932253978cb55e2afab1907937cc042c70b33
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 1.3.3 (2015-02-17)
|
2
|
+
|
3
|
+
* Address a slight typo with `POSIX` [#456](https://github.com/github/markup/pull/456)
|
4
|
+
|
5
|
+
[Full changelog](https://github.com/github/markup/compare/v1.3.2...v1.3.3)
|
6
|
+
|
1
7
|
## 1.3.2 (2015-02-17)
|
2
8
|
|
3
9
|
* RST: Output code instead of tt for inline literals [#370](https://github.com/github/markup/pull/370)
|
data/lib/github-markup.rb
CHANGED
@@ -36,8 +36,8 @@ module GitHub
|
|
36
36
|
rendered
|
37
37
|
end
|
38
38
|
end
|
39
|
-
|
40
|
-
if defined?(
|
39
|
+
|
40
|
+
if defined?(POSIX::Spawn)
|
41
41
|
def execute(command, target)
|
42
42
|
spawn = POSIX::Spawn::Child.new(*command, :input => target)
|
43
43
|
if spawn.status.success?
|
@@ -60,11 +60,11 @@ module GitHub
|
|
60
60
|
sanitize(output.join(''), target.encoding)
|
61
61
|
end
|
62
62
|
end
|
63
|
-
|
63
|
+
|
64
64
|
def sanitize(input, encoding)
|
65
65
|
input.gsub("\r", '').force_encoding(encoding)
|
66
66
|
end
|
67
|
-
|
67
|
+
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-markup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Wanstrath
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|