gitcycle 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ user:
2
+ token:
@@ -0,0 +1,13 @@
1
+ require File.expand_path("../../spec_helper", __FILE__)
2
+
3
+ describe Gitcycle::Incident do
4
+ it "should run" do
5
+ gitcycle = gitcycle_instance
6
+ Launchy.stub(:open)
7
+ gitcycle.stub(:q) { |x|
8
+ puts x
9
+ "0"
10
+ }
11
+ gitcycle.incident
12
+ end
13
+ end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+
3
+ describe Gitcycle do
4
+ it "should initialize" do
5
+ gitcycle_instance
6
+ end
7
+ end
@@ -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
- version: 0.3.3
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
- date: 2013-08-21 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
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
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '>='
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: lighthouse
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
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
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: redis
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
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
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
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
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: simplecov
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
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
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: yajl-ruby
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
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
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - '>='
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
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
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - '='
109
- - !ruby/object:Gem::Version
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
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - '='
123
- - !ruby/object:Gem::Version
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
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - '='
137
- - !ruby/object:Gem::Version
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
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - '='
151
- - !ruby/object:Gem::Version
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
- files:
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
- metadata: {}
220
+
186
221
  post_install_message:
187
222
  rdoc_options: []
188
- require_paths:
223
+
224
+ require_paths:
189
225
  - lib
190
- required_ruby_version: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - '>='
193
- - !ruby/object:Gem::Version
194
- version: '0'
195
- required_rubygems_version: !ruby/object:Gem::Requirement
196
- requirements:
197
- - - '>='
198
- - !ruby/object:Gem::Version
199
- version: '0'
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: 2.0.3
247
+ rubygems_version: 1.8.24
203
248
  signing_key:
204
- specification_version: 4
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