gitable 0.2.3 → 0.2.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/.travis.yml +1 -0
- data/Gemfile +1 -1
- data/README.rdoc +24 -9
- data/Rakefile +4 -7
- data/gitable.gemspec +2 -2
- data/lib/gitable.rb +3 -2
- data/lib/gitable/scp_uri.rb +1 -0
- data/lib/gitable/uri.rb +4 -2
- data/spec/gitable_spec.rb +36 -0
- data/spec/spec_helper.rb +5 -0
- metadata +32 -18
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.rdoc
CHANGED
@@ -13,32 +13,47 @@ Works with any valid Git URI, because Addressable doesn't.
|
|
13
13
|
uri.user # => 'git'
|
14
14
|
uri.host # => 'github.com'
|
15
15
|
|
16
|
-
|
16
|
+
Maintain the same url format.
|
17
|
+
|
17
18
|
uri.to_s # => 'git@github.com:martinemde/gitable.git'
|
18
19
|
|
19
|
-
|
20
|
+
Uses ssh?
|
21
|
+
|
20
22
|
uri.ssh? # => true
|
21
23
|
|
22
|
-
|
24
|
+
SCP format?
|
25
|
+
|
23
26
|
uri.scp? # => true
|
24
27
|
|
25
|
-
|
28
|
+
If it can't guess the name, you named your repository wrong.
|
29
|
+
|
26
30
|
uri.project_name # => 'gitable'
|
27
31
|
|
28
|
-
|
32
|
+
Will this uri require authentication?
|
33
|
+
|
29
34
|
uri.authenticated? # => true
|
30
35
|
|
31
|
-
|
36
|
+
Will I have to interactively type something into git (a password)?
|
37
|
+
|
32
38
|
uri.interactive_authenticated? # => false
|
33
39
|
|
34
|
-
|
40
|
+
Matching public to private git uris?
|
41
|
+
|
35
42
|
uri.equivalent?('git://github.com/martinemde/gitable.git') # => true
|
36
43
|
uri.equivalent?('https://martinemde@github.com/martinemde/gitable.git') # => true
|
37
44
|
|
38
|
-
|
45
|
+
Link to the web page for a project (github)
|
46
|
+
|
47
|
+
if uri.github?
|
48
|
+
uri.to_web_uri # => <Addressable::URI https://github.com/martinemde/gitable>
|
49
|
+
end
|
50
|
+
|
51
|
+
Inherited from Addressable::URI
|
52
|
+
|
39
53
|
uri.kind_of?(Addressable::URI) # => true
|
40
54
|
|
41
|
-
|
55
|
+
Teenage Mutant Ninja Urls (mutable uris like Addressable, if you want)
|
56
|
+
|
42
57
|
uri.path = 'someotheruser/gitable.git'
|
43
58
|
uri.basename = 'umm.git'
|
44
59
|
uri.to_s # => 'git@github.com:someotheruser/umm.git'
|
data/Rakefile
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
require 'bundler'
|
2
|
-
Bundler::GemHelper.install_tasks
|
1
|
+
require 'bundler/gem_tasks'
|
3
2
|
|
4
3
|
require 'rspec/core/rake_task'
|
5
4
|
RSpec::Core::RakeTask.new do |t|
|
@@ -8,9 +7,7 @@ RSpec::Core::RakeTask.new do |t|
|
|
8
7
|
end
|
9
8
|
task :default => :spec
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
t.rcov = true
|
15
|
-
t.rcov_opts = %w[--exclude spec/,gems/,Library/,.bundle]
|
10
|
+
task :coverage => [:coverage_env, :spec]
|
11
|
+
task :coverage_env do
|
12
|
+
ENV['COVERAGE'] = '1'
|
16
13
|
end
|
data/gitable.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = "gitable"
|
4
|
-
s.version = "0.2.
|
4
|
+
s.version = "0.2.4"
|
5
5
|
s.authors = ["Martin Emde"]
|
6
6
|
s.email = ["martin.emde@gmail.com"]
|
7
7
|
s.homepage = "http://github.org/martinemde/gitable"
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.add_dependency "addressable"
|
12
12
|
s.add_development_dependency "rspec", "~>2.0"
|
13
13
|
s.add_development_dependency "rake"
|
14
|
-
s.add_development_dependency "
|
14
|
+
s.add_development_dependency "simplecov"
|
15
15
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
17
17
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
data/lib/gitable.rb
CHANGED
data/lib/gitable/scp_uri.rb
CHANGED
data/lib/gitable/uri.rb
CHANGED
@@ -127,14 +127,14 @@ module Gitable
|
|
127
127
|
#
|
128
128
|
# @return [Boolean] true if the URI uses ssh or has a user but no password
|
129
129
|
def authenticated?
|
130
|
-
ssh? ||
|
130
|
+
ssh? || interactive_authenticated?
|
131
131
|
end
|
132
132
|
|
133
133
|
# Detect URIs that will require interactive authentication
|
134
134
|
#
|
135
135
|
# @return [Boolean] true if the URI has a user, but is not using ssh
|
136
136
|
def interactive_authenticated?
|
137
|
-
|
137
|
+
!ssh? && (!normalized_user.nil? && normalized_password.nil?)
|
138
138
|
end
|
139
139
|
|
140
140
|
# Detect if two URIs are equivalent versions of the same uri.
|
@@ -221,3 +221,5 @@ module Gitable
|
|
221
221
|
end
|
222
222
|
end
|
223
223
|
end
|
224
|
+
|
225
|
+
require 'gitable/scp_uri'
|
data/spec/gitable_spec.rb
CHANGED
@@ -164,6 +164,7 @@ describe Gitable::URI do
|
|
164
164
|
|
165
165
|
describe_uri "rsync://host.xz/path/to/repo.git/" do
|
166
166
|
it { subject.to_s.should == @uri }
|
167
|
+
it { "#{subject}".should == @uri }
|
167
168
|
it_sets expected.merge({
|
168
169
|
:scheme => "rsync",
|
169
170
|
:project_name => "repo"
|
@@ -172,6 +173,7 @@ describe Gitable::URI do
|
|
172
173
|
|
173
174
|
describe_uri "rsync://host.xz/path/to/repo.git/" do
|
174
175
|
it { subject.to_s.should == @uri }
|
176
|
+
it { "#{subject}".should == @uri }
|
175
177
|
it_sets expected.merge({
|
176
178
|
:scheme => "rsync",
|
177
179
|
})
|
@@ -179,6 +181,7 @@ describe Gitable::URI do
|
|
179
181
|
|
180
182
|
describe_uri "http://host.xz/path/to/repo.git/" do
|
181
183
|
it { subject.to_s.should == @uri }
|
184
|
+
it { "#{subject}".should == @uri }
|
182
185
|
it_sets expected.merge({
|
183
186
|
:scheme => "http",
|
184
187
|
})
|
@@ -186,6 +189,7 @@ describe Gitable::URI do
|
|
186
189
|
|
187
190
|
describe_uri "http://host.xz:8888/path/to/repo.git/" do
|
188
191
|
it { subject.to_s.should == @uri }
|
192
|
+
it { "#{subject}".should == @uri }
|
189
193
|
it_sets expected.merge({
|
190
194
|
:scheme => "http",
|
191
195
|
:port => 8888,
|
@@ -195,6 +199,7 @@ describe Gitable::URI do
|
|
195
199
|
|
196
200
|
describe_uri "http://12.34.56.78:8888/path/to/repo.git/" do
|
197
201
|
it { subject.to_s.should == @uri }
|
202
|
+
it { "#{subject}".should == @uri }
|
198
203
|
it_sets expected.merge({
|
199
204
|
:scheme => "http",
|
200
205
|
:host => "12.34.56.78",
|
@@ -205,6 +210,7 @@ describe Gitable::URI do
|
|
205
210
|
|
206
211
|
describe_uri "https://host.xz/path/to/repo.git/" do
|
207
212
|
it { subject.to_s.should == @uri }
|
213
|
+
it { "#{subject}".should == @uri }
|
208
214
|
it_sets expected.merge({
|
209
215
|
:scheme => "https",
|
210
216
|
})
|
@@ -212,6 +218,7 @@ describe Gitable::URI do
|
|
212
218
|
|
213
219
|
describe_uri "https://user@host.xz/path/to/repo.git/" do
|
214
220
|
it { subject.to_s.should == @uri }
|
221
|
+
it { "#{subject}".should == @uri }
|
215
222
|
it_sets expected.merge({
|
216
223
|
:scheme => "https",
|
217
224
|
:user => "user",
|
@@ -222,6 +229,7 @@ describe Gitable::URI do
|
|
222
229
|
|
223
230
|
describe_uri "https://host.xz:8888/path/to/repo.git/" do
|
224
231
|
it { subject.to_s.should == @uri }
|
232
|
+
it { "#{subject}".should == @uri }
|
225
233
|
it_sets expected.merge({
|
226
234
|
:scheme => "https",
|
227
235
|
:port => 8888,
|
@@ -231,6 +239,7 @@ describe Gitable::URI do
|
|
231
239
|
|
232
240
|
describe_uri "git+ssh://host.xz/path/to/repo.git/" do
|
233
241
|
it { subject.to_s.should == @uri }
|
242
|
+
it { "#{subject}".should == @uri }
|
234
243
|
it_sets expected.merge({
|
235
244
|
:scheme => "git+ssh",
|
236
245
|
:ssh? => true,
|
@@ -240,6 +249,7 @@ describe Gitable::URI do
|
|
240
249
|
|
241
250
|
describe_uri "git://host.xz/path/to/repo.git/" do
|
242
251
|
it { subject.to_s.should == @uri }
|
252
|
+
it { "#{subject}".should == @uri }
|
243
253
|
it_sets expected.merge({
|
244
254
|
:scheme => "git",
|
245
255
|
})
|
@@ -247,6 +257,7 @@ describe Gitable::URI do
|
|
247
257
|
|
248
258
|
describe_uri "git://host.xz:8888/path/to/repo.git/" do
|
249
259
|
it { subject.to_s.should == @uri }
|
260
|
+
it { "#{subject}".should == @uri }
|
250
261
|
it_sets expected.merge({
|
251
262
|
:scheme => "git",
|
252
263
|
:port => 8888,
|
@@ -256,6 +267,7 @@ describe Gitable::URI do
|
|
256
267
|
|
257
268
|
describe_uri "git://host.xz/~user/path/to/repo.git/" do
|
258
269
|
it { subject.to_s.should == @uri }
|
270
|
+
it { "#{subject}".should == @uri }
|
259
271
|
it_sets expected.merge({
|
260
272
|
:scheme => "git",
|
261
273
|
:path => "/~user/path/to/repo.git/",
|
@@ -265,6 +277,7 @@ describe Gitable::URI do
|
|
265
277
|
|
266
278
|
describe_uri "git://host.xz:8888/~user/path/to/repo.git/" do
|
267
279
|
it { subject.to_s.should == @uri }
|
280
|
+
it { "#{subject}".should == @uri }
|
268
281
|
it_sets expected.merge({
|
269
282
|
:scheme => "git",
|
270
283
|
:path => "/~user/path/to/repo.git/",
|
@@ -275,6 +288,7 @@ describe Gitable::URI do
|
|
275
288
|
|
276
289
|
describe_uri "ssh://host.xz/path/to/repo.git/" do
|
277
290
|
it { subject.to_s.should == @uri }
|
291
|
+
it { "#{subject}".should == @uri }
|
278
292
|
it_sets expected.merge({
|
279
293
|
:scheme => "ssh",
|
280
294
|
:ssh? => true,
|
@@ -284,6 +298,7 @@ describe Gitable::URI do
|
|
284
298
|
|
285
299
|
describe_uri "ssh://user@host.xz/path/to/repo.git/" do
|
286
300
|
it { subject.to_s.should == @uri }
|
301
|
+
it { "#{subject}".should == @uri }
|
287
302
|
it_sets expected.merge({
|
288
303
|
:scheme => "ssh",
|
289
304
|
:user => "user",
|
@@ -294,6 +309,7 @@ describe Gitable::URI do
|
|
294
309
|
|
295
310
|
describe_uri "ssh://host.xz/path/to/repo.git/" do
|
296
311
|
it { subject.to_s.should == @uri }
|
312
|
+
it { "#{subject}".should == @uri }
|
297
313
|
it_sets expected.merge({
|
298
314
|
:scheme => "ssh",
|
299
315
|
:ssh? => true,
|
@@ -303,6 +319,7 @@ describe Gitable::URI do
|
|
303
319
|
|
304
320
|
describe_uri "ssh://host.xz:8888/path/to/repo.git/" do
|
305
321
|
it { subject.to_s.should == @uri }
|
322
|
+
it { "#{subject}".should == @uri }
|
306
323
|
it_sets expected.merge({
|
307
324
|
:scheme => "ssh",
|
308
325
|
:port => 8888,
|
@@ -314,6 +331,7 @@ describe Gitable::URI do
|
|
314
331
|
|
315
332
|
describe_uri "ssh://user@host.xz/path/to/repo.git/" do
|
316
333
|
it { subject.to_s.should == @uri }
|
334
|
+
it { "#{subject}".should == @uri }
|
317
335
|
it_sets expected.merge({
|
318
336
|
:user => "user",
|
319
337
|
:scheme => "ssh",
|
@@ -324,6 +342,7 @@ describe Gitable::URI do
|
|
324
342
|
|
325
343
|
describe_uri "ssh://user@host.xz:8888/path/to/repo.git/" do
|
326
344
|
it { subject.to_s.should == @uri }
|
345
|
+
it { "#{subject}".should == @uri }
|
327
346
|
it_sets expected.merge({
|
328
347
|
:scheme => "ssh",
|
329
348
|
:user => "user",
|
@@ -336,6 +355,7 @@ describe Gitable::URI do
|
|
336
355
|
|
337
356
|
describe_uri "ssh://host.xz/~user/path/to/repo.git/" do
|
338
357
|
it { subject.to_s.should == @uri }
|
358
|
+
it { "#{subject}".should == @uri }
|
339
359
|
it_sets expected.merge({
|
340
360
|
:scheme => "ssh",
|
341
361
|
:user => nil,
|
@@ -348,6 +368,7 @@ describe Gitable::URI do
|
|
348
368
|
|
349
369
|
describe_uri "ssh://user@host.xz/~user/path/to/repo.git/" do
|
350
370
|
it { subject.to_s.should == @uri }
|
371
|
+
it { "#{subject}".should == @uri }
|
351
372
|
it_sets expected.merge({
|
352
373
|
:scheme => "ssh",
|
353
374
|
:user => "user",
|
@@ -360,6 +381,7 @@ describe Gitable::URI do
|
|
360
381
|
|
361
382
|
describe_uri "ssh://host.xz/~/path/to/repo.git" do
|
362
383
|
it { subject.to_s.should == @uri }
|
384
|
+
it { "#{subject}".should == @uri }
|
363
385
|
it_sets expected.merge({
|
364
386
|
:scheme => "ssh",
|
365
387
|
:path => "/~/path/to/repo.git",
|
@@ -371,6 +393,7 @@ describe Gitable::URI do
|
|
371
393
|
|
372
394
|
describe_uri "ssh://user@host.xz/~/path/to/repo.git" do
|
373
395
|
it { subject.to_s.should == @uri }
|
396
|
+
it { "#{subject}".should == @uri }
|
374
397
|
it_sets expected.merge({
|
375
398
|
:scheme => "ssh",
|
376
399
|
:user => "user",
|
@@ -383,6 +406,7 @@ describe Gitable::URI do
|
|
383
406
|
|
384
407
|
describe_uri "host.xz:/path/to/repo.git/" do
|
385
408
|
it { subject.to_s.should == @uri }
|
409
|
+
it { "#{subject}".should == @uri }
|
386
410
|
it_sets expected.merge({
|
387
411
|
:scheme => nil,
|
388
412
|
:inferred_scheme => 'ssh',
|
@@ -395,6 +419,7 @@ describe Gitable::URI do
|
|
395
419
|
|
396
420
|
describe_uri "user@host.xz:/path/to/repo.git/" do
|
397
421
|
it { subject.to_s.should == @uri }
|
422
|
+
it { "#{subject}".should == @uri }
|
398
423
|
it { subject.should be_equivalent('ssh://user@host.xz/path/to/repo.git') }
|
399
424
|
it { subject.should be_equivalent('user@host.xz:/path/to/repo.git') }
|
400
425
|
it { subject.should_not be_equivalent('user@host.xz:path/to/repo.git') } # not absolute
|
@@ -412,6 +437,7 @@ describe Gitable::URI do
|
|
412
437
|
|
413
438
|
describe_uri "host.xz:~user/path/to/repo.git/" do
|
414
439
|
it { subject.to_s.should == @uri }
|
440
|
+
it { "#{subject}".should == @uri }
|
415
441
|
it_sets expected.merge({
|
416
442
|
:scheme => nil,
|
417
443
|
:inferred_scheme => 'ssh',
|
@@ -425,6 +451,7 @@ describe Gitable::URI do
|
|
425
451
|
|
426
452
|
describe_uri "user@host.xz:~user/path/to/repo.git/" do
|
427
453
|
it { subject.to_s.should == @uri }
|
454
|
+
it { "#{subject}".should == @uri }
|
428
455
|
it_sets expected.merge({
|
429
456
|
:scheme => nil,
|
430
457
|
:inferred_scheme => 'ssh',
|
@@ -438,6 +465,7 @@ describe Gitable::URI do
|
|
438
465
|
|
439
466
|
describe_uri "host.xz:path/to/repo.git" do
|
440
467
|
it { subject.to_s.should == @uri }
|
468
|
+
it { "#{subject}".should == @uri }
|
441
469
|
it_sets expected.merge({
|
442
470
|
:scheme => nil,
|
443
471
|
:inferred_scheme => 'ssh',
|
@@ -450,6 +478,7 @@ describe Gitable::URI do
|
|
450
478
|
|
451
479
|
describe_uri "user@host.xz:path/to/repo.git" do
|
452
480
|
it { subject.to_s.should == @uri }
|
481
|
+
it { "#{subject}".should == @uri }
|
453
482
|
it { subject.should_not be_equivalent('ssh://user@host.xz/path/to/repo.git') } # not absolute
|
454
483
|
it { subject.should_not be_equivalent('path/to/repo.git') }
|
455
484
|
it { subject.should_not be_equivalent('host.xz:path/to/repo.git') }
|
@@ -466,6 +495,7 @@ describe Gitable::URI do
|
|
466
495
|
|
467
496
|
describe_uri "/path/to/repo.git/" do
|
468
497
|
it { subject.to_s.should == @uri }
|
498
|
+
it { "#{subject}".should == @uri }
|
469
499
|
it { subject.inspect.should =~ %r|^#<Gitable::URI #{@uri}>$| }
|
470
500
|
it { subject.should be_equivalent(@uri) }
|
471
501
|
it { subject.should be_equivalent('/path/to/repo.git') }
|
@@ -485,6 +515,7 @@ describe Gitable::URI do
|
|
485
515
|
|
486
516
|
describe_uri "file:///path/to/repo.git/" do
|
487
517
|
it { subject.to_s.should == @uri }
|
518
|
+
it { "#{subject}".should == @uri }
|
488
519
|
it { subject.inspect.should =~ %r|^#<Gitable::URI #{@uri}>$| }
|
489
520
|
it { subject.should be_equivalent(@uri) }
|
490
521
|
it { subject.should be_equivalent('/path/to/repo.git') }
|
@@ -504,6 +535,7 @@ describe Gitable::URI do
|
|
504
535
|
|
505
536
|
describe_uri "ssh://git@github.com/martinemde/gitable.git" do
|
506
537
|
it { subject.to_s.should == @uri }
|
538
|
+
it { "#{subject}".should == @uri }
|
507
539
|
it { subject.inspect.should =~ %r|^#<Gitable::URI #{@uri}>$| }
|
508
540
|
it { subject.should be_equivalent(@uri) }
|
509
541
|
it { subject.should be_equivalent('git://github.com/martinemde/gitable.git') }
|
@@ -532,6 +564,7 @@ describe Gitable::URI do
|
|
532
564
|
|
533
565
|
describe_uri "https://github.com/martinemde/gitable.git" do
|
534
566
|
it { subject.to_s.should == @uri }
|
567
|
+
it { "#{subject}".should == @uri }
|
535
568
|
it { subject.inspect.should =~ %r|^#<Gitable::URI #{@uri}>$| }
|
536
569
|
it { subject.should be_equivalent(@uri) }
|
537
570
|
it { subject.should be_equivalent('ssh://git@github.com/martinemde/gitable.git') }
|
@@ -558,6 +591,7 @@ describe Gitable::URI do
|
|
558
591
|
|
559
592
|
describe_uri "https://martinemde@github.com/martinemde/gitable.git" do
|
560
593
|
it { subject.to_s.should == @uri }
|
594
|
+
it { "#{subject}".should == @uri }
|
561
595
|
it { subject.inspect.should =~ %r|^#<Gitable::URI #{@uri}>$| }
|
562
596
|
it { subject.should be_equivalent(@uri) }
|
563
597
|
it { subject.should be_equivalent('ssh://git@github.com/martinemde/gitable.git') }
|
@@ -587,6 +621,7 @@ describe Gitable::URI do
|
|
587
621
|
|
588
622
|
describe_uri "git://github.com/martinemde/gitable.git" do
|
589
623
|
it { subject.to_s.should == @uri }
|
624
|
+
it { "#{subject}".should == @uri }
|
590
625
|
it { subject.inspect.should =~ %r|^#<Gitable::URI #{@uri}>$| }
|
591
626
|
it { subject.should be_equivalent(@uri) }
|
592
627
|
it { subject.should be_equivalent('ssh://git@github.com/martinemde/gitable.git') }
|
@@ -615,6 +650,7 @@ describe Gitable::URI do
|
|
615
650
|
|
616
651
|
describe_uri "git@github.com:martinemde/gitable.git" do
|
617
652
|
it { subject.to_s.should == @uri }
|
653
|
+
it { "#{subject}".should == @uri }
|
618
654
|
it { subject.inspect.should =~ %r|^#<Gitable::ScpURI #{@uri}>$| }
|
619
655
|
it { subject.should be_equivalent(@uri) }
|
620
656
|
it { subject.should be_equivalent('ssh://git@github.com/martinemde/gitable.git') }
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-04-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rspec
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ~>
|
@@ -32,10 +37,15 @@ dependencies:
|
|
32
37
|
version: '2.0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '2.0'
|
36
46
|
- !ruby/object:Gem::Dependency
|
37
47
|
name: rake
|
38
|
-
requirement:
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
39
49
|
none: false
|
40
50
|
requirements:
|
41
51
|
- - ! '>='
|
@@ -43,10 +53,15 @@ dependencies:
|
|
43
53
|
version: '0'
|
44
54
|
type: :development
|
45
55
|
prerelease: false
|
46
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
47
62
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
49
|
-
requirement:
|
63
|
+
name: simplecov
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
50
65
|
none: false
|
51
66
|
requirements:
|
52
67
|
- - ! '>='
|
@@ -54,7 +69,12 @@ dependencies:
|
|
54
69
|
version: '0'
|
55
70
|
type: :development
|
56
71
|
prerelease: false
|
57
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
58
78
|
description: Addressable::URI for Git URIs with special handling for scp-style URIs
|
59
79
|
that Addressable doesn't like.
|
60
80
|
email:
|
@@ -92,21 +112,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
92
112
|
- - ! '>='
|
93
113
|
- !ruby/object:Gem::Version
|
94
114
|
version: '0'
|
95
|
-
segments:
|
96
|
-
- 0
|
97
|
-
hash: -3667744996364921328
|
98
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
116
|
none: false
|
100
117
|
requirements:
|
101
118
|
- - ! '>='
|
102
119
|
- !ruby/object:Gem::Version
|
103
120
|
version: '0'
|
104
|
-
segments:
|
105
|
-
- 0
|
106
|
-
hash: -3667744996364921328
|
107
121
|
requirements: []
|
108
122
|
rubyforge_project:
|
109
|
-
rubygems_version: 1.8.
|
123
|
+
rubygems_version: 1.8.25
|
110
124
|
signing_key:
|
111
125
|
specification_version: 3
|
112
126
|
summary: Addressable::URI for Git. Gitable::URI.
|