firespring_dev_commands 1.4.0.pre.alpha.1 → 1.4.0.pre.alpha.2
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 +4 -4
- data/lib/firespring_dev_commands/templates/base_interface.rb +4 -0
- data/lib/firespring_dev_commands/templates/ci.rb +2 -0
- data/lib/firespring_dev_commands/templates/docker/node/application.rb +2 -0
- data/lib/firespring_dev_commands/templates/docker/php/application.rb +2 -0
- data/lib/firespring_dev_commands/templates/docker/ruby/application.rb +2 -0
- data/lib/firespring_dev_commands/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2ec7f66ba027cbcf0eb5dad2b07cc309a7871131c33635c7b1dc8c31a1e99bc
|
4
|
+
data.tar.gz: 29b232ed437a4164fb5e979277aef795b2ccba8fda3a56f4a880eb5c705eb597
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0332855a40f32659bce79e1d0caf0d11a9915f42a685bddf5baab2881f1b40c637aabefba6feddaa9f914200e12e1cc230ba3582cb486c02e4b4bd08ac273f2c'
|
7
|
+
data.tar.gz: e4d7851de55cbd84f62f2b365eff66151c0e9fa95656741240af9e1fbc90c40f57efdbf0f1b2a6a82bfb624395525ed307fd60642dacfa3664e8aaa8e2968159
|
@@ -7,6 +7,8 @@ module Dev
|
|
7
7
|
class BaseInterface
|
8
8
|
include ::Rake::DSL
|
9
9
|
|
10
|
+
attr_reader :exclude
|
11
|
+
|
10
12
|
def initialize(exclude: [])
|
11
13
|
@exclude = Array(exclude).map(&:to_sym)
|
12
14
|
create_tasks!
|
@@ -32,6 +34,8 @@ module Dev
|
|
32
34
|
class ApplicationInterface < Dev::Template::BaseInterface
|
33
35
|
include ::Rake::DSL
|
34
36
|
|
37
|
+
attr_reader :name
|
38
|
+
|
35
39
|
def initialize(name, exclude: [])
|
36
40
|
@name = name
|
37
41
|
super(exclude: exclude)
|
@@ -5,6 +5,8 @@ module Dev
|
|
5
5
|
class Aws
|
6
6
|
# Class contains rake templates for managing your ci/cd resources
|
7
7
|
class Ci < Dev::Template::BaseInterface
|
8
|
+
attr_reader :cloudformation
|
9
|
+
|
8
10
|
# Base interface template customized for codepipelines which require a pipeline pattern which will match the pipeline name
|
9
11
|
def initialize(cloudformation, exclude: [])
|
10
12
|
@cloudformations = Array(cloudformation).sort_by(&:name)
|
@@ -7,6 +7,8 @@ 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
|
+
|
10
12
|
# Allow for custom container path for the application
|
11
13
|
def initialize(application, container_path: nil, local_path: nil, exclude: [])
|
12
14
|
@node = Dev::Node.new(container_path: container_path, local_path: local_path)
|
@@ -7,6 +7,8 @@ module Dev
|
|
7
7
|
module Php
|
8
8
|
# Class for default rake tasks associated with a php project
|
9
9
|
class Application < Dev::Template::ApplicationInterface
|
10
|
+
attr_reader :php
|
11
|
+
|
10
12
|
# Allow for custom container path for the application
|
11
13
|
def initialize(application, container_path: nil, local_path: nil, exclude: [])
|
12
14
|
@php = Dev::Php.new(container_path: container_path, local_path: local_path)
|
@@ -7,6 +7,8 @@ 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
|
+
|
10
12
|
# Allow for custom container path for the application
|
11
13
|
def initialize(application, container_path: nil, local_path: nil, exclude: [])
|
12
14
|
@ruby = Dev::Ruby.new(container_path: container_path, local_path: local_path)
|