prima-twig 0.31.17 → 0.31.19
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/bin/twig-deploy +3 -3
- data/bin/twig-open-pr +1 -0
- data/bin/twig-pick-issue +2 -1
- data/lib/prima_twig.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c48cd6afe3d2b5063126ce074d5c1b3ac461802
|
|
4
|
+
data.tar.gz: 6a7d1edcc74a61eb2629e49b832b04b19780cbf0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44c87b8eb539c18701bd327709936915f46ea1ebff7f6b50ffc720855ec6591f4d046d1ae817d4bbae52a85820ce23db5624e161fdd84fa0ba0ab03e29ca2596
|
|
7
|
+
data.tar.gz: a629f3570744c6ef731e5f83032687f630034692ab8722eadd4711f9371af74f4f465d49f0720b6533afc85bd8021acbcb53ac8e36bffb2d11a79181803f6cd0
|
data/bin/twig-deploy
CHANGED
|
@@ -132,9 +132,9 @@ class Review
|
|
|
132
132
|
mail.html_part = html_part
|
|
133
133
|
mail.text_part = text_part
|
|
134
134
|
|
|
135
|
-
opts = {address: 'smtp.
|
|
136
|
-
opts[:user_name] = '
|
|
137
|
-
opts[:password] = @prima.config['
|
|
135
|
+
opts = {address: 'email-smtp.eu-west-1.amazonaws.com', port: '587'}
|
|
136
|
+
opts[:user_name] = @prima.config['aws_username']
|
|
137
|
+
opts[:password] = @prima.config['aws_password']
|
|
138
138
|
|
|
139
139
|
mail.delivery_method(:smtp, opts)
|
|
140
140
|
mail.deliver
|
data/bin/twig-open-pr
CHANGED
data/bin/twig-pick-issue
CHANGED
|
@@ -33,6 +33,7 @@ if args.include?('--help')
|
|
|
33
33
|
exit
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
|
|
36
37
|
class PickIssue
|
|
37
38
|
include Command
|
|
38
39
|
|
|
@@ -63,7 +64,7 @@ class PickIssue
|
|
|
63
64
|
issue_number = choose_issue issues
|
|
64
65
|
end
|
|
65
66
|
|
|
66
|
-
issue_type =
|
|
67
|
+
issue_type = 'feature'
|
|
67
68
|
base_branch_name_default = 'master'
|
|
68
69
|
branch_name = ask('Inserisci il nome del branch (puoi omettere feature/): '.cyan)
|
|
69
70
|
if branch_name.length == 0
|
data/lib/prima_twig.rb
CHANGED
|
@@ -13,7 +13,7 @@ class Prima
|
|
|
13
13
|
LABEL_HOTFIX='hotfix'
|
|
14
14
|
LABEL_NEXT_RELEASE='next release'
|
|
15
15
|
LABEL_IN_STAGING='in staging'
|
|
16
|
-
CONFIG_KEYS=['github', 'mandrill', 'sparkpost', 'cloudflare_email', 'cloudflare_apikey']
|
|
16
|
+
CONFIG_KEYS=['github', 'mandrill', 'sparkpost', 'cloudflare_email', 'cloudflare_apikey', 'aws_username', 'aws_password']
|
|
17
17
|
attr_reader :gh, :twig, :config, :rugged, :aws
|
|
18
18
|
|
|
19
19
|
def initialize
|