dmathieu / glynn

Unmaintained. See the README - Generate your jekyll blog files and sends them through FTP
MIT License
359 stars 56 forks source link

Passive option #20

Closed pzgz closed 11 years ago

pzgz commented 11 years ago

The passive mode is enabled by default right now. But in certain situations, we might not be able to connect to server with passive mode on. So I added an option to disable the passive mode in configuration file.

dmathieu commented 11 years ago

Could you write a test about this ? The travis build fails, but I believe it's not due to your changes. I'll look into it soon.

pzgz commented 11 years ago

Thanks, just back from vacation...

About CI build failure, I made a check locally, got following messages:

NOTE: Gem.available? is deprecated, use Specification::find_by_name. It will be removed on or after 2011-11-01.
Gem.available? called from /Users/leon/.rvm/gems/ruby-1.9.2-p320@glynn/gems/sdoc-0.2.20/lib/sdoc/json_backend.rb:9.

It looks like the bundled version for SDoc is pretty out date, maybe bundle update can fix the deprecated issue.

For the tests, I will try to add and send another pull request, thanks for your great plugin.

dmathieu commented 11 years ago

The build is not fixed on master. If you were to rebase your branch on it, and to add tests, I could merge your PR.

dmathieu commented 11 years ago

I have merged your pull request with a few changes in 885bd8940195fb34650e27afdf26df034d9c93f3 Thanks

pzgz commented 11 years ago

@dmathieu Sorry for my absence, full scheduled. Anyway, thanks a lot for your updates, perfect!!