no_follow_external_links 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 116128cf2702f717865730506d3616e923d3ef32
4
- data.tar.gz: abee87ba0f720edf2c3dcce3326e231fba1e51e0
3
+ metadata.gz: 5f98480f7a8c7ab3b17d5a5e470d3e18c8272fa1
4
+ data.tar.gz: 7ffae784b9d859c11054c9d26bceec3e4639714b
5
5
  SHA512:
6
- metadata.gz: 24e6087041f3eeca9a9b85d7c9aa79eb8d3b2ce683200425c4c4d11f53b1e35a758830144f21526605daec793423014bb77c19d923ccbe942ae09724b93999d1
7
- data.tar.gz: 022643cdb86a05925299a4f873033444056c903a7f474798d077a4b772d6c33702731f46fa30d6ccd0894107251ef68fbc3bde752c59f256e7720f2ddb471135
6
+ metadata.gz: a42b67ae1c2cc1cb4f471913cf57977d9acd184b01fc418ac186109be710682a4fb8f9148172d13dea936e555fb4d9f56310f1fa6d279ea0d4ca2d2fc60cb31b
7
+ data.tar.gz: 59fec104a24144861af6a61ec86746a6b7b0d1c3eb8292b81b88948ae949dae93293a07a89ef8bc5d5fc17e5fdea7cba8fc633756363e68b55b1b69a77158257
@@ -8,6 +8,7 @@ Rails.configuration.to_prepare do
8
8
  private
9
9
 
10
10
  def internal_url?(url)
11
+ return true unless self.respond_to? :root_url
11
12
  url.try(:first) == '/' || url.try(:include?, root_url)
12
13
  end
13
14
  end
@@ -1,3 +1,3 @@
1
1
  module NoFollowExternalLinks
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -382,3 +382,255 @@ Processing by CarsController#index as HTML
382
382
  Rendered cars/index.html.erb within layouts/application (0.7ms)
383
383
  Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
384
384
   (0.2ms) rollback transaction
