github-markdown-preview 3.1.4 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile.optional +1 -4
- data/github-markdown-preview.gemspec +5 -12
- data/lib/github-markdown-preview/version.rb +1 -1
- data/readme.md +4 -4
- data/test/filter/task_list_filter_test.rb +0 -1
- data/test/github-markdown-preview_test.rb +1 -2
- data/test/html_preview_test.rb +3 -1
- metadata +19 -49
- data/test/test_helper.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7ff58b9e391d6d4dbdce380134e508bb0cf42ac
|
4
|
+
data.tar.gz: 8bd3e79ec1685b7170b04294a6aa28c694fd3339
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e4ab638cf335b5f63849097d440b374b3fca6da494f34002cbfc2e1f8952a165dbe5110a3ec9678a82f3dc5591ff6f6c2223344e2dd5a8a3f50ab2ae93aee6a
|
7
|
+
data.tar.gz: db30eeacdacf4d709d1796b6a047528dd8af773747c731ff3909cfdc4227984cd5ab79f4a6a414505225b55a0686a5a43c3971e773ce4cec0e947e38bb605d93
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v4.0.0
|
4
|
+
* **Breaking changes:**
|
5
|
+
- Drop Ruby 1.9 support and upgrade all dependencies to latest [#39](https://github.com/dmarcotte/github-markdown-preview/pull/39)
|
6
|
+
|
3
7
|
## v3.1.4
|
4
8
|
* Fix `unitialized constant GitHub (NameError)` [#36](https://github.com/dmarcotte/github-markdown-preview/pull/36)
|
5
9
|
|
data/Gemfile.optional
CHANGED
@@ -13,20 +13,13 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.description = %q{Local previews for Github markdown}
|
14
14
|
s.license = 'MIT'
|
15
15
|
|
16
|
-
s.add_dependency 'listen', '
|
17
|
-
s.add_dependency 'html-pipeline', '
|
18
|
-
s.add_dependency 'sanitize', '
|
19
|
-
s.add_dependency 'github-markdown', '
|
20
|
-
s.add_dependency 'gemoji', '
|
21
|
-
|
22
|
-
##
|
23
|
-
# need to pin json to 1.8.1 for now because of an odd issue with
|
24
|
-
# 1.8.2 that leads to https://github.com/dmarcotte/github-markdown-preview/issues/35
|
25
|
-
# todo: lift this restriction eventually
|
26
|
-
s.add_dependency 'json', '1.8.1'
|
16
|
+
s.add_dependency 'listen', '3.0.3'
|
17
|
+
s.add_dependency 'html-pipeline', '2.0'
|
18
|
+
s.add_dependency 'sanitize', '4.0.0'
|
19
|
+
s.add_dependency 'github-markdown', '0.6.8'
|
20
|
+
s.add_dependency 'gemoji', '2.1.0'
|
27
21
|
|
28
22
|
s.add_development_dependency 'minitest', '~> 5.4'
|
29
|
-
s.add_development_dependency 'bundler', '~> 1.7'
|
30
23
|
s.add_development_dependency 'rake', '~> 10.3'
|
31
24
|
|
32
25
|
s.files = `git ls-files`.split("\n")
|
data/readme.md
CHANGED
@@ -35,11 +35,11 @@ $ github-markdown-preview -c <path/to/comment/draft.md> # writes <path/to/commen
|
|
35
35
|
|
36
36
|
### Enable syntax highlighting for code blocks
|
37
37
|
To enable syntax highlighting for code blocks, you will need to install [`github-linguist`](https://github.com/github/linguist):
|
38
|
-
```
|
39
|
-
gem install github-linguist -v 3.3.1
|
40
|
-
```
|
41
38
|
|
42
|
-
|
39
|
+
```bash
|
40
|
+
gem install github-linguist -v 3.3.1 # 3.3.1 is required
|
41
|
+
gem install rugged -v 0.23.0 # undeclared dependency of linguist
|
42
|
+
```
|
43
43
|
|
44
44
|
Note that this install will fail unless your system meets the requirements needed to build its native extensions:
|
45
45
|
* You will to either `brew install icu4c` or `apt-get install libicu-dev`
|
data/test/html_preview_test.rb
CHANGED
@@ -1,13 +1,15 @@
|
|
1
|
-
require_relative 'test_helper'
|
2
1
|
require 'github-markdown-preview'
|
3
2
|
require 'minitest/autorun'
|
4
3
|
require 'tmpdir'
|
5
4
|
|
6
5
|
begin
|
6
|
+
gem 'github-linguist', '=3.3.1'
|
7
7
|
require 'linguist'
|
8
8
|
LINGUIST_LOADED = true
|
9
|
+
puts "\nTesting with syntax highlighting ENABLED\n\n"
|
9
10
|
rescue LoadError => _
|
10
11
|
LINGUIST_LOADED = false
|
12
|
+
puts "\nTesting with syntax highlighting DISENABLED. Use BUNDLE_GEMFILE=Gemfile.optional to enable\n\n"
|
11
13
|
end
|
12
14
|
|
13
15
|
class TestHtmlPreview < Minitest::Test
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-markdown-preview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Marcotte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: listen
|
@@ -16,84 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.0.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.0.3
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: html-pipeline
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.0'
|
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: '
|
40
|
+
version: '2.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sanitize
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 4.0.0
|
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:
|
54
|
+
version: 4.0.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: github-markdown
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.6.8
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.6.8
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: gemoji
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '2.1'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '2.1'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: json
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - '='
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
75
|
+
version: 2.1.0
|
90
76
|
type: :runtime
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - '='
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
82
|
+
version: 2.1.0
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: minitest
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,20 +94,6 @@ dependencies:
|
|
108
94
|
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: '5.4'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: bundler
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.7'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '1.7'
|
125
97
|
- !ruby/object:Gem::Dependency
|
126
98
|
name: rake
|
127
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,7 +138,6 @@ files:
|
|
166
138
|
- test/filter/task_list_filter_test.rb
|
167
139
|
- test/github-markdown-preview_test.rb
|
168
140
|
- test/html_preview_test.rb
|
169
|
-
- test/test_helper.rb
|
170
141
|
homepage: https://github.com/dmarcotte/github-markdown-preview
|
171
142
|
licenses:
|
172
143
|
- MIT
|
@@ -187,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
187
158
|
version: '0'
|
188
159
|
requirements: []
|
189
160
|
rubyforge_project:
|
190
|
-
rubygems_version: 2.4.
|
161
|
+
rubygems_version: 2.4.7
|
191
162
|
signing_key:
|
192
163
|
specification_version: 4
|
193
164
|
summary: Use your favorite editor plus the usual edit/refresh cycle to quickly write
|
@@ -196,4 +167,3 @@ test_files:
|
|
196
167
|
- test/filter/task_list_filter_test.rb
|
197
168
|
- test/github-markdown-preview_test.rb
|
198
169
|
- test/html_preview_test.rb
|
199
|
-
- test/test_helper.rb
|
data/test/test_helper.rb
DELETED