gitlab-swat 0.1.2 → 0.1.3

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/config.yaml +8 -6
  4. data/gitlab_swat.gemspec +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 751bc6479819d16b29d0b7ec48c15d02eeba741d
4
- data.tar.gz: 58dcfbe4f0a24794baf9abbadb5a3434bf0131fd
3
+ metadata.gz: '091767553499de299a7808b8364b273d0ea99bdb'
4
+ data.tar.gz: a131a8e302f4b1baba74e133cb722205dab2684a
5
5
  SHA512:
6
- metadata.gz: 6ea95cd876928699d3046756294c9593bb1b95682c67dd19494c164256fbd9e295d0608575624ba079232494d636a68bdbec20c7a663a27fb6a71bb2464ba32d
7
- data.tar.gz: a696e19b95af0a183623740fc3aa20cf72beea19f9f4cdbf84862942d944fd8c9e7b31e5c26aaca30d2dc52508bc304eee04e85dfc403d6db10b6b9fd0edb54d
6
+ metadata.gz: e5e14416ac0e5553cf33d7a0ce871ad51474c12e3f59b7db36e954dfbaf96c0017e11102c00249c1138b664e8b0db974cde182ddec8a283942cdbbcfefd61aed
7
+ data.tar.gz: a29af65915060827f8c4aff8c625e10b1fdfc34c5e5280d205d1ee607ab1ea2bf1d0db12d35c0630923cf5fa560d63672f72f9581ed1fa11b7bcd099c820961a
data/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  [![coverage report](https://gitlab.com/gitlab-cog/swat/badges/master/coverage.svg)](https://gitlab.com/gitlab-cog/swat/commits/master)
2
+ [![Gem Version](https://badge.fury.io/rb/gitlab-swat.svg)](https://badge.fury.io/rb/gitlab-swat)
2
3
 
3
4
  # GitLab SWAT
4
5
 
@@ -54,7 +55,7 @@ Any stage that raises an exception will stop the execution, and will force and e
54
55
 
55
56
  * **SCRIPTS_REMOTE_URL** url pointing to the remote repository
56
57
  * **SCRIPTS_LOCAL_PATH** folder where the remote repository will be downloaded to
57
- * **RAILS_RUNNER_COMMAND** command used to run rails, for example: bundle exec rails runner ./scripts/lib/swat_run.rb
58
+ * **RAILS_RUNNER_COMMAND** command used to run rails, for example: rails runner ./scripts/lib/swat_run.rb
58
59
  * **RAILS_WORKING_DIR** working dir in which to execute the rails runner command
59
60
 
60
61
  ## Cog Commands
@@ -10,12 +10,14 @@ description: >
10
10
  If That’s Simply Not Possible, SWAT Uses Special Weapons and Tactics to Keep the Public Safe
11
11
  config:
12
12
  env:
13
- - var: SCRIPT_REMOTE_URL
14
- description: Required Url for a git repo where the scripts are stored
15
- - var: SCRIPT_LOCAL_PATH
16
- description: Required path to a local semi-persistent folder where to clone and update the scripts repo
17
- - var: RAILS_EXECUTABLE
18
- description: Required path in which to find the rails executable script with which load the script
13
+ - var: SCRIPTS_REMOTE_URL
14
+ description: Required, url pointing to the remote repositor
15
+ - var: SCRIPTS_LOCAL_PATH
16
+ description: Required, folder where the remote repository will be downloaded to
17
+ - var: RAILS_RUNNER_COMMAND
18
+ description: Required, command used to run rails, for example\: rails runner ./scripts/lib/swat_run.rb
19
+ - var: RAILS_WORKING_DIR
20
+ description: Optional, working dir in which to execute the rails runner command
19
21
  homepage: https://gitlab.com/gitlab-cog/swat
20
22
  author: Pablo Carranza <pablo@gitlab.com>
21
23
  permissions:
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "gitlab-swat"
3
- s.version = "0.1.2"
3
+ s.version = "0.1.3"
4
4
  s.date = "2017-04-01"
5
5
  s.summary = "ChatOps Cog Bundle that enables admins to remotely run predefined scripts in a rails console"
6
6
  s.description = <<~eos
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-swat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Carranza