jekyll-crosspost-to-medium 0.1.9 → 0.1.10

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: 6a27bf1a1d34e158a1aacb5320a948fbc46b4ba5
4
- data.tar.gz: 2850b28186cba4edda278c2bb4a03e5908d4b41b
3
+ metadata.gz: e83640baadbb7b239e6f6dcff6c03e2403849d47
4
+ data.tar.gz: eee586a530345029b70e8281d69ef60aea891def
5
5
  SHA512:
6
- metadata.gz: 19afd436b905853c2126e85acc0907bc9201484f897dec62abe63566ef76a89878eaf12a4701bdb71e146780df65f87b6512c3c750371b39b989c153c3e74d81
7
- data.tar.gz: 4a8343578e627700f212be74188f9e5041bf144043ba399fab6d08429cc04b723345485bdfb767d199a006792f88ec51a6e34a2ac8a6dcd2f975dd20ea2ba22f
6
+ metadata.gz: 08232d2c5642cfe4681962d9a2ae3e2edbd47f142e886a826b2e885851525a25386e998e73c998b6d02a797127ab1a5d93a4077a9b407746abf99ba8f31895a8
7
+ data.tar.gz: afa5471f52e0b9014287d2f530135536426fd7674c403d75bc8c8fb9beb3a15456fabf531afa41aec0d6d9761a38f6a05a3d16e6f1c970f435a62c7095ebc6b1
@@ -81,7 +81,16 @@ module Jekyll
81
81
  crosspost_payload(crossposted, post, content, title, url)
82
82
  end
83
83
  else
84
- markdown_converter = @site.getConverterImpl(Jekyll::Converters::Markdown)
84
+
85
+ # post Jekyll commit 0c0aea3
86
+ # https://github.com/jekyll/jekyll/commit/0c0aea3ad7d2605325d420a23d21729c5cf7cf88
87
+ if defined? site.find_converter_instance
88
+ markdown_converter = @site.find_converter_instance(Jekyll::Converters::Markdown)
89
+ # Prior to Jekyll commit 0c0aea3
90
+ else
91
+ markdown_converter = @site.getConverterImpl(Jekyll::Converters::Markdown)
92
+ end
93
+
85
94
  @site.posts.each do |post|
86
95
 
87
96
  if ! post.published?
@@ -102,6 +111,7 @@ module Jekyll
102
111
  title = post.title
103
112
 
104
113
  crosspost_payload(crossposted, post, content, title, url)
114
+
105
115
  end
106
116
  end
107
117
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-crosspost-to-medium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Gustafson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-15 00:00:00.000000000 Z
11
+ date: 2016-03-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: " This generator cross-posts entries to Medium. To work, this script
14
14
  requires\n a MEDIUM_USER_ID environment variable and a MEDIUM_INTEGRATION_TOKEN.\n\n