trello_flow 2.2.1 → 2.3.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: b0da755482ae6889c439fd4b038d0369deed7d07
4
- data.tar.gz: 137cb14b21eb18c5570ebaadaefc8c1a71b5a89e
3
+ metadata.gz: 2b44cd47ac37171ecc417f5d41f4aeca06c62883
4
+ data.tar.gz: dc309ac29890af06342ee905d4cf3ba744f649d0
5
5
  SHA512:
6
- metadata.gz: 7d1322a605ab4edccd23f9377b2082e4744ea9bd9469691d1f9e495e42d813b63de01d42bf13916e6109e31c4f782e776c8be37e5abb1ab6c434094214adb1fb
7
- data.tar.gz: 66c15caeb0c4882d43369c0abee16da85181ab4dacc41b561e3c6c3f20f23eb5edacb4e7381ba519cb0a05e8e34871022a5979defb935e858088448fedddde4e
6
+ metadata.gz: db78158f7f61dde7b653e4a3e1327cc3892932e0fad547869a7a3239062a46c6d5c88f4e58a3bcf41f7c5250473aec0103bdedc47dd55e443bb3a478d3694c58
7
+ data.tar.gz: f4370603146fbb561000671fc91c8ac01efcd199abb69ce1622b954800aceb9f5fe9f1d3d1909aff6002582f478a8bc17336edf7fb0ecb4ec531ba4196dfc4da
@@ -20,6 +20,10 @@ module TrelloFlow
20
20
  move_to board.lists.finished
21
21
  end
22
22
 
23
+ def accept
24
+ move_to board.lists.accepted
25
+ end
26
+
23
27
  def add_member(user)
24
28
  return if member_ids.include?(user.id)
25
29
  self.class.with("cards/:id/members").where(id: id, value: user.id).post
@@ -4,6 +4,7 @@ module TrelloFlow
4
4
  BACKLOG_INDEX = 0
5
5
  STARTED_INDEX = 1
6
6
  FINISHED_INDEX = 2
7
+ ACCEPTED_INDEX = 3
7
8
 
8
9
  has_many :cards
9
10
 
@@ -22,6 +23,10 @@ module TrelloFlow
22
23
  def self.finished
23
24
  all[FINISHED_INDEX]
24
25
  end
26
+
27
+ def self.accepted
28
+ all[ACCEPTED_INDEX]
29
+ end
25
30
  end
26
31
  end
27
32
  end
@@ -1,3 +1,3 @@
1
1
  module TrelloFlow
2
- VERSION = "2.2.1"
2
+ VERSION = "2.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trello_flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Balvig