trellish 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/trellish +1 -1
- data/lib/trellish/git.rb +1 -1
- data/lib/trellish/version.rb +1 -1
- data/lib/trellish.rb +1 -1
- data/trellish.example.yml +1 -1
- metadata +1 -1
data/bin/trellish
CHANGED
@@ -25,7 +25,7 @@ Trellish.configure(
|
|
25
25
|
trello_oauth_secret: config_file['trello_oauth_secret'],
|
26
26
|
trello_oauth_token: config_file['trello_oauth_token'],
|
27
27
|
github_oauth_token: config_file['github_oauth_token'],
|
28
|
-
|
28
|
+
git_base_branch: config_file['git_base_branch'],
|
29
29
|
qa_list_name: config_file['qa_list_name'])
|
30
30
|
|
31
31
|
card = Trellish::Card.new(ARGV[0])
|
data/lib/trellish/git.rb
CHANGED
@@ -19,7 +19,7 @@ module Trellish
|
|
19
19
|
req.headers['Authorization'] = "token #{Trellish.config[:github_oauth_token]}"
|
20
20
|
req.body = {
|
21
21
|
title: @card.name,
|
22
|
-
base: Trellish.config[:
|
22
|
+
base: Trellish.config[:git_base_branch],
|
23
23
|
head: "#{git_repository_owner}:#{current_git_branch}"
|
24
24
|
}.to_json
|
25
25
|
end
|
data/lib/trellish/version.rb
CHANGED
data/lib/trellish.rb
CHANGED
@@ -12,7 +12,7 @@ module Trellish
|
|
12
12
|
trello_oauth_secret: 'TRELLO_OAUTH_SECRET',
|
13
13
|
trello_oauth_token: 'TRELLO_OAUTH_TOKEN',
|
14
14
|
github_oauth_token: 'GITHUB_OAUTH_TOKEN',
|
15
|
-
|
15
|
+
git_base_branch: 'GIT_BASE_BRANCH',
|
16
16
|
qa_list_name: 'QA'
|
17
17
|
}
|
18
18
|
|
data/trellish.example.yml
CHANGED
@@ -16,7 +16,7 @@ trello_oauth_token: numbers_and_letters_and_stuff
|
|
16
16
|
github_oauth_token: numbers_and_letters_and_stuff
|
17
17
|
|
18
18
|
# The branch you want your changes merged into
|
19
|
-
|
19
|
+
git_base_branch: master
|
20
20
|
|
21
21
|
# Name of your QA list in Trello
|
22
22
|
qa_list_name: QA
|