v3.3.0 (2017-10-30)
Closed issues:
Closed issues:
#!ruby | |
require "byebug" | |
require "yaml" | |
system("rubocop -R --auto-gen-config -ES") | |
system("git checkout .rubocop.yml") | |
todo = YAML.load_file(".rubocop_todo.yml") | |
todo.keys.each do |key| | |
puts "Fixing #{key}" | |
system("rubocop -a -R --only #{key} app config lib features spec") |
require 'rubygems' | |
require 'bundler/setup' | |
require 'mongoid' | |
Mongoid.configure do |config| | |
config.master = Mongo::Connection.new('localhost', 27017, :logger => nil).db('mongoid-test') | |
end | |
class A | |
include Mongoid::Document |
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'active_support' | |
# example input: | |
# {"output_groups": | |
# [{"name":"Apple HLS","outputs": | |
# [{"audio":[{"bitrate":48000,"sample_rate":32000,"codec":"AAC"}],"video":{"bitrate":1450000,"height":224,"width":400,"codec":"H.264"},"output_path":"/data/server/apple/apple_test_high.m3u8"}, |
.home_controller.index_action { | |
background-color: blue; | |
} |
function simulateDragDrop(sourceNode, destinationNode) { | |
var EVENT_TYPES = { | |
DRAG_END: 'dragend', | |
DRAG_START: 'dragstart', | |
DROP: 'drop' | |
} | |
function createCustomEvent(type) { | |
var event = document.createEvent("CustomEvent") | |
event.initCustomEvent(type, true, true, null) |
def composicao | |
comp = ProdutoCompos.arel_table | |
prod = Produto.arel_table | |
sql = comp. | |
join(prod).on(comp[:w_id_produto].eq(prod[:w_id])). | |
where(prod[:mob_dt_alteracao].gteq(@vendedor.last_sync). | |
or(comp[:mob_dt_alteracao].gteq(@vendedor.last_sync))). | |
take(params[:limit]). | |
skip(params[:offset]). |
declare | |
a clob; | |
begin | |
a := '2015-11-26 20:21:42`a,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/WMobileServer]] I, [2015-11-26T20:21:42.715000 #29889] 2015-11-26 20:21:42,715 INFO [org.apache.catalina.core.ContainerBase.[jboss. |
FROM ruby:2.2 | |
MAINTAINER Wonder Sistemas <wonder@wonder.com.br> | |
RUN apt-get update -qq && apt-get install -y build-essential | |
RUN apt-get install -y nodejs | |
RUN apt-get install -y libgmp3-dev | |
# Gems | |
RUN gem install bundler | |
RUN mkdir -p /usr/src/probus/src |