gitcycle 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/README.md +1 -1
- data/gitcycle.gemspec +1 -1
- data/lib/gitcycle/branch.rb +77 -0
- data/lib/gitcycle/checkout.rb +92 -0
- data/lib/gitcycle/commit.rb +44 -0
- data/lib/gitcycle/discuss.rb +36 -0
- data/lib/gitcycle/incident.rb +115 -0
- data/lib/gitcycle/open.rb +32 -0
- data/lib/gitcycle/pull.rb +56 -0
- data/lib/gitcycle/push.rb +24 -0
- data/lib/gitcycle/qa.rb +204 -0
- data/lib/gitcycle/ready.rb +37 -0
- data/lib/gitcycle/review.rb +29 -0
- data/lib/gitcycle/setup.rb +11 -0
- data/lib/gitcycle.rb +43 -612
- data/spec/config/gitcycle.example.yml +2 -0
- data/spec/gitcycle/incident_spec.rb +13 -0
- data/spec/gitcycle_spec.rb +7 -0
- data/spec/spec_helper.rb +20 -0
- metadata +189 -140
- checksums.yaml +0 -7
data/spec/spec_helper.rb
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
ENV['ENV'] = 'test'
|
|
2
|
+
|
|
3
|
+
$root = File.expand_path('../../', __FILE__)
|
|
4
|
+
require "#{$root}/lib/gitcycle"
|
|
5
|
+
|
|
6
|
+
def gitcycle_instance
|
|
7
|
+
gitcycle = Gitcycle.new
|
|
8
|
+
account = load_account_yaml
|
|
9
|
+
|
|
10
|
+
gitcycle.instance_eval do
|
|
11
|
+
@login = account['login']
|
|
12
|
+
@token = account['token']
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
gitcycle
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def load_account_yaml
|
|
19
|
+
YAML.load_file("#{File.dirname(__FILE__)}/config/gitcycle.yml")
|
|
20
|
+
end
|
metadata
CHANGED
|
@@ -1,164 +1,183 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitcycle
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 27
|
|
5
|
+
prerelease:
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 3
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.3.4
|
|
5
11
|
platform: ruby
|
|
6
|
-
authors:
|
|
12
|
+
authors:
|
|
7
13
|
- Winton Welsh
|
|
8
14
|
autorequire:
|
|
9
15
|
bindir: bin
|
|
10
16
|
cert_chain: []
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
|
|
18
|
+
date: 2013-10-04 00:00:00 Z
|
|
19
|
+
dependencies:
|
|
20
|
+
- !ruby/object:Gem::Dependency
|
|
14
21
|
name: cucumber
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - '>='
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0'
|
|
20
|
-
type: :development
|
|
21
22
|
prerelease: false
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- - '>='
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0'
|
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
24
|
+
none: false
|
|
25
|
+
requirements:
|
|
26
|
+
- - ">="
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
hash: 3
|
|
29
|
+
segments:
|
|
30
|
+
- 0
|
|
31
|
+
version: "0"
|
|
34
32
|
type: :development
|
|
33
|
+
version_requirements: *id001
|
|
34
|
+
- !ruby/object:Gem::Dependency
|
|
35
|
+
name: lighthouse
|
|
35
36
|
prerelease: false
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
- - '>='
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0'
|
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
38
|
+
none: false
|
|
39
|
+
requirements:
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
hash: 3
|
|
43
|
+
segments:
|
|
44
|
+
- 0
|
|
45
|
+
version: "0"
|
|
48
46
|
type: :development
|
|
47
|
+
version_requirements: *id002
|
|
48
|
+
- !ruby/object:Gem::Dependency
|
|
49
|
+
name: redis
|
|
49
50
|
prerelease: false
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
- - '>='
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0'
|
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
52
|
+
none: false
|
|
53
|
+
requirements:
|
|
54
|
+
- - ">="
|
|
55
|
+
- !ruby/object:Gem::Version
|
|
56
|
+
hash: 3
|
|
57
|
+
segments:
|
|
58
|
+
- 0
|
|
59
|
+
version: "0"
|
|
62
60
|
type: :development
|
|
61
|
+
version_requirements: *id003
|
|
62
|
+
- !ruby/object:Gem::Dependency
|
|
63
|
+
name: rspec
|
|
63
64
|
prerelease: false
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
- - '>='
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0'
|
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
66
|
+
none: false
|
|
67
|
+
requirements:
|
|
68
|
+
- - ">="
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
hash: 3
|
|
71
|
+
segments:
|
|
72
|
+
- 0
|
|
73
|
+
version: "0"
|
|
76
74
|
type: :development
|
|
75
|
+
version_requirements: *id004
|
|
76
|
+
- !ruby/object:Gem::Dependency
|
|
77
|
+
name: simplecov
|
|
77
78
|
prerelease: false
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
- - '>='
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: '0'
|
|
79
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
|
80
|
+
none: false
|
|
81
|
+
requirements:
|
|
82
|
+
- - ">="
|
|
83
|
+
- !ruby/object:Gem::Version
|
|
84
|
+
hash: 3
|
|
85
|
+
segments:
|
|
86
|
+
- 0
|
|
87
|
+
version: "0"
|
|
90
88
|
type: :development
|
|
89
|
+
version_requirements: *id005
|
|
90
|
+
- !ruby/object:Gem::Dependency
|
|
91
|
+
name: yajl-ruby
|
|
91
92
|
prerelease: false
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
|
94
|
+
none: false
|
|
95
|
+
requirements:
|
|
96
|
+
- - ">="
|
|
97
|
+
- !ruby/object:Gem::Version
|
|
98
|
+
hash: 3
|
|
99
|
+
segments:
|
|
100
|
+
- 0
|
|
101
|
+
version: "0"
|
|
102
|
+
type: :development
|
|
103
|
+
version_requirements: *id006
|
|
104
|
+
- !ruby/object:Gem::Dependency
|
|
98
105
|
name: launchy
|
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - '='
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: 2.0.5
|
|
104
|
-
type: :runtime
|
|
105
106
|
prerelease: false
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
|
108
|
+
none: false
|
|
109
|
+
requirements:
|
|
110
|
+
- - "="
|
|
111
|
+
- !ruby/object:Gem::Version
|
|
112
|
+
hash: 5
|
|
113
|
+
segments:
|
|
114
|
+
- 2
|
|
115
|
+
- 0
|
|
116
|
+
- 5
|
|
110
117
|
version: 2.0.5
|
|
111
|
-
- !ruby/object:Gem::Dependency
|
|
112
|
-
name: yajl-ruby
|
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
|
114
|
-
requirements:
|
|
115
|
-
- - '='
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
version: 1.1.0
|
|
118
118
|
type: :runtime
|
|
119
|
+
version_requirements: *id007
|
|
120
|
+
- !ruby/object:Gem::Dependency
|
|
121
|
+
name: yajl-ruby
|
|
119
122
|
prerelease: false
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
|
124
|
+
none: false
|
|
125
|
+
requirements:
|
|
126
|
+
- - "="
|
|
127
|
+
- !ruby/object:Gem::Version
|
|
128
|
+
hash: 19
|
|
129
|
+
segments:
|
|
130
|
+
- 1
|
|
131
|
+
- 1
|
|
132
|
+
- 0
|
|
124
133
|
version: 1.1.0
|
|
125
|
-
- !ruby/object:Gem::Dependency
|
|
126
|
-
name: httpclient
|
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
|
128
|
-
requirements:
|
|
129
|
-
- - '='
|
|
130
|
-
- !ruby/object:Gem::Version
|
|
131
|
-
version: 2.3.2
|
|
132
134
|
type: :runtime
|
|
135
|
+
version_requirements: *id008
|
|
136
|
+
- !ruby/object:Gem::Dependency
|
|
137
|
+
name: httpclient
|
|
133
138
|
prerelease: false
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
139
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
|
140
|
+
none: false
|
|
141
|
+
requirements:
|
|
142
|
+
- - "="
|
|
143
|
+
- !ruby/object:Gem::Version
|
|
144
|
+
hash: 7
|
|
145
|
+
segments:
|
|
146
|
+
- 2
|
|
147
|
+
- 3
|
|
148
|
+
- 2
|
|
138
149
|
version: 2.3.2
|
|
139
|
-
- !ruby/object:Gem::Dependency
|
|
140
|
-
name: httpi
|
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
|
142
|
-
requirements:
|
|
143
|
-
- - '='
|
|
144
|
-
- !ruby/object:Gem::Version
|
|
145
|
-
version: 1.1.1
|
|
146
150
|
type: :runtime
|
|
151
|
+
version_requirements: *id009
|
|
152
|
+
- !ruby/object:Gem::Dependency
|
|
153
|
+
name: httpi
|
|
147
154
|
prerelease: false
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
155
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
|
156
|
+
none: false
|
|
157
|
+
requirements:
|
|
158
|
+
- - "="
|
|
159
|
+
- !ruby/object:Gem::Version
|
|
160
|
+
hash: 17
|
|
161
|
+
segments:
|
|
162
|
+
- 1
|
|
163
|
+
- 1
|
|
164
|
+
- 1
|
|
152
165
|
version: 1.1.1
|
|
166
|
+
type: :runtime
|
|
167
|
+
version_requirements: *id010
|
|
153
168
|
description: Tame your development cycle.
|
|
154
|
-
email:
|
|
169
|
+
email:
|
|
155
170
|
- mail@wintoni.us
|
|
156
|
-
executables:
|
|
171
|
+
executables:
|
|
157
172
|
- gitc
|
|
158
173
|
extensions: []
|
|
174
|
+
|
|
159
175
|
extra_rdoc_files: []
|
|
160
|
-
|
|
176
|
+
|
|
177
|
+
files:
|
|
161
178
|
- .gitignore
|
|
179
|
+
- .ruby-gemset
|
|
180
|
+
- .ruby-version
|
|
162
181
|
- Gemfile
|
|
163
182
|
- LICENSE
|
|
164
183
|
- README.md
|
|
@@ -180,30 +199,56 @@ files:
|
|
|
180
199
|
- gitcycle.gemspec
|
|
181
200
|
- lib/ext/string.rb
|
|
182
201
|
- lib/gitcycle.rb
|
|
202
|
+
- lib/gitcycle/branch.rb
|
|
203
|
+
- lib/gitcycle/checkout.rb
|
|
204
|
+
- lib/gitcycle/commit.rb
|
|
205
|
+
- lib/gitcycle/discuss.rb
|
|
206
|
+
- lib/gitcycle/incident.rb
|
|
207
|
+
- lib/gitcycle/open.rb
|
|
208
|
+
- lib/gitcycle/pull.rb
|
|
209
|
+
- lib/gitcycle/push.rb
|
|
210
|
+
- lib/gitcycle/qa.rb
|
|
211
|
+
- lib/gitcycle/ready.rb
|
|
212
|
+
- lib/gitcycle/review.rb
|
|
213
|
+
- lib/gitcycle/setup.rb
|
|
214
|
+
- spec/config/gitcycle.example.yml
|
|
215
|
+
- spec/gitcycle/incident_spec.rb
|
|
216
|
+
- spec/gitcycle_spec.rb
|
|
217
|
+
- spec/spec_helper.rb
|
|
183
218
|
homepage: https://github.com/winton/gitcycle
|
|
184
219
|
licenses: []
|
|
185
|
-
|
|
220
|
+
|
|
186
221
|
post_install_message:
|
|
187
222
|
rdoc_options: []
|
|
188
|
-
|
|
223
|
+
|
|
224
|
+
require_paths:
|
|
189
225
|
- lib
|
|
190
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
226
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
227
|
+
none: false
|
|
228
|
+
requirements:
|
|
229
|
+
- - ">="
|
|
230
|
+
- !ruby/object:Gem::Version
|
|
231
|
+
hash: 3
|
|
232
|
+
segments:
|
|
233
|
+
- 0
|
|
234
|
+
version: "0"
|
|
235
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
236
|
+
none: false
|
|
237
|
+
requirements:
|
|
238
|
+
- - ">="
|
|
239
|
+
- !ruby/object:Gem::Version
|
|
240
|
+
hash: 3
|
|
241
|
+
segments:
|
|
242
|
+
- 0
|
|
243
|
+
version: "0"
|
|
200
244
|
requirements: []
|
|
245
|
+
|
|
201
246
|
rubyforge_project:
|
|
202
|
-
rubygems_version:
|
|
247
|
+
rubygems_version: 1.8.24
|
|
203
248
|
signing_key:
|
|
204
|
-
specification_version:
|
|
249
|
+
specification_version: 3
|
|
205
250
|
summary: Tame your development cycle
|
|
206
|
-
test_files:
|
|
251
|
+
test_files:
|
|
207
252
|
- features/branch.feature
|
|
208
253
|
- features/checkout.feature
|
|
209
254
|
- features/config/config.example.yml
|
|
@@ -217,3 +262,7 @@ test_files:
|
|
|
217
262
|
- features/setup.feature
|
|
218
263
|
- features/steps/gitcycle_steps.rb
|
|
219
264
|
- features/support/env.rb
|
|
265
|
+
- spec/config/gitcycle.example.yml
|
|
266
|
+
- spec/gitcycle/incident_spec.rb
|
|
267
|
+
- spec/gitcycle_spec.rb
|
|
268
|
+
- spec/spec_helper.rb
|
checksums.yaml
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
SHA1:
|
|
3
|
-
metadata.gz: 5c7f99ab182899811bef1a2ddccf6a9b17f45507
|
|
4
|
-
data.tar.gz: eb2e7410e4a5390cac7dc1cffbaed91f5ea3235b
|
|
5
|
-
SHA512:
|
|
6
|
-
metadata.gz: b6ce77125b594682df4fb4bc5240b731e2f40cd8dc8412522db2be308a0c2def6c0f5e8a862703926a7d032fb8ef4875dec75ef35d2742e0d04a9d2f4b303998
|
|
7
|
-
data.tar.gz: a02cfe963226ee6b05eb6ae36d812c0cc252561dc3ef3c00f823e626cdd8d54f2f45e9bac1f0a9e0847871a87739da0a865b54e26ed44cecb62ebc271bed74c6
|