Skip to content

Commit

Permalink
feat upgrade & bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgchgli0718 committed Jun 6, 2022
1 parent b6ab4d3 commit 92aa73f
Show file tree
Hide file tree
Showing 14 changed files with 1,464 additions and 1,202 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
source 'https://rubygems.org'
gem 'net-http', '~> 0.1.0'
gem 'nokogiri', '~> 1.13.1'
gem 'reverse_markdown', '~> 2.1.1'
gem 'rubyzip', '~> 2.3.2'
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ GEM
nokogiri (1.13.6-x86_64-darwin)
racc (~> 1.4)
racc (1.6.0)
reverse_markdown (2.1.1)
nokogiri
rubyzip (2.3.2)
timeout (0.3.0)
uri (0.11.0)
Expand All @@ -21,7 +19,6 @@ PLATFORMS
DEPENDENCIES
net-http (~> 0.1.0)
nokogiri (~> 1.13.1)
reverse_markdown (~> 2.1.1)
rubyzip (~> 2.3.2)

BUNDLED WITH
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ This project can help you to make an auto-sync or auto-backup service from Mediu
## Features
- [X] Support download post and convert to markdown format
- [X] Support download all posts and convert to markdown format from any user without login access.
- [X] Support download paid content
- [X] Support command line interface
- [X] Download all of post's images to local and convert to local path
- [X] Convert [Gist](https://gist.github.com/) source code to markdown code block
Expand All @@ -17,6 +18,8 @@ This project can help you to make an auto-sync or auto-backup service from Mediu
- [X] Auto skip when post has been downloaded and last modification date from Medium doesn't changed (convenient for auto-sync or auto-backup service, to save server's bandwidth and execution time)
- [X] [Support using Github Action as auto sync/backup service](https://github.com/ZhgChgLi/ZMediumToMarkdown/tree/main#using-github-action-as-your-free-auto-syncbackup-service)
- [X] Highly optimized markdown format for Medium
- [X] Native Markdown Style Render Engine
(Feel free to contribute if you any optimize idea! `MarkupStyleRender.rb`)

## Result
- [Original post on Medium](https://medium.com/pinkoi-engineering/%E5%AF%A6%E6%88%B0%E7%B4%80%E9%8C%84-4-%E5%80%8B%E5%A0%B4%E6%99%AF-7-%E5%80%8B-design-patterns-78507a8de6a5)
Expand Down
3 changes: 1 addition & 2 deletions ZMediumToMarkdown.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ Gem::Specification.new do |gem|
gem.files = Dir['lib/**/*.*']
gem.executables = ['ZMediumToMarkdown']
gem.name = 'ZMediumToMarkdown'
gem.version = '1.5.0'
gem.version = '1.6.0'

gem.license = "MIT"

gem.add_dependency 'nokogiri', '~> 1.13.1'
gem.add_dependency 'reverse_markdown', '~> 2.1.1'
gem.add_dependency 'net-http', '~> 0.1.0'
gem.add_dependency 'rubyzip', '~> 2.3.2'
end
5 changes: 2 additions & 3 deletions ZMediumToMarkdown_Github.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ Gem::Specification.new do |gem|
gem.homepage = 'https://github.com/ZhgChgLi/ZMediumToMarkdown'
gem.files = Dir['lib/**/*.*']
gem.executables = ['ZMediumToMarkdown']
gem.name = 'ZMediumToMarkdown'
gem.version = '1.5.0'
gem.name = 'zmediumtomarkdown'
gem.version = '1.6.0'

gem.license = "MIT"

gem.add_dependency 'nokogiri', '~> 1.13.1'
gem.add_dependency 'reverse_markdown', '~> 2.1.1'
gem.add_dependency 'net-http', '~> 0.1.0'
gem.add_dependency 'rubyzip', '~> 2.3.2'
end
Loading

0 comments on commit 92aa73f

Please sign in to comment.