trellish 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/trellish +1 -0
- data/lib/trellish.rb +1 -0
- data/lib/trellish/git.rb +1 -1
- data/lib/trellish/version.rb +1 -1
- data/trellish.example.yml +4 -1
- metadata +2 -2
data/bin/trellish
CHANGED
@@ -25,6 +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
|
+
github_base_branch: config_file['github_base_branch'],
|
28
29
|
qa_list_name: config_file['qa_list_name'])
|
29
30
|
|
30
31
|
card = Trellish::Card.new(ARGV[0])
|
data/lib/trellish.rb
CHANGED
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:
|
22
|
+
base: Trellish.config[:github_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/trellish.example.yml
CHANGED
@@ -15,5 +15,8 @@ trello_oauth_token: numbers_and_letters_and_stuff
|
|
15
15
|
# and copy the token parameter from the response here.
|
16
16
|
github_oauth_token: numbers_and_letters_and_stuff
|
17
17
|
|
18
|
+
# The branch you want your changes merged into
|
19
|
+
github_base_branch: master
|
20
|
+
|
18
21
|
# Name of your QA list in Trello
|
19
|
-
qa_list_name
|
22
|
+
qa_list_name: QA
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trellish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: oauth2
|