Skip to content
Closed
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
36 changes: 20 additions & 16 deletions tickets/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GEM
bcrypt (3.1.10)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
builder (3.2.3)
byebug (3.5.1)
columnize (~> 0.8)
debugger-linecache (~> 1.2)
Expand All @@ -55,6 +55,8 @@ GEM
coffee-script-source (1.9.1)
columnize (0.9.0)
commonjs (0.2.7)
concurrent-ruby (1.1.5)
crass (1.0.5)
debug_inspector (0.0.2)
debugger-linecache (1.2.0)
erubis (2.7.0)
Expand All @@ -64,34 +66,36 @@ GEM
globalid (0.3.3)
activesupport (>= 4.1.0)
hike (1.2.3)
i18n (0.7.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jbuilder (2.2.11)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jquery-rails (4.0.3)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.2)
json (1.8.6)
jwt (1.3.0)
less (2.6.0)
commonjs (~> 0.2.7)
less-rails (2.6.0)
actionpack (>= 3.1)
less (~> 2.6.0)
libv8 (3.16.14.7)
loofah (2.0.1)
loofah (2.3.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
mime-types (2.4.3)
mini_portile (0.6.2)
minitest (5.5.1)
mini_portile2 (2.4.0)
minitest (5.13.0)
multi_json (1.11.0)
multi_xml (0.5.5)
multipart-post (2.0.0)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
nokogiri (1.10.5)
mini_portile2 (~> 2.4.0)
oauth (0.4.7)
oauth2 (1.0.0)
faraday (>= 0.8, < 0.10)
Expand All @@ -100,7 +104,7 @@ GEM
multi_xml (~> 0.5)
rack (~> 1.2)
pg (0.18.1)
rack (1.6.0)
rack (1.6.11)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.0)
Expand All @@ -116,12 +120,12 @@ GEM
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.5)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-dom-testing (1.0.9)
activesupport (>= 4.2.0, < 5.0)
nokogiri (~> 1.6)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.1)
loofah (~> 2.0)
rails-html-sanitizer (1.3.0)
loofah (~> 2.3)
railties (4.2.0)
actionpack (= 4.2.0)
activesupport (= 4.2.0)
Expand Down Expand Up @@ -163,7 +167,7 @@ GEM
libv8 (~> 3.16.14.0)
ref
thor (0.19.1)
thread_safe (0.3.4)
thread_safe (0.3.6)
tilt (1.4.1)
transitions (0.2.0)
turbolinks (2.5.3)
Expand All @@ -173,7 +177,7 @@ GEM
execjs (~> 2.2)
rails (~> 4.1)
railties (~> 4.1)
tzinfo (1.2.2)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (2.7.1)
execjs (>= 0.3.0)
Expand Down
29 changes: 29 additions & 0 deletions tpt_test_task/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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'

# Ignore bundler config.
/.bundle

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

# Ignore uploaded files in development
/storage/*

.byebug_history

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

.DS_Store

# Ignore application configuration
/config/application.yml

node_modules
1 change: 1 addition & 0 deletions tpt_test_task/.rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--require spec_helper
1 change: 1 addition & 0 deletions tpt_test_task/.ruby-gemset
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oleg-gorbunov
1 change: 1 addition & 0 deletions tpt_test_task/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.5.1
39 changes: 39 additions & 0 deletions tpt_test_task/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.5.1'

gem 'rails', '~> 5.2.0'
gem 'pg', '>= 0.18', '< 2.0'
gem 'puma', '~> 3.11'

gem 'active_model_serializers', '~> 0.10.0'

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

gem 'bootsnap', '>= 1.1.0', require: false
gem 'rack-cors'
gem 'sorcery'
gem 'interactor', '~> 3.0'
gem 'jwt'
gem 'figaro'
gem 'rolify'
gem 'pundit'
gem 'faker'

group :development, :test do
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'awesome_print'

gem 'rspec-rails', '~> 3.7'
gem 'factory_bot_rails'
end

group :development do
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end

gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Loading