gitcycle 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/gitcycle.gemspec +1 -2
  2. data/lib/gitcycle.rb +3 -3
  3. metadata +84 -145
data/gitcycle.gemspec CHANGED
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "gitcycle"
9
- s.version = '0.1.3'
9
+ s.version = '0.1.4'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = [ 'Winton Welsh' ]
12
12
  s.email = [ 'mail@wintoni.us' ]
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = %w(lib)
20
20
  s.test_files = `cd #{root} && git ls-files -- {features,test,spec}/*`.split("\n")
21
21
 
22
- s.add_development_dependency "aruba"
23
22
  s.add_development_dependency "cucumber"
24
23
  s.add_development_dependency "lighthouse"
25
24
  s.add_development_dependency "redis"
data/lib/gitcycle.rb CHANGED
@@ -321,8 +321,6 @@ class Gitcycle
321
321
  source = qa_branch['source']
322
322
  name = "qa_#{source}"
323
323
 
324
- puts qa_branch.inspect
325
-
326
324
  unless qa_branch['branches'].empty?
327
325
  unless options[:preserve]
328
326
  if branches(:current => source)
@@ -399,7 +397,9 @@ class Gitcycle
399
397
  params = ''
400
398
  hash[:session] = 0
401
399
  hash.each do |k, v|
402
- if v
400
+ if v && v.is_a?(::Array)
401
+ params << "#{URI.escape(k.to_s)}=#{URI.escape(v.inspect)}&"
402
+ elsif v
403
403
  params << "#{URI.escape(k.to_s)}=#{URI.escape(v.to_s)}&"
404
404
  end
405
405
  end
metadata CHANGED
@@ -1,163 +1,112 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gitcycle
3
- version: !ruby/object:Gem::Version
4
- hash: 29
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.4
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 3
10
- version: 0.1.3
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Winton Welsh
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-01-17 00:00:00 -08:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: aruba
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
33
- type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
12
+ date: 2012-01-17 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
36
15
  name: cucumber
37
- prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
16
+ requirement: &70189908661480 !ruby/object:Gem::Requirement
39
17
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
47
22
  type: :development
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: lighthouse
51
23
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
24
+ version_requirements: *70189908661480
25
+ - !ruby/object:Gem::Dependency
26
+ name: lighthouse
27
+ requirement: &70189908661040 !ruby/object:Gem::Requirement
53
28
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
61
33
  type: :development
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
- name: redis
65
34
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
35
+ version_requirements: *70189908661040
36
+ - !ruby/object:Gem::Dependency
37
+ name: redis
38
+ requirement: &70189908660620 !ruby/object:Gem::Requirement
67
39
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
75
44
  type: :development
76
- version_requirements: *id004
77
- - !ruby/object:Gem::Dependency
78
- name: rspec
79
45
  prerelease: false
80
- requirement: &id005 !ruby/object:Gem::Requirement
46
+ version_requirements: *70189908660620
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &70189908660200 !ruby/object:Gem::Requirement
81
50
  none: false
82
- requirements:
83
- - - ">="
84
- - !ruby/object:Gem::Version
85
- hash: 3
86
- segments:
87
- - 0
88
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
89
55
  type: :development
90
- version_requirements: *id005
91
- - !ruby/object:Gem::Dependency
92
- name: simplecov
93
56
  prerelease: false
94
- requirement: &id006 !ruby/object:Gem::Requirement
57
+ version_requirements: *70189908660200
58
+ - !ruby/object:Gem::Dependency
59
+ name: simplecov
60
+ requirement: &70189908659780 !ruby/object:Gem::Requirement
95
61
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
103
66
  type: :development
104
- version_requirements: *id006
105
- - !ruby/object:Gem::Dependency
106
- name: yajl-ruby
107
67
  prerelease: false
108
- requirement: &id007 !ruby/object:Gem::Requirement
68
+ version_requirements: *70189908659780
69
+ - !ruby/object:Gem::Dependency
70
+ name: yajl-ruby
71
+ requirement: &70189907950840 !ruby/object:Gem::Requirement
109
72
  none: false
110
- requirements:
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- hash: 3
114
- segments:
115
- - 0
116
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
117
77
  type: :development
118
- version_requirements: *id007
119
- - !ruby/object:Gem::Dependency
120
- name: launchy
121
78
  prerelease: false
122
- requirement: &id008 !ruby/object:Gem::Requirement
79
+ version_requirements: *70189907950840
80
+ - !ruby/object:Gem::Dependency
81
+ name: launchy
82
+ requirement: &70189907944280 !ruby/object:Gem::Requirement
123
83
  none: false
124
- requirements:
125
- - - "="
126
- - !ruby/object:Gem::Version
127
- hash: 5
128
- segments:
129
- - 2
130
- - 0
131
- - 5
84
+ requirements:
85
+ - - =
86
+ - !ruby/object:Gem::Version
132
87
  version: 2.0.5
133
88
  type: :runtime
134
- version_requirements: *id008
135
- - !ruby/object:Gem::Dependency
136
- name: yajl-ruby
137
89
  prerelease: false
138
- requirement: &id009 !ruby/object:Gem::Requirement
90
+ version_requirements: *70189907944280
91
+ - !ruby/object:Gem::Dependency
92
+ name: yajl-ruby
93
+ requirement: &70189915898120 !ruby/object:Gem::Requirement
139
94
  none: false
140
- requirements:
141
- - - "="
142
- - !ruby/object:Gem::Version
143
- hash: 19
144
- segments:
145
- - 1
146
- - 1
147
- - 0
95
+ requirements:
96
+ - - =
97
+ - !ruby/object:Gem::Version
148
98
  version: 1.1.0
149
99
  type: :runtime
150
- version_requirements: *id009
100
+ prerelease: false
101
+ version_requirements: *70189915898120
151
102
  description: Tame your development cycle.
152
- email:
103
+ email:
153
104
  - mail@wintoni.us
154
- executables:
105
+ executables:
155
106
  - gitc
156
107
  extensions: []
157
-
158
108
  extra_rdoc_files: []
159
-
160
- files:
109
+ files:
161
110
  - .gitignore
162
111
  - Gemfile
163
112
  - LICENSE
@@ -171,41 +120,31 @@ files:
171
120
  - gitcycle.gemspec
172
121
  - lib/ext/string.rb
173
122
  - lib/gitcycle.rb
174
- has_rdoc: true
175
123
  homepage: https://github.com/winton/gitcycle
176
124
  licenses: []
177
-
178
125
  post_install_message:
179
126
  rdoc_options: []
180
-
181
- require_paths:
127
+ require_paths:
182
128
  - lib
183
- required_ruby_version: !ruby/object:Gem::Requirement
129
+ required_ruby_version: !ruby/object:Gem::Requirement
184
130
  none: false
185
- requirements:
186
- - - ">="
187
- - !ruby/object:Gem::Version
188
- hash: 3
189
- segments:
190
- - 0
191
- version: "0"
192
- required_rubygems_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ! '>='
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
193
136
  none: false
194
- requirements:
195
- - - ">="
196
- - !ruby/object:Gem::Version
197
- hash: 3
198
- segments:
199
- - 0
200
- version: "0"
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
201
141
  requirements: []
202
-
203
142
  rubyforge_project:
204
- rubygems_version: 1.5.0
143
+ rubygems_version: 1.8.10
205
144
  signing_key:
206
145
  specification_version: 3
207
146
  summary: Tame your development cycle
208
- test_files:
147
+ test_files:
209
148
  - features/config.example.yml
210
149
  - features/gitcycle.feature
211
150
  - features/steps/gitcycle_steps.rb