move to gitlab

This commit is contained in:
Florian Schwab 2018-06-09 18:15:22 +02:00
parent c26464291b
commit cb1e30b515
4 changed files with 24 additions and 13 deletions

15
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,15 @@
image: ruby:2.5-slim
cache:
paths:
- vendor/ruby
before_script:
- apt-get update -q && apt-get install git build-essential -yqq
- ruby -v
- gem install bundler --no-ri --no-rdoc
- bundle install -j $(nproc) --path vendor
rubocop:
script:
- bundle exec rubocop

View File

@ -5,11 +5,11 @@
- remove rails 5.2 deprecation: _Passing the environment's name as a regular argument is deprecated and will be removed in the next Rails version. Please, use the -e option instead._ - remove rails 5.2 deprecation: _Passing the environment's name as a regular argument is deprecated and will be removed in the next Rails version. Please, use the -e option instead._
- allow to set capistrano role to select server for remote console (#33) - allow to set capistrano role to select server for remote console (#33)
- allow to set shell used on server (#31) - allow to set shell used on server (#31)
- [add rails:c alias to rails:console](https://github.com/ydkn/capistrano-rails-console/issues/36) - [add rails:c alias to rails:console](https://gitlab.com/ydkn/capistrano-rails-console/issues/36)
## 2.2.1 (2017-09-04) ## 2.2.1 (2017-09-04)
### Feature ### Feature
- [add rails:db alias to rails:dbconsole](https://github.com/ydkn/capistrano-rails-console/pull/32) - [add rails:db alias to rails:dbconsole](https://gitlab.com/ydkn/capistrano-rails-console/merge_requests/32)
## 2.2.0 (2016-10-25) ## 2.2.0 (2016-10-25)
### Feature ### Feature

View File

@ -1,7 +1,3 @@
[![Gem Version](https://img.shields.io/gem/v/capistrano-rails-console.svg)](https://rubygems.org/gems/capistrano-rails-console)
[![Code Climate](https://img.shields.io/codeclimate/github/ydkn/capistrano-rails-console.svg)](https://codeclimate.com/github/ydkn/capistrano-rails-console)
# Capistrano::Rails::Console # Capistrano::Rails::Console
Remote rails console and dbconsole for capistrano. Remote rails console and dbconsole for capistrano.
@ -29,7 +25,7 @@ Or install it yourself as:
You should ensure there is a `rails` binstub in the `current/bin` directory on the server otherwise You should ensure there is a `rails` binstub in the `current/bin` directory on the server otherwise
this gem won't work (because rails itself won't work). this gem won't work (because rails itself won't work).
If you experience any problems please verify that manually running `rails console` on the server does work. If you experience any problems please verify that manually running `rails console` on the server does work.
If it doesn't you are deploying your rails application wrong (check [#18](https://github.com/ydkn/capistrano-rails-console/issues/18) or [#26](https://github.com/ydkn/capistrano-rails-console/issues/26) for details)! If it doesn't you are deploying your rails application wrong (check [#18](https://gitlab.com/ydkn/capistrano-rails-console/issues/18) or [#26](https://gitlab.com/ydkn/capistrano-rails-console/issues/26) for details)!
Require in `Capfile` to use the default task: Require in `Capfile` to use the default task:
@ -82,7 +78,7 @@ set :console_shell, '/bin/bash' # select shell to be used on server in case you
## Contributing ## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/ydkn/capistrano-rails-console. Bug reports and pull requests are welcome on GitLab at https://gitlab.com/ydkn/capistrano-rails-console.
## License ## License

View File

@ -1,5 +1,4 @@
# coding: utf-8 lib = File.expand_path('lib', __dir__)
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'capistrano/rails/console/version' require 'capistrano/rails/console/version'
@ -8,9 +7,9 @@ Gem::Specification.new do |spec|
spec.version = Capistrano::Rails::Console::VERSION spec.version = Capistrano::Rails::Console::VERSION
spec.authors = ['Florian Schwab'] spec.authors = ['Florian Schwab']
spec.email = ['me@ydkn.de'] spec.email = ['me@ydkn.de']
spec.description = %q{Remote rails console for capistrano} spec.description = 'Remote rails console for capistrano'
spec.summary = %q{Remote rails console for capistrano} spec.summary = 'Remote rails console for capistrano'
spec.homepage = 'https://github.com/ydkn/capistrano-rails-console' spec.homepage = 'https://gitlab.com/ydkn/capistrano-rails-console'
spec.license = 'MIT' spec.license = 'MIT'
spec.files = `git ls-files`.split($/) spec.files = `git ls-files`.split($/)
@ -23,4 +22,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'bundler' spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake' spec.add_development_dependency 'rake'
spec.add_development_dependency 'rubocop'
end end