performa 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 610de8109b1e5e60dabaf00a4082876e02aadfeb30ade8c3d1c4029002f65ad8
4
- data.tar.gz: f67c8f636156222f878b8a8ba7ab599e4eb3d768cbf8858ec74b461cf2f6263b
3
+ metadata.gz: 0e099663fe569fd16289ad0f0ea2e1184c70145c0ab6ee59ce7fb428da551d16
4
+ data.tar.gz: 65657642f1584deac27250167b81493f60bf6a771f2b064265f3727ccc4e0cb3
5
5
  SHA512:
6
- metadata.gz: 3e6b1b838b7b31388acfb7f63cd6f7da63ff93a1640d11fc1069f8bd3184c1ed998dee0a11ee5ba86a4a528ebb3a47dae256f4be61fcacc55b031eea1e92d4a4
7
- data.tar.gz: 00fde074f5669f69a4b31c50db8ba6c0183abddfa25b2d53ce447fb1b2f547f9d9f110058c48b3f5b225cfd7d155f291ad6ff78baefee262bd78bbe50af7e82d
6
+ metadata.gz: fc296ed85c6bef234efd6b5074b78f9765a9b0d7accbb8499bc3836916528bb32c9545f913b5cc0c5fa5ed8372ffe3ac75502f4a4775ba8865e01c10ea959fe6
7
+ data.tar.gz: f4cf3b3dd3b3e556edf3e887d0ae02fba2e2c0a4f4c52e47df4abbcc2d198b4d5ee265b13986de80d142cd09d9edd074f86c069a2304b8994073b9d818c6ca1d
@@ -5,8 +5,8 @@ version: 1
5
5
 
6
6
  ## [Required] Base docker images to run command on
7
7
  images:
8
- # - ruby:2.4
9
- # - ruby:2.5
8
+ - ruby:2.4
9
+ - ruby:2.5
10
10
 
11
11
  ## [Optional] Commands setting up each image before running command.
12
12
  ## Environments generated = images * stages
@@ -28,3 +28,10 @@ images:
28
28
  ## [Required] Command to run on all environments
29
29
  command: |
30
30
  ruby -e "puts RUBY_VERSION"
31
+
32
+ # [Optional] Where to output the command result
33
+ # Default value: STDOUT
34
+ # If you set it a directory, existing or not, that directory may be created,
35
+ # and the results will be put in individual files for each environment.
36
+ # output: STDOUT
37
+ # output: ./performa-results
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Performa
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: performa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christophe Maximin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-12-04 00:00:00.000000000 Z
11
+ date: 2018-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -24,7 +24,8 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.8'
27
- description: PLACEHOLDER
27
+ description: Performa allows you to quickly run a script on a combination of docker
28
+ images and staging commands
28
29
  email:
29
30
  - christophe.maximin@gmail.com
30
31
  executables:
@@ -32,18 +33,6 @@ executables:
32
33
  extensions: []
33
34
  extra_rdoc_files: []
34
35
  files:
35
- - ".gitignore"
36
- - ".rspec"
37
- - ".rubocop.yml"
38
- - ".ruby-version"
39
- - ".travis.yml"
40
- - CHANGELOG.md
41
- - Gemfile
42
- - Gemfile.lock
43
- - README.md
44
- - Rakefile
45
- - bin/console
46
- - bin/setup
47
36
  - exe/performa
48
37
  - lib/performa.rb
49
38
  - lib/performa/command_result.rb
@@ -59,13 +48,13 @@ files:
59
48
  - lib/performa/shell_helper.rb
60
49
  - lib/performa/stage.rb
61
50
  - lib/performa/version.rb
62
- - performa.gemspec
63
51
  homepage: https://github.com/christophemaximin/performa
64
- licenses: []
52
+ licenses:
53
+ - MIT
65
54
  metadata:
66
55
  homepage_uri: https://github.com/christophemaximin/performa
67
56
  source_code_uri: https://github.com/christophemaximin/performa
68
- changelog_uri: https://github.com/christophemaximin/performa/CHANGELOG.md
57
+ changelog_uri: https://github.com/christophemaximin/performa/blob/master/CHANGELOG.md
69
58
  post_install_message:
70
59
  rdoc_options: []
71
60
  require_paths:
@@ -82,8 +71,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
71
  version: '0'
83
72
  requirements: []
84
73
  rubyforge_project:
85
- rubygems_version: 3.0.0.beta2
74
+ rubygems_version: 2.7.6
86
75
  signing_key:
87
76
  specification_version: 4
88
- summary: PLACEHOLDER
77
+ summary: Performa allows you to quickly run a script on a combination of docker images
78
+ and staging commands
89
79
  test_files: []
