ops_team 0.2.2 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffbfe47eb5ac6fd8b908604cb1409e4b90f5e03761d6f111b53dfd93ecb2d9fe
4
- data.tar.gz: ce01d34fcab6f08a8b07a41cf7cfe99d3ed96c6ac9a3353f48ebbb65d2c03694
3
+ metadata.gz: 3df06362d31ad96870848712991804c147d63f780395587ea7237eacabfbb683
4
+ data.tar.gz: d125dfaa4423fa07eae13672f5c045f064b084f2c7c05db3e76ab5088b92f410
5
5
  SHA512:
6
- metadata.gz: fd14eed08cc7eb9e38e1bc8c995142b197d27ef8789718a0c8daea0af57f45704c5720fed3e15b7a8f6d0a0021d21e098bd02cd234cfde3ba822804a532bbec5
7
- data.tar.gz: 27b74a7306b5577f38b1864be03a13fd3eeababf2447a37f317b0a55c5f59c94d648f957f93b010ce981fbb3b161e1889d1b841509d0cd638e7850d143558939
6
+ metadata.gz: 8e7f27173645a685d1146c9a8e73565c9cee017e0bdeb834db0258f17b4e9d655d2f19949b386f4b401818ef37d45e4c3552c31b19571c580de0f6c60b3d4638
7
+ data.tar.gz: 6f5e9398f184381b503cf579b7e8468db32a5ce9707b6f6818b9f55b6fba94054a96fbfa6d99fc7b0bce0159f63fbf92f53506712fafebe925622753b143eae1
@@ -7,5 +7,7 @@ dependencies:
7
7
  actions:
8
8
  start:
9
9
  command: docker-compose up -d
10
+ description: starts the service
10
11
  stop:
11
12
  command: docker-compose down
13
+ description: stops the service
@@ -7,23 +7,31 @@ dependencies:
7
7
  actions:
8
8
  start:
9
9
  command: echo update me
10
+ description: starts the app
10
11
  stop:
11
12
  command: echo update me too
13
+ description: stops the app
12
14
  test:
13
15
  command: rspec
14
16
  alias: t
17
+ description: runs unit tests
15
18
  test-watch:
16
19
  command: rerun -x ops test
17
20
  alias: tw
21
+ description: runs unit tests every time a file changes
18
22
  lint:
19
23
  command: bundle exec rubocop --safe-auto-correct
20
24
  alias: l
25
+ description: runs rubocop with safe autocorrect
21
26
  build:
22
27
  command: gem build *.gemspec
23
28
  alias: b
29
+ description: builds the gem
24
30
  install:
25
31
  command: gem install `ls -t *.gem | head -n1`
26
32
  alias: i
33
+ description: installs the gem
27
34
  build-and-install:
28
35
  command: ops build && ops install
29
36
  alias: bi
37
+ description: builds and installs the gem
@@ -9,21 +9,28 @@ actions:
9
9
  apply:
10
10
  command: terraform apply
11
11
  alias: a
12
+ description: runs 'terraform apply'
12
13
  apply-auto-approve:
13
14
  command: terraform apply --auto-approve
14
15
  alias: aa
16
+ description: runs 'terraform apply' with auto-approve
15
17
  destroy:
16
18
  command: terraform destroy
17
19
  alias: d
20
+ description: runs 'terraform destroy'
18
21
  destroy-auto-approve:
19
22
  command: terraform destroy --auto-approve
20
23
  alias: dd
24
+ description: runs 'terraform destroy' with auto-approve
21
25
  plan:
22
26
  command: terraform plan
23
27
  alias: p
28
+ description: runs 'terraform plan'
24
29
  graph:
25
30
  command: terraform graph | dot -T pdf -o resource_graph.pdf
26
31
  alias: g
32
+ description: runs 'terraform graph'
27
33
  open-graph:
28
34
  command: ops graph && open resource_graph.pdf
29
35
  alias: og
36
+ description: opens the terraform graph with the OS 'open' command
@@ -10,11 +10,11 @@ module Builtins
10
10
  class Down < Builtin
11
11
  class << self
12
12
  def description
13
- "Stops dependent services listed in ops.yml"
13
+ "stops dependent services listed in ops.yml"
14
14
  end
15
15
  end
16
16
 
17
- def run
17
+ def run
18
18
  # TODO: return a success/failure status to the caller
19
19
  unmeet_dependencies
20
20
  end
@@ -7,7 +7,7 @@ module Builtins
7
7
  class Env < Builtin
8
8
  class << self
9
9
  def description
10
- "Prints the current environment, e.g. 'dev', 'production', 'staging', etc."
10
+ "prints the current environment, e.g. 'dev', 'production', 'staging', etc."
11
11
  end
12
12
  end
13
13
 
@@ -8,7 +8,7 @@ module Builtins
8
8
  class Help < Builtin
9
9
  class << self
10
10
  def description
11
- "Displays available builtins and actions"
11
+ "displays available builtins and actions"
12
12
  end
13
13
  end
14
14
 
@@ -14,7 +14,7 @@ module Builtins
14
14
 
15
15
  class << self
16
16
  def description
17
- "Creates an ops.yml file from a template"
17
+ "creates an ops.yml file from a template"
18
18
  end
19
19
  end
20
20
 
@@ -11,7 +11,7 @@ module Builtins
11
11
  class Up < Builtin
12
12
  class << self
13
13
  def description
14
- "Attempts to meet dependencies listed in ops.yml"
14
+ "attempts to meet dependencies listed in ops.yml"
15
15
  end
16
16
  end
17
17
 
@@ -10,7 +10,7 @@ module Builtins
10
10
 
11
11
  class << self
12
12
  def description
13
- "Prints the version of ops that is running"
13
+ "prints the version of ops that is running"
14
14
  end
15
15
  end
16
16
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'ops_team'
5
- s.version = '0.2.2'
5
+ s.version = '0.2.3'
6
6
  s.authors = [
7
7
  'nickthecook@gmail.com'
8
8
  ]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ops_team
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - nickthecook@gmail.com