Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pipeline:
build:
image: topcbl/framgia_glpa
commands:
- bundle install
- framgia-ci run

docker:
image: plugins/docker
username: ${REGISTRY_USER}
password: ${REGISTRY_PWD}
repo: chau-bao-long/annyeongsv
tags: latest

6 changes: 6 additions & 0 deletions .framgia-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
project_type: ruby
test:
rubocop:
command: bundle exec rubocop


13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ruby:2.4.1

RUN curl -sL https://deb.nodesource.com/setup_7.x | bash - && apt-get install -y nodejs && npm install -g gulp-cli bower eslint babel-eslint eslint-plugin-angular
RUN apt-get -y update
RUN apt-get -y install qt5-default libqt5webkit5-dev gstreamer1.0-plugins-base gstreamer1.0-tools gstreamer1.0-x xvfb

COPY Gemfile /cache/Gemfile
COPY Gemfile.lock /cache/Gemfile.lock

RUN cd /cache && bundle install


RUN curl -o /usr/bin/framgia-ci https://raw.githubusercontent.com/framgia/ci-report-tool/master/dist/framgia-ci && chmod +x /usr/bin/framgia-ci
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in grape_on_rails.gemspec
gemspec
#gemspec

gem 'rack', github: 'rack/rack'
gem 'arel', github: 'rails/arel'
Expand Down
2 changes: 1 addition & 1 deletion lib/grape_on_rails.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "grape_on_rails/version"
require "active_support/dependencies/autoload"
require "active_support/core_ext/array/extract_options"
require 'active_support/core_ext/module/attribute_accessors'
require "active_support/core_ext/module/attribute_accessors"
require "active_support/concern"
require "grape_on_rails/sources/yaml_source"
require "grape_on_rails/structural_hash"
Expand Down