firespring_dev_commands 2.1.28.pre.alpha.1 → 2.5.0.pre.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/firespring_dev_commands/audit/report.rb +2 -9
- data/lib/firespring_dev_commands/common.rb +0 -9
- data/lib/firespring_dev_commands/docker/status.rb +0 -20
- data/lib/firespring_dev_commands/docker.rb +0 -45
- data/lib/firespring_dev_commands/eol.rb +2 -12
- data/lib/firespring_dev_commands/git.rb +22 -17
- data/lib/firespring_dev_commands/jira/issue.rb +1 -3
- data/lib/firespring_dev_commands/node.rb +1 -1
- data/lib/firespring_dev_commands/php.rb +12 -28
- data/lib/firespring_dev_commands/platform.rb +31 -38
- data/lib/firespring_dev_commands/ruby.rb +3 -6
- data/lib/firespring_dev_commands/target_process/query.rb +4 -30
- data/lib/firespring_dev_commands/target_process.rb +1 -3
- data/lib/firespring_dev_commands/templates/aws.rb +6 -14
- data/lib/firespring_dev_commands/templates/docker/application.rb +2 -2
- data/lib/firespring_dev_commands/templates/docker/node/application.rb +5 -28
- data/lib/firespring_dev_commands/templates/docker/php/application.rb +16 -31
- data/lib/firespring_dev_commands/templates/docker/ruby/application.rb +5 -27
- data/lib/firespring_dev_commands/templates/eol.rb +2 -3
- data/lib/firespring_dev_commands/templates/git.rb +0 -17
- data/lib/firespring_dev_commands/version.rb +1 -1
- data/lib/firespring_dev_commands.rb +1 -1
- metadata +35 -48
- data/lib/firespring_dev_commands/bloom_growth/rock.rb +0 -34
- data/lib/firespring_dev_commands/bloom_growth/seat.rb +0 -16
- data/lib/firespring_dev_commands/bloom_growth/user.rb +0 -43
- data/lib/firespring_dev_commands/bloom_growth.rb +0 -132
- data/lib/firespring_dev_commands/certificate.rb +0 -59
- data/lib/firespring_dev_commands/coverage/base.rb +0 -16
- data/lib/firespring_dev_commands/coverage/cobertura.rb +0 -86
- data/lib/firespring_dev_commands/coverage/none.rb +0 -21
- data/lib/firespring_dev_commands/docker/desktop.rb +0 -59
- data/lib/firespring_dev_commands/jira/parent.rb +0 -19
- data/lib/firespring_dev_commands/os.rb +0 -35
- data/lib/firespring_dev_commands/port.rb +0 -24
- data/lib/firespring_dev_commands/templates/certificate.rb +0 -41
@@ -7,29 +7,15 @@ module Dev
|
|
7
7
|
module Node
|
8
8
|
# Class for default rake tasks associated with a node project
|
9
9
|
class Application < Dev::Template::ApplicationInterface
|
10
|
-
attr_reader :node
|
11
|
-
|
12
|
-
#
|
13
|
-
|
14
|
-
# @param application [String] The name of the application
|
15
|
-
# @param container_path [String] The path to the application inside of the container
|
16
|
-
# @param local_path [String] The path to the application on your local system
|
17
|
-
# @param start_container_dependencies_on_test [Boolean] Whether or not to start up container dependencies when running tests
|
18
|
-
# @param exclude [Array<Symbol>] An array of default template tasks to exclude
|
19
|
-
def initialize(
|
20
|
-
application,
|
21
|
-
container_path: nil,
|
22
|
-
local_path: nil,
|
23
|
-
start_container_dependencies_on_test: true,
|
24
|
-
exclude: []
|
25
|
-
)
|
10
|
+
attr_reader :node
|
11
|
+
|
12
|
+
# Allow for custom container path for the application
|
13
|
+
def initialize(application, container_path: nil, local_path: nil, exclude: [])
|
26
14
|
@node = Dev::Node.new(container_path:, local_path:)
|
27
|
-
@start_container_dependencies_on_test = start_container_dependencies_on_test
|
28
15
|
super(application, exclude:)
|
29
16
|
end
|
30
17
|
|
31
18
|
# Create the rake task which runs linting for the application name
|
32
|
-
# rubocop:disable Metrics/MethodLength
|
33
19
|
def create_lint_task!
|
34
20
|
application = @name
|
35
21
|
node = @node
|
@@ -43,13 +29,6 @@ module Dev
|
|
43
29
|
# This is just a placeholder to execute the dependencies
|
44
30
|
end
|
45
31
|
|
46
|
-
namespace :lint do
|
47
|
-
desc 'Run all linting software and apply all available fixes'
|
48
|
-
task fix: %w(node:lint:fix) do
|
49
|
-
# This is just a placeholder to execute the dependencies
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
32
|
namespace :node do
|
54
33
|
desc "Run the node linting software against the #{application}'s codebase"
|
55
34
|
task lint: %w(init_docker up_no_deps) do
|
@@ -74,14 +53,12 @@ module Dev
|
|
74
53
|
end
|
75
54
|
end
|
76
55
|
end
|
77
|
-
# rubocop:enable Metrics/MethodLength
|
78
56
|
|
79
57
|
# Create the rake task which runs all tests for the application name
|
80
58
|
def create_test_task!
|
81
59
|
application = @name
|
82
60
|
node = @node
|
83
61
|
exclude = @exclude
|
84
|
-
up_cmd = @start_container_dependencies_on_test ? :up : :up_no_deps
|
85
62
|
return if exclude.include?(:test)
|
86
63
|
|
87
64
|
DEV_COMMANDS_TOP_LEVEL.instance_eval do
|
@@ -93,7 +70,7 @@ module Dev
|
|
93
70
|
|
94
71
|
namespace :node do
|
95
72
|
desc "Run all node tests against the #{application}'s codebase"
|
96
|
-
task test: %
|
73
|
+
task test: %w(init_docker up) do
|
97
74
|
LOG.debug("Running all node tests in the #{application} codebase")
|
98
75
|
|
99
76
|
options = []
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require_relative '../../base_interface'
|
2
|
+
require 'securerandom'
|
2
3
|
|
3
4
|
module Dev
|
4
5
|
module Template
|
@@ -7,24 +8,14 @@ module Dev
|
|
7
8
|
module Php
|
8
9
|
# Class for default rake tasks associated with a php project
|
9
10
|
class Application < Dev::Template::ApplicationInterface
|
10
|
-
attr_reader :php, :
|
11
|
-
|
12
|
-
#
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
def initialize(
|
19
|
-
application,
|
20
|
-
container_path: nil,
|
21
|
-
local_path: nil,
|
22
|
-
start_container_dependencies_on_test: true,
|
23
|
-
coverage: nil,
|
24
|
-
exclude: []
|
25
|
-
)
|
26
|
-
@php = Dev::Php.new(container_path:, local_path:, coverage:)
|
27
|
-
@start_container_dependencies_on_test = start_container_dependencies_on_test
|
11
|
+
attr_reader :php, :siloed_tests
|
12
|
+
|
13
|
+
# Allow for custom container path for the application
|
14
|
+
def initialize(application, container_path: nil, local_path: nil, siloed_tests: nil, exclude: [])
|
15
|
+
@php = Dev::Php.new(container_path:, local_path:)
|
16
|
+
# TODO: Better name
|
17
|
+
# TODO: Should this apply to all or just tests?
|
18
|
+
@siloed_tests = siloed_tests
|
28
19
|
|
29
20
|
super(application, exclude:)
|
30
21
|
end
|
@@ -74,7 +65,6 @@ module Dev
|
|
74
65
|
end
|
75
66
|
|
76
67
|
# Create the rake task which runs linting for the application name
|
77
|
-
# rubocop:disable Metrics/MethodLength
|
78
68
|
def create_lint_task!
|
79
69
|
application = @name
|
80
70
|
php = @php
|
@@ -88,13 +78,6 @@ module Dev
|
|
88
78
|
# This is just a placeholder to execute the dependencies
|
89
79
|
end
|
90
80
|
|
91
|
-
namespace :lint do
|
92
|
-
desc 'Run all linting software and apply all available fixes'
|
93
|
-
task fix: %w(php:lint:fix) do
|
94
|
-
# This is just a placeholder to execute the dependencies
|
95
|
-
end
|
96
|
-
end
|
97
|
-
|
98
81
|
namespace :php do
|
99
82
|
desc "Run the php linting software against the #{application}'s codebase"
|
100
83
|
task lint: %w(init_docker up_no_deps) do
|
@@ -119,14 +102,13 @@ module Dev
|
|
119
102
|
end
|
120
103
|
end
|
121
104
|
end
|
122
|
-
# rubocop:enable Metrics/MethodLength
|
123
105
|
|
124
106
|
# Create the rake task which runs all tests for the application name
|
125
107
|
def create_test_task!
|
126
108
|
application = @name
|
127
109
|
php = @php
|
110
|
+
siloed_tests = @siloed_tests
|
128
111
|
exclude = @exclude
|
129
|
-
up_cmd = @start_container_dependencies_on_test ? :up : :up_no_deps
|
130
112
|
return if exclude.include?(:test)
|
131
113
|
|
132
114
|
DEV_COMMANDS_TOP_LEVEL.instance_eval do
|
@@ -138,13 +120,16 @@ module Dev
|
|
138
120
|
|
139
121
|
namespace :php do
|
140
122
|
desc "Run all php tests against the #{application}'s codebase"
|
141
|
-
task test: %
|
123
|
+
task test: %w(init_docker up) do
|
142
124
|
LOG.debug("Running all php tests in the #{application} codebase")
|
143
125
|
|
126
|
+
project_name = nil
|
127
|
+
project_name = SecureRandom.hex if siloed_tests
|
128
|
+
|
144
129
|
options = []
|
145
130
|
options << '-T' if Dev::Common.new.running_codebuild?
|
146
|
-
Dev::Docker::Compose.new(services: application, options:).exec(*php.test_command)
|
147
|
-
|
131
|
+
Dev::Docker::Compose.new(project_name:, services: application, options:).exec(*php.test_command)
|
132
|
+
# TODO: Add clean if we are siloed
|
148
133
|
end
|
149
134
|
end
|
150
135
|
end
|
@@ -7,28 +7,15 @@ module Dev
|
|
7
7
|
module Ruby
|
8
8
|
# Class for default rake tasks associated with a ruby project
|
9
9
|
class Application < Dev::Template::ApplicationInterface
|
10
|
-
attr_reader :ruby
|
11
|
-
|
12
|
-
#
|
13
|
-
|
14
|
-
# @param application [String] The name of the application
|
15
|
-
# @param container_path [String] The path to the application inside of the container
|
16
|
-
# @param local_path [String] The path to the application on your local system
|
17
|
-
# @param start_container_dependencies_on_test [Boolean] Whether or not to start up container dependencies when running tests
|
18
|
-
def initialize(
|
19
|
-
application,
|
20
|
-
container_path: nil,
|
21
|
-
local_path: nil,
|
22
|
-
start_container_dependencies_on_test: true,
|
23
|
-
exclude: []
|
24
|
-
)
|
10
|
+
attr_reader :ruby
|
11
|
+
|
12
|
+
# Allow for custom container path for the application
|
13
|
+
def initialize(application, container_path: nil, local_path: nil, exclude: [])
|
25
14
|
@ruby = Dev::Ruby.new(container_path:, local_path:)
|
26
|
-
@start_container_dependencies_on_test = start_container_dependencies_on_test
|
27
15
|
super(application, exclude:)
|
28
16
|
end
|
29
17
|
|
30
18
|
# Create the rake task which runs linting for the application name
|
31
|
-
# rubocop:disable Metrics/MethodLength
|
32
19
|
def create_lint_task!
|
33
20
|
application = @name
|
34
21
|
ruby = @ruby
|
@@ -42,13 +29,6 @@ module Dev
|
|
42
29
|
# This is just a placeholder to execute the dependencies
|
43
30
|
end
|
44
31
|
|
45
|
-
namespace :lint do
|
46
|
-
desc 'Run all linting software and apply all available fixes'
|
47
|
-
task fix: %w(ruby:lint:fix) do
|
48
|
-
# This is just a placeholder to execute the dependencies
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
32
|
namespace :ruby do
|
53
33
|
desc "Run the ruby linting software against the #{application}'s codebase"
|
54
34
|
task lint: %w(init_docker up_no_deps) do
|
@@ -73,14 +53,12 @@ module Dev
|
|
73
53
|
end
|
74
54
|
end
|
75
55
|
end
|
76
|
-
# rubocop:enable Metrics/MethodLength
|
77
56
|
|
78
57
|
# Create the rake task which runs all tests for the application name
|
79
58
|
def create_test_task!
|
80
59
|
application = @name
|
81
60
|
ruby = @ruby
|
82
61
|
exclude = @exclude
|
83
|
-
up_cmd = @start_container_dependencies_on_test ? :up : :up_no_deps
|
84
62
|
return if exclude.include?(:test)
|
85
63
|
|
86
64
|
DEV_COMMANDS_TOP_LEVEL.instance_eval do
|
@@ -92,7 +70,7 @@ module Dev
|
|
92
70
|
|
93
71
|
namespace :ruby do
|
94
72
|
desc "Run all ruby tests against the #{application}'s codebase"
|
95
|
-
task test: %
|
73
|
+
task test: %w(init_docker up_no_deps) do
|
96
74
|
LOG.debug("Running all ruby tests in the #{application} codebase")
|
97
75
|
|
98
76
|
options = []
|
@@ -12,10 +12,9 @@ module Dev
|
|
12
12
|
DEV_COMMANDS_TOP_LEVEL.instance_eval do
|
13
13
|
return if exclude.include?(:eol)
|
14
14
|
|
15
|
-
desc 'Compares the current date to the EOL date for all configured projects'
|
16
|
-
"\n\toptionally specify CHECK_AWS=<true/false> to toggle whether AWS resources are checked for EOL (defaults to true)"
|
15
|
+
desc 'Compares the current date to the EOL date for all configured projects'
|
17
16
|
task eol: %w(init) do
|
18
|
-
Dev::EndOfLife.new.
|
17
|
+
Dev::EndOfLife.new.check
|
19
18
|
end
|
20
19
|
end
|
21
20
|
end
|
@@ -4,23 +4,6 @@ module Dev
|
|
4
4
|
module Template
|
5
5
|
# Class contains rake templates for managing your git project
|
6
6
|
class Git < Dev::Template::BaseInterface
|
7
|
-
# Create the rake task for cloning all defined repos
|
8
|
-
def create_clone_task!
|
9
|
-
# Have to set a local variable to be accessible inside of the instance_eval block
|
10
|
-
exclude = @exclude
|
11
|
-
|
12
|
-
DEV_COMMANDS_TOP_LEVEL.instance_eval do
|
13
|
-
namespace :git do
|
14
|
-
return if exclude.include?(:clone)
|
15
|
-
|
16
|
-
desc 'Make sure all repos are cloned'
|
17
|
-
task :clone do
|
18
|
-
Dev::Git.new.clone_repos
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
|
24
7
|
# Create the rake task for the git checkout method
|
25
8
|
def create_checkout_task!
|
26
9
|
# Have to set a local variable to be accessible inside of the instance_eval block
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firespring_dev_commands
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0.pre.alpha.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,154 +16,154 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.1.
|
19
|
+
version: 7.1.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 7.1.
|
26
|
+
version: 7.1.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sdk-cloudformation
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.83.0
|
34
34
|
type: :runtime
|
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.
|
40
|
+
version: 1.83.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: aws-sdk-codepipeline
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.59.0
|
48
48
|
type: :runtime
|
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: 1.
|
54
|
+
version: 1.59.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: aws-sdk-ecr
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.61.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.61.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: aws-sdk-elasticache
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.88.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
82
|
+
version: 1.88.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: aws-sdk-lambda
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 1.
|
89
|
+
version: 1.101.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
96
|
+
version: 1.101.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: aws-sdk-opensearchservice
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
103
|
+
version: 1.24.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
110
|
+
version: 1.24.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: aws-sdk-rds
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.183.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.183.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: aws-sdk-s3
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.
|
131
|
+
version: 1.127.0
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.
|
138
|
+
version: 1.127.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: aws-sdk-ssm
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.154.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
152
|
+
version: 1.154.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: aws-sdk-sts
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 1.
|
159
|
+
version: 1.10.0
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 1.
|
166
|
+
version: 1.10.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: colorize
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -249,61 +249,61 @@ dependencies:
|
|
249
249
|
- !ruby/object:Gem::Version
|
250
250
|
version: 2.3.0
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
252
|
+
name: libxml-ruby
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
254
254
|
requirements:
|
255
|
-
- -
|
255
|
+
- - '='
|
256
256
|
- !ruby/object:Gem::Version
|
257
|
-
version:
|
257
|
+
version: 4.1.1
|
258
258
|
type: :runtime
|
259
259
|
prerelease: false
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
|
-
- -
|
262
|
+
- - '='
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version:
|
264
|
+
version: 4.1.1
|
265
265
|
- !ruby/object:Gem::Dependency
|
266
266
|
name: public_suffix
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
269
|
- - '='
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: 5.0.
|
271
|
+
version: 5.0.1
|
272
272
|
type: :runtime
|
273
273
|
prerelease: false
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
275
275
|
requirements:
|
276
276
|
- - '='
|
277
277
|
- !ruby/object:Gem::Version
|
278
|
-
version: 5.0.
|
278
|
+
version: 5.0.1
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
280
|
name: rake
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
282
282
|
requirements:
|
283
283
|
- - "~>"
|
284
284
|
- !ruby/object:Gem::Version
|
285
|
-
version: 13.
|
285
|
+
version: 13.0.6
|
286
286
|
type: :runtime
|
287
287
|
prerelease: false
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
289
289
|
requirements:
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
|
-
version: 13.
|
292
|
+
version: 13.0.6
|
293
293
|
- !ruby/object:Gem::Dependency
|
294
294
|
name: slack-ruby-client
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
296
296
|
requirements:
|
297
297
|
- - "~>"
|
298
298
|
- !ruby/object:Gem::Version
|
299
|
-
version: 2.
|
299
|
+
version: 2.1.0
|
300
300
|
type: :runtime
|
301
301
|
prerelease: false
|
302
302
|
version_requirements: !ruby/object:Gem::Requirement
|
303
303
|
requirements:
|
304
304
|
- - "~>"
|
305
305
|
- !ruby/object:Gem::Version
|
306
|
-
version: 2.
|
306
|
+
version: 2.1.0
|
307
307
|
description: Ruby library for creating/maintaining your development environment
|
308
308
|
email: opensource@firespring.com
|
309
309
|
executables: []
|
@@ -327,20 +327,11 @@ files:
|
|
327
327
|
- lib/firespring_dev_commands/aws/parameter.rb
|
328
328
|
- lib/firespring_dev_commands/aws/profile.rb
|
329
329
|
- lib/firespring_dev_commands/aws/s3.rb
|
330
|
-
- lib/firespring_dev_commands/bloom_growth.rb
|
331
|
-
- lib/firespring_dev_commands/bloom_growth/rock.rb
|
332
|
-
- lib/firespring_dev_commands/bloom_growth/seat.rb
|
333
|
-
- lib/firespring_dev_commands/bloom_growth/user.rb
|
334
330
|
- lib/firespring_dev_commands/boolean.rb
|
335
|
-
- lib/firespring_dev_commands/certificate.rb
|
336
331
|
- lib/firespring_dev_commands/common.rb
|
337
|
-
- lib/firespring_dev_commands/coverage/base.rb
|
338
|
-
- lib/firespring_dev_commands/coverage/cobertura.rb
|
339
|
-
- lib/firespring_dev_commands/coverage/none.rb
|
340
332
|
- lib/firespring_dev_commands/daterange.rb
|
341
333
|
- lib/firespring_dev_commands/docker.rb
|
342
334
|
- lib/firespring_dev_commands/docker/compose.rb
|
343
|
-
- lib/firespring_dev_commands/docker/desktop.rb
|
344
335
|
- lib/firespring_dev_commands/docker/status.rb
|
345
336
|
- lib/firespring_dev_commands/dotenv.rb
|
346
337
|
- lib/firespring_dev_commands/env.rb
|
@@ -353,18 +344,15 @@ files:
|
|
353
344
|
- lib/firespring_dev_commands/jira/histories.rb
|
354
345
|
- lib/firespring_dev_commands/jira/history.rb
|
355
346
|
- lib/firespring_dev_commands/jira/issue.rb
|
356
|
-
- lib/firespring_dev_commands/jira/parent.rb
|
357
347
|
- lib/firespring_dev_commands/jira/project.rb
|
358
348
|
- lib/firespring_dev_commands/jira/user.rb
|
359
349
|
- lib/firespring_dev_commands/jira/user/type.rb
|
360
350
|
- lib/firespring_dev_commands/logger.rb
|
361
351
|
- lib/firespring_dev_commands/node.rb
|
362
352
|
- lib/firespring_dev_commands/node/audit.rb
|
363
|
-
- lib/firespring_dev_commands/os.rb
|
364
353
|
- lib/firespring_dev_commands/php.rb
|
365
354
|
- lib/firespring_dev_commands/php/audit.rb
|
366
355
|
- lib/firespring_dev_commands/platform.rb
|
367
|
-
- lib/firespring_dev_commands/port.rb
|
368
356
|
- lib/firespring_dev_commands/rake.rb
|
369
357
|
- lib/firespring_dev_commands/ruby.rb
|
370
358
|
- lib/firespring_dev_commands/ruby/audit.rb
|
@@ -385,7 +373,6 @@ files:
|
|
385
373
|
- lib/firespring_dev_commands/target_process/user_story_history.rb
|
386
374
|
- lib/firespring_dev_commands/templates/aws.rb
|
387
375
|
- lib/firespring_dev_commands/templates/base_interface.rb
|
388
|
-
- lib/firespring_dev_commands/templates/certificate.rb
|
389
376
|
- lib/firespring_dev_commands/templates/ci.rb
|
390
377
|
- lib/firespring_dev_commands/templates/config.rb
|
391
378
|
- lib/firespring_dev_commands/templates/docker/application.rb
|
@@ -1,34 +0,0 @@
|
|
1
|
-
module Dev
|
2
|
-
class BloomGrowth
|
3
|
-
# Class containing rock information
|
4
|
-
class Rock
|
5
|
-
attr_accessor :data, :id, :type, :name, :owner, :complete, :completion_id, :created, :due
|
6
|
-
attr_reader :state
|
7
|
-
|
8
|
-
def initialize(data)
|
9
|
-
@data = data
|
10
|
-
@id = data['Id']
|
11
|
-
@type = data['Type']
|
12
|
-
@name = data['Name'].to_s.strip
|
13
|
-
@owner = User.new(data['Owner']) if data['Owner']
|
14
|
-
@complete = data['Complete']
|
15
|
-
@completion_id = data['Completion']
|
16
|
-
@created = Time.parse(data['CreateTime']) if data['CreateTime']
|
17
|
-
@due = Time.parse(data['DueDate']) if data['DueDate']
|
18
|
-
@archived = data['Archived']
|
19
|
-
end
|
20
|
-
|
21
|
-
# Convert the completion_id bloom growth gives us into a text version
|
22
|
-
def state
|
23
|
-
case completion_id
|
24
|
-
when 0
|
25
|
-
'Off Track'
|
26
|
-
when 1
|
27
|
-
'On Track'
|
28
|
-
when 2
|
29
|
-
'Complete'
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
module Dev
|
2
|
-
class BloomGrowth
|
3
|
-
# Class containing seat information
|
4
|
-
class Seat
|
5
|
-
attr_accessor :data, :id, :type, :name
|
6
|
-
|
7
|
-
def initialize(data)
|
8
|
-
@data = data
|
9
|
-
position = data.dig('Group', 'Position')
|
10
|
-
@id = position&.fetch('Id')
|
11
|
-
@type = position&.fetch('Type')
|
12
|
-
@name = position&.fetch('Name').to_s.strip
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|