Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ruby 2.2.9 to Circle and clarify support. #1077

Merged
merged 2 commits into from
Jan 30, 2018
Merged
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
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ default_job: &default_job
- run: bundle exec appraisal rake

jobs:
ruby-2.2:
<<: *default_job
docker:
- image: circleci/ruby:2.2.9-node-browsers
environment:
PGHOST: localhost
PGUSER: administrate
RAILS_ENV: test
- image: postgres:9.5-alpine
environment:
POSTGRES_USER: administrate
POSTGRES_DB: ruby22
POSTGRES_PASSWORD: ""

ruby-2.3:
<<: *default_job
docker:
Expand Down Expand Up @@ -85,3 +99,4 @@ workflows:
- ruby-2.5
- ruby-2.4
- ruby-2.3
- ruby-2.2
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ To accomplish these goals, Administrate follows a few guiding principles:

## Getting Started

Administrate supports Rails from 4.2, up to 5.0 and beyond.
Administrate supports Rails from 4.2, up to 5.0 and beyond. We support Ruby
2.2.9 and up.

Add Administrate to your Gemfile and re-bundle:

Expand Down
2 changes: 1 addition & 1 deletion spec/generators/routes_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
expect(routes).not_to contain("blog")
expect(routes).not_to contain("post")

expect(output).to include <<~MSG
expect(output).to include <<-MSG.strip_heredoc
WARNING: Unable to generate a dashboard for Blog::Post.
Administrate does not yet support namespaced models.
MSG
Expand Down