slack_trello 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0c5b3f6722059db8cd26472fd3d41985d8747c4
4
- data.tar.gz: 8ce6d09cfabe310bd3101e5ae731a2332a42f1b4
3
+ metadata.gz: 8df04c4eb8ae3c20b8072a8226bcfb23a7979595
4
+ data.tar.gz: 23ec3022f43cd17b4fb14dc53d7764fe31c7aa4a
5
5
  SHA512:
6
- metadata.gz: 48952bf328e700d6abbb30b0e3972886436326a860500995b7243cb4588806d9477a1430223d7579a4436e37cc3c3229deebe1e25e321abca1b7c2909f53a7cf
7
- data.tar.gz: 7f89cbf2be5d890dddb9defe3acd58591ae31f9bbd9ad6d54f4ddf7c3d62b96f9ad404913d5f651cd5a4b96da6217271e29871306a01a8ad60bab45bf228a6e8
6
+ metadata.gz: c030d68f9e90a9fcaf43fb95a28a44f43a66b89a0e92742eb3628c8d13ff6f03e4141f00b78aab122b8cf2c926600eb349c2c0d746763f99aa3c702d32ceedf0
7
+ data.tar.gz: 7a9bcedbc8ad4f168e183610bbc1ce290a7f2c0040f6cd777aebb7a998ec7ea9d4b5f07acfa992e45af545822736a1b39d0c15effca89fdbe4a5512623a23ff2
@@ -30,7 +30,8 @@ module SlackTrello; module Commands; class Work
30
30
  args = {
31
31
  board_name: trello_board_name,
32
32
  list_name: trello_list_name,
33
- card_name: card_title
33
+ card_name: card_title,
34
+ card_desc: card_desc
34
35
  }
35
36
  @trello_card_creator ||= SlackTrello::TrelloHelpers::CreateCard.new(args)
36
37
  end
@@ -59,5 +60,32 @@ module SlackTrello; module Commands; class Work
59
60
  "(UNSIZED) #{slack_post_response.text.strip} {tag???}"
60
61
  end
61
62
 
63
+ def card_desc
64
+ %q{Value Proposition
65
+ ------------
66
+
67
+ As a **<type of user>**, I want **<some goal>** so that **<some reason>**.
68
+
69
+
70
+ ------------------
71
+
72
+ Acceptance Criteria
73
+ --------------------
74
+
75
+ I will consider value delivered when **<describe here in plain language> AND the Acceptance Criteria Checklist below has been met**.
76
+
77
+ ---------------
78
+
79
+ *** << Link to Product Card (if appropriate) >>> ***
80
+
81
+ ---------------
82
+
83
+ *** <<< Link to Any Epic Cards (if appropriate) >>> ***
84
+
85
+ ---------------
86
+
87
+ *** <<< ATTACH ANY SUPPORT DOCUMENTS AND INFORMATION HERE >>> ***}
88
+ end
89
+
62
90
  end; end; end
63
91
 
@@ -1,11 +1,12 @@
1
1
  module SlackTrello; module TrelloHelpers; class CreateCard
2
2
 
3
- attr_reader :board_name, :list_name, :card_name
3
+ attr_reader :board_name, :list_name, :card_name, :card_desc
4
4
 
5
5
  def initialize(args)
6
6
  @board_name = args.fetch(:board_name)
7
7
  @list_name = args.fetch(:list_name)
8
8
  @card_name = args.fetch(:card_name)
9
+ @card_desc = args.fetch(:card_desc, nil)
9
10
  end
10
11
 
11
12
  def first_or_create
@@ -18,6 +19,7 @@ module SlackTrello; module TrelloHelpers; class CreateCard
18
19
  card = Trello::Card.new
19
20
  card.name = card_name
20
21
  card.list_id = trello_list.id
22
+ card.desc = card_desc
21
23
  card.save
22
24
  end
23
25
 
@@ -1,3 +1,3 @@
1
1
  module SlackTrello
2
- VERSION = "0.7.0"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slack_trello
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Powers
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-21 00:00:00.000000000 Z
11
+ date: 2015-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler