kramdown 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of kramdown might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 05cb65d8c3b633833c3b93fb4df3fe0b11af7408
4
- data.tar.gz: f370942fc9b15e83b50b322467884fb35384a325
3
+ metadata.gz: 6fca305ca569f78677eaee502ca58f498f0ff42e
4
+ data.tar.gz: c1387c873ca7463f987a57c67ce330f50267bfbd
5
5
  SHA512:
6
- metadata.gz: 2714b1b6996bd54d01aedd4c24995eeba7091cb1ff4e8d8154e3b9c28a4bbdfd436727f34bd29711b9fb9a7fad6bdfbcbd6a7a935cd465e496a09091250d8a87
7
- data.tar.gz: 0a2023bd31764772204bbb6ebe568f3a0c37c4dfab33adf8080d58a84ccd7f56cc3cecef22ff8d9c863fbea42617521ef3f4b4ab568a4536420f50cd8fecfa32
6
+ metadata.gz: 409dfa7e4150ec35d541222f6a36341c8c5fa0640084df8cd39f49c6797077dd7ddd3fa6bb2ad14352766a6a5cabc9d5529bc26384f8aaceacfdb23208f2f10a
7
+ data.tar.gz: 7e842beafe84355582a19ad225f27f0b072a3454095aa82a4402369e239d6ec39c366866e7745ec8cd2e0b7bc42063f8bcbc2e93a505c33428db2cd7b6120ee4
@@ -1,6 +1,6 @@
1
1
  Count Name
2
2
  ======= ====
3
- 649 Thomas Leitner <t_leitner@gmx.at>
3
+ 656 Thomas Leitner <t_leitner@gmx.at>
4
4
  6 Gioele Barabucci <gioele@svario.it>
5
5
  4 Ted Pak <powerpak006@gmail.com>
6
6
  4 Arne Brasseur <arne@arnebrasseur.net>
@@ -19,6 +19,7 @@
19
19
  1 Pete Michaud <michaudp@gmail.com>
20
20
  1 myqlarson <myqlarson@gmail.com>
21
21
  1 Michal Till <michal.till@gmail.com>
22
+ 1 Matt Hickford <matt.hickford@gmail.com>
22
23
  1 Marcus Stollsteimer <sto.mar@web.de>
23
24
  1 Luca Barbato <luca.barbato@gmail.com>
24
25
  1 Jo Hund <jhund@clearcove.ca>
data/README.md CHANGED
@@ -8,7 +8,7 @@ projects, too.
8
8
 
9
9
  However, if you use kramdown in a commercial setting, please consider **contributing back any
