jekyll-import 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/lib/jekyll-import/importers/wordpress.rb +2 -2
  3. data/lib/jekyll-import/importers/wordpressdotcom.rb +1 -0
  4. data/lib/jekyll-import/version.rb +1 -1
  5. metadata +3 -96
  6. data/.gitignore +0 -21
  7. data/.travis.yml +0 -14
  8. data/Gemfile +0 -2
  9. data/History.markdown +0 -135
  10. data/Rakefile +0 -209
  11. data/jekyll-import.gemspec +0 -60
  12. data/script/bootstrap +0 -3
  13. data/script/cibuild +0 -3
  14. data/site/.gitignore +0 -4
  15. data/site/CNAME +0 -1
  16. data/site/README +0 -1
  17. data/site/_config.yml +0 -7
  18. data/site/_includes/analytics.html +0 -32
  19. data/site/_includes/docs_contents.html +0 -10
  20. data/site/_includes/docs_contents_mobile.html +0 -14
  21. data/site/_includes/docs_option.html +0 -11
  22. data/site/_includes/docs_ul.html +0 -20
  23. data/site/_includes/footer.html +0 -15
  24. data/site/_includes/header.html +0 -18
  25. data/site/_includes/news_contents.html +0 -23
  26. data/site/_includes/news_contents_mobile.html +0 -11
  27. data/site/_includes/news_item.html +0 -24
  28. data/site/_includes/primary-nav-items.html +0 -14
  29. data/site/_includes/section_nav.html +0 -22
  30. data/site/_includes/top.html +0 -17
  31. data/site/_layouts/default.html +0 -12
  32. data/site/_layouts/docs.html +0 -29
  33. data/site/_layouts/news.html +0 -19
  34. data/site/_layouts/news_item.html +0 -27
  35. data/site/_posts/2013-11-09-jekyll-import-0-1-0-beta4-release.markdown +0 -23
  36. data/site/_posts/2013-11-18-jekyll-import-0-1-0-rc1-released.markdown +0 -17
  37. data/site/_posts/2013-12-17-jekyll-import-0-1-0-released.markdown +0 -67
  38. data/site/_posts/2014-03-16-jekyll-import-0-2-0-released.markdown +0 -16
  39. data/site/_posts/2014-05-23-jekyll-import-0-3-0-released.markdown +0 -22
  40. data/site/_posts/2014-06-29-jekyll-import-0-4-0-released.markdown +0 -19
  41. data/site/css/gridism.css +0 -110
  42. data/site/css/normalize.css +0 -1
  43. data/site/css/pygments.css +0 -70
  44. data/site/css/style.css +0 -945
  45. data/site/docs/behance.md +0 -20
  46. data/site/docs/contributing.md +0 -8
  47. data/site/docs/csv.md +0 -37
  48. data/site/docs/drupal6.md +0 -24
  49. data/site/docs/drupal7.md +0 -24
  50. data/site/docs/easyblog.md +0 -25
  51. data/site/docs/enki.md +0 -23
  52. data/site/docs/ghost.md +0 -19
  53. data/site/docs/google_reader.md +0 -19
  54. data/site/docs/history.md +0 -130
  55. data/site/docs/index.md +0 -17
  56. data/site/docs/installation.md +0 -26
  57. data/site/docs/joomla.md +0 -26
  58. data/site/docs/jrnl.md +0 -23
  59. data/site/docs/marley.md +0 -20
  60. data/site/docs/mephisto.md +0 -23
  61. data/site/docs/mt.md +0 -39
  62. data/site/docs/posterous.md +0 -25
  63. data/site/docs/rss.md +0 -19
  64. data/site/docs/s9y.md +0 -19
  65. data/site/docs/textpattern.md +0 -30
  66. data/site/docs/third-party.md +0 -30
  67. data/site/docs/tumblr.md +0 -24
  68. data/site/docs/typo.md +0 -26
  69. data/site/docs/usage.md +0 -29
  70. data/site/docs/wordpress.md +0 -41
  71. data/site/docs/wordpressdotcom.md +0 -47
  72. data/site/favicon.png +0 -0
  73. data/site/feed.xml +0 -36
  74. data/site/img/article-footer.png +0 -0
  75. data/site/img/footer-arrow.png +0 -0
  76. data/site/img/footer-logo.png +0 -0
  77. data/site/img/logo-2x.png +0 -0
  78. data/site/img/octojekyll.png +0 -0
  79. data/site/img/tube.png +0 -0
  80. data/site/img/tube1x.png +0 -0
  81. data/site/index.html +0 -95
  82. data/site/js/modernizr-2.5.3.min.js +0 -4
  83. data/site/news/index.html +0 -10
  84. data/site/news/releases/index.html +0 -10
  85. data/test/helper.rb +0 -50
  86. data/test/test_jrnl_importer.rb +0 -39
  87. data/test/test_mt_importer.rb +0 -104
  88. data/test/test_tumblr_importer.rb +0 -108
  89. data/test/test_util.rb +0 -10
  90. data/test/test_wordpress_importer.rb +0 -9
  91. data/test/test_wordpressdotcom_importer.rb +0 -8