385
+  (0.7ms) begin transaction
386
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:07:10 -0300
387
+ Processing by CarsController#index as HTML
388
+ Rendering cars/index.html.erb within layouts/application
389
+ Rendered cars/index.html.erb within layouts/application (14.0ms)
390
+ Completed 200 OK in 304ms (Views: 301.1ms | ActiveRecord: 0.0ms)
391
+  (0.1ms) rollback transaction
392
+  (0.1ms) begin transaction
393
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:07:10 -0300
394
+ Processing by CarsController#index as HTML
395
+ Rendering cars/index.html.erb within layouts/application
396
+ Rendered cars/index.html.erb within layouts/application (1.2ms)
397
+ Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 0.0ms)
398
+  (0.1ms) rollback transaction
399
+  (0.1ms) begin transaction
400
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:07:10 -0300
401
+ Processing by CarsController#index as HTML
402
+ Rendering cars/index.html.erb within layouts/application
403
+ Rendered cars/index.html.erb within layouts/application (0.5ms)
404
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)
405
+  (0.0ms) rollback transaction
406
+  (0.0ms) begin transaction
407
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:07:10 -0300
408
+ Processing by CarsController#index as HTML
409
+ Rendering cars/index.html.erb within layouts/application
410
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
411
+ Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
412
+  (0.1ms) rollback transaction
413
+  (0.0ms) begin transaction
414
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:07:10 -0300
415
+ Processing by CarsController#index as HTML
416
+ Rendering cars/index.html.erb within layouts/application
417
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
418
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
419
+  (0.1ms) rollback transaction
420
+  (0.1ms) begin transaction
421
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:07:10 -0300
422
+ Processing by CarsController#index as HTML
423
+ Rendering cars/index.html.erb within layouts/application
424
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
425
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms)
426
+  (0.1ms) rollback transaction
427
+  (0.3ms) begin transaction
428
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:10 -0300
429
+ Processing by CarsController#index as HTML
430
+ Rendering cars/index.html.erb within layouts/application
431
+ Rendered cars/index.html.erb within layouts/application (3.7ms)
432
+ Completed 200 OK in 200ms (Views: 199.0ms | ActiveRecord: 0.0ms)
433
+  (0.1ms) rollback transaction
434
+  (0.1ms) begin transaction
435
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:10 -0300
436
+ Processing by CarsController#index as HTML
437
+ Rendering cars/index.html.erb within layouts/application
438
+ Rendered cars/index.html.erb within layouts/application (1.0ms)
439
+ Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms)
440
+  (0.1ms) rollback transaction
441
+  (0.0ms) begin transaction
442
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:10 -0300
443
+ Processing by CarsController#index as HTML
444
+ Rendering cars/index.html.erb within layouts/application
445
+ Rendered cars/index.html.erb within layouts/application (0.8ms)
446
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
447
+  (0.0ms) rollback transaction
448
+  (0.1ms) begin transaction
449
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:10 -0300
450
+ Processing by CarsController#index as HTML
451
+ Rendering cars/index.html.erb within layouts/application
452
+ Rendered cars/index.html.erb within layouts/application (0.5ms)
453
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)
454
+  (0.1ms) rollback transaction
455
+  (0.0ms) begin transaction
456
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:10 -0300
457
+ Processing by CarsController#index as HTML
458
+ Rendering cars/index.html.erb within layouts/application
459
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
460
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)
461
+  (0.1ms) rollback transaction
462
+  (0.0ms) begin transaction
463
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:10 -0300
464
+ Processing by CarsController#index as HTML
465
+ Rendering cars/index.html.erb within layouts/application
466
+ Rendered cars/index.html.erb within layouts/application (0.5ms)
467
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)
468
+  (0.1ms) rollback transaction
469
+  (0.4ms) begin transaction
470
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:55 -0300
471
+ Processing by CarsController#index as HTML
472
+ Rendering cars/index.html.erb within layouts/application
473
+ Rendered cars/index.html.erb within layouts/application (5.4ms)
474
+ Completed 200 OK in 181ms (Views: 180.0ms | ActiveRecord: 0.0ms)
475
+  (0.1ms) rollback transaction
476
+  (0.0ms) begin transaction
477
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:55 -0300
478
+ Processing by CarsController#index as HTML
479
+ Rendering cars/index.html.erb within layouts/application
480
+ Rendered cars/index.html.erb within layouts/application (0.9ms)
481
+ Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
482
+  (0.1ms) rollback transaction
483
+  (0.1ms) begin transaction
484
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:55 -0300
485
+ Processing by CarsController#index as HTML
486
+ Rendering cars/index.html.erb within layouts/application
487
+ Rendered cars/index.html.erb within layouts/application (0.5ms)
488
+ Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms)
489
+  (0.1ms) rollback transaction
490
+  (0.1ms) begin transaction
491
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:55 -0300
492
+ Processing by CarsController#index as HTML
493
+ Rendering cars/index.html.erb within layouts/application
494
+ Rendered cars/index.html.erb within layouts/application (0.7ms)
495
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
496
+  (0.1ms) rollback transaction
497
+  (0.0ms) begin transaction
498
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:55 -0300
499
+ Processing by CarsController#index as HTML
500
+ Rendering cars/index.html.erb within layouts/application
501
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
502
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
503
+  (0.1ms) rollback transaction
504
+  (0.0ms) begin transaction
505
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:09:55 -0300
506
+ Processing by CarsController#index as HTML
507
+ Rendering cars/index.html.erb within layouts/application
508
+ Rendered cars/index.html.erb within layouts/application (0.5ms)
509
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
510
+  (0.1ms) rollback transaction
511
+  (0.5ms) begin transaction
512
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:16:01 -0300
513
+ Processing by CarsController#index as HTML
514
+ Rendering cars/index.html.erb within layouts/application
515
+ Rendered cars/index.html.erb within layouts/application (7.6ms)
516
+ Completed 200 OK in 169ms (Views: 167.3ms | ActiveRecord: 0.0ms)
517
+  (0.1ms) rollback transaction
518
+  (0.1ms) begin transaction
519
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:16:01 -0300
520
+ Processing by CarsController#index as HTML
521
+ Rendering cars/index.html.erb within layouts/application
522
+ Rendered cars/index.html.erb within layouts/application (0.9ms)
523
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms)
524
+  (0.1ms) rollback transaction
525
+  (0.1ms) begin transaction
526
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:16:01 -0300
527
+ Processing by CarsController#index as HTML
528
+ Rendering cars/index.html.erb within layouts/application
529
+ Rendered cars/index.html.erb within layouts/application (0.5ms)
530
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)
531
+  (0.1ms) rollback transaction
532
+  (0.0ms) begin transaction
533
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:16:01 -0300
534
+ Processing by CarsController#index as HTML
535
+ Rendering cars/index.html.erb within layouts/application
536
+ Rendered cars/index.html.erb within layouts/application (0.7ms)
537
+ Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)
538
+  (0.1ms) rollback transaction
539
+  (0.1ms) begin transaction
540
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:16:01 -0300
541
+ Processing by CarsController#index as HTML
542
+ Rendering cars/index.html.erb within layouts/application
543
+ Rendered cars/index.html.erb within layouts/application (0.5ms)
544
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
545
+  (0.1ms) rollback transaction
546
+  (0.0ms) begin transaction
547
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:16:01 -0300
548
+ Processing by CarsController#index as HTML
549
+ Rendering cars/index.html.erb within layouts/application
550
+ Rendered cars/index.html.erb within layouts/application (0.7ms)
551
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
552
+  (0.0ms) rollback transaction
553
+  (0.5ms) begin transaction
554
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:25:06 -0300
555
+ Processing by CarsController#index as HTML
556
+ Rendering cars/index.html.erb within layouts/application
557
+ Rendered cars/index.html.erb within layouts/application (10.0ms)
558
+ Completed 200 OK in 200ms (Views: 199.1ms | ActiveRecord: 0.0ms)
559
+  (0.1ms) rollback transaction
560
+  (0.1ms) begin transaction
561
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:25:06 -0300
562
+ Processing by CarsController#index as HTML
563
+ Rendering cars/index.html.erb within layouts/application
564
+ Rendered cars/index.html.erb within layouts/application (1.0ms)
565
+ Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
566
+  (0.1ms) rollback transaction
567
+  (0.1ms) begin transaction
568
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:25:06 -0300
569
+ Processing by CarsController#index as HTML
570
+ Rendering cars/index.html.erb within layouts/application
571
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
572
+ Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
573
+  (0.1ms) rollback transaction
574
+  (0.1ms) begin transaction
575
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:25:06 -0300
576
+ Processing by CarsController#index as HTML
577
+ Rendering cars/index.html.erb within layouts/application
578
+ Rendered cars/index.html.erb within layouts/application (1.1ms)
579
+ Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms)
580
+  (0.1ms) rollback transaction
581
+  (0.0ms) begin transaction
582
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:25:07 -0300
583
+ Processing by CarsController#index as HTML
584
+ Rendering cars/index.html.erb within layouts/application
585
+ Rendered cars/index.html.erb within layouts/application (0.7ms)
586
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
587
+  (0.1ms) rollback transaction
588
+  (0.0ms) begin transaction
589
+ Started GET "/" for 127.0.0.1 at 2017-01-19 15:25:07 -0300
590
+ Processing by CarsController#index as HTML
591
+ Rendering cars/index.html.erb within layouts/application
592
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
593
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)
594
+  (0.0ms) rollback transaction
595
+  (0.6ms) begin transaction
596
+ Started GET "/" for 127.0.0.1 at 2017-01-19 16:39:18 -0300
597
+ Processing by CarsController#index as HTML
598
+ Rendering cars/index.html.erb within layouts/application
599
+ Rendered cars/index.html.erb within layouts/application (15.1ms)
600
+ Completed 200 OK in 305ms (Views: 301.1ms | ActiveRecord: 0.0ms)
601
+  (0.1ms) rollback transaction
602
+  (0.1ms) begin transaction
603
+ Started GET "/" for 127.0.0.1 at 2017-01-19 16:39:19 -0300
604
+ Processing by CarsController#index as HTML
605
+ Rendering cars/index.html.erb within layouts/application
606
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
607
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
608
+  (0.1ms) rollback transaction
609
+  (0.1ms) begin transaction
610
+ Started GET "/" for 127.0.0.1 at 2017-01-19 16:39:19 -0300
611
+ Processing by CarsController#index as HTML
612
+ Rendering cars/index.html.erb within layouts/application
613
+ Rendered cars/index.html.erb within layouts/application (0.7ms)
614
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
615
+  (0.1ms) rollback transaction
616
+  (0.1ms) begin transaction
617
+ Started GET "/" for 127.0.0.1 at 2017-01-19 16:39:19 -0300
618
+ Processing by CarsController#index as HTML
619
+ Rendering cars/index.html.erb within layouts/application
620
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
621
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
622
+  (0.0ms) rollback transaction
623
+  (0.0ms) begin transaction
624
+ Started GET "/" for 127.0.0.1 at 2017-01-19 16:39:19 -0300
625
+ Processing by CarsController#index as HTML
626
+ Rendering cars/index.html.erb within layouts/application
627
+ Rendered cars/index.html.erb within layouts/application (0.7ms)
628
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
629
+  (0.1ms) rollback transaction
630
+  (0.1ms) begin transaction
631
+ Started GET "/" for 127.0.0.1 at 2017-01-19 16:39:19 -0300
632
+ Processing by CarsController#index as HTML
633
+ Rendering cars/index.html.erb within layouts/application
634
+ Rendered cars/index.html.erb within layouts/application (0.6ms)
635
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
636
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: no_follow_external_links
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Gonzaga