0.0
No commit activity in last 3 years
No release in over 3 years
activiti_mirror is a tool, which use to upload activit file to qiniu and download it
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 1.10
~> 10.0
>= 0

Runtime

~> 1.9.3
>= 0
 Project Readme

ActivitiMirror

activiti_mirror is a tool, which use to upload activit file to qiniu and download it

想法来源于: http://bbs.yundianjia.net/d/225-activiti

Installation

Add this line to your application's Gemfile:

gem 'activiti_mirror'

And then execute:

$ bundle

Or install it yourself as:

$ gem install activiti_mirror

Usage

命令行使用:

Usage: activiti_mirror [options]

activiti_mirror is a tool, which use to upload activit file to qiniu and download it!

v0.1.0

Options:
    -h, --help                       Show command line help
        --version                    Show help/version info
        --verbose                    Be verbose
    -H REMOTE_SERVER_ADDRESS,        Host server Address
        --host-address
        --log-level LEVEL            Set the logging level
                                     (debug|info|warn|error|fatal)
                                     (Default: info)

编程使用:

options = {
  version: '5.22.0',
  hosts: %w(username@192.156.23.56)
}

ActivitiMirror.command options

使用例子:

上传成功!
链接为: http://ognvcf5x6.bkt.clouddn.com/bbs_image/activiti-5.22.0.zip

一些CDN 链接:

  1. http://ognvcf5x6.bkt.clouddn.com/bbs_image/activiti-5.22.0.zip
  2. http://ognvcf5x6.bkt.clouddn.com/bbs_image/activiti-5.21.0.zip
  3. http://ognvcf5x6.bkt.clouddn.com/bbs_image/activiti-5.19.0.zip
  4. http://ognvcf5x6.bkt.clouddn.com/bbs_image/activiti-5.18.0.zip
  5. http://ognvcf5x6.bkt.clouddn.com/bbs_image/activiti-5.17.0.zip
  6. http://ognvcf5x6.bkt.clouddn.com/bbs_image/activiti-5.16.4.zip

PS: 之所以会产生这个,原因还是国内的伟大的 GFW 的功劳。

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake false to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/xiajian/activiti_mirror. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.