kurgan 0.1.3 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3fe34e72bd7fc90667d4fbcc0c1981f284a1a7670c6735ccf276cf5f6b7a79d
4
- data.tar.gz: 8b6cfeb1b0cce8e69e0f387c6ebc346f4ba2c5ec36fef0a4ac4ab651280a49dd
3
+ metadata.gz: 2ed9790e405062d96996a8ee171a7d3ac0cfdaf675b458f3cb38015e936c01b3
4
+ data.tar.gz: '09e6b0290f9ad301146292353f5235dafd1023f2198ea5d160a1ddba3ca74b11'
5
5
  SHA512:
6
- metadata.gz: 6a3efca63e094ee686b5d9a65489eaf7b700ac4e0191b863ff7e9f070111d8906a0f9e6b2f7fd03be55c6b429e7bed254da0b110d654115e4a53a02a2e9e1957
7
- data.tar.gz: e6dc44b198c12ba1cdd4012f8cde7c1d6c0395e81de561ff63ab418e96e99541dcbcad94c3c0813f084e157fbff211eda690f15eabb699508ff95e0f673b248f
6
+ metadata.gz: 9b7bdf67f194e510c687775b3c1a89b5b24aee7aca3fc93b2ecd61ae05efe19861b60935d6c8e99666f6b18ad4f922556bee3f7a27c9020f2df7c05801c044d2
7
+ data.tar.gz: 9aaceb7c925e2e7cfbfb389b157348d4b4d6aff625962415430547d709e3699d0b6b7a5f1d421d6c7ae4e5c62f4ef74e824d4c0440393fa0bd8bf0e752bd1d48
@@ -0,0 +1,25 @@
1
+ name: test and build gem
2
+ on:
3
+ push:
4
+ branches: [ master ]
5
+ pull_request:
6
+ branches: [ master ]
7
+
8
+ jobs:
9
+ build:
10
+ name: test + build
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: set up ruby 2.7
16
+ uses: actions/setup-ruby@v1
17
+ with:
18
+ ruby-version: 2.7.x
19
+ - name: rspec
20
+ run: |
21
+ gem install rspec
22
+ rspec
23
+ - name: build gem
24
+ run: |
25
+ gem build kurgan.gemspec
@@ -0,0 +1,24 @@
1
+ name: release gem
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build:
9
+ name: Build and publish gem
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Check out the repo
14
+ uses: actions/checkout@v2
15
+
16
+ - name: Set up ruby 2.7
17
+ uses: actions/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.7.x
20
+
21
+ - name: Publish gem
22
+ uses: dawidd6/action-publish-gem@v1
23
+ with:
24
+ api_key: ${{secrets.RUBYGEMS_API_KEY}}
data/Gemfile.lock CHANGED
@@ -1,22 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kurgan (0.1.3)
4
+ kurgan (0.2.2)
5
5
  thor (~> 0.19)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- rake (10.5.0)
10
+ rake (13.0.1)
11
11
  thor (0.20.3)
12
12
 
13
13
  PLATFORMS
14
14
  ruby
15
15
 
16
16
  DEPENDENCIES
17
- bundler (~> 1.16)
17
+ bundler (~> 2.0)
18
18
  kurgan!
19
- rake (~> 10.0)
19
+ rake (~> 13.0)
20
20
 
21
21
  BUNDLED WITH
22
- 1.16.1
22
+ 2.0.1
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Kurgan
2
2
  ---
3
3
 
