Skip to content

Commit ff2db4f

Browse files
committed
Code style for everything else
1 parent 316d434 commit ff2db4f

Some content is hidden

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

46 files changed

+327
-235
lines changed

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
source 'https://rubygems.org'
24
# An alternative when rubygems.org is down
35
# source 'http://production.cf.rubygems.org/'
@@ -36,9 +38,9 @@ gem 'pghero'
3638

3739
gem 'swagger-blocks', '~> 1.3.4'
3840

39-
gem 'sass-rails', '~> 5.0'
4041
gem 'bootstrap', '~> 4.0.0.beta2.1'
41-
gem "font-awesome-rails"
42+
gem 'font-awesome-rails'
43+
gem 'sass-rails', '~> 5.0'
4244

4345
group :assets do
4446
gem 'jquery-rails', '~> 3.1.2'

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
# frozen_string_literal: true
2+
13
# Add your own tasks in files placed in lib/tasks ending in .rake,
24
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
35

4-
require File.expand_path('../config/application', __FILE__)
6+
require File.expand_path('config/application', __dir__)
57
require 'rake'
68

79
TmcServer::Application.load_tasks

bin/brakeman

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
24
#
35
# This file was generated by Bundler.
46
#
57
# The application 'brakeman' is installed as part of a gem, and
68
# this file is here to facilitate running it.
79
#
810

9-
require "pathname"
10-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11-
Pathname.new(__FILE__).realpath)
11+
require 'pathname'
12+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
13+
Pathname.new(__FILE__).realpath)
1214

13-
require "rubygems"
14-
require "bundler/setup"
15+
require 'rubygems'
16+
require 'bundler/setup'
1517

16-
load Gem.bin_path("brakeman", "brakeman")
18+
load Gem.bin_path('brakeman', 'brakeman')

bin/bundle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/usr/bin/env ruby
2-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2+
# frozen_string_literal: true
3+
4+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
35
load Gem.bin_path('bundler', 'bundle')

bin/bundle-audit

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
24
#
35
# This file was generated by Bundler.
46
#
57
# The application 'bundle-audit' is installed as part of a gem, and
68
# this file is here to facilitate running it.
79
#
810

9-
require "pathname"
10-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11-
Pathname.new(__FILE__).realpath)
11+
require 'pathname'
12+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
13+
Pathname.new(__FILE__).realpath)
1214

13-
require "rubygems"
14-
require "bundler/setup"
15+
require 'rubygems'
16+
require 'bundler/setup'
1517

16-
load Gem.bin_path("bundler-audit", "bundle-audit")
18+
load Gem.bin_path('bundler-audit', 'bundle-audit')

bin/bundler

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
24
#
35
# This file was generated by Bundler.
46
#
57
# The application 'bundler' is installed as part of a gem, and
68
# this file is here to facilitate running it.
79
#
810

9-
require "pathname"
10-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11-
Pathname.new(__FILE__).realpath)
11+
require 'pathname'
12+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
13+
Pathname.new(__FILE__).realpath)
1214

13-
require "rubygems"
14-
require "bundler/setup"
15+
require 'rubygems'
16+
require 'bundler/setup'
1517

16-
load Gem.bin_path("bundler", "bundler")
18+
load Gem.bin_path('bundler', 'bundler')

bin/byebug

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
24
#
35
# This file was generated by Bundler.
46
#
57
# The application 'byebug' is installed as part of a gem, and
68
# this file is here to facilitate running it.
79
#
810

9-
require "pathname"
10-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11-
Pathname.new(__FILE__).realpath)
11+
require 'pathname'
12+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
13+
Pathname.new(__FILE__).realpath)
1214

13-
require "rubygems"
14-
require "bundler/setup"
15+
require 'rubygems'
16+
require 'bundler/setup'
1517

16-
load Gem.bin_path("byebug", "byebug")
18+
load Gem.bin_path('byebug', 'byebug')

bin/coderay

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
24
#
35
# This file was generated by Bundler.
46
#
57
# The application 'coderay' is installed as part of a gem, and
68
# this file is here to facilitate running it.
79
#
810

9-
require "pathname"
10-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11-
Pathname.new(__FILE__).realpath)
11+
require 'pathname'
12+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
13+
Pathname.new(__FILE__).realpath)
1214

13-
require "rubygems"
14-
require "bundler/setup"
15+
require 'rubygems'
16+
require 'bundler/setup'
1517

16-
load Gem.bin_path("coderay", "coderay")
18+
load Gem.bin_path('coderay', 'coderay')

bin/erubis

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
24
#
35
# This file was generated by Bundler.
46
#
57
# The application 'erubis' is installed as part of a gem, and
68
# this file is here to facilitate running it.
79
#
810

9-
require "pathname"
10-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11-
Pathname.new(__FILE__).realpath)
11+
require 'pathname'
12+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
13+
Pathname.new(__FILE__).realpath)
1214

13-
require "rubygems"
14-
require "bundler/setup"
15+
require 'rubygems'
16+
require 'bundler/setup'
1517

16-
load Gem.bin_path("erubis", "erubis")
18+
load Gem.bin_path('erubis', 'erubis')

bin/haml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
24
#
35
# This file was generated by Bundler.
46
#
57
# The application 'haml' is installed as part of a gem, and
68
# this file is here to facilitate running it.
79
#
810

9-
require "pathname"
10-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
11-
Pathname.new(__FILE__).realpath)
11+
require 'pathname'
12+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
13+
Pathname.new(__FILE__).realpath)
1214

13-
require "rubygems"
14-
require "bundler/setup"
15+
require 'rubygems'
16+
require 'bundler/setup'
1517

16-
load Gem.bin_path("haml", "haml")
18+
load Gem.bin_path('haml', 'haml')

0 commit comments

Comments
 (0)