-
Notifications
You must be signed in to change notification settings - Fork 1
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
17 changed files
with
911 additions
and
378 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
--format documentation | ||
--color | ||
-f d |
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,40 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2017-05-16 13:17:04 +0200 using RuboCop version 0.48.1. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 12 | ||
Metrics/AbcSize: | ||
Max: 50 | ||
|
||
# Offense count: 6 | ||
# Configuration parameters: CountComments, ExcludedMethods. | ||
Metrics/BlockLength: | ||
Max: 200 | ||
|
||
# Offense count: 2 | ||
# Configuration parameters: CountComments. | ||
Metrics/ClassLength: | ||
Max: 200 | ||
|
||
# Offense count: 2 | ||
Metrics/CyclomaticComplexity: | ||
Max: 10 | ||
|
||
# Offense count: 38 | ||
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns. | ||
# URISchemes: http, https | ||
Metrics/LineLength: | ||
Max: 160 | ||
|
||
# Offense count: 13 | ||
# Configuration parameters: CountComments. | ||
Metrics/MethodLength: | ||
Max: 50 | ||
|
||
# Offense count: 1 | ||
Metrics/PerceivedComplexity: | ||
Max: 10 |
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,6 +1,6 @@ | ||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
require 'bundler/gem_tasks' | ||
require 'rspec/core/rake_task' | ||
|
||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
task :default => :spec | ||
task default: :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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,4 +55,4 @@ OPTIONS | |
AUTHOR | ||
------ | ||
|
||
Wassim DHIF (wassim.dhif@worldline.com) | ||
Wassim DHIF (wassimdhif@gmail.com) |
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,5 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require "gitlabci/controller" | ||
require 'gitlabci/controller' | ||
|
||
Gitlabci::Controller::Cli.start ( ARGV ) | ||
Gitlabci::Controller::Cli.start ARGV |
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,32 +1,33 @@ | ||
# coding: utf-8 | ||
|
||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'gitlabci/controller/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "gitlabci-cli" | ||
spec.name = 'gitlabci-cli' | ||
spec.version = Gitlabci::Controller::VERSION | ||
spec.authors = ["Wassim DHIF"] | ||
spec.email = ["[email protected]"] | ||
spec.authors = ['Wassim DHIF'] | ||
spec.email = ['[email protected]'] | ||
|
||
spec.summary = %q{Control your GitlabCI workflow from your terminal} | ||
spec.description = %q{Control your GitlabCI workflow from your terminal} | ||
spec.homepage = "http://github.com/wdhif/gitlabci-cli" | ||
spec.summary = 'Control your GitlabCI workflow from your terminal' | ||
spec.description = 'Control your GitlabCI workflow from your terminal' | ||
spec.homepage = 'http://github.com/wdhif/gitlabci-cli' | ||
|
||
spec.files = [] | ||
spec.executables = "gitlabci-cli" | ||
spec.require_paths = ["lib"] | ||
spec.executables = 'gitlabci-cli' | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_dependency 'thor' | ||
spec.add_dependency 'rest-client' | ||
spec.add_dependency 'json' | ||
spec.add_dependency 'json_pure' | ||
spec.add_dependency 'terminal-table' | ||
|
||
spec.add_development_dependency "bundler" | ||
spec.add_development_dependency "rake", "~> 10.0" | ||
spec.add_development_dependency "rspec", "~> 3.0" | ||
spec.add_development_dependency "rspec-mocks" | ||
spec.add_development_dependency "webmock" | ||
|
||
spec.add_development_dependency 'bundler' | ||
spec.add_development_dependency 'rake', '~> 10.0' | ||
spec.add_development_dependency 'rspec', '~> 3.0' | ||
spec.add_development_dependency 'rspec-mocks' | ||
spec.add_development_dependency 'webmock' | ||
spec.add_development_dependency 'rubocop' | ||
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,8 +1,8 @@ | ||
require "gitlabci/controller/version" | ||
require "gitlabci/controller/cli" | ||
require 'gitlabci/controller/cli' | ||
require 'gitlabci/controller/version' | ||
|
||
module Gitlabci | ||
# Main Controller Class | ||
module Controller | ||
# Your code goes here... | ||
end | ||
end |
Oops, something went wrong.