10
10
  changes** for the benefit of the community and/or **making a donation** (see the links in the
11
- sidebar on the [kramdown homepage](http://kramdown.rubyforge.org/)!
11
+ sidebar on the [kramdown homepage](http://kramdown.gettalong.org/)!
12
12
 
13
13
 
14
14
  ## Introduction
@@ -17,8 +17,8 @@ kramdown is yet-another-markdown-parser but fast, pure Ruby, using a strict synt
17
17
  supporting several common extensions.
18
18
 
19
19
  The syntax definition for the kramdown syntax can be found in **doc/syntax.page** (or online at
20
- <http://kramdown.rubyforge.org/syntax.html>) and a quick reference is available in
21
- **doc/quickref.page** or online at <http://kramdown.rubyforge.org/quickref.html>.
20
+ <http://kramdown.gettalong.org/syntax.html>) and a quick reference is available in
21
+ **doc/quickref.page** or online at <http://kramdown.gettalong.org/quickref.html>.
22
22
 
23
23
  The kramdown library is mainly written to support the kramdown-to-HTML conversion chain. However,
24
24
  due to its flexibility it supports other input and output formats as well. Here is a list of the
@@ -28,7 +28,7 @@ supported formats:
28
28
  * output formats: HTML, kramdown, LaTeX (and therefore PDF)
29
29
 
30
30
  All the documentation on the available input and output formats is available in the **doc/**
31
- directory and online at <http://kramdown.rubyforge.org>.
31
+ directory and online at <http://kramdown.gettalong.org>.
32
32
 
33
33
  Starting from version 1.0.0 kramdown is using a versioning scheme with major, minor and patch parts
34
34
  in the version number where the major number changes on backwards-incompatible changes, the minor
@@ -47,7 +47,7 @@ Kramdown::Document.new(text).to_html
47
47
 
48
48
  For detailed information have a look at the API documentation of the `Kramdown::Document` class.
49
49
 
50
- The full API documentation is available at <http://kramdown.rubyforge.org/rdoc/>, other sites with an
50
+ The full API documentation is available at <http://kramdown.gettalong.org/rdoc/>, other sites with an
51
51
  API documentation for kramdown probably don't provide the complete documentation!
52
52
 
53
53
  There are also some third-party libraries that extend the functionality of kramdown -- see the
data/Rakefile CHANGED
@@ -43,11 +43,6 @@ begin
43
43
  rescue LoadError
44
44
  end
45
45
 
46
- begin
47
- require 'rubyforge'
48
- rescue LoadError
49
- end
50
-
51
46
  begin
52
47
  require 'rcov/rcovtask'
53
48
  rescue LoadError
@@ -195,7 +190,6 @@ EOF
195
190
  s.author = 'Thomas Leitner'
196
191
  s.email = 't_leitner@gmx.at'
197
192
  s.homepage = "http://kramdown.gettalong.org"
198
- s.rubyforge_project = 'kramdown'
199
193
  end
200
194
 
201
195
  Gem::PackageTask.new(spec) do |pkg|
@@ -205,48 +199,20 @@ EOF
205
199
 
206
200
  end
207
201
 
208
- if defined?(RubyForge) && defined?(Webgen) && defined?(Gem) && defined?(Rake::RDocTask)
202
+ if defined?(Webgen) && defined?(Gem) && defined?(Rake::RDocTask)
209
203
  desc 'Release Kramdown version ' + Kramdown::VERSION
210
- task :release => [:clobber, :package, :publish_files, :publish_website, :post_news]
204
+ task :release => [:clobber, :package, :publish_files, :publish_website]
211
205
  end
212
206
 
213
- if defined? RubyForge
214
- desc "Upload the release to Rubyforge"
207
+ if defined?(Gem)
208
+ desc "Upload the release to Rubygems"
215
209
  task :publish_files => [:package] do
216
- print 'Uploading files to Rubyforge...'
217
- $stdout.flush
218
-
219
- rf = RubyForge.new
220
- rf.configure
221
- rf.login
222
-
223
- rf.userconfig["release_notes"] = REL_PAGE.blocks['content']
224
- rf.userconfig["preformatted"] = false
225
-
226
- files = %w[.gem .tgz .zip].collect {|ext| "pkg/kramdown-#{Kramdown::VERSION}" + ext}
227
-
228
- rf.add_release('kramdown', 'kramdown', Kramdown::VERSION, *files)
229
-
230
210
  sh "gem push pkg/kramdown-#{Kramdown::VERSION}.gem"
231
211
  puts 'done'
232
212
  end
233
-
234
- desc 'Post announcement to rubyforge.'
235
- task :post_news do
236
- print 'Posting announcement to Rubyforge ...'
237
- $stdout.flush
238
- rf = RubyForge.new
239
- rf.configure
240
- rf.login
241
-
242
- content = REL_PAGE.blocks['content']
243
- content += "\n\n\nAbout kramdown\n\n#{SUMMARY}\n\n#{DESCRIPTION}"
244
- rf.post_news('kramdown', "kramdown #{Kramdown::VERSION} released", content)
245
- puts "done"
246
- end
247
213
  end
248
214
 
249
- desc "Upload the website to Rubyforge"
215
+ desc "Upload the website"
250
216
  task :publish_website => ['doc'] do
251
217
  puts "Transfer manually!!!"
252
218
  # sh "rsync -avc --delete --exclude 'MathJax' --exclude 'robots.txt' htmldoc/ gettalong@rubyforge.org:/var/www/gforge-projects/kramdown/"
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.2
1
+ 1.3.3
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <% if @converter.root.options[:encoding] %>
5
- <meta http-equiv="Content-type" content="text/html;<%= @converter.root.options[:encoding] %>">
5
+ <meta http-equiv="Content-type" content="text/html;charset=<%= @converter.root.options[:encoding] %>">
6
6
  <% end %>
7
7
  <%
8
8
  extend ::Kramdown::Utils::Html
@@ -53,11 +53,11 @@ content_processor.tikz.opts: |
53
53
 
54
54
  ## Bugs, Forums, Mailing Lists
55
55
 
56
- If you have found a bug, you should [report it here][bug_report]. Also, there is a [mailing
57
- lists][ml] available if you have any questions!
56
+ If you have found a bug, you should [report it here][bug_report]. Also, there is the [kramdown-users
57
+ google group][ml] available if you have any questions!
58
58
 
59
59
  [bug_report]: http://github.com/gettalong/kramdown/issues
60
- [ml]: http://rubyforge.org/mail/?group_id=7403
60
+ [ml]: https://groups.google.com/forum/#!forum/kramdown-users
61
61
 
62
62
 
63
63
  ## Thanks
@@ -69,15 +69,16 @@ If you are using Rubygems, installing the latest version of kramdown is as simpl
69
69
 
70
70
  ### Manual Installation
71
71
 
72
- The latest version of kramdown can always be downloaded as `.tar.gz` or `.zip` from [its files
73
- section on Rubyforge](http://rubyforge.org/frs/?group_id=7403). After the download the package needs
74
- to be decompressed and then you can install kramdown using the included `setup.rb` installation
75
- method:
72
+ The latest version of kramdown can always be downloaded as `.tar.gz` or `.zip` via the [Github
73
+ releases page][ghreleases]. After the download the package needs to be decompressed and then you can
74
+ install kramdown using the included `setup.rb` installation method:
76
75
 
77
76
  $ ruby setup.rb config
78
77
  $ ruby setup.rb setup
79
78
  $ ruby setup.rb install
80
79
 
80
+ [ghreleases]: https://github.com/gettalong/kramdown/releases
81
+
81
82
 
82
83
  ### Using the repository version
83
84
 
@@ -1,7 +1,7 @@
1
1
  <h2>News</h2>
2
2
 
3
- <p>The latest version of kramdown is <span class="inline-important">1.3.2</span> and it was released
4
- on <span class="inline-important">2014-02-16</span></p>
3
+ <p>The latest version of kramdown is <span class="inline-important">1.3.3</span> and it was released
4
+ on <span class="inline-important">2014-03-17</span></p>
5
5
 
6
6
  <p>More <a href="{relocatable: news.html}">news</a>…</p>
7
7
 
@@ -897,7 +897,7 @@ The following kramdown fragment
897
897
  \end{align*}
898
898
  $$
899
899
 
900
- renders as
900
+ renders (using Javascript library [MathJax](http://www.mathjax.org/)) as
901
901
 
902
902
  $$
903
903
  \begin{align*}
@@ -96,7 +96,13 @@ module Kramdown
96
96
  protected
97
97
  #######
98
98
 
99
- # Update the link definitions with the data from +link_defs+.
99
+ # :doc:
100
+ #
101
+ # Update the parser specific link definitions with the data from +link_defs+ (the value of the
102
+ # :link_defs option).
103
+ #
104
+ # The parameter +link_defs+ is a hash where the keys are possibly unnormalized link IDs and
105
+ # the values are two element arrays consisting of the link target and a title (can be +nil+).
100
106
  def update_link_definitions(link_defs)
101
107
  link_defs.each {|k,v| @link_defs[normalize_link_id(k)] = v}
102
108
  end
@@ -10,6 +10,6 @@
10
10
  module Kramdown
11
11
 
12
12
  # The kramdown version.
13
- VERSION = '1.3.2'
13
+ VERSION = '1.3.3'
14
14
 
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kramdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Leitner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-16 00:00:00.000000000 Z
11
+ date: 2014-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -558,7 +558,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
558
558
  - !ruby/object:Gem::Version
559
559
  version: '0'
560
560
  requirements: []
561
- rubyforge_project: kramdown
561
+ rubyforge_project:
562
562
  rubygems_version: 2.0.3
563
563
  signing_key:
564
564
  specification_version: 4