github-markdown 0.6.8 → 0.6.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e97baad603e3bae831e7f90acc332ede4bff6b12
4
- data.tar.gz: 6bd93a2c15ed4d79c49d3e8cfb8cdd84189d424b
3
+ metadata.gz: a2f2a20e79b2838e629c702b785c60edc0fd286f
4
+ data.tar.gz: 633a0cb21dfb034293b8449b7f65bcc77d51e96b
5
5
  SHA512:
6
- metadata.gz: 85b4094015641be9cb7fc7bea28c60367a0021fc1cc08473684d88cda0ef70815f41a4a8568968a0a61e7e6f1b4e694b9d3dc1921197537cea4babf699ac2aff
7
- data.tar.gz: f223c5be41dfec0a79854cbe97bcb7516d8d470422a2d9ab4c326e82649eea67121fed452f71a308cd6bd53c8b9c405f188e7cc99db9a6c0fed6fe0cb3a38922
6
+ metadata.gz: 2d0fa591d20cfcaa459fde53061ad9c59da05f2f6a6163dc79305d29b971663c16ccedf3882a01039e1ffbfd29e86cad2e6d15f4459b40a2568b51fe7693d2e6
7
+ data.tar.gz: 5c705bf59ec494a7032c2e94821a7d12713073381e8c2658c2c5d8be26e6151473389aa8973e1716041b4b5c583677733cb77e157a037451e88c7384ab5b9fc4
@@ -360,7 +360,7 @@ tag_length(uint8_t *data, size_t size, enum mkd_autolink *autolink)
360
360
  static void
361
361
  parse_inline(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t size)
362
362
  {
363
- size_t i = 0, end = 0;
363
+ size_t i = 0, end = 0, consumed = 0;
364
364
  uint8_t action = 0;
365
365
  struct buf work = { 0, 0, 0, 0 };
366
366
 
@@ -385,12 +385,13 @@ parse_inline(struct buf *ob, struct sd_markdown *rndr, uint8_t *data, size_t siz
385
385
  if (end >= size) break;
386
386
  i = end;
387
387
 
388
- end = markdown_char_ptrs[(int)action](ob, rndr, data + i, i, size - i);
388
+ end = markdown_char_ptrs[(int)action](ob, rndr, data + i, i - consumed, size - i);
389
389
  if (!end) /* no action from the callback */
390
390
  end = i + 1;
391
391
  else {
392
392
  i += end;
393
393
  end = i;
394
+ consumed = i;
394
395
  }
395
396
  }
396
397
  }
@@ -1,12 +1,10 @@
1
1
  # encoding: utf-8
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'github-markdown'
4
- s.version = '0.6.8'
5
- s.summary = 'The Markdown parser for GitHub.com'
6
- s.description = 'Self-contained Markdown parser for GitHub, with all our custom extensions'
7
- s.date = '2014-12-05'
8
- s.email = 'vicent@github.com'
9
- s.homepage = 'http://github.github.com/github-flavored-markdown/'
4
+ s.version = '0.6.9'
5
+ s.summary = 'THIS GEM IS NOT MAINTAINED AND NOT SUPPORTED. The Markdown parser for GitHub.com'
6
+ s.description = 'THIS GEM IS NOT MAINTAINED AND NOT SUPPORTED. Self-contained Markdown parser for GitHub, with all our custom extensions'
7
+ s.license = 'MIT'
10
8
  s.authors = ['GitHub, Inc']
11
9
  # = MANIFEST =
12
10
  s.files = %w[
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.6.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-05 00:00:00.000000000 Z
11
+ date: 2015-08-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: Self-contained Markdown parser for GitHub, with all our custom extensions
14
- email: vicent@github.com
13
+ description: THIS GEM IS NOT MAINTAINED AND NOT SUPPORTED. Self-contained Markdown
14
+ parser for GitHub, with all our custom extensions
15
+ email:
15
16
  executables: []
16
17
  extensions:
17
18
  - ext/markdown/extconf.rb
@@ -40,8 +41,9 @@ files:
40
41
  - github-markdown.gemspec
41
42
  - lib/github/markdown.rb
42
43
  - test/gfm_test.rb
43
- homepage: http://github.github.com/github-flavored-markdown/
44
- licenses: []
44
+ homepage:
45
+ licenses:
46
+ - MIT
45
47
  metadata: {}
46
48
  post_install_message:
47
49
  rdoc_options: []
@@ -59,9 +61,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
59
61
  version: '0'
60
62
  requirements: []
61
63
  rubyforge_project:
62
- rubygems_version: 2.2.2
64
+ rubygems_version: 2.2.3
63
65
  signing_key:
64
66
  specification_version: 4
65
- summary: The Markdown parser for GitHub.com
67
+ summary: THIS GEM IS NOT MAINTAINED AND NOT SUPPORTED. The Markdown parser for GitHub.com
66
68
  test_files:
67
69
  - test/gfm_test.rb