-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
74 changed files
with
393 additions
and
337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
AllCops: | ||
Exclude: | ||
- 'db/**/*' | ||
- 'test/dummy/db/**/*' | ||
- 'config/**/*' | ||
- 'test/dummy/config/**/*' | ||
- 'script/**/*' | ||
- 'test/dummy/script/**/*' | ||
- 'bin/{rails,rake}' | ||
- 'test/dummy/bin/*' | ||
- 'test/test_helper.rb' | ||
- 'spec/rails_helper.rb' | ||
- 'mission_kontrol_relay.gemspec' | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
Metrics/LineLength: | ||
IgnoredPatterns: ['(\A|\s)#'] | ||
Exclude: | ||
- 'spec/**/*' | ||
|
||
Metrics/BlockLength: | ||
Exclude: | ||
- 'spec/**/*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
app/controllers/mission_kontrol_relay/application_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module MissionKontrolRelay | ||
module ApplicationHelper | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
MissionKontrolRelay::Engine.routes.draw do | ||
get '/' => 'application#index' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
require "mission_kontrol_relay/engine" | ||
# frozen_string_literal: true | ||
|
||
require 'mission_kontrol_relay/engine' | ||
|
||
module MissionKontrolRelay | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
module MissionKontrolRelay | ||
class Engine < ::Rails::Engine | ||
isolate_namespace MissionKontrolRelay | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
module MissionKontrolRelay | ||
VERSION = "0.1.0" | ||
VERSION = '0.1.0' | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path("../lib", __FILE__) | ||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require "mission_kontrol_relay/version" | ||
require 'mission_kontrol_relay/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "mission_kontrol_relay" | ||
spec.name = 'mission_kontrol_relay' | ||
spec.version = MissionKontrolRelay::VERSION | ||
spec.authors = ["Camilla"] | ||
spec.email = ["[email protected]"] | ||
spec.authors = ['Camilla'] | ||
spec.email = ['[email protected]'] | ||
|
||
spec.summary = "Write a short summary, because RubyGems requires one." | ||
spec.description = "Write a longer description or delete this line." | ||
spec.homepage = "https://kuwinda.io" | ||
spec.summary = 'Write a short summary, because RubyGems requires one.' | ||
spec.description = 'Write a longer description or delete this line.' | ||
spec.homepage = 'https://kuwinda.io' | ||
|
||
# Specify which files should be added to the gem when it is released. | ||
# The `git ls-files -z` loads the files in the RubyGem that have been added into git. | ||
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do | ||
spec.files = Dir.chdir(File.expand_path(__dir__)) do | ||
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } | ||
end | ||
spec.bindir = "exe" | ||
spec.bindir = 'exe' | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_development_dependency "bundler", "~> 1.17" | ||
spec.add_development_dependency "rake", "~> 10.0" | ||
spec.add_development_dependency "sqlite3" | ||
spec.add_dependency "rails", "~> 5.1" | ||
spec.add_development_dependency 'bundler', '~> 1.17' | ||
spec.add_development_dependency 'rake', '~> 10.0' | ||
spec.add_development_dependency 'sqlite3' | ||
spec.add_dependency 'rails', '~> 5.1' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# frozen_string_literal: true | ||
|
||
RSpec.describe MissionKontrolRelay do | ||
it "has a version number" do | ||
it 'has a version number' do | ||
expect(MissionKontrolRelay::VERSION).not_to be nil | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.