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

Adminlte #2

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@

# Ignore master key for decrypting credentials and more.
/config/master.key

/config/database.yml
/.idea
/log/*
/tmp/*
8 changes: 0 additions & 8 deletions .idea/.generators

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/.rakeTasks

This file was deleted.

102 changes: 0 additions & 102 deletions .idea/garages.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

34 changes: 34 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
AllCops:
TargetRubyVersion: 2.5.1
Exclude:
- bundle/*
- bin/*
- vendor/*
- node_modules/*
- public/*
- db/*
- lib/*
- config/unicorn.rb

Style/FrozenStringLiteralComment:
Exclude:
- db/migrate/*.rb
- config/**/*
- script/**

Layout/DefEndAlignment:
AutoCorrect: true

Documentation:
Enabled: false

Metrics/LineLength:
Max: 100
Exclude:
- config/initializers/**
- config/environments/**
- config/schedule.rb

Style/ClassAndModuleChildren:
Enabled: false

41 changes: 35 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

Expand All @@ -18,8 +20,6 @@ gem 'uglifier', '>= 1.3.0'

# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
Expand All @@ -36,20 +36,49 @@ gem 'jbuilder', '~> 2.5'
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.1.0', require: false

# Slim templates generator for Rails 3, 4 and 5
gem 'slim-rails'

# The AdminLTE Rails gem integrates AdminLTE theme with the Rails asset pipeline
gem 'adminlte2-rails'

# A gem to automate using jQuery with Rails
gem 'bootstrap', '~> 4.3.1'
gem 'jquery-rails'
gem 'jquery-slimscroll-rails'
gem 'jquery-ui-rails'

# The EmailAddress Gem to work with and validate email addresses.
gem 'validates_email_format_of'

# A Scope & Engine based, clean, powerful, customizable and sophisticated paginator for Ruby webapps
gem 'kaminari'

# Validates whether the specified value is a valid email address.
# Returns nil if the value is valid,otherwise returns an array
gem 'email_format'

# Russian language support for Ruby and Rails, using I18n library.
gem 'russian', '~> 0.6.0'

# Framework for handling and responding to web requests.
# It provides mechanisms for routing, defining controllers that implement actions,
# and generating responses by rendering views , which are templates of various formats.
gem 'actionpack', '~> 5.0', '>= 5.0.0.1'

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'byebug', platforms: %i[mri mingw x64_mingw]
end

group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'web-console', '>= 3.3.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end


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