0.0
No commit activity in last 3 years
No release in over 3 years
The renuo upload allows in compination with the renuo upload service to easily upload files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.10.3
>= 4.0.4
>= 3.4.0
>= 0.40.0
>= 2.1.0

Runtime

>= 1.8.0
 Project Readme

Gem Version Build Status Build Status

Renuo Upload

Gem for Ruby 2.0+ applications that use the excellent Renuo Upload

Installation

Add this line to your application's Gemfile and run bundle:

gem 'renuo-upload'

Usage

Configuration

The configuration is optional. If you want to use it, add an initializer:

RenuoUpload.configure do |config|
  config.api_key = 'custom-api-key'             # Default: ENV['RENUO_UPLOAD_API_KEY']
  config.signing_url = 'custom-signing-url'     # Default: ENV['RENUO_UPLOAD_SIGNING_URL']
end

Example

require 'renuo-upload'

file = File.new('tmp/examplefile.pdf')
file_url = RenuoUpload.upload!(file)

Development

Contributing

See the CONTRIBUTING file.

Release

git flow release start [.....]
# adjust version.rb
# check (and adjust) CHANGELOG.md
bundle install
git commit -av
git flow release finish [.....]
git push origin develop:develop
git push origin master:master
git checkout master
bundle exec rake release
git checkout develop

Copyright

Renuo AG - MIT LICENSE - 2019