trellish 0.0.8 → 0.0.9

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.
@@ -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])
@@ -12,6 +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
+ github_base_branch: 'GITHUB_BASE_BRANCH',
15
16
  qa_list_name: 'QA'
16
17
  }
17
18
 
@@ -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: "master",
22
+ base: Trellish.config[:github_base_branch],
23
23
  head: "#{git_repository_owner}:#{current_git_branch}"
24
24
  }.to_json
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module Trellish
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -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 = 'QA'
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.8
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-09 00:00:00.000000000 Z
12
+ date: 2012-10-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oauth2