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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ capybara-*.html
/tmp
/db/*.sqlite3
/db/*.sqlite3-journal
/public/system
/coverage/
/spec/tmp
**.orig
Expand Down
7 changes: 6 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.0'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
gem 'sqlite3', group: :development
# Use Puma as the app server
gem 'puma', '~> 3.0'
# Use SCSS for stylesheets
Expand All @@ -15,6 +15,7 @@ gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.2'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
#gem 'paperclip-dropbox', '>= 1.1.7'
gem 'paperclip'
# Use jquery as the JavaScript library
gem 'jquery-rails'
Expand Down Expand Up @@ -59,3 +60,7 @@ end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

# install pg
gem 'pg', group: :production
gem 'rails_12factor', group: :production
34 changes: 21 additions & 13 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.12.2)
college_admin (0.1.1)
college_admin (0.1.3)
concurrent-ruby (1.0.4)
database_cleaner (1.5.3)
debug_inspector (0.0.2)
diff-lcs (1.2.5)
diff-lcs (1.3)
erubis (2.7.0)
execjs (2.7.0)
factory_girl (4.8.0)
Expand All @@ -69,7 +69,7 @@ GEM
ffi (1.9.17)
globalid (0.3.7)
activesupport (>= 4.1.0)
i18n (0.7.0)
i18n (0.8.0)
jquery-rails (4.2.2)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
Expand All @@ -85,19 +85,20 @@ GEM
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mimemagic (0.3.0)
mini_portile2 (2.1.0)
minitest (5.10.1)
nio4r (1.2.1)
nokogiri (1.7.0.1)
mini_portile2 (~> 2.1.0)
paperclip (5.1.0)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
paperclip (4.3.7)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
cocaine (~> 0.5.5)
mime-types
mimemagic (~> 0.3.0)
puma (3.6.2)
mimemagic (= 0.3.0)
pg (0.19.0)
puma (3.7.0)
rack (2.0.1)
rack-test (0.6.3)
rack (>= 1.0)
Expand All @@ -122,6 +123,11 @@ GEM
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.5)
rails_stdout_logging (0.0.5)
railties (5.0.1)
actionpack (= 5.0.1)
activesupport (= 5.0.1)
Expand All @@ -130,7 +136,7 @@ GEM
thor (>= 0.18.1, < 2.0)
rake (12.0.0)
rb-fsevent (0.9.8)
rb-inotify (0.9.7)
rb-inotify (0.9.8)
ffi (>= 0.5.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
Expand Down Expand Up @@ -161,7 +167,7 @@ GEM
signup (1.0.0)
bcrypt (~> 3.1, >= 3.1.11)
rails (~> 5.0.0, >= 5.0.0.1)
spring (2.0.0)
spring (2.0.1)
activesupport (>= 4.2)
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
Expand All @@ -176,7 +182,7 @@ GEM
sqlite3 (1.3.13)
thor (0.19.4)
thread_safe (0.3.5)
tilt (2.0.5)
tilt (2.0.6)
truncate_html (0.9.3)
turbolinks (5.0.1)
turbolinks-source (~> 5)
Expand All @@ -190,7 +196,7 @@ GEM
activemodel (>= 5.0)
debug_inspector
railties (>= 5.0)
websocket-driver (0.6.4)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)

Expand All @@ -208,9 +214,11 @@ DEPENDENCIES
jquery-rails
listen (~> 3.0.5)
paperclip
pg
puma (~> 3.0)
rails (~> 5.0.0)
rails-controller-testing
rails_12factor
rspec-rails (~> 3.5)
sass-rails (~> 5.0)
shoulda-matchers
Expand Down
3 changes: 3 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
web: bundle exec puma -t 5:5 -p 3000 -e development

web: bundle exec puma -C config/puma.rb
1 change: 1 addition & 0 deletions app/views/layouts/college/_head.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<meta name="keywords" content="college <%= website.name %>">
<meta name="tags" content="college, engineering, bangladesh">
<meta name="author" content="BDMADE" />
<meta name="google-site-verification" content="UQK-Zz4VYxOzPbeIlnPKPoRuT1mxmehC6w_4P6HfEQY" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700' rel='stylesheet' type='text/css'>

<!-- Global CSS -->
Expand Down
1 change: 1 addition & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@
# Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem.
config.file_watcher = ActiveSupport::EventedFileUpdateChecker

end
2 changes: 2 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,6 @@

# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
config.serve_static_assets = true

end
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"files":{"application-9893df45ee3bdaacc085af1efb0fa9eeeac21225cd1010b90afb613af8324d49.js":{"logical_path":"application.js","mtime":"2016-08-05T20:10:31+06:00","size":369870,"digest":"9893df45ee3bdaacc085af1efb0fa9eeeac21225cd1010b90afb613af8324d49","integrity":"sha256-mJPfRe472qzAha8e+w+p7urCEiXNEBC5CvthOvgyTUk="},"application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css":{"logical_path":"application.css","mtime":"2016-08-05T20:10:31+06:00","size":703,"digest":"af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886","integrity":"sha256-rwSyJv1yAt/FMs567blaASgneTfpDTs6PTXhzOnhaIY="}},"assets":{"application.js":"application-9893df45ee3bdaacc085af1efb0fa9eeeac21225cd1010b90afb613af8324d49.js","application.css":"application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css"}}
{"files":{"application-9893df45ee3bdaacc085af1efb0fa9eeeac21225cd1010b90afb613af8324d49.js":{"logical_path":"application.js","mtime":"2016-08-05T20:10:31+06:00","size":369870,"digest":"9893df45ee3bdaacc085af1efb0fa9eeeac21225cd1010b90afb613af8324d49","integrity":"sha256-mJPfRe472qzAha8e+w+p7urCEiXNEBC5CvthOvgyTUk="},"application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css":{"logical_path":"application.css","mtime":"2016-08-05T20:10:31+06:00","size":703,"digest":"af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886","integrity":"sha256-rwSyJv1yAt/FMs567blaASgneTfpDTs6PTXhzOnhaIY="},"favicon_1-a1f316bbf84ee198bb2a0211b92afe9b8ab9e0183270a5ae022be4d66cafec3e.ico":{"logical_path":"favicon_1.ico","mtime":"2017-01-24T21:46:41+06:00","size":1150,"digest":"a1f316bbf84ee198bb2a0211b92afe9b8ab9e0183270a5ae022be4d66cafec3e","integrity":"sha256-ofMWu/hO4Zi7KgIRuSr+m4q54BgycKWuAivk1myv7D4="},"users/avatar-1-155a23029302c42ff35f458f017dfc9f196f1e500a2a68d7e6080dd4d51d9b5a.jpg":{"logical_path":"users/avatar-1.jpg","mtime":"2017-01-24T21:46:41+06:00","size":3070,"digest":"155a23029302c42ff35f458f017dfc9f196f1e500a2a68d7e6080dd4d51d9b5a","integrity":"sha256-FVojApMCxC/zX0WPAX38nxlvHlAKKmjX5ggN1NUdm1o="},"style-fd1bdd3abcda6c084eaa0bb4783ee04890635932ae4645d5fdcd5eacc527f51a.css":{"logical_path":"style.css","mtime":"2017-01-24T21:46:41+06:00","size":130924,"digest":"fd1bdd3abcda6c084eaa0bb4783ee04890635932ae4645d5fdcd5eacc527f51a","integrity":"sha256-/RvdOrzabAhOqgu0eD7gSJBjWTKuRkXV/c1erMUn9Ro="},"jquery.app-cb7e7eddea89f7ccf7bef44dc23b0a68bd00a0794515eb4e8f60784e3f9d7c01.js":{"logical_path":"jquery.app.js","mtime":"2017-01-24T21:46:41+06:00","size":640,"digest":"cb7e7eddea89f7ccf7bef44dc23b0a68bd00a0794515eb4e8f60784e3f9d7c01","integrity":"sha256-y35+3eqJ98z3vvRNwjsKaL0AoHlFFetOj2B4Tj+dfAE="},"jquery.core-fad9c90417c1bf991491184a643ab2562d70c21ef30953dfdb3ab6249129667b.js":{"logical_path":"jquery.core.js","mtime":"2017-01-24T21:46:41+06:00","size":9784,"digest":"fad9c90417c1bf991491184a643ab2562d70c21ef30953dfdb3ab6249129667b","integrity":"sha256-+tnJBBfBv5kUkRhKZDqyVi1wwh7zCVPf2zq2JJEpZns="},"jquery.dashboard-8f5ada550fc00274dbff660a15578cebb48a173ea139892dbdceee1c15ac8eeb.js":{"logical_path":"jquery.dashboard.js","mtime":"2017-01-24T21:46:41+06:00","size":2892,"digest":"8f5ada550fc00274dbff660a15578cebb48a173ea139892dbdceee1c15ac8eeb","integrity":"sha256-j1raVQ/AAnTb/2YKFVeM67SKFz6hOYktvc7uHBWsjus="},"rails-03bb170d74e34a9d3ab9157113c6ab68d2eb4a61a1a7ec5f77e45bc55d9e168e.png":{"logical_path":"rails.png","mtime":"2016-10-14T10:17:09+06:00","size":84889,"digest":"03bb170d74e34a9d3ab9157113c6ab68d2eb4a61a1a7ec5f77e45bc55d9e168e","integrity":"sha256-A7sXDXTjSp06uRVxE8araNLrSmGhp+xfd+RbxV2eFo4="},"application-a5c5e8c2c9d7d7c4959113690efab4ec67fac3fb8d7a91b57b45091784a4c000.js":{"logical_path":"application.js","mtime":"2017-01-24T21:51:06+06:00","size":352290,"digest":"a5c5e8c2c9d7d7c4959113690efab4ec67fac3fb8d7a91b57b45091784a4c000","integrity":"sha256-pcXowsnX18SVkRNpDvq07Gf6w/uNepG1e0UJF4SkwAA="},"application-8e3b3433a3ecdbd676406345825a699459b4319dca287f486f50779c68b4f2d2.css":{"logical_path":"application.css","mtime":"2017-01-20T18:20:00+06:00","size":44858,"digest":"8e3b3433a3ecdbd676406345825a699459b4319dca287f486f50779c68b4f2d2","integrity":"sha256-jjs0M6Ps29Z2QGNFglpplFm0MZ3KKH9Ib1B3nGi08tI="},"style-8b01a35072ef91bbe6e3cc750aae1e2e6054bc928bc7286ae2cb1eae4c501612.css":{"logical_path":"style.css","mtime":"2017-01-24T21:46:41+06:00","size":106718,"digest":"8b01a35072ef91bbe6e3cc750aae1e2e6054bc928bc7286ae2cb1eae4c501612","integrity":"sha256-iwGjUHLvkbvm48x1Cq4eLmBUvJKLxyhq4sserkxQFhI="},"application-03989c16a5d52f4663f4a6405bcdba052e0d78463c0625c9206d5808df5e7eb0.css":{"logical_path":"application.css","mtime":"2017-01-20T18:20:00+06:00","size":36550,"digest":"03989c16a5d52f4663f4a6405bcdba052e0d78463c0625c9206d5808df5e7eb0","integrity":"sha256-A5icFqXVL0Zj9KZAW826BS4NeEY8BiXJIG1YCN9efrA="},"application-739cb1b8e3440f48a3439c7bc9073f59216c3fa880f650dcd4fd03e6c5ba828f.js":{"logical_path":"application.js","mtime":"2017-01-31T00:14:54+06:00","size":352291,"digest":"739cb1b8e3440f48a3439c7bc9073f59216c3fa880f650dcd4fd03e6c5ba828f","integrity":"sha256-c5yxuONED0ijQ5x7yQc/WSFsP6iA9lDc1P0D5sW6go8="}},"assets":{"application.js":"application-739cb1b8e3440f48a3439c7bc9073f59216c3fa880f650dcd4fd03e6c5ba828f.js","application.css":"application-8e3b3433a3ecdbd676406345825a699459b4319dca287f486f50779c68b4f2d2.css","favicon_1.ico":"favicon_1-a1f316bbf84ee198bb2a0211b92afe9b8ab9e0183270a5ae022be4d66cafec3e.ico","users/avatar-1.jpg":"users/avatar-1-155a23029302c42ff35f458f017dfc9f196f1e500a2a68d7e6080dd4d51d9b5a.jpg","style.css":"style-fd1bdd3abcda6c084eaa0bb4783ee04890635932ae4645d5fdcd5eacc527f51a.css","jquery.app.js":"jquery.app-cb7e7eddea89f7ccf7bef44dc23b0a68bd00a0794515eb4e8f60784e3f9d7c01.js","jquery.core.js":"jquery.core-fad9c90417c1bf991491184a643ab2562d70c21ef30953dfdb3ab6249129667b.js","jquery.dashboard.js":"jquery.dashboard-8f5ada550fc00274dbff660a15578cebb48a173ea139892dbdceee1c15ac8eeb.js","rails.png":"rails-03bb170d74e34a9d3ab9157113c6ab68d2eb4a61a1a7ec5f77e45bc55d9e168e.png"}}

Large diffs are not rendered by default.

Binary file not shown.
Loading