horn_of_plenty 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/LICENSE.txt +19 -0
- data/README.md +36 -0
- data/lib/horn_of_plenty.rb +22 -0
- data/lib/horn_of_plenty/adapters/github/client.rb +82 -0
- data/lib/horn_of_plenty/adapters/github/collections/card.rb +46 -0
- data/lib/horn_of_plenty/adapters/github/configuration.rb +38 -0
- data/lib/horn_of_plenty/adapters/github/error.rb +44 -0
- data/lib/horn_of_plenty/adapters/github/parsers/board.rb +52 -0
- data/lib/horn_of_plenty/adapters/github/parsers/card.rb +91 -0
- data/lib/horn_of_plenty/adapters/github/parsers/issue.rb +95 -0
- data/lib/horn_of_plenty/adapters/github/parsers/lane.rb +50 -0
- data/lib/horn_of_plenty/adapters/github/parsers/pull_request.rb +38 -0
- data/lib/horn_of_plenty/adapters/github/queries/list_boards.rb +18 -0
- data/lib/horn_of_plenty/adapters/github/queries/list_cards.rb +19 -0
- data/lib/horn_of_plenty/adapters/github/queries/list_issues.rb +22 -0
- data/lib/horn_of_plenty/adapters/github/queries/list_lanes.rb +19 -0
- data/lib/horn_of_plenty/adapters/github/queries/list_pull_requests.rb +22 -0
- data/lib/horn_of_plenty/adapters/github/repositories/board.rb +24 -0
- data/lib/horn_of_plenty/adapters/github/repositories/card.rb +24 -0
- data/lib/horn_of_plenty/adapters/github/repositories/issue.rb +24 -0
- data/lib/horn_of_plenty/adapters/github/repositories/lane.rb +24 -0
- data/lib/horn_of_plenty/adapters/github/repositories/pull_request.rb +24 -0
- data/lib/horn_of_plenty/adapters/github/requests/list_boards.rb +50 -0
- data/lib/horn_of_plenty/adapters/github/requests/list_cards.rb +52 -0
- data/lib/horn_of_plenty/adapters/github/requests/list_issues.rb +50 -0
- data/lib/horn_of_plenty/adapters/github/requests/list_lanes.rb +52 -0
- data/lib/horn_of_plenty/adapters/github/requests/list_pull_requests.rb +50 -0
- data/lib/horn_of_plenty/adapters/github/response.rb +16 -0
- data/lib/horn_of_plenty/adapters/github/responses/list_boards.rb +17 -0
- data/lib/horn_of_plenty/adapters/github/responses/list_cards.rb +23 -0
- data/lib/horn_of_plenty/adapters/github/responses/list_issues.rb +18 -0
- data/lib/horn_of_plenty/adapters/github/responses/list_lanes.rb +17 -0
- data/lib/horn_of_plenty/adapters/github/responses/list_pull_requests.rb +17 -0
- data/lib/horn_of_plenty/collection.rb +60 -0
- data/lib/horn_of_plenty/core_ext/string.rb +95 -0
- data/lib/horn_of_plenty/models/board.rb +32 -0
- data/lib/horn_of_plenty/models/card.rb +51 -0
- data/lib/horn_of_plenty/models/issue.rb +46 -0
- data/lib/horn_of_plenty/models/lane.rb +30 -0
- data/lib/horn_of_plenty/models/parsable.rb +44 -0
- data/lib/horn_of_plenty/models/pull_request.rb +12 -0
- data/lib/horn_of_plenty/null_objects/board.rb +10 -0
- data/lib/horn_of_plenty/null_objects/card.rb +10 -0
- data/lib/horn_of_plenty/null_objects/issue.rb +10 -0
- data/lib/horn_of_plenty/null_objects/lane.rb +10 -0
- data/lib/horn_of_plenty/null_objects/pull_request.rb +10 -0
- data/lib/horn_of_plenty/paginator.rb +109 -0
- data/lib/horn_of_plenty/parsers/hash.rb +95 -0
- data/lib/horn_of_plenty/queries/fetch.rb +36 -0
- data/lib/horn_of_plenty/repositories/board.rb +26 -0
- data/lib/horn_of_plenty/repositories/card.rb +26 -0
- data/lib/horn_of_plenty/repositories/issue.rb +26 -0
- data/lib/horn_of_plenty/repositories/lane.rb +26 -0
- data/lib/horn_of_plenty/repositories/pull_request.rb +26 -0
- data/lib/horn_of_plenty/repository.rb +29 -0
- data/lib/horn_of_plenty/request.rb +32 -0
- data/lib/horn_of_plenty/response.rb +44 -0
- data/lib/horn_of_plenty/version.rb +4 -0
- data/spec/fixtures/responses/board_github.json +29 -0
- data/spec/fixtures/responses/card_github.json +7 -0
- data/spec/fixtures/responses/issue_github.json +163 -0
- data/spec/fixtures/responses/lane_github.json +7 -0
- data/spec/fixtures/responses/pull_request_github.json +361 -0
- data/spec/lib/horn_of_plenty/adapters/github/client_spec.rb +12 -0
- data/spec/lib/horn_of_plenty/adapters/github/collections/card_spec.rb +14 -0
- data/spec/lib/horn_of_plenty/adapters/github/configuration_spec.rb +12 -0
- data/spec/lib/horn_of_plenty/adapters/github/error_spec.rb +35 -0
- data/spec/lib/horn_of_plenty/adapters/github/parsers/board_spec.rb +39 -0
- data/spec/lib/horn_of_plenty/adapters/github/parsers/card_spec.rb +64 -0
- data/spec/lib/horn_of_plenty/adapters/github/parsers/issue_spec.rb +47 -0
- data/spec/lib/horn_of_plenty/adapters/github/parsers/lane_spec.rb +38 -0
- data/spec/lib/horn_of_plenty/adapters/github/parsers/pull_request_spec.rb +50 -0
- data/spec/lib/horn_of_plenty/adapters/github/queries/list_boards_spec.rb +19 -0
- data/spec/lib/horn_of_plenty/adapters/github/queries/list_cards_spec.rb +19 -0
- data/spec/lib/horn_of_plenty/adapters/github/queries/list_issues_spec.rb +19 -0
- data/spec/lib/horn_of_plenty/adapters/github/queries/list_lanes_spec.rb +19 -0
- data/spec/lib/horn_of_plenty/adapters/github/queries/list_pull_requests_spec.rb +19 -0
- data/spec/lib/horn_of_plenty/adapters/github/repositories/board_spec.rb +22 -0
- data/spec/lib/horn_of_plenty/adapters/github/repositories/card_spec.rb +67 -0
- data/spec/lib/horn_of_plenty/adapters/github/repositories/issue_spec.rb +22 -0
- data/spec/lib/horn_of_plenty/adapters/github/repositories/lane_spec.rb +25 -0
- data/spec/lib/horn_of_plenty/adapters/github/repositories/pull_request_spec.rb +24 -0
- data/spec/lib/horn_of_plenty/adapters/github/requests/list_boards_spec.rb +42 -0
- data/spec/lib/horn_of_plenty/adapters/github/requests/list_cards_spec.rb +51 -0
- data/spec/lib/horn_of_plenty/adapters/github/requests/list_issues_spec.rb +42 -0
- data/spec/lib/horn_of_plenty/adapters/github/requests/list_lanes_spec.rb +51 -0
- data/spec/lib/horn_of_plenty/adapters/github/requests/list_pull_requests_spec.rb +42 -0
- data/spec/lib/horn_of_plenty/adapters/github/responses/list_boards_spec.rb +78 -0
- data/spec/lib/horn_of_plenty/adapters/github/responses/list_cards_spec.rb +86 -0
- data/spec/lib/horn_of_plenty/adapters/github/responses/list_issues_spec.rb +104 -0
- data/spec/lib/horn_of_plenty/adapters/github/responses/list_lanes_spec.rb +86 -0
- data/spec/lib/horn_of_plenty/adapters/github/responses/list_pull_requests_spec.rb +109 -0
- data/spec/lib/horn_of_plenty/models/board_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/models/card_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/models/issue_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/models/lane_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/models/pull_request_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/null_objects/board_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/null_objects/card_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/null_objects/issue_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/null_objects/lane_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/null_objects/pull_request_spec.rb +10 -0
- data/spec/lib/horn_of_plenty/queries/fetch_spec.rb +15 -0
- data/spec/lib/horn_of_plenty/repositories/board_spec.rb +48 -0
- data/spec/lib/horn_of_plenty/repositories/card_spec.rb +51 -0
- data/spec/lib/horn_of_plenty/repositories/issue_spec.rb +48 -0
- data/spec/lib/horn_of_plenty/repositories/lane_spec.rb +51 -0
- data/spec/lib/horn_of_plenty/repositories/pull_request_spec.rb +50 -0
- data/spec/support/patterns.rb +1 -0
- metadata +396 -0
- metadata.gz.sig +0 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require 'faraday'
|
3
|
+
require 'chamber'
|
4
|
+
require 'horn_of_plenty/adapters/github/configuration'
|
5
|
+
require 'horn_of_plenty/repositories/lane'
|
6
|
+
require 'horn_of_plenty/models/lane'
|
7
|
+
require 'rspeckled/spec_helpers/rspeckled'
|
8
|
+
|
9
|
+
module HornOfPlenty
|
10
|
+
module Repositories
|
11
|
+
describe Lane do
|
12
|
+
before(:each) { Adapters::Github.config.token = Chamber.env.adapters.github.token }
|
13
|
+
|
14
|
+
it 'can retrieve lanes from an adapter' do
|
15
|
+
lanes = Lane.fetch(adapter: 'github',
|
16
|
+
repository: 'thekompanee/hustle-and-flow-issue-dump',
|
17
|
+
query: {
|
18
|
+
board_id: 1,
|
19
|
+
})
|
20
|
+
|
21
|
+
expect(lanes.length).to eql 9
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'can retrieve a lane by ID' do
|
25
|
+
lanes = Lane.fetch(
|
26
|
+
adapter: 'github',
|
27
|
+
repository: 'thekompanee/hustle-and-flow-issue-dump',
|
28
|
+
query: {
|
29
|
+
id: 215_863,
|
30
|
+
},
|
31
|
+
)
|
32
|
+
|
33
|
+
expect(lanes.first).to be_a HornOfPlenty::Models::Lane
|
34
|
+
expect(lanes.first.title).to eql 'Wishlist'
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'can handle if the lane with the ID cannot be found' do
|
38
|
+
lanes = Lane.fetch(
|
39
|
+
adapter: 'github',
|
40
|
+
repository: 'thekompanee/hustle-and-flow-issue-dump',
|
41
|
+
query: {
|
42
|
+
id: 2,
|
43
|
+
},
|
44
|
+
)
|
45
|
+
|
46
|
+
expect { lanes.first }.to raise_error \
|
47
|
+
HornOfPlenty::Adapters::Github::Errors::NotFound
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,50 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require 'faraday'
|
3
|
+
require 'chamber'
|
4
|
+
require 'horn_of_plenty/adapters/github/configuration'
|
5
|
+
require 'horn_of_plenty/repositories/pull_request'
|
6
|
+
require 'horn_of_plenty/models/pull_request'
|
7
|
+
require 'rspeckled/spec_helpers/rspeckled'
|
8
|
+
|
9
|
+
module HornOfPlenty
|
10
|
+
module Repositories
|
11
|
+
describe PullRequest do
|
12
|
+
before(:each) { Adapters::Github.config.token = Chamber.env.adapters.github.token }
|
13
|
+
|
14
|
+
it 'can retrieve pull requests' do
|
15
|
+
pull_requests = PullRequest.fetch(
|
16
|
+
adapter: 'github',
|
17
|
+
repository: 'thekompanee/hustle-and-flow-issue-dump',
|
18
|
+
)
|
19
|
+
|
20
|
+
expect(pull_requests.length).to eql 1
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'can retrieve a pull request by ID' do
|
24
|
+
pull_requests = PullRequest.fetch(
|
25
|
+
adapter: 'github',
|
26
|
+
repository: 'thekompanee/hustle-and-flow-issue-dump',
|
27
|
+
query: {
|
28
|
+
id: 3,
|
29
|
+
},
|
30
|
+
)
|
31
|
+
|
32
|
+
expect(pull_requests.first).to be_a HornOfPlenty::Models::PullRequest
|
33
|
+
expect(pull_requests.first.title).to eql 'My Bar Pull Request'
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'can handle if the pull request with the ID cannot be found' do
|
37
|
+
pull_requests = PullRequest.fetch(
|
38
|
+
adapter: 'github',
|
39
|
+
repository: 'thekompanee/hustle-and-flow-issue-dump',
|
40
|
+
query: {
|
41
|
+
id: 2,
|
42
|
+
},
|
43
|
+
)
|
44
|
+
|
45
|
+
expect { pull_requests.first }.to raise_error \
|
46
|
+
HornOfPlenty::Adapters::Github::Errors::NotFound
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
# frozen_string_literal: true
|
metadata
ADDED
@@ -0,0 +1,396 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: horn_of_plenty
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeff Felchner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDrjCCApagAwIBAgIBATANBgkqhkiG9w0BAQUFADBOMRowGAYDVQQDDBFhY2Nv
|
14
|
+
dW50c19ydWJ5Z2VtczEbMBkGCgmSJomT8ixkARkWC3RoZWtvbXBhbmVlMRMwEQYK
|
15
|
+
CZImiZPyLGQBGRYDY29tMB4XDTE2MDQyNDAyNTEyM1oXDTE3MDQyNDAyNTEyM1ow
|
16
|
+
TjEaMBgGA1UEAwwRYWNjb3VudHNfcnVieWdlbXMxGzAZBgoJkiaJk/IsZAEZFgt0
|
17
|
+
aGVrb21wYW5lZTETMBEGCgmSJomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEB
|
18
|
+
BQADggEPADCCAQoCggEBANklzdaVeHtut6LTe/hrl6Krz2Z60InEbNb+TMG43tww
|
19
|
+
jBpWZrdU/SBkR3EYbTAQv/yGTuMHoVKGK2kDlFvdofW2hX0d14qPyYJUNYt+7VWE
|
20
|
+
3UhPSxw1i6MxeU1QwfkIyaN8A5lj0225+rwI/mbplv+lSXPlJEroCQ9EfniZD4jL
|
21
|
+
URlrHWl/UejcQ32C1IzBwth3+nacrO1197v5nSdozFzQwm4groaggXn9F/WpThu+
|
22
|
+
MhcE4bfttwEjAfU3zAThyzOFoVPpACP+SwOuyPJSl02+9BiwzeAnFJDfge7+rsd5
|
23
|
+
64W/VzBIklEKUZMmxZwr5DwpSXLrknBDtHLABG9Nr3cCAwEAAaOBljCBkzAJBgNV
|
24
|
+
HRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUP7v0f/qfa0LMrhkzHRI3l10X
|
25
|
+
LYIwLAYDVR0RBCUwI4EhYWNjb3VudHMrcnVieWdlbXNAdGhla29tcGFuZWUuY29t
|
26
|
+
MCwGA1UdEgQlMCOBIWFjY291bnRzK3J1YnlnZW1zQHRoZWtvbXBhbmVlLmNvbTAN
|
27
|
+
BgkqhkiG9w0BAQUFAAOCAQEASqdfJKMun1twosHfvdDH7Vgrb5VqX28qJ6MgnhjF
|
28
|
+
p+3HYTjYo/KMQqu78TegUFO5xQ4oumU0FTXADW0ryXZvUGV74M0zwqpFqeo8onII
|
29
|
+
lsVsWdMCLZS21M0uCQmcV+OQMNxL8jV3c0D3x9Srr9yO4oamW3seIdb+b9RfhmV2
|
30
|
+
ryr+NH8U/4xgzdJ4hWV4qk93nwigp4lwJ4u93XJ7Cdyw7itvaEPnn8HpCfzsiLcw
|
31
|
+
QwSfDGz6+zsImi5N3UT71+mk7YcviQSgvMRl3VkAv8MZ6wcJ5SQRpf9w0OeFH6Ln
|
32
|
+
nNbCoHiYeXX/lz/M6AIbxDIZZTwxcyvF7bdrQ2fbH5MsfQ==
|
33
|
+
-----END CERTIFICATE-----
|
34
|
+
date: 2016-10-16 00:00:00.000000000 Z
|
35
|
+
dependencies:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: faraday
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 0.9.2
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 0.9.2
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: faraday_middleware
|
52
|
+
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 0.10.0
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.10.0
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: null_and_void
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '1.7'
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - "~>"
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.7'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: connection_pool
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - "~>"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '2.2'
|
85
|
+
type: :runtime
|
86
|
+
prerelease: false
|
87
|
+
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '2.2'
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
|
+
name: wisper
|
94
|
+
requirement: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '1.6'
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - "~>"
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '1.6'
|
106
|
+
- !ruby/object:Gem::Dependency
|
107
|
+
name: rspec
|
108
|
+
requirement: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '3.5'
|
113
|
+
type: :development
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '3.5'
|
120
|
+
- !ruby/object:Gem::Dependency
|
121
|
+
name: rspeckled
|
122
|
+
requirement: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - "~>"
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0.0'
|
127
|
+
type: :development
|
128
|
+
prerelease: false
|
129
|
+
version_requirements: !ruby/object:Gem::Requirement
|
130
|
+
requirements:
|
131
|
+
- - "~>"
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0.0'
|
134
|
+
- !ruby/object:Gem::Dependency
|
135
|
+
name: rubocop
|
136
|
+
requirement: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - "~>"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: 0.44.0
|
141
|
+
type: :development
|
142
|
+
prerelease: false
|
143
|
+
version_requirements: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - "~>"
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 0.44.0
|
148
|
+
- !ruby/object:Gem::Dependency
|
149
|
+
name: awesome_print
|
150
|
+
requirement: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - "~>"
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '1.7'
|
155
|
+
type: :development
|
156
|
+
prerelease: false
|
157
|
+
version_requirements: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - "~>"
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: '1.7'
|
162
|
+
- !ruby/object:Gem::Dependency
|
163
|
+
name: byebug
|
164
|
+
requirement: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - "~>"
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '9.0'
|
169
|
+
type: :development
|
170
|
+
prerelease: false
|
171
|
+
version_requirements: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - "~>"
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '9.0'
|
176
|
+
- !ruby/object:Gem::Dependency
|
177
|
+
name: chamber
|
178
|
+
requirement: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - "~>"
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '2.9'
|
183
|
+
type: :development
|
184
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - "~>"
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '2.9'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: timecop
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - "~>"
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0.7'
|
197
|
+
type: :development
|
198
|
+
prerelease: false
|
199
|
+
version_requirements: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - "~>"
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '0.7'
|
204
|
+
description: Abstraction for speaking to various project management systems.
|
205
|
+
email:
|
206
|
+
- catchall+github@jefffelchner.com
|
207
|
+
executables: []
|
208
|
+
extensions: []
|
209
|
+
extra_rdoc_files: []
|
210
|
+
files:
|
211
|
+
- LICENSE.txt
|
212
|
+
- README.md
|
213
|
+
- lib/horn_of_plenty.rb
|
214
|
+
- lib/horn_of_plenty/adapters/github/client.rb
|
215
|
+
- lib/horn_of_plenty/adapters/github/collections/card.rb
|
216
|
+
- lib/horn_of_plenty/adapters/github/configuration.rb
|
217
|
+
- lib/horn_of_plenty/adapters/github/error.rb
|
218
|
+
- lib/horn_of_plenty/adapters/github/parsers/board.rb
|
219
|
+
- lib/horn_of_plenty/adapters/github/parsers/card.rb
|
220
|
+
- lib/horn_of_plenty/adapters/github/parsers/issue.rb
|
221
|
+
- lib/horn_of_plenty/adapters/github/parsers/lane.rb
|
222
|
+
- lib/horn_of_plenty/adapters/github/parsers/pull_request.rb
|
223
|
+
- lib/horn_of_plenty/adapters/github/queries/list_boards.rb
|
224
|
+
- lib/horn_of_plenty/adapters/github/queries/list_cards.rb
|
225
|
+
- lib/horn_of_plenty/adapters/github/queries/list_issues.rb
|
226
|
+
- lib/horn_of_plenty/adapters/github/queries/list_lanes.rb
|
227
|
+
- lib/horn_of_plenty/adapters/github/queries/list_pull_requests.rb
|
228
|
+
- lib/horn_of_plenty/adapters/github/repositories/board.rb
|
229
|
+
- lib/horn_of_plenty/adapters/github/repositories/card.rb
|
230
|
+
- lib/horn_of_plenty/adapters/github/repositories/issue.rb
|
231
|
+
- lib/horn_of_plenty/adapters/github/repositories/lane.rb
|
232
|
+
- lib/horn_of_plenty/adapters/github/repositories/pull_request.rb
|
233
|
+
- lib/horn_of_plenty/adapters/github/requests/list_boards.rb
|
234
|
+
- lib/horn_of_plenty/adapters/github/requests/list_cards.rb
|
235
|
+
- lib/horn_of_plenty/adapters/github/requests/list_issues.rb
|
236
|
+
- lib/horn_of_plenty/adapters/github/requests/list_lanes.rb
|
237
|
+
- lib/horn_of_plenty/adapters/github/requests/list_pull_requests.rb
|
238
|
+
- lib/horn_of_plenty/adapters/github/response.rb
|
239
|
+
- lib/horn_of_plenty/adapters/github/responses/list_boards.rb
|
240
|
+
- lib/horn_of_plenty/adapters/github/responses/list_cards.rb
|
241
|
+
- lib/horn_of_plenty/adapters/github/responses/list_issues.rb
|
242
|
+
- lib/horn_of_plenty/adapters/github/responses/list_lanes.rb
|
243
|
+
- lib/horn_of_plenty/adapters/github/responses/list_pull_requests.rb
|
244
|
+
- lib/horn_of_plenty/collection.rb
|
245
|
+
- lib/horn_of_plenty/core_ext/string.rb
|
246
|
+
- lib/horn_of_plenty/models/board.rb
|
247
|
+
- lib/horn_of_plenty/models/card.rb
|
248
|
+
- lib/horn_of_plenty/models/issue.rb
|
249
|
+
- lib/horn_of_plenty/models/lane.rb
|
250
|
+
- lib/horn_of_plenty/models/parsable.rb
|
251
|
+
- lib/horn_of_plenty/models/pull_request.rb
|
252
|
+
- lib/horn_of_plenty/null_objects/board.rb
|
253
|
+
- lib/horn_of_plenty/null_objects/card.rb
|
254
|
+
- lib/horn_of_plenty/null_objects/issue.rb
|
255
|
+
- lib/horn_of_plenty/null_objects/lane.rb
|
256
|
+
- lib/horn_of_plenty/null_objects/pull_request.rb
|
257
|
+
- lib/horn_of_plenty/paginator.rb
|
258
|
+
- lib/horn_of_plenty/parsers/hash.rb
|
259
|
+
- lib/horn_of_plenty/queries/fetch.rb
|
260
|
+
- lib/horn_of_plenty/repositories/board.rb
|
261
|
+
- lib/horn_of_plenty/repositories/card.rb
|
262
|
+
- lib/horn_of_plenty/repositories/issue.rb
|
263
|
+
- lib/horn_of_plenty/repositories/lane.rb
|
264
|
+
- lib/horn_of_plenty/repositories/pull_request.rb
|
265
|
+
- lib/horn_of_plenty/repository.rb
|
266
|
+
- lib/horn_of_plenty/request.rb
|
267
|
+
- lib/horn_of_plenty/response.rb
|
268
|
+
- lib/horn_of_plenty/version.rb
|
269
|
+
- spec/fixtures/responses/board_github.json
|
270
|
+
- spec/fixtures/responses/card_github.json
|
271
|
+
- spec/fixtures/responses/issue_github.json
|
272
|
+
- spec/fixtures/responses/lane_github.json
|
273
|
+
- spec/fixtures/responses/pull_request_github.json
|
274
|
+
- spec/lib/horn_of_plenty/adapters/github/client_spec.rb
|
275
|
+
- spec/lib/horn_of_plenty/adapters/github/collections/card_spec.rb
|
276
|
+
- spec/lib/horn_of_plenty/adapters/github/configuration_spec.rb
|
277
|
+
- spec/lib/horn_of_plenty/adapters/github/error_spec.rb
|
278
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/board_spec.rb
|
279
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/card_spec.rb
|
280
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/issue_spec.rb
|
281
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/lane_spec.rb
|
282
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/pull_request_spec.rb
|
283
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_boards_spec.rb
|
284
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_cards_spec.rb
|
285
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_issues_spec.rb
|
286
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_lanes_spec.rb
|
287
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_pull_requests_spec.rb
|
288
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/board_spec.rb
|
289
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/card_spec.rb
|
290
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/issue_spec.rb
|
291
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/lane_spec.rb
|
292
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/pull_request_spec.rb
|
293
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_boards_spec.rb
|
294
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_cards_spec.rb
|
295
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_issues_spec.rb
|
296
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_lanes_spec.rb
|
297
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_pull_requests_spec.rb
|
298
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_boards_spec.rb
|
299
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_cards_spec.rb
|
300
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_issues_spec.rb
|
301
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_lanes_spec.rb
|
302
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_pull_requests_spec.rb
|
303
|
+
- spec/lib/horn_of_plenty/models/board_spec.rb
|
304
|
+
- spec/lib/horn_of_plenty/models/card_spec.rb
|
305
|
+
- spec/lib/horn_of_plenty/models/issue_spec.rb
|
306
|
+
- spec/lib/horn_of_plenty/models/lane_spec.rb
|
307
|
+
- spec/lib/horn_of_plenty/models/pull_request_spec.rb
|
308
|
+
- spec/lib/horn_of_plenty/null_objects/board_spec.rb
|
309
|
+
- spec/lib/horn_of_plenty/null_objects/card_spec.rb
|
310
|
+
- spec/lib/horn_of_plenty/null_objects/issue_spec.rb
|
311
|
+
- spec/lib/horn_of_plenty/null_objects/lane_spec.rb
|
312
|
+
- spec/lib/horn_of_plenty/null_objects/pull_request_spec.rb
|
313
|
+
- spec/lib/horn_of_plenty/queries/fetch_spec.rb
|
314
|
+
- spec/lib/horn_of_plenty/repositories/board_spec.rb
|
315
|
+
- spec/lib/horn_of_plenty/repositories/card_spec.rb
|
316
|
+
- spec/lib/horn_of_plenty/repositories/issue_spec.rb
|
317
|
+
- spec/lib/horn_of_plenty/repositories/lane_spec.rb
|
318
|
+
- spec/lib/horn_of_plenty/repositories/pull_request_spec.rb
|
319
|
+
- spec/support/patterns.rb
|
320
|
+
homepage: https://github.com/thekompanee/horn_of_plenty
|
321
|
+
licenses:
|
322
|
+
- MIT
|
323
|
+
metadata:
|
324
|
+
allowed_push_host: https://rubygems.org
|
325
|
+
post_install_message:
|
326
|
+
rdoc_options: []
|
327
|
+
require_paths:
|
328
|
+
- lib
|
329
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
330
|
+
requirements:
|
331
|
+
- - ">="
|
332
|
+
- !ruby/object:Gem::Version
|
333
|
+
version: '0'
|
334
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
|
+
requirements:
|
336
|
+
- - ">="
|
337
|
+
- !ruby/object:Gem::Version
|
338
|
+
version: '0'
|
339
|
+
requirements: []
|
340
|
+
rubyforge_project:
|
341
|
+
rubygems_version: 2.5.1
|
342
|
+
signing_key:
|
343
|
+
specification_version: 4
|
344
|
+
summary: Project Management Software Abstraction
|
345
|
+
test_files:
|
346
|
+
- spec/fixtures/responses/board_github.json
|
347
|
+
- spec/fixtures/responses/card_github.json
|
348
|
+
- spec/fixtures/responses/issue_github.json
|
349
|
+
- spec/fixtures/responses/lane_github.json
|
350
|
+
- spec/fixtures/responses/pull_request_github.json
|
351
|
+
- spec/lib/horn_of_plenty/adapters/github/client_spec.rb
|
352
|
+
- spec/lib/horn_of_plenty/adapters/github/collections/card_spec.rb
|
353
|
+
- spec/lib/horn_of_plenty/adapters/github/configuration_spec.rb
|
354
|
+
- spec/lib/horn_of_plenty/adapters/github/error_spec.rb
|
355
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/board_spec.rb
|
356
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/card_spec.rb
|
357
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/issue_spec.rb
|
358
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/lane_spec.rb
|
359
|
+
- spec/lib/horn_of_plenty/adapters/github/parsers/pull_request_spec.rb
|
360
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_boards_spec.rb
|
361
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_cards_spec.rb
|
362
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_issues_spec.rb
|
363
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_lanes_spec.rb
|
364
|
+
- spec/lib/horn_of_plenty/adapters/github/queries/list_pull_requests_spec.rb
|
365
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/board_spec.rb
|
366
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/card_spec.rb
|
367
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/issue_spec.rb
|
368
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/lane_spec.rb
|
369
|
+
- spec/lib/horn_of_plenty/adapters/github/repositories/pull_request_spec.rb
|
370
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_boards_spec.rb
|
371
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_cards_spec.rb
|
372
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_issues_spec.rb
|
373
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_lanes_spec.rb
|
374
|
+
- spec/lib/horn_of_plenty/adapters/github/requests/list_pull_requests_spec.rb
|
375
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_boards_spec.rb
|
376
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_cards_spec.rb
|
377
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_issues_spec.rb
|
378
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_lanes_spec.rb
|
379
|
+
- spec/lib/horn_of_plenty/adapters/github/responses/list_pull_requests_spec.rb
|
380
|
+
- spec/lib/horn_of_plenty/models/board_spec.rb
|
381
|
+
- spec/lib/horn_of_plenty/models/card_spec.rb
|
382
|
+
- spec/lib/horn_of_plenty/models/issue_spec.rb
|
383
|
+
- spec/lib/horn_of_plenty/models/lane_spec.rb
|
384
|
+
- spec/lib/horn_of_plenty/models/pull_request_spec.rb
|
385
|
+
- spec/lib/horn_of_plenty/null_objects/board_spec.rb
|
386
|
+
- spec/lib/horn_of_plenty/null_objects/card_spec.rb
|
387
|
+
- spec/lib/horn_of_plenty/null_objects/issue_spec.rb
|
388
|
+
- spec/lib/horn_of_plenty/null_objects/lane_spec.rb
|
389
|
+
- spec/lib/horn_of_plenty/null_objects/pull_request_spec.rb
|
390
|
+
- spec/lib/horn_of_plenty/queries/fetch_spec.rb
|
391
|
+
- spec/lib/horn_of_plenty/repositories/board_spec.rb
|
392
|
+
- spec/lib/horn_of_plenty/repositories/card_spec.rb
|
393
|
+
- spec/lib/horn_of_plenty/repositories/issue_spec.rb
|
394
|
+
- spec/lib/horn_of_plenty/repositories/lane_spec.rb
|
395
|
+
- spec/lib/horn_of_plenty/repositories/pull_request_spec.rb
|
396
|
+
- spec/support/patterns.rb
|