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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWM0Y2IzNzY2OWQxNjZkOGUwNjU2MmMwODUxYzgxNDg4NGI4YWYzZQ==
4
+ ZTkwYjQxZmYwN2YzY2NmMTNlOTU2ZWQyZTllZDIxMjY5MjRkOTViZQ==
5
5
  data.tar.gz: !binary |-
6
- ODJkYzgyNzI1NmY1OGExYWFhNDQzYWI3YzhiNDdjY2Y0YjZhODMxNQ==
6
+ MGY3YjNjZGIyMmM2MTU1ZDE1NGQyNzA5ZTFjOTA5NzUyZDEyMGM2Nw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmUxOTRjMzU5ZjVjYjM5YWMzOTkzYTAyNTdlNGE0ZGY4MDRiZmE1OTBkZjgx
10
- OTJiYjIzNTU0MTlmMWVkMGQwMmVhOThkMTAzMmEwNDI5OTc2ZGQyMzYwZjQ0
11
- NjVmZGIyZjlhMDY0OGM3M2FiMDUwYWE0MTA3NzhlYjZkMzk3ZTU=
9
+ NDJjZDg0YTQ0NjJmYTk2OGRiZmZiYmE3MzBhM2ExMzdmNDlhZTczZWIxMzlj
10
+ ODA1NGY2MmU2MWVmNWQzYmZmODkzNWI0ZDUwNjUyZGU5MTFiNTk3MzM2Y2Q1
11
+ Y2NiM2I5M2Q2MTMwYWU5MjczOTc1YWQ5NDYxY2JiYTRlNTJlNGY=
12
12
  data.tar.gz: !binary |-
13
- ZjU0YmU2ZWMzZDQxM2Y5NGE1OWM2OTU1NmFmZTViMmE3YWNiMWM2NjkxODQw
14
- MTM5ZGY0NzQ0ZGUzMTNkNzNkZDYwNGUzYTMyMmM3OWYzY2VmN2FmZTBmNzU4
15
- OGRlZmQ1ZTFmY2RlZDM0MmMzY2I5NzA0MjQzOGVjZTUyMTVlOWQ=
13
+ YWE1YzQ2ZjU1NDIwN2MxMzNlNjFhOWMxYTk5MmE3ZTZiYWZlOGMzOWExYzc2
14
+ MzFjNmJmMWE4OWY2NzJmNDgwNDk4M2NiYjYyNWU0MDI3NGNmM2VmMTdlZjNl
15
+ NzhmYWIxMmU3YjBjM2FmYTk2NjI5NDAxM2MzZmU5YTViMDYyNDI=
@@ -1,5 +1,5 @@
1
- require_relative './TrelloFactory'
2
- require_relative './TrelloCredentials'
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.9
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-01 00:00:00.000000000 Z
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:
@@ -1,10 +0,0 @@
1
- module AgileTrello
2
- class TrelloCredentials
3
- attr_reader :public_key, :access_token
4
-
5
- def initialize(public_key, access_token)
6
- @public_key = public_key
7
- @access_token = access_token
8
- end
9
- end
10
- end
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