TrelloCycleTime 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/TrelloCycleTime.rb +2 -2
- metadata +16 -4
- data/lib/TrelloCredentials.rb +0 -10
- data/lib/TrelloFactory.rb +0 -23
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTkwYjQxZmYwN2YzY2NmMTNlOTU2ZWQyZTllZDIxMjY5MjRkOTViZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MGY3YjNjZGIyMmM2MTU1ZDE1NGQyNzA5ZTFjOTA5NzUyZDEyMGM2Nw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDJjZDg0YTQ0NjJmYTk2OGRiZmZiYmE3MzBhM2ExMzdmNDlhZTczZWIxMzlj
|
10
|
+
ODA1NGY2MmU2MWVmNWQzYmZmODkzNWI0ZDUwNjUyZGU5MTFiNTk3MzM2Y2Q1
|
11
|
+
Y2NiM2I5M2Q2MTMwYWU5MjczOTc1YWQ5NDYxY2JiYTRlNTJlNGY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YWE1YzQ2ZjU1NDIwN2MxMzNlNjFhOWMxYTk5MmE3ZTZiYWZlOGMzOWExYzc2
|
14
|
+
MzFjNmJmMWE4OWY2NzJmNDgwNDk4M2NiYjYyNWU0MDI3NGNmM2VmMTdlZjNl
|
15
|
+
NzhmYWIxMmU3YjBjM2FmYTk2NjI5NDAxM2MzZmU5YTViMDYyNDI=
|
data/lib/TrelloCycleTime.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
require 'TrelloFactory'
|
2
|
+
require 'TrelloCredentials'
|
3
3
|
require_relative './AverageCycleTimeCalculator'
|
4
4
|
require_relative './StandardDeviationCalculator'
|
5
5
|
require_relative './CompletedCards'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: TrelloCycleTime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- iainjmitchell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-trello
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: trello-factory
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description:
|
42
56
|
email: iainjmitchell@gmail.com
|
43
57
|
executables: []
|
@@ -52,9 +66,7 @@ files:
|
|
52
66
|
- lib/CompletedCardFactory.rb
|
53
67
|
- lib/CompletedCards.rb
|
54
68
|
- lib/StandardDeviationCalculator.rb
|
55
|
-
- lib/TrelloCredentials.rb
|
56
69
|
- lib/TrelloCycleTime.rb
|
57
|
-
- lib/TrelloFactory.rb
|
58
70
|
- lib/TrelloListRepository.rb
|
59
71
|
homepage: https://github.com/code-computerlove/trello-cycletime
|
60
72
|
licenses:
|
data/lib/TrelloCredentials.rb
DELETED
data/lib/TrelloFactory.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
require 'trello'
|
2
|
-
|
3
|
-
module AgileTrello
|
4
|
-
class TrelloFactory
|
5
|
-
include Trello
|
6
|
-
include Trello::Authorization
|
7
|
-
|
8
|
-
def create(trello_credentials)
|
9
|
-
Trello::Authorization.const_set :AuthPolicy, OAuthPolicy
|
10
|
-
OAuthPolicy.consumer_credential = OAuthCredential.new trello_credentials.public_key, 'SECRET'
|
11
|
-
OAuthPolicy.token = OAuthCredential.new trello_credentials.access_token, nil
|
12
|
-
TrelloRepository.new
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
class TrelloRepository
|
17
|
-
include Trello
|
18
|
-
|
19
|
-
def get_board(board_id)
|
20
|
-
Board.find board_id
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|