@@ -1,60 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'jekyll-import/version'
5
-
6
- Gem::Specification.new do |s|
7
- s.specification_version = 2 if s.respond_to? :specification_version=
8
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
- s.rubygems_version = '2.2.2'
10
- s.required_ruby_version = '>= 1.9.3'
11
-
12
- s.name = 'jekyll-import'
13
- s.version = JekyllImport::VERSION
14
- s.license = 'MIT'
15
-
16
- s.summary = "Import command for Jekyll (static site generator)."
17
- s.description = "Provides the Import command for Jekyll."
18
-
19
- s.authors = ["Tom Preston-Werner"]
20
- s.email = 'tom@mojombo.com'
21
- s.homepage = 'http://github.com/jekyll/jekyll-import'
22
-
23
- s.files = `git ls-files`.split($/)
24
- s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
25
- s.test_files = s.files.grep(%r{^(test|spec|features)/})
26
- s.require_paths = %w[lib]
27
-
28
- s.rdoc_options = ["--charset=UTF-8"]
29
- s.extra_rdoc_files = %w[README.markdown LICENSE]
30
-
31
- # runtime dependencies
32
- s.add_runtime_dependency('jekyll', '>= 1.4')
33
- s.add_runtime_dependency('fastercsv')
34
- s.add_runtime_dependency('nokogiri')
35
-
36
- # development dependencies
37
- s.add_development_dependency('rake', "~> 10.1.0")
38
- s.add_development_dependency('rdoc', "~> 4.0.0")
39
- s.add_development_dependency('activesupport', '~> 3.2')
40
-
41
- # test dependencies:
42
- s.add_development_dependency('redgreen', "~> 1.2")
43
- s.add_development_dependency('shoulda', "~> 3.5")
44
- s.add_development_dependency('rr', "~> 1.0")
45
- s.add_development_dependency('simplecov', "~> 0.7")
46
- s.add_development_dependency('simplecov-gem-adapter', "~> 1.0.1")
47
-
48
- # migrator dependencies:
49
- s.add_development_dependency('sequel', "~> 3.42")
50
- s.add_development_dependency('htmlentities', "~> 4.3")
51
- s.add_development_dependency('hpricot', "~> 0.8")
52
- s.add_development_dependency('mysql', "~> 2.8")
53
- s.add_development_dependency('pg', "~> 0.12")
54
- s.add_development_dependency('mysql2', "~> 0.3")
55
- s.add_development_dependency('behance', "~> 0.3")
56
- s.add_development_dependency('unidecode')
57
-
58
- # site dependencies:
59
- s.add_development_dependency('launchy', '~> 2.4')
60
- end
data/script/bootstrap DELETED
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- bundle install
data/script/cibuild DELETED
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
-
3
- bundle exec rake test
data/site/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- _site/
2
- *.swp
3
- pkg/
4
- test/
data/site/CNAME DELETED
@@ -1 +0,0 @@
1
- import.jekyllrb.com
data/site/README DELETED
@@ -1 +0,0 @@
1
- Jekyll's awesome website.
data/site/_config.yml DELETED
@@ -1,7 +0,0 @@
1
- title: "jekyll-import • Import your old & busted site to Jekyll"
2
- pygments: true
3
- relative_permalinks: false
4
- permalink: /news/:year/:month/:day/:title/
5
- excerpt_separator: ""
6
- repository: https://github.com/jekyll/jekyll-import
7
- latest_release: 0.2.0
@@ -1,32 +0,0 @@
1
- {% if site.gauges_id %}
2
- <!-- Gauges (http://gaug.es/) -->
3
- <script type="text/javascript">
4
- var _gauges = _gauges || [];
5
- (function() {
6
- var t = document.createElement('script');
7
- t.type = 'text/javascript';
8
- t.async = true;
9
- t.id = 'gauges-tracker';
10
- t.setAttribute('data-site-id', '{{ site.gauges_id }}');
11
- t.src = '//secure.gaug.es/track.js';
12
- var s = document.getElementsByTagName('script')[0];
13
- s.parentNode.insertBefore(t, s);
14
- })();
15
- </script>
16
- {% endif %}
17
-
18
- {% if site.google_analytics_id %}
19
- <!-- Google Analytics (http://google.com/analytics) -->
20
- <script type="text/javascript">
21
- var _gaq = _gaq || [];
22
- _gaq.push(['_setAccount', '{{ site.google_analytics_id }}']);
23
- _gaq.push(['_setDomainName', '{{ site.url }}']); // Multiple sub-domains
24
- _gaq.push(['_setAllowLinker', true]); // Multiple TLDs
25
- _gaq.push(['_trackPageview']);
26
- (function() {
27
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
28
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
29
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
30
- })();
31
- </script>
32
- {% endif %}
@@ -1,10 +0,0 @@
1
- <div class="unit one-fifth hide-on-mobiles">
2
- <aside>
3
- <h4>Getting Started</h4>
4
- {% include docs_ul.html items='home installation usage' %}
5
- <h4>Importers</h4>
6
- {% include docs_ul.html items='csv drupal6 drupal7 easyblog enki ghost google_reader joomla jrnl marley mephisto mt posterous rss s9y textpattern tumblr typo wordpress wordpressdotcom' %}
7
- <h4>Meta</h4>
8
- {% include docs_ul.html items='third-party contributing history' %}
9
- </aside>
10
- </div>
@@ -1,14 +0,0 @@
1
- <div class="docs-nav-mobile unit whole show-on-mobiles">
2
- <select onchange="if (this.value) window.location.href=this.value">
3
- <option value="">Navigate the docs…</option>
4
- <optgroup label="Getting started">
5
- {% include docs_option.html items='home installation usage' %}
6
- </optgroup>
7
- <optgroup label="Importers">
8
- {% include docs_option.html items='csv drupal6 drupal7 easyblog enki google_reader joomla jrnl marley mephisto mt posterous rss s9y textpattern tumblr typo wordpress wordpressdotcom' %}
9
- </optgroup>
10
- <optgroup label="Meta">
11
- {% include docs_option.html items='third-party contributing history' %}
12
- </optgroup>
13
- </select>
14
- </div>
@@ -1,11 +0,0 @@
1
- {% assign items = include.items | split: ' ' %}
2
-
3
- {% for item in items %}
4
- {% assign item_url = item | prepend:'/docs/' | append:'/' %}
5
-
6
- {% for p in site.pages %}
7
- {% if p.url == item_url %}
8
- <option value="{{ site.url }}{{ p.url }}">{{ p.title }}</option>
9
- {% endif %}
10
- {% endfor %}
11
- {% endfor %}
@@ -1,20 +0,0 @@
1
- {% assign items = include.items | split: ' ' %}
2
-
3
- <ul>
4
- {% for item in items %}
5
- {% assign item_url = item | prepend:'/docs/' | append:'/' %}
6
-
7
- {% if item_url == page.url %}
8
- {% assign c = 'current' %}
9
- {% else %}
10
- {% assign c = '' %}
11
- {% endif %}
12
-
13
- {% for p in site.pages %}
14
- {% if p.url == item_url %}
15
- <li class="{{ c }}"><a href="{{ site.url }}{{ p.url }}">{{ p.title }}</a></li>
16
- {% endif %}
17
- {% endfor %}
18
-
19
- {% endfor %}
20
- </ul>
@@ -1,15 +0,0 @@
1
- <footer>
2
- <div class="grid">
3
- <div class="unit one-third center-on-mobiles">
4
- <p>By <a href="http://tom.preston-werner.com">Tom Preston-Werner</a>, <a href="http://quaran.to/">Nick Quaranto</a>, and many more <a href="{{ site.repository }}/graphs/contributors">awesome&nbsp;contributors</a>.</p>
5
- </div>
6
- <div class="unit two-thirds align-right center-on-mobiles">
7
- <p>
8
- Proudly hosted by
9
- <a href="https://github.com">
10
- <img src="{{ site.url }}/img/footer-logo.png" alt="GitHub • Social coding">
11
- </a>
12
- </p>
13
- </div>
14
- </div>
15
- </footer>
@@ -1,18 +0,0 @@
1
- <header>
2
- <nav class="mobile-nav show-on-mobiles">
3
- {% include primary-nav-items.html %}
4
- </nav>
5
- <div class="grid">
6
- <div class="unit one-third center-on-mobiles">
7
- <h1>
8
- <a href="{{ site.url }}/">
9
- <span>Jekyll</span>
10
- <img src="{{ site.url }}/img/logo-2x.png" width="249" height="115" alt="">
11
- </a>
12
- </h1>
13
- </div>
14
- <nav class="main-nav unit two-thirds hide-on-mobiles">
15
- {% include primary-nav-items.html %}
16
- </nav>
17
- </div>
18
- </header>
@@ -1,23 +0,0 @@
1
- <div class="unit one-fifth hide-on-mobiles">
2
- <aside>
3
- <ul>
4
- <li class="{% if page.title == 'News' %}current{% endif %}">
5
- <a href="/news/">All News</a>
6
- </li>
7
- <li class="{% if page.title == 'Releases' %}current{% endif %}">
8
- <a href="/news/releases/">jekyll-import Releases</a>
9
- </li>
10
- </ul>
11
- <h4>Recent Releases</h4>
12
- <ul>
13
- {% for post in site.posts limit:5 %}
14
- <li class="{% if page.title == post.title %}current{% endif %}">
15
- <a href="{{ post.url }}">Version {{ post.version }}</a>
16
- </li>
17
- {% endfor %}
18
- <li>
19
- <a href="/docs/history/">History »</a>
20
- </li>
21
- </ul>
22
- </aside>
23
- </div>
@@ -1,11 +0,0 @@
1
- <div class="docs-nav-mobile unit whole show-on-mobiles">
2
- <select onchange="if (this.value) window.location.href=this.value">
3
- <option value="">Navigate the blog…</option>
4
- <option value="/news/">Home</option>
5
- <optgroup label="v0.x">
6
- {% for post in site.posts %}
7
- <option value="{{ post.url }}">{{ post.title }}</option>
8
- {% endfor %}
9
- </optgroup>
10
- </select>
11
- </div>
@@ -1,24 +0,0 @@
1
- <article>
2
- <h2>
3
- <a href="{{ post.url }}">
4
- {{ post.title }}
5
- </a>
6
- </h2>
7
- <span class="post-category">
8
- {% for category in post.categories %}
9
- <span class="label">{{ category }}</span>
10
- {% endfor %}
11
- </span>
12
- <div class="post-meta">
13
- <span class="post-date">
14
- {{ post.date | date_to_string }}
15
- </span>
16
- <a href="https://github.com/{{ post.author }}" class="post-author">
17
- <img src="https://github.com/{{ post.author }}.png" class="avatar" alt="{{ post.author }}"/>
18
- {{ post.author }}
19
- </a>
20
- </div>
21
- <div class="post-content">
22
- {{ post.content }}
23
- </div>
24
- </article>
@@ -1,14 +0,0 @@
1
- <ul>
2
- <li class="{% if page.overview %}current{% endif %}">
3
- <a href="{{ site.url }}/">Overview</a>
4
- </li>
5
- <li class="{% if page.url contains '/docs/' %}current{% endif %}">
6
- <a href="{{ site.url }}/docs/home/">Doc<span class="show-on-mobiles">s</span><span class="hide-on-mobiles">umentation</span></a>
7
- </li>
8
- <li class="{% if page.author %}current{% endif %}">
9
- <a href="{{ site.url }}/news/">News</a>
10
- </li>
11
- <li class="">
12
- <a href="{{ site.repository }}"><span class="hide-on-mobiles">View on </span>GitHub</a>
13
- </li>
14
- </ul>
@@ -1,22 +0,0 @@
1
- <div class="section-nav">
2
- <div class="left align-right">
3
- {% if page.prev_section != null %}
4
- <a href="{{ site.url }}/docs/{{ page.prev_section }}/" class="prev">
5
- Back
6
- </a>
7
- {% else %}
8
- <span class="prev disabled">Back</span>
9
- {% endif %}
10
- </div>
11
- <div class="right align-left">
12
- {% if page.next_section != null %}
13
- <a href="{{ site.url }}/docs/{{ page.next_section }}/" class="next">
14
- Next
15
- </a>
16
- {% else %}
17
- <span class="next disabled">Next</span>
18
- {% endif %}
19
- </div>
20
- <div class="clear"></div>
21
- </div>
22
-
@@ -1,17 +0,0 @@
1
- <!DOCTYPE HTML>
2
- <html lang="en-US">
3
- <head>
4
- <meta charset="UTF-8">
5
- <title>{{ page.title }} &mdash; {{ site.title }}</title>
6
- <meta name="viewport" content="width=device-width,initial-scale=1">
7
- <link rel="alternate" type="application/rss+xml" title="Jekyll • Simple, blog-aware, static sites - Feed" href="/feed.xml" />
8
- <link rel="alternate" type="application/atom+xml" title="Recent commits to Jekyll’s master branch" href="{{ site.repository }}/commits/master.atom" />
9
- <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'>
10
- <link href='http://fonts.googleapis.com/css?family=Arizonia' rel='stylesheet' type='text/css'>
11
- <link rel="stylesheet" href="{{ site.url }}/css/normalize.css" />
12
- <link rel="stylesheet" href="{{ site.url }}/css/gridism.css" />
13
- <link rel="stylesheet" href="{{ site.url }}/css/style.css" />
14
- <link rel="stylesheet" href="{{ site.url }}/css/pygments.css" />
15
- <link rel="icon" type="image/x-icon" href="{{ site.url }}/favicon.png" />
16
- <script src="{{ site.url }}/js/modernizr-2.5.3.min.js"></script>
17
- </head>
@@ -1,12 +0,0 @@
1
- {% include top.html %}
2
-
3
- <body class="wrap">
4
- {% include header.html %}
5
-
6
- {{ content }}
7
-
8
- {% include footer.html %}
9
- {% include analytics.html %}
10
-
11
- </body>
12
- </html>
@@ -1,29 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <section class="docs">
6
- <div class="grid">
7
-
8
- {% include docs_contents_mobile.html %}
9
-
10
- <div class="unit four-fifths">
11
- <article>
12
- <h1>{{ page.title }}</h1>
13
- {{ content }}
14
- {% if page.link_source %}
15
- <div class="button">
16
- {% capture link_to_source %}{{ site.repository }}/blob/v{{ site.latest_release }}/lib/jekyll-import/importers/{{ page.link_source }}.rb{% endcapture %}
17
- <a href="{{ link_to_source }}">View Source &rarr;</a>
18
- </div>
19
- {% endif %}
20
- {% include section_nav.html %}
21
- </article>
22
- </div>
23
-
24
- {% include docs_contents.html %}
25
-
26
- <div class="clear"></div>
27
-
28
- </div>
29
- </section>
@@ -1,19 +0,0 @@
1
- ---
2
- layout: default
3
- ---
4
-
5
- <section class="news">
6
- <div class="grid">
7
-
8
- {% include news_contents_mobile.html %}
9
-
10
- <div class="unit four-fifths">
11
- {{ content }}
12
- </div>
13
-
14
- {% include news_contents.html %}
15
-
16
- <div class="clear"></div>
17
-
18
- </div>
19
- </section>
@@ -1,27 +0,0 @@
1
- ---
2
- layout: news
3
- ---
4
-
5
- <article>
6
- <h2>
7
- {{ page.title }}
8
- <a href="{{ page.url }}" class="permalink" title="Permalink">∞</a>
9
- </h2>
10
- <span class="post-category">
11
- {% for category in page.categories %}
12
- <span class="label">{{ category }}</span>
13
- {% endfor %}
14
- </span>
15
- <div class="post-meta">
16
- <span class="post-date">
17
- {{ page.date | date_to_string }}
18
- </span>
19
- <a href="https://github.com/{{ page.author }}" class="post-author">
20
- <img src="https://github.com/{{ page.author }}.png" class="avatar" />
21
- {{ page.author }}
22
- </a>
23
- </div>
24
- <p class="post-content">
25
- {{ content }}
26
- </p>
27
- </article>