Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
Add: Rails 5.1 application for transfer of existing codebase
Browse files Browse the repository at this point in the history
rails new . --database=postgresql --skip-action-cable --skip-spring
--skip-javascript--skip-yarn --skip-coffee --skip-test

refs: #176
  • Loading branch information
seawolf committed May 29, 2017
1 parent 17f9721 commit 844584c
Show file tree
Hide file tree
Showing 80 changed files with 826 additions and 856 deletions.
23 changes: 10 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile ~/.gitignore_global
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config
# Ignore bundler config.
/.bundle

# Ignore the default SQLite database.
/db/*.sqlite3
config/database.yml

# Ignore all logfiles and tempfiles.
/log/*.log
/tmp
*~
*.swp
*.swo
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

config/database.yml

.idea/
.idea/
29 changes: 19 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,41 @@ source 'https://rubygems.org'
ruby '2.4.1', patchlevel: '111'

# Application
gem 'airbrake', '~> 4.0'
gem 'rails', '~> 4.1.0'
gem 'puma'
# gem 'airbrake', '~> 4.0' # TODO: upgrade for Rails 5
gem 'rails', '~> 5.1.1'
gem 'puma', '~> 3.7'

# Views
gem 'jquery-rails', '~> 3.1'
gem 'tinymce-rails', '~> 4.0'
gem 'jquery-rails', '~> 4.3.0' # TODO: upgrade for Rails 5
# gem 'tinymce-rails', '~> 4.0' # TODO: upgrade for Rails 5

# Models
gem 'pg', '~> 0.18.0'
gem 'devise', '~> 3.5.0'
gem 'acts-as-taggable-on', '~> 3.0'
gem 'pg', '~> 0.18'
gem 'devise', '~> 3.5.0' # TODO: upgrade for Rails 5
# gem 'acts-as-taggable-on', '~> 3.0' # TODO: upgrade for Rails 5

# Debugging
group :development, :test do
gem 'debase'
gem 'ruby-debug-ide'
end

# Development Tools
group :development do
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
end

# Testing
group :test do
gem 'rspec-rails', '~> 2.14.0'
gem 'factory_girl', '~> 4.0'
gem 'db-query-matchers', '~> 0.4.0'
end

# Deployment
group :staging, :production do
gem 'rails_12factor'
gem 'newrelic_rpm'
gem 'uglifier', '>= 2.7.0'
gem 'rails_12factor'
gem 'uglifier'
end
218 changes: 120 additions & 98 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,99 +1,119 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.1.15)
actionpack (= 4.1.15)
actionview (= 4.1.15)
actioncable (5.1.1)
actionpack (= 5.1.1)
nio4r (~> 2.0)
websocket-driver (~> 0.6.1)
actionmailer (5.1.1)
actionpack (= 5.1.1)
actionview (= 5.1.1)
activejob (= 5.1.1)
mail (~> 2.5, >= 2.5.4)
actionpack (4.1.15)
actionview (= 4.1.15)
activesupport (= 4.1.15)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
actionview (4.1.15)
activesupport (= 4.1.15)
rails-dom-testing (~> 2.0)
actionpack (5.1.1)
actionview (= 5.1.1)
activesupport (= 5.1.1)
rack (~> 2.0)
rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.1.1)
activesupport (= 5.1.1)
builder (~> 3.1)
erubis (~> 2.7.0)
activemodel (4.1.15)
activesupport (= 4.1.15)
builder (~> 3.1)
activerecord (4.1.15)
activemodel (= 4.1.15)
activesupport (= 4.1.15)
arel (~> 5.0.0)
activesupport (4.1.15)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.1.1)
activesupport (= 5.1.1)
globalid (>= 0.3.6)
activemodel (5.1.1)
activesupport (= 5.1.1)
activerecord (5.1.1)
activemodel (= 5.1.1)
activesupport (= 5.1.1)
arel (~> 8.0)
activesupport (5.1.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
acts-as-taggable-on (3.5.0)
activerecord (>= 3.2, < 5)
airbrake (4.3.6)
builder
multi_json
arel (5.0.1.20140414130214)
bcrypt (3.1.11)
builder (3.2.2)
concurrent-ruby (1.0.1)
arel (8.0.0)
bindex (0.5.0)
builder (3.2.3)
concurrent-ruby (1.0.5)
db-query-matchers (0.4.2)
debase (0.2.1)
debase-ruby_core_source
debase-ruby_core_source (0.8.6)
devise (3.5.6)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
responders
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
erubis (2.7.0)
execjs (2.2.2)
factory_girl (4.7.0)
debase-ruby_core_source (0.9.9)
diff-lcs (1.3)
erubi (1.6.0)
execjs (2.7.0)
factory_girl (4.8.0)
activesupport (>= 3.0.0)
i18n (0.7.0)
jquery-rails (3.1.4)
railties (>= 3.0, < 5.0)
ffi (1.9.18)
globalid (0.4.0)
activesupport (>= 4.2.0)
i18n (0.8.1)
jquery-rails (4.3.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.6)
mail (2.6.4)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
ruby_dep (~> 1.2)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.5)
mime-types (>= 1.16, < 4)
mime-types (3.0)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0221)
minitest (5.8.4)
multi_json (1.11.2)
newrelic_rpm (3.15.1.316)
orm_adapter (0.5.0)
pg (0.18.4)
puma (3.4.0)
rack (1.5.5)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.10.2)
newrelic_rpm (4.2.0.334)
nio4r (2.1.0)
nokogiri (1.7.2)
mini_portile2 (~> 2.1.0)
pg (0.20.0)
puma (3.8.2)
rack (2.0.3)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.1.15)
actionmailer (= 4.1.15)
actionpack (= 4.1.15)
actionview (= 4.1.15)
activemodel (= 4.1.15)
activerecord (= 4.1.15)
activesupport (= 4.1.15)
rails (5.1.1)
actioncable (= 5.1.1)
actionmailer (= 5.1.1)
actionpack (= 5.1.1)
actionview (= 5.1.1)
activejob (= 5.1.1)
activemodel (= 5.1.1)
activerecord (= 5.1.1)
activesupport (= 5.1.1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.1.15)
sprockets-rails (~> 2.0)
railties (= 5.1.1)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.4)
rails_stdout_logging (0.0.3)
railties (4.1.15)
actionpack (= 4.1.15)
activesupport (= 4.1.15)
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (5.1.1)
actionpack (= 5.1.1)
activesupport (= 5.1.1)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (11.1.2)
responders (1.1.2)
railties (>= 3.2, < 4.2)
rake (12.0.0)
rb-fsevent (0.9.8)
rb-inotify (0.9.8)
ffi (>= 0.5.0)
rspec-core (2.14.8)
rspec-expectations (2.14.5)
diff-lcs (>= 1.1.3, < 2.0)
Expand All @@ -108,45 +128,47 @@ GEM
rspec-mocks (~> 2.14.0)
ruby-debug-ide (0.6.0)
rake (>= 0.8.1)
sprockets (3.6.0)
ruby_dep (1.5.0)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (2.3.3)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
thor (0.19.1)
thread_safe (0.3.5)
tinymce-rails (4.3.8)
railties (>= 3.1.1)
tzinfo (1.2.2)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
thor (0.19.4)
thread_safe (0.3.6)
tzinfo (1.2.3)
thread_safe (~> 0.1)
uglifier (2.7.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
warden (1.2.6)
rack (>= 1.0)
uglifier (3.2.0)
execjs (>= 0.3.0, < 3)
web-console (3.5.1)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)

PLATFORMS
ruby

DEPENDENCIES
acts-as-taggable-on (~> 3.0)
airbrake (~> 4.0)
db-query-matchers (~> 0.4.0)
debase
devise (~> 3.5.0)
factory_girl (~> 4.0)
jquery-rails (~> 3.1)
jquery-rails (~> 4.3.0)
listen (>= 3.0.5, < 3.2)
newrelic_rpm
pg (~> 0.18.0)
puma
rails (~> 4.1.0)
pg (~> 0.18)
puma (~> 3.7)
rails (~> 5.1.1)
rails_12factor
rspec-rails (~> 2.14.0)
ruby-debug-ide
tinymce-rails (~> 4.0)
uglifier (>= 2.7.0)
uglifier
web-console (>= 3.3.0)

RUBY VERSION
ruby 2.4.1p111
Expand Down
Loading

0 comments on commit 844584c

Please sign in to comment.