Skip to content

Commit 9995c79

Browse files
author
Piotr Kuczynski
committed
Added new version of rails for testing: 5.0.0.1
1 parent 24538e4 commit 9995c79

77 files changed

Lines changed: 970 additions & 2 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ gemfile:
1010
- gemfiles/rails_4.gemfile
1111
- gemfiles/rails_4.1.gemfile
1212
- gemfiles/rails_4.2.gemfile
13+
- gemfiles/rails_5.gemfile
1314
matrix:
1415
exclude:
1516
- rvm: 2.2.2

Appraisals

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ appraise 'rails-4.2' do
1515
gem 'rails', '4.2.7.1'
1616
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
1717
end
18+
19+
appraise 'rails-5' do
20+
gem 'rails', '5.0.0.1'
21+
end

config.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
3232

3333
# Testing
3434
s.add_development_dependency 'appraisal', '~> 2.1', '>= 2.1.0'
35-
s.add_development_dependency 'rails', '~> 4.2', '>= 4.2.6'
35+
s.add_development_dependency 'rails', '~> 5.0', '>= 5.0.0.1'
3636
s.add_development_dependency 'rspec', '~> 3.4', '>= 3.4.0'
3737
s.add_development_dependency 'rspec-rails', '~> 3.4', '>= 3.4.2'
3838
s.add_development_dependency 'test-unit', '~> 3.1', '>= 3.1.7'

gemfiles/rails_5.gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This file was generated by Appraisal
2+
3+
source "https://rubygems.org"
4+
5+
gem "rails", "5.0.0.1"
6+
7+
gemspec :path => "../"

spec/app/rails_5/.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore the default SQLite database.
11+
/db/*.sqlite3
12+
/db/*.sqlite3-journal
13+
14+
# Ignore all logfiles and tempfiles.
15+
/log/*
16+
/tmp/*
17+
!/log/.keep
18+
!/tmp/.keep
19+
20+
# Ignore Byebug command history file.
21+
.byebug_history

spec/app/rails_5/Gemfile

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
source 'https://rubygems.org'
2+
3+
4+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5+
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
6+
# Use sqlite3 as the database for Active Record
7+
gem 'sqlite3'
8+
# Use Puma as the app server
9+
gem 'puma', '~> 3.0'
10+
# Use SCSS for stylesheets
11+
gem 'sass-rails', '~> 5.0'
12+
# Use Uglifier as compressor for JavaScript assets
13+
gem 'uglifier', '>= 1.3.0'
14+
# Use CoffeeScript for .coffee assets and views
15+
gem 'coffee-rails', '~> 4.2'
16+
# See https://github.com/rails/execjs#readme for more supported runtimes
17+
# gem 'therubyracer', platforms: :ruby
18+
19+
# Use jquery as the JavaScript library
20+
gem 'jquery-rails'
21+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
22+
gem 'turbolinks', '~> 5'
23+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24+
gem 'jbuilder', '~> 2.5'
25+
# Use Redis adapter to run Action Cable in production
26+
# gem 'redis', '~> 3.0'
27+
# Use ActiveModel has_secure_password
28+
# gem 'bcrypt', '~> 3.1.7'
29+
30+
# Use Capistrano for deployment
31+
# gem 'capistrano-rails', group: :development
32+
33+
group :development, :test do
34+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
35+
gem 'byebug', platform: :mri
36+
end
37+
38+
group :development do
39+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
40+
gem 'web-console'
41+
gem 'listen', '~> 3.0.5'
42+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
43+
gem 'spring'
44+
gem 'spring-watcher-listen', '~> 2.0.0'
45+
end
46+
47+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
48+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

spec/app/rails_5/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# README
2+
3+
This README would normally document whatever steps are necessary to get the
4+
application up and running.
5+
6+
Things you may want to cover:
7+
8+
* Ruby version
9+
10+
* System dependencies
11+
12+
* Configuration
13+
14+
* Database creation
15+
16+
* Database initialization
17+
18+
* How to run the test suite
19+
20+
* Services (job queues, cache servers, search engines, etc.)
21+
22+
* Deployment instructions
23+
24+
* ...

spec/app/rails_5/Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Add your own tasks in files placed in lib/tasks ending in .rake,
2+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3+
4+
require_relative 'config/application'
5+
6+
Rails.application.load_tasks
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//= link_tree ../images
2+
//= link_directory ../javascripts .js
3+
//= link_directory ../stylesheets .css

spec/app/rails_5/app/assets/images/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)