4
- [![Build Status](https://travis-ci.org/theonestack/kurgan.svg?branch=develop)](https://travis-ci.org/theonestack/kurgan) [![Join the chat at https://gitter.im/theonestack/cfhighlander](https://badges.gitter.im/theonestack/cfhighlander.svg)](https://gitter.im/theonestack/cfhighlander?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4
+ [![Build Status](https://travis-ci.com/theonestack/kurgan.svg?branch=master)](https://travis-ci.com/theonestack/kurgan) [![Join the chat at https://gitter.im/theonestack/cfhighlander](https://badges.gitter.im/theonestack/cfhighlander.svg)](https://gitter.im/theonestack/cfhighlander?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
5
5
 
6
6
  Tool to manage CfHighlander stacks
7
7
 
data/kurgan.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
18
  # to allow pushing to a single host or delete this section to allow pushing to any host.
19
19
  if spec.respond_to?(:metadata)
20
- spec.metadata["allowed_push_host"] = "http://mygemserver.com"
20
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
21
21
  else
22
22
  raise "RubyGems 2.0 or newer is required to protect against " \
23
23
  "public gem pushes."
@@ -32,6 +32,6 @@ Gem::Specification.new do |spec|
32
32
 
33
33
  spec.add_dependency "thor", "~> 0.19"
34
34
 
35
- spec.add_development_dependency "bundler", "~> 1.16"
36
- spec.add_development_dependency "rake", "~> 10.0"
35
+ spec.add_development_dependency "bundler", "~> 2.0"
36
+ spec.add_development_dependency "rake", "~> 13.0"
37
37
  end
data/lib/kurgan.rb CHANGED
@@ -5,6 +5,7 @@ require 'kurgan/globals'
5
5
  require "kurgan/init"
6
6
  require "kurgan/component"
7
7
  require "kurgan/add"
8
+ require "kurgan/test"
8
9
  require "kurgan/list"
9
10
 
10
11
  module Kurgan
@@ -25,6 +26,9 @@ module Kurgan
25
26
  register Kurgan::Add, 'add', 'add [component]', 'Adds a new component to an existing CfHighlander project'
26
27
  tasks["add"].options = Kurgan::Add.class_options
27
28
 
29
+ register Kurgan::Test, 'test', 'test [name]', 'Create a new test case for a component'
30
+ tasks["test"].options = Kurgan::Test.class_options
31
+
28
32
  desc "list", "List available components and latest version from theonestack github"
29
33
  method_option :filter, aliases: '-f', type: :string, desc: "filter components by service type"
30
34
  method_option :component, aliases: '-c', type: :string, desc: "list all versions for matched components"
data/lib/kurgan/add.rb CHANGED
@@ -2,7 +2,7 @@ module Kurgan
2
2
  class Add < Thor::Group
3
3
  include Thor::Actions
4
4
 
5
- argument :template
5
+ argument :component
6
6
 
7
7
  class_option :name, aliases: :n, type: :string
8
8
  class_option :version, aliases: :v, type: :string
@@ -15,11 +15,11 @@ module Kurgan
15
15
  end
16
16
 
17
17
  def get_component_name
18
- @name = options[:name] || template
18
+ @name = options[:name] || component
19
19
  end
20
20
 
21
21
  def get_template_version
22
- @template = options[:version] ? "#{template}@#{options[:version]}" : template
22
+ @template = options[:version] ? "#{component}@#{options[:version]}" : component
23
23
  say "adding #{@template} to the #{@cfhighlander_template.split('.')[0]} project"
24
24
  end
25
25
 
@@ -3,6 +3,10 @@ require 'kurgan/init'
3
3
  module Kurgan
4
4
  class Component < Kurgan::Init
5
5
 
6
+ def set_type
7
+ @type = 'component'
8
+ end
9
+
6
10
  def set_directory
7
11
  @dir = ask "directory name ", default: "hl-component-#{name}"
8
12
  empty_directory @dir
@@ -23,6 +27,11 @@ module Kurgan
23
27
  template('templates/cfndsl.rb.tt', "#{@dir}/#{name}.cfndsl.rb")
24
28
  end
25
29
 
30
+ def create_default_config_test
31
+ @test_name = 'default'
32
+ template('templates/test.yaml.tt', "#{@dir}/tests/#{@test_name}.test.yaml")
33
+ end
34
+
26
35
  def copy_licence
27
36
  if yes?("Use MIT license?")
28
37
  copy_file "templates/MITLICENSE", "#{@dir}/LICENSE"
@@ -31,13 +40,5 @@ module Kurgan
31
40
  end
32
41
  end
33
42
 
34
- def create_travis_config
35
- if yes?("Use Travis-ci?")
36
- copy_file "templates/travis.yml.tt", "#{@dir}/travis-ci.yml"
37
- else
38
- say "skipping travis", :yellow
39
- end
40
- end
41
-
42
43
  end
43
44
  end
data/lib/kurgan/init.rb CHANGED
@@ -7,12 +7,16 @@ module Kurgan
7
7
 
8
8
  argument :name
9
9
 
10
- class_option :type, aliases: :t, default: 'empty', enum: ['empty','vpc','ecs'], desc: "Create a pre-canned project"
10
+ class_option :project, aliases: '-p', default: 'empty', enum: ['empty','vpc','ecs'], desc: "Create a pre-canned project"
11
11
 
12
12
  def self.source_root
13
13
  File.dirname(__FILE__)
14
14
  end
15
15
 
16
+ def set_type
17
+ @type = 'project'
18
+ end
19
+
16
20
  def set_directory
17
21
  @dir = ask "directory name ", default: name
18
22
  empty_directory @dir
@@ -23,11 +27,11 @@ module Kurgan
23
27
  end
24
28
 
25
29
  def set_template_parameters
26
- @parameters = Kurgan::Projects.properties[options['type'].to_sym][:parameters]
30
+ @parameters = Kurgan::Projects.properties[options['project'].to_sym][:parameters]
27
31
  end
28
32
 
29
33
  def set_template_components
30
- @components = Kurgan::Projects.properties[options['type'].to_sym][:components]
34
+ @components = Kurgan::Projects.properties[options['project'].to_sym][:components]
31
35
  end
32
36
 
33
37
  def create_cfhighlander_template
@@ -43,7 +47,7 @@ module Kurgan
43
47
  if yes?("git init project?")
44
48
  run "git init #{@dir}"
45
49
  template 'templates/gitignore.tt', "#{@dir}/.gitignore"
46
- template 'templates/README.md.tt', "#{@dir}/README.md"
50
+ template "templates/README.md.tt", "#{@dir}/README.md"
47
51
  else
48
52
  say "Skipping git init", :yellow
49
53
  end
@@ -51,11 +55,13 @@ module Kurgan
51
55
 
52
56
  def ci_init
53
57
  if yes?("Setup a CI pipeline?")
54
- type = ask "CI flavour", limited_to: ['jenkins', 'travis', 'codebuild']
55
- case type
58
+ ci = ask "CI flavour", limited_to: ['github', 'jenkins', 'travis', 'codebuild']
59
+ case ci
60
+ when 'github'
61
+ template('templates/github_actions.yaml.tt', "#{@dir}/.github/workflows/rspec.yaml")
56
62
  when 'jenkins'
57
63
  template('templates/Jenkinsfile.tt', "#{@dir}/Jenkinsfile")
58
- when 'travis-ci'
64
+ when 'travis'
59
65
  template('templates/travis.yml.tt', "#{@dir}/.travis.yml")
60
66
  when 'codebuild'
61
67
  template('templates/codebuild.yaml.tt', "#{@dir}/.codebuild.yaml")
data/lib/kurgan/list.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'open-uri'
2
+ require 'fileutils'
2
3
 
3
4
  module Kurgan
4
5
  class List
@@ -3,16 +3,42 @@ pipeline {
3
3
  environment {
4
4
  AWS_REGION = 'us-east-1'
5
5
  PROJECT_NAME = '<%= @name %>'
6
+ VERSION = '0.1.0'
6
7
  }
7
8
 
8
9
  agent {
9
10
  docker {
10
- image 'theonestack/cfhighlander'
11
+ image 'theonestack/cfhighlander'
11
12
  }
12
13
  }
13
14
 
14
15
  stages {
15
16
 
17
+ <%- if @type == 'component' -%>
18
+ stage('cftest') {
19
+ steps {
20
+ sh 'cfndsl -u'
21
+ sh "cfhighlander cftest -r xml"
22
+ }
23
+ post {
24
+ always {
25
+ junit 'reports/report.xml'
26
+ }
27
+ }
28
+ }
29
+
30
+ stage('cfn nag') {
31
+ agent {
32
+ docker {
33
+ image 'base2/cfn-nag'
34
+ reuseNode true
35
+ }
36
+ }
37
+ steps {
38
+ sh 'cfn_nag_scan -i out/tests'
39
+ }
40
+ }
41
+ <%- elsif @type == 'project' -%>
16
42
  stage('Compile and validate templates') {
17
43
  steps {
18
44
  sh 'cfndsl -u'
@@ -20,20 +46,24 @@ pipeline {
20
46
  }
21
47
  }
22
48
 
23
- stage('Publish templates to S3') {
24
- steps {
25
- script {
26
- env['VERSION'] = ${env.BRANCH_NAME}-${env.SHORT_COMMIT}
49
+ stage('cfn nag') {
50
+ agent {
51
+ docker {
52
+ image 'base2/cfn-nag'
53
+ reuseNode true
27
54
  }
28
- sh "cfpublish ${PROJECT_NAME} --version ${VERSION}"
55
+ }
56
+ steps {
57
+ sh 'cfn_nag_scan -i out/yaml'
29
58
  }
30
59
  }
31
60
 
32
- stage('Deploy') {
61
+ stage('Publish templates') {
33
62
  steps {
34
- println "Deploying ${env.PROJECT_NAME} version ${env.VERSION}"
63
+ sh "cfpublish ${env.PROJECT_NAME} --version ${env.VERSION}"
35
64
  }
36
65
  }
66
+ <%- end -%>
37
67
 
38
68
  }
39
69
  }
@@ -1,5 +1,4 @@
1
- # <%= name %> CfHighlander project
2
- ---
1
+ # <%= name %> CfHighlander <%= @type %>
3
2
 
4
3
  ## Cfhighlander Setup
5
4
 
@@ -14,14 +13,18 @@ or via docker
14
13
  ```bash
15
14
  docker pull theonestack/cfhighlander
16
15
  ```
16
+ <%- if @type == 'component' -%>
17
+ ## Testing Components
17
18
 
18
- compiling the templates
19
+ Running the tests
19
20
 
20
21
  ```bash
21
- cfcompile <%= name %>
22
+ cfhighlander cftest <%= name %>
22
23
  ```
24
+ <%- elsif @type == 'project' -%>
25
+ ## Compiling the project
23
26
 
24
- compiling with the vaildate fag to validate the templates
27
+ compiling with the validate tag to validate the templates
25
28
 
26
29
  ```bash
27
30
  cfcompile <%= name %> --validate
@@ -32,3 +35,4 @@ publish the templates to s3
32
35
  ```bash
33
36
  cfpublish <%= name %> --version latest
34
37
  ```
38
+ <%- end -%>
@@ -1,3 +1,6 @@
1
1
  CloudFormation do
2
2
  ## Add your cfndsl resources here
3
+ SNS_Topic(:Topic) {
4
+ TopicName topic_name if defined? topic_name
5
+ }
3
6
  end
@@ -7,7 +7,13 @@ env:
7
7
  phases:
8
8
  install:
9
9
  commands:
10
- - gem install cfhighlander
10
+ - gem install cfhighlander cfn-nag
11
11
  build:
12
12
  commands:
13
+ <%- if @type == 'component' -%>
14
+ - cfhighlander cftest
15
+ - cfn_nag_scan -i out/tests
16
+ <%- elsif @type == 'project' -%>
13
17
  - cfcompile --validate
18
+ - cfn_nag_scan -i out/yaml
19
+ <%- end -%>
@@ -0,0 +1,25 @@
1
+ name: cftest
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ test:
7
+ name: test
8
+ runs-on: ubuntu-latest
9
+
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: set up ruby 2.7
13
+ uses: actions/setup-ruby@v1
14
+ with:
15
+ ruby-version: 2.7.x
16
+ - name: install gems
17
+ run: gem install cfhighlander rspec
18
+ - name: set cfndsl spec
19
+ run: cfndsl -u
20
+ - name: cftest
21
+ run: rspec
22
+ env:
23
+ AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
24
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
25
+ AWS_REGION: ap-southeast-2
@@ -1 +1,2 @@
1
1
  out/
2
+ reports/
@@ -0,0 +1,31 @@
1
+ require 'yaml'
2
+
3
+ describe 'compiled component <%= @component_name %>' do
4
+
5
+ context 'cftest' do
6
+ it 'compiles test' do
7
+ expect(system("cfhighlander cftest #{@validate} --tests tests/<%= @test_name %>.test.yaml")).to be_truthy
8
+ end
9
+ end
10
+
11
+ let(:template) { YAML.load_file("#{File.dirname(__FILE__)}/../out/tests/<%= @test_name %>/<%= @component_name %>.compiled.yaml") }
12
+
13
+ context "Resource" do
14
+
15
+ <% config['Resources'].each do |resource, details| %>
16
+ context "<%= resource %>" do
17
+ let(:resource) { template["Resources"]["<%= resource %>"] }
18
+
19
+ it "is of type <%= details['Type'] %>" do
20
+ expect(resource["Type"]).to eq("<%= details['Type'] %>")
21
+ end
22
+ <% if details.has_key?('Properties')%><% details['Properties'].each do |property, value| %>
23
+ it "to have property <%= property %>" do
24
+ expect(resource["Properties"]["<%= property %>"]).to eq(<%= value.is_a?(String) ? "\"#{value}\"" : value %>)
25
+ end
26
+ <% end %><% end %>
27
+ end
28
+ <% end %>
29
+ end
30
+
31
+ end
@@ -0,0 +1,6 @@
1
+ test_metadata:
2
+ type: config
3
+ name: <%= @test_name %>
4
+ description: set the description for your test
5
+
6
+ # Insert your tests here
@@ -1,6 +1,15 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 2.5
4
+ install:
5
+ - gem install cfhighlander cfn-nag
6
+ before_script:
7
+ - cfndsl -u
8
+ <%- if @type == 'component' -%>
4
9
  script:
5
- - gem install cfhighlander
6
- - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then cfcompile ; else cfcompile --validate; fi%
10
+ - if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then cfhighlander cftest --no-validate; else cfhighlander cftest; fi
11
+ - cfn_nag_scan -i out/tests
12
+ <%- elsif @type == 'project' -%>
13
+ script:
14
+ - cfcompile
15
+ <%- end -%>
@@ -0,0 +1,43 @@
1
+ require 'yaml'
2
+
3
+ module Kurgan
4
+ class Test < Thor::Group
5
+ include Thor::Actions
6
+
7
+ argument :test_name
8
+
9
+ class_option :type, aliases: :t, type: :string, enum: %w(config spec), default: 'config'
10
+ class_option :directory, aliases: :d, type: :string, default: 'tests'
11
+
12
+ def self.source_root
13
+ File.dirname(__FILE__)
14
+ end
15
+
16
+ def get_cfhighlander_template
17
+ @cfhighlander_template = Dir['*.cfhighlander.rb'][0]
18
+ if @cfhighlander_template.nil?
19
+ raise "No cfhighlander.rb file found in #{Dir.pwd}"
20
+ end
21
+ @component_name = @cfhighlander_template.split('.').first
22
+ end
23
+
24
+ def create_test
25
+ case options[:type]
26
+ when 'config'
27
+ template('templates/test.yaml.tt', "#{options[:directory]}/#{test_name}.test.yaml")
28
+ say "created config test case #{options[:directory]}/#{test_name}.test.yaml", :green
29
+ when 'spec'
30
+ output_file = "#{Dir.pwd}/out/tests/#{test_name}/#{@component_name}.compiled.yaml"
31
+ if !File.file?(output_file)
32
+ error "compile cloudformation test output file #{output_file} not found.\nRun `cfhighlander cftest -t #{options[:directory]}/#{test_name}.test.yaml`"
33
+ end
34
+ compiled_test = YAML.load_file("#{Dir.pwd}/out/tests/#{test_name}/#{@component_name}.compiled.yaml")
35
+ template('templates/test.spec.tt', "spec/#{test_name}_spec.rb", compiled_test)
36
+ say "created spec test spec/#{test_name}_spec.rb", :green
37
+ else
38
+ error "#{options[:type]} is not a supported test type yet", :red
39
+ end
40
+ end
41
+
42
+ end
43
+ end
@@ -1,3 +1,3 @@
1
1
  module Kurgan
2
- VERSION = "0.1.3"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kurgan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guslington
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-11 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.16'
33
+ version: '2.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.16'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '13.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '13.0'
55
55
  description: Manage a cfhighalnder project
56
56
  email:
57
57
  - theonestackcfhighlander@gmail.com
@@ -60,8 +60,9 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
+ - ".github/workflows/build-gem.yml"
64
+ - ".github/workflows/release-gem.yml"
63
65
  - ".gitignore"
64
- - ".travis.yml"
65
66
  - Gemfile
66
67
  - Gemfile.lock
67
68
  - LICENSE.txt
@@ -83,14 +84,18 @@ files:
83
84
  - lib/kurgan/templates/cfndsl.rb.tt
84
85
  - lib/kurgan/templates/codebuild.yaml.tt
85
86
  - lib/kurgan/templates/config.yaml.tt
87
+ - lib/kurgan/templates/github_actions.yaml.tt
86
88
  - lib/kurgan/templates/gitignore.tt
89
+ - lib/kurgan/templates/test.spec.tt
90
+ - lib/kurgan/templates/test.yaml.tt
87
91
  - lib/kurgan/templates/travis.yml.tt
92
+ - lib/kurgan/test.rb
88
93
  - lib/kurgan/version.rb
89
94
  homepage: http://iamkurgan.com
90
95
  licenses:
91
96
  - MIT
92
97
  metadata:
93
- allowed_push_host: http://mygemserver.com
98
+ allowed_push_host: https://rubygems.org
94
99
  post_install_message:
95
100
  rdoc_options: []
96
101
  require_paths:
@@ -106,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
111
  - !ruby/object:Gem::Version
107
112
  version: '0'
108
113
  requirements: []
109
- rubygems_version: 3.0.2
114
+ rubygems_version: 3.1.6
110
115
  signing_key:
111
116
  specification_version: 4
112
117
  summary: Manage a cfhighalnder project
data/.travis.yml DELETED
@@ -1,17 +0,0 @@
1
- sudo: required
2
- dist: trusty
3
- language: ruby
4
- rvm:
5
- - 2.5
6
- script:
7
- - bundle install
8
- - gem build kurgan.gemspec
9
- - gem install kurgan-*.gem
10
- - kurgan help
11
- deploy:
12
- provider: rubygems
13
- api_key: "${RUBYGEMS_API_KEY}"
14
- gem: kurgan
15
- on:
16
- all_branches: true
17
- condition: $TRAVIS_BRANCH =~ ^develop|master && $TRAVIS_EVENT_TYPE =~ ^push|api$ && $TRAVIS_REPO_SLUG == "theonestack/kurgan"