github-trello 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/trello-web +7 -0
- data/lib/github-trello/server.rb +8 -2
- data/lib/github-trello/version.rb +1 -1
- metadata +19 -16
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6cd6fc89692d854f4d846beb817871eb77edb965
|
4
|
+
data.tar.gz: 53453afd6f8236130787bd71f498352f1d29e707
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 21e17968fe4edf0f7066816fc534c2dac80e7bd418fdab117240aa3d29c38169e17a9d21f8023e63eb276322ce3a70d58bd9a0068389f9691ca8267a6384c23f
|
7
|
+
data.tar.gz: b5d2395a39f074d1c0f7bfebe973724393e35e5fb131b4f02e053c3016769b6d7a08abbf01555eac01abd7d76cbe7df717c8d7c804b1c95ea16052979981e1fc
|
data/bin/trello-web
CHANGED
@@ -17,12 +17,19 @@ Vegas::Runner.new(GithubTrello::Server, "trello-web", {
|
|
17
17
|
config = <<YAML
|
18
18
|
oauth_token: [token]
|
19
19
|
api_key: [key]
|
20
|
+
board_ids:
|
21
|
+
[repo name]: [board id]
|
20
22
|
on_start:
|
21
23
|
move_to: [list id]
|
22
24
|
archive: true
|
23
25
|
on_close:
|
24
26
|
move_to: [list id]
|
25
27
|
archive: true
|
28
|
+
# Alternatively, you can specify move_to as a hash of repo name -> list id
|
29
|
+
on_close/on_start:
|
30
|
+
move_to:
|
31
|
+
[repo name]: [list id]
|
32
|
+
|
26
33
|
# See README for deployment usage
|
27
34
|
on_deploy:
|
28
35
|
move_to:
|
data/lib/github-trello/server.rb
CHANGED
@@ -55,8 +55,14 @@ module GithubTrello
|
|
55
55
|
# Modify it if needed
|
56
56
|
to_update = {}
|
57
57
|
|
58
|
-
|
59
|
-
|
58
|
+
if update_config["move_to"].is_a?(Hash)
|
59
|
+
move_to = update_config["move_to"][payload["repository"]["name"]]
|
60
|
+
else
|
61
|
+
move_to = update_config["move_to"]
|
62
|
+
end
|
63
|
+
|
64
|
+
unless results["idList"] == move_to
|
65
|
+
to_update[:idList] = move_to
|
60
66
|
end
|
61
67
|
|
62
68
|
if !results["closed"] and update_config["archive"]
|
metadata
CHANGED
@@ -1,38 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-trello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Zachary Anker
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-04-02 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: vegas
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.1.8
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.1.8
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: sinatra
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - ~>
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: 1.3.2
|
33
34
|
type: :runtime
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.3.2
|
36
41
|
description: Enables managing Trello cards through Github posthooks and Git commits
|
37
42
|
email:
|
38
43
|
- zach.anker@gmail.com
|
@@ -51,27 +56,25 @@ files:
|
|
51
56
|
- bin/trello-web
|
52
57
|
homepage: http://github.com/zanker/github-trello
|
53
58
|
licenses: []
|
59
|
+
metadata: {}
|
54
60
|
post_install_message:
|
55
61
|
rdoc_options: []
|
56
62
|
require_paths:
|
57
63
|
- lib
|
58
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
65
|
requirements:
|
61
|
-
- -
|
66
|
+
- - '>='
|
62
67
|
- !ruby/object:Gem::Version
|
63
68
|
version: '0'
|
64
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
70
|
requirements:
|
67
|
-
- -
|
71
|
+
- - '>='
|
68
72
|
- !ruby/object:Gem::Version
|
69
73
|
version: 1.3.6
|
70
74
|
requirements: []
|
71
75
|
rubyforge_project: github-trello
|
72
|
-
rubygems_version:
|
76
|
+
rubygems_version: 2.0.0
|
73
77
|
signing_key:
|
74
|
-
specification_version:
|
78
|
+
specification_version: 4
|
75
79
|
summary: Github -> Trello integration
|
76
80
|
test_files: []
|
77
|
-
has_rdoc:
|