This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Simplified version of VideoExport by Abe Pazos | |
// https://funprogramming.org/VideoExport-for-Processing/ | |
// https://github.com/hamoid/video_export_processing | |
// http://ffmpeg.org/ | |
import java.io.OutputStream; | |
import java.io.File; | |
import java.io.IOException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path('../boot', __FILE__) | |
require 'rails/all' | |
# Require the gems listed in Gemfile, including any gems | |
# you've limited to :test, :development, or :production. | |
Bundler.require(*Rails.groups) | |
module VuteServer | |
class Application < Rails::Application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
patch "/api/v1/users/:id" do | |
parameter :type, <<-DESC, required: true | |
Should always be set to <code>users</code>. | |
DESC | |
parameter :id, <<-DESC, required: true | |
The id of the user. | |
DESC | |
parameter :name, <<-DESC, scope: :attributes | |
The name of the user. | |
DESC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rails_helper' | |
describe "users", :type => :request do | |
describe 'users#create' do | |
context "when is successfully created" do | |
before(:each) do | |
params = { |