data/.gitignore DELETED
@@ -1,16 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
- !/tmp/.keep
10
-
11
- # rspec failure tracking
12
- .rspec_status
13
-
14
- /.byebug_history
15
- /performa-results
16
-
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
@@ -1,33 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.6
3
-
4
- Metrics/LineLength:
5
- Max: 130
6
- AllowHeredoc: true
7
- AllowURI: true
8
- IgnoreCopDirectives: true
9
- Exclude:
10
- - "spec/**/*"
11
-
12
- # This cop checks the line count inside blocks.
13
- # All RSpec code is in the same block for each file.
14
- # Enabling this for spec/ would require cutting up the spec files in several parts.
15
-
16
- Metrics/BlockLength:
17
- Exclude:
18
- - "spec/**/*"
19
-
20
- Style/StringLiterals:
21
- Enabled: true
22
- EnforcedStyle: "double_quotes"
23
-
24
- # This cop checks for missing top-level documentation of classes and modules.
25
- # Classes with no body are exempt from the check and so are namespace modules -
26
- # modules that have nothing in their bodies except classes, other modules,
27
- # or constant definitions.
28
-
29
- Style/Documentation:
30
- Enabled: false
31
-
32
- Metrics/MethodLength:
33
- Max: 30
@@ -1 +0,0 @@
1
- 2.6.0-preview3
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.5.3
7
- before_install: gem install bundler -v 1.17.1
@@ -1,3 +0,0 @@
1
- # CHANGELOG
2
-
3
- WIP
data/Gemfile DELETED
@@ -1,14 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
-
7
- # Specify your gem's dependencies in performa.gemspec
8
- gemspec
9
-
10
- gem "bundler"
11
- gem "byebug"
12
- gem "rake"
13
- gem "rspec"
14
- gem "rubocop", github: "rubocop-hq/rubocop"
@@ -1,62 +0,0 @@
1
- GIT
2
- remote: https://github.com/rubocop-hq/rubocop
3
- revision: 52319e485b733e6780a38986e79e7b542b0442aa
4
- specs:
5
- rubocop (0.60.0)
6
- jaro_winkler (~> 1.5.1)
7
- parallel (~> 1.10)
8
- parser (>= 2.5, != 2.5.1.1)
9
- powerpack (~> 0.1)
10
- rainbow (>= 2.2.2, < 4.0)
11
- ruby-progressbar (~> 1.7)
12
- unicode-display_width (~> 1.4.0)
13
-
14
- PATH
15
- remote: .
16
- specs:
17
- performa (0.2.0)
18
- colorize (~> 0.8)
19
-
20
- GEM
21
- remote: https://rubygems.org/
22
- specs:
23
- ast (2.4.0)
24
- byebug (10.0.2)
25
- colorize (0.8.1)
26
- diff-lcs (1.3)
27
- jaro_winkler (1.5.1)
28
- parallel (1.12.1)
29
- parser (2.5.3.0)
30
- ast (~> 2.4.0)
31
- powerpack (0.1.2)
32
- rainbow (3.0.0)
33
- rake (12.3.1)
34
- rspec (3.8.0)
35
- rspec-core (~> 3.8.0)
36
- rspec-expectations (~> 3.8.0)
37
- rspec-mocks (~> 3.8.0)
38
- rspec-core (3.8.0)
39
- rspec-support (~> 3.8.0)
40
- rspec-expectations (3.8.2)
41
- diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.8.0)
43
- rspec-mocks (3.8.0)
44
- diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.8.0)
46
- rspec-support (3.8.0)
47
- ruby-progressbar (1.10.0)
48
- unicode-display_width (1.4.0)
49
-
50
- PLATFORMS
51
- ruby
52
-
53
- DEPENDENCIES
54
- bundler
55
- byebug
56
- performa!
57
- rake
58
- rspec
59
- rubocop!
60
-
61
- BUNDLED WITH
62
- 1.17.1
data/README.md DELETED
@@ -1,15 +0,0 @@
1
- # Performa
2
-
3
- Automate scripts on multiple docker setups.
4
-
5
- ## Usage
6
-
7
- TODO: ...
8
-
9
- ## Development
10
-
11
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
12
-
13
- ## Contributing
14
-
15
- Bug reports and pull requests are welcome on GitHub at [https://github.com/christophemaximin/performa](https://github.com/christophemaximin/performa).
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bundler/gem_tasks"
4
- require "rspec/core/rake_task"
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
- require "performa"
6
- require "byebug"
7
-
8
- # You can add fixtures and/or initialization code here to make experimenting
9
- # with your gem easier. You can also use a different console, if you like.
10
-
11
- # (If you use this, don't forget to add pry to your Gemfile!)
12
- # require "pry"
13
- # Pry.start
14
-
15
- require "irb"
16
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path("lib", __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "performa/version"
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = "performa"
9
- spec.version = Performa::VERSION
10
- spec.authors = ["Christophe Maximin"]
11
- spec.email = ["christophe.maximin@gmail.com"]
12
-
13
- spec.summary = "PLACEHOLDER"
14
- spec.description = "PLACEHOLDER"
15
- spec.homepage = "https://github.com/christophemaximin/performa"
16
-
17
- spec.metadata["homepage_uri"] = spec.homepage
18
- spec.metadata["source_code_uri"] = "https://github.com/christophemaximin/performa"
19
- spec.metadata["changelog_uri"] = "https://github.com/christophemaximin/performa/CHANGELOG.md"
20
-
21
- # Specify which files should be added to the gem when it is released.
22
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
- end
26
- spec.bindir = "exe"
27
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
- spec.require_paths = ["lib"]
29
-
30
- spec.add_runtime_dependency "colorize", "~> 0.8"
31
- end