icofont 0.0.4 → 0.0.5

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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/icofont/application.js +1 -1
  3. data/app/controllers/icofont/home_controller.rb +1 -1
  4. data/config/routes.rb +0 -4
  5. data/lib/generators/icofont_generator.rb +8 -0
  6. data/lib/icofont.rb +1 -0
  7. data/lib/icofont/paths.rb +1 -1
  8. data/lib/icofont/routes.rb +9 -0
  9. data/lib/icofont/version.rb +1 -1
  10. data/test/controllers/icofont/home_controller_test.rb +10 -0
  11. data/test/dummy/app/assets/icofont/icofont.eot +0 -0
  12. data/test/dummy/app/assets/icofont/icofont.svg +2 -2
  13. data/test/dummy/app/assets/icofont/icofont.ttf +0 -0
  14. data/test/dummy/app/assets/icofont/icofont.woff +0 -0
  15. data/test/dummy/config/routes.rb +1 -4
  16. data/test/dummy/log/development.log +550 -0
  17. data/test/dummy/log/test.log +373 -0
  18. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  19. data/test/dummy/tmp/cache/assets/development/sprockets/24d84d0cc64aa34aa33579f9d48bfdea +0 -0
  20. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  21. data/test/dummy/tmp/cache/assets/development/sprockets/c6b9a2d89c207acb5a40f26035ef9d67 +0 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/492eb72ca49fb7259a01123b6b557dcd +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/a8c8b4cf14d078fdb0b05ba331fa0f29 +0 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/d57b48f735a12d07d3f8c4a3598a4af7 +0 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/dee449466bbd42a74357d212450d6123 +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/e739fe521c001f47f3e1fba2533df7c0 +0 -0
  28. data/test/fixtures/config/routes.rb +3 -0
  29. data/test/fixtures/fonts/fontcustom-manifest.yml +4 -4
  30. data/test/fixtures/fonts/icofont.eot +0 -0
  31. data/test/fixtures/fonts/icofont.svg +2 -2
  32. data/test/fixtures/fonts/icofont.ttf +0 -0
  33. data/test/fixtures/fonts/icofont.woff +0 -0
  34. data/test/fixtures/glyphs.txt +0 -0
  35. data/test/generators/fixtures/glyphs.txt +0 -0
  36. data/test/generators/icofont/icofont_generator_test.rb +31 -0
  37. data/test/generators/tmp/glyphs.txt +0 -0
  38. data/test/test_helper.rb +1 -0
  39. metadata +25 -6
  40. data/test/fixtures/stylesheets/icofont.css.erb +0 -30
  41. data/test/lib/icofont/paths_test.rb +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bba1e5113bbe7894845db87cd49b360c4635c6ae
4
- data.tar.gz: 3e617bd20ca37ab67c8aa7c875243332536282a5
3
+ metadata.gz: 8db883d7ddbcff979b522d494aa8cdebcb4b65ef
4
+ data.tar.gz: 613a013ea4bf7d2d8b3c64ee26e788202ab91a2b
5
5
  SHA512:
6
- metadata.gz: aa50dab965a110bbf45f71f52c6cff889e7d58f2549970023949d311932f088faf71abe054e1dc0d781347765299bcd47adcbbc3c70081c886fa0f5ae55b0db1
7
- data.tar.gz: 244560836be43eb664f06467b4157bf22d426effa86c0f784bcfbe6485bd1a427e762d16bb3f95b152456f2f461120059acc114ba3667219c9cc84895d8f65bb
6
+ metadata.gz: 22958ce9114b41e718cbc415c9802041755c5deecdde5183a29a37fcd3df09c6d5fdca0e11ae330852fa7f870adde7455b60d52bb969875d76b65c831888c007
7
+ data.tar.gz: b021b3848cf45cef84fa8a963a097d55d3f572f4b9704a524bd4891afcf7bcb5c38d3dfebfd610d2d154a56768656a3c3851338b097f5dc49c3fb127e4ab1a44
@@ -11,4 +11,4 @@
11
11
  // about supported directives.
12
12
  //
13
13
  //= require jquery
14
- //= require_tree .
14
+ //= require icofont/icofont
@@ -5,4 +5,4 @@ module Icofont
5
5
  def index
6
6
  end
7
7
  end
8
- end
8
+ end
@@ -2,9 +2,5 @@ Icofont::Engine.routes.draw do
2
2
  get 'glyphs' => 'glyphs#index'
3
3
  post 'glyphs/update' => 'glyphs#update'
4
4
 
5
- # namespace :icofont do
6
- # resources :glyphs, :only => [:index, :update]
7
- # end
8
-
9
5
  root :to => 'home#index'
10
6
  end
@@ -12,6 +12,14 @@ class IcofontGenerator < Rails::Generators::Base
12
12
  create_file Icofont::Paths.glyphs_path
13
13
  end
14
14
 
15
+ def add_to_routes
16
+ route 'mount_icofont'
17
+ end
18
+
19
+ def add_to_routes
20
+ route 'mount_icofont'
21
+ end
22
+
15
23
  desc 'Copies the SVG glyphs necessary to generate the icofonts'
16
24
  def copy_glyphs
17
25
  svg_root = Icofont::Paths.svg_root
@@ -2,6 +2,7 @@ require "icofont/engine"
2
2
  require "icofont/paths"
3
3
  require "icofont/glyph"
4
4
  require "icofont/font_processor"
5
+ require "icofont/routes"
5
6
 
6
7
  module Icofont
7
8
  FONT_NAME = 'icofont'
@@ -24,7 +24,7 @@ module Icofont
24
24
  def glyphs_path
25
25
  @@glyphs_path ||= expand_root(".#{FONT_NAME}/#{FONT_NAME}.txt")
26
26
  end
27
-
27
+
28
28
  def svg_path
29
29
  @@svg_path ||= File.join(svg_root, svg_folder)
30
30
  end
@@ -0,0 +1,9 @@
1
+ module ActionDispatch::Routing
2
+ class Mapper
3
+ def mount_icofont
4
+ if Rails.env.development?
5
+ mount Icofont::Engine => "/icofont"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module Icofont
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ module Icofont
4
+ class HomeControllerTest < ActionController::TestCase
5
+ test "should get index" do
6
+ get :index, :use_route => 'icofont'
7
+ assert_response :success
8
+ end
9
+ end
10
+ end
@@ -1,11 +1,11 @@
1
1
  <?xml version="1.0" standalone="no"?>
2
2
  <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
3
  <!--
4
- 2014-1-3: Created.
4
+ 2014-1-7: Created.
5
5
  -->
6
6
  <svg xmlns="http://www.w3.org/2000/svg">
7
7
  <metadata>
8
- Created by FontForge 20120731 at Fri Jan 3 22:07:36 2014
8
+ Created by FontForge 20120731 at Tue Jan 7 20:57:50 2014
9
9
  By Artan Sinani
10
10
  Created by Artan Sinani with FontForge 2.0 (http://fontforge.sf.net)
11
11
  </metadata>
@@ -1,7 +1,4 @@
1
1
  Rails.application.routes.draw do
2
- if Rails.env.development?
3
- mount Icofont::Engine => "/icofont"
4
- end
5
-
2
+ mount_icofont
6
3
  root :to => "home#index"
7
4
  end
@@ -1473,3 +1473,553 @@ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-03 22:07:38
1473
1473
 
1474
1474
 
1475
1475
  Started GET "/assets/icofont.woff" for 127.0.0.1 at 2014-01-03 22:07:38 +0000
1476
+
1477
+
1478
+ Started GET "/" for 127.0.0.1 at 2014-01-07 19:08:36 +0000
1479
+ Processing by HomeController#index as HTML
1480
+ Rendered home/index.html.erb within layouts/application (1.4ms)
1481
+ Completed 200 OK in 117ms (Views: 99.2ms | ActiveRecord: 0.0ms)
1482
+
1483
+
1484
+ Started GET "/assets/icofont.css?body=1" for 127.0.0.1 at 2014-01-07 19:08:36 +0000
1485
+
1486
+
1487
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-07 19:08:36 +0000
1488
+
1489
+
1490
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-07 19:08:36 +0000
1491
+
1492
+
1493
+ Started GET "/assets/icofont.woff" for 127.0.0.1 at 2014-01-07 19:08:36 +0000
1494
+
1495
+
1496
+ Started GET "/icofont" for 127.0.0.1 at 2014-01-07 19:08:44 +0000
1497
+ Processing by Icofont::HomeController#index as HTML
1498
+ Rendered /Users/arti/ror/icofont/icofont/app/views/icofont/home/index.html.erb within layouts/icofont/application (15.3ms)
1499
+ Completed 200 OK in 125ms (Views: 124.9ms | ActiveRecord: 0.0ms)
1500
+
1501
+
1502
+ Started GET "/assets/icofont/application.css?body=1" for 127.0.0.1 at 2014-01-07 19:08:45 +0000
1503
+
1504
+
1505
+ Started GET "/assets/icofont/icofont-admin.svg" for 127.0.0.1 at 2014-01-07 19:08:45 +0000
1506
+
1507
+
1508
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-01-07 19:08:45 +0000
1509
+
1510
+
1511
+ Started GET "/assets/icofont/icofont.js?body=1" for 127.0.0.1 at 2014-01-07 19:08:45 +0000
1512
+
1513
+
1514
+ Started GET "/assets/icofont/application.js?body=1" for 127.0.0.1 at 2014-01-07 19:08:45 +0000
1515
+
1516
+
1517
+ Started GET "/icofont/glyphs" for 127.0.0.1 at 2014-01-07 19:08:45 +0000
1518
+ Processing by Icofont::GlyphsController#index as */*
1519
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1520
+  (0.2ms) begin transaction
1521
+ -----------------------------------------------------------------
1522
+ Icofont::FontProcessorTest: test_generates_files_in_correct_paths
1523
+ -----------------------------------------------------------------
1524
+  (0.2ms) rollback transaction
1525
+  (0.1ms) begin transaction
1526
+ -----------------------------------------------------
1527
+ Icofont::GlyphTest: test_it_stores_and_fetches_glyphs
1528
+ -----------------------------------------------------
1529
+  (0.1ms) rollback transaction
1530
+  (0.0ms) begin transaction
1531
+ ----------------------------------------------------
1532
+ Icofont::GlyphsControllerTest: test_should_get_index
1533
+ ----------------------------------------------------
1534
+ Processing by Icofont::GlyphsController#index as HTML
1535
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1536
+  (0.1ms) rollback transaction
1537
+  (0.1ms) begin transaction
1538
+ ------------------------------------------------------
1539
+ Icofont::GlyphsControllerTest: test_should_post_update
1540
+ ------------------------------------------------------
1541
+ Processing by Icofont::GlyphsController#update as HTML
1542
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1543
+  (0.0ms) rollback transaction
1544
+  (0.0ms) begin transaction
1545
+ --------------------------------------------------
1546
+ Icofont::HomeControllerTest: test_should_get_index
1547
+ --------------------------------------------------
1548
+ Processing by Icofont::HomeController#index as HTML
1549
+ Completed 500 Internal Server Error in 44ms
1550
+  (0.1ms) rollback transaction
1551
+  (0.0ms) begin transaction
1552
+ -----------------------
1553
+ IcofontTest: test_truth
1554
+ -----------------------
1555
+  (0.0ms) rollback transaction
1556
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1557
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1558
+  (0.1ms) SELECT version FROM "schema_migrations"
1559
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1560
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1561
+  (0.1ms) begin transaction
1562
+ ----------------------------------------------------
1563
+ Icofont::GlyphsControllerTest: test_should_get_index
1564
+ ----------------------------------------------------
1565
+ Processing by Icofont::GlyphsController#index as HTML
1566
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1567
+  (0.1ms) rollback transaction
1568
+  (0.0ms) begin transaction
1569
+ ------------------------------------------------------
1570
+ Icofont::GlyphsControllerTest: test_should_post_update
1571
+ ------------------------------------------------------
1572
+ Processing by Icofont::GlyphsController#update as HTML
1573
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1574
+  (0.0ms) rollback transaction
1575
+  (0.0ms) begin transaction
1576
+ --------------------------------------------------
1577
+ Icofont::HomeControllerTest: test_should_get_index
1578
+ --------------------------------------------------
1579
+ Processing by Icofont::HomeController#index as HTML
1580
+ Completed 500 Internal Server Error in 43ms
1581
+  (0.1ms) rollback transaction
1582
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1583
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1584
+  (0.1ms) SELECT version FROM "schema_migrations"
1585
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1586
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1587
+  (0.1ms) begin transaction
1588
+ ----------------------------------------------------
1589
+ Icofont::GlyphsControllerTest: test_should_get_index
1590
+ ----------------------------------------------------
1591
+ Processing by Icofont::GlyphsController#index as HTML
1592
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1593
+  (0.1ms) rollback transaction
1594
+  (0.1ms) begin transaction
1595
+ ------------------------------------------------------
1596
+ Icofont::GlyphsControllerTest: test_should_post_update
1597
+ ------------------------------------------------------
1598
+ Processing by Icofont::GlyphsController#update as HTML
1599
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1600
+  (0.1ms) rollback transaction
1601
+  (0.0ms) begin transaction
1602
+ --------------------------------------------------
1603
+ Icofont::HomeControllerTest: test_should_get_index
1604
+ --------------------------------------------------
1605
+ Processing by Icofont::HomeController#index as HTML
1606
+ Completed 200 OK in 47ms (Views: 46.5ms | ActiveRecord: 0.0ms)
1607
+  (0.1ms) rollback transaction
1608
+  (0.2ms) begin transaction
1609
+ -----------------------------------------------------------------
1610
+ Icofont::FontProcessorTest: test_generates_files_in_correct_paths
1611
+ -----------------------------------------------------------------
1612
+  (0.1ms) rollback transaction
1613
+  (0.0ms) begin transaction
1614
+ -----------------------------------------------------
1615
+ Icofont::GlyphTest: test_it_stores_and_fetches_glyphs
1616
+ -----------------------------------------------------
1617
+  (0.1ms) rollback transaction
1618
+  (0.0ms) begin transaction
1619
+ ----------------------------------------------------
1620
+ Icofont::GlyphsControllerTest: test_should_get_index
1621
+ ----------------------------------------------------
1622
+ Processing by Icofont::GlyphsController#index as HTML
1623
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1624
+  (0.1ms) rollback transaction
1625
+  (0.0ms) begin transaction
1626
+ ------------------------------------------------------
1627
+ Icofont::GlyphsControllerTest: test_should_post_update
1628
+ ------------------------------------------------------
1629
+ Processing by Icofont::GlyphsController#update as HTML
1630
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1631
+  (0.0ms) rollback transaction
1632
+  (0.0ms) begin transaction
1633
+ --------------------------------------------------
1634
+ Icofont::HomeControllerTest: test_should_get_index
1635
+ --------------------------------------------------
1636
+ Processing by Icofont::HomeController#index as HTML
1637
+ Completed 200 OK in 34ms (Views: 33.5ms | ActiveRecord: 0.0ms)
1638
+  (0.1ms) rollback transaction
1639
+  (0.0ms) begin transaction
1640
+ ----------------------------------------------------------
1641
+ IcofontGeneratorTest: test_the_glyphs_list_file_is_created
1642
+ ----------------------------------------------------------
1643
+  (0.1ms) rollback transaction
1644
+  (0.0ms) begin transaction
1645
+ -----------------------
1646
+ IcofontTest: test_truth
1647
+ -----------------------
1648
+  (0.0ms) rollback transaction
1649
+  (0.2ms) begin transaction
1650
+ -----------------------------------------------------------------
1651
+ Icofont::FontProcessorTest: test_generates_files_in_correct_paths
1652
+ -----------------------------------------------------------------
1653
+  (0.1ms) rollback transaction
1654
+  (0.1ms) begin transaction
1655
+ -----------------------------------------------------
1656
+ Icofont::GlyphTest: test_it_stores_and_fetches_glyphs
1657
+ -----------------------------------------------------
1658
+  (0.1ms) rollback transaction
1659
+  (0.0ms) begin transaction
1660
+ ----------------------------------------------------
1661
+ Icofont::GlyphsControllerTest: test_should_get_index
1662
+ ----------------------------------------------------
1663
+ Processing by Icofont::GlyphsController#index as HTML
1664
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1665
+  (0.1ms) rollback transaction
1666
+  (0.0ms) begin transaction
1667
+ ------------------------------------------------------
1668
+ Icofont::GlyphsControllerTest: test_should_post_update
1669
+ ------------------------------------------------------
1670
+ Processing by Icofont::GlyphsController#update as HTML
1671
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1672
+  (0.0ms) rollback transaction
1673
+  (0.0ms) begin transaction
1674
+ --------------------------------------------------
1675
+ Icofont::HomeControllerTest: test_should_get_index
1676
+ --------------------------------------------------
1677
+ Processing by Icofont::HomeController#index as HTML
1678
+ Completed 200 OK in 22ms (Views: 21.5ms | ActiveRecord: 0.0ms)
1679
+  (0.1ms) rollback transaction
1680
+  (0.0ms) begin transaction
1681
+ ----------------------------------------------------------
1682
+ IcofontGeneratorTest: test_the_glyphs_list_file_is_created
1683
+ ----------------------------------------------------------
1684
+  (0.1ms) rollback transaction
1685
+  (0.0ms) begin transaction
1686
+ -----------------------
1687
+ IcofontTest: test_truth
1688
+ -----------------------
1689
+  (0.1ms) rollback transaction
1690
+  (0.2ms) begin transaction
1691
+ -----------------------------------------------------------------
1692
+ Icofont::FontProcessorTest: test_generates_files_in_correct_paths
1693
+ -----------------------------------------------------------------
1694
+  (0.1ms) rollback transaction
1695
+  (0.1ms) begin transaction
1696
+ -----------------------------------------------------
1697
+ Icofont::GlyphTest: test_it_stores_and_fetches_glyphs
1698
+ -----------------------------------------------------
1699
+  (0.1ms) rollback transaction
1700
+  (0.0ms) begin transaction
1701
+ ----------------------------------------------------
1702
+ Icofont::GlyphsControllerTest: test_should_get_index
1703
+ ----------------------------------------------------
1704
+ Processing by Icofont::GlyphsController#index as HTML
1705
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1706
+  (0.1ms) rollback transaction
1707
+  (0.0ms) begin transaction
1708
+ ------------------------------------------------------
1709
+ Icofont::GlyphsControllerTest: test_should_post_update
1710
+ ------------------------------------------------------
1711
+ Processing by Icofont::GlyphsController#update as HTML
1712
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1713
+  (0.1ms) rollback transaction
1714
+  (0.0ms) begin transaction
1715
+ --------------------------------------------------
1716
+ Icofont::HomeControllerTest: test_should_get_index
1717
+ --------------------------------------------------
1718
+ Processing by Icofont::HomeController#index as HTML
1719
+ Completed 200 OK in 21ms (Views: 21.1ms | ActiveRecord: 0.0ms)
1720
+  (0.1ms) rollback transaction
1721
+  (0.0ms) begin transaction
1722
+ ----------------------------------------------------------
1723
+ IcofontGeneratorTest: test_the_glyphs_list_file_is_created
1724
+ ----------------------------------------------------------
1725
+  (0.1ms) rollback transaction
1726
+  (0.0ms) begin transaction
1727
+ -----------------------
1728
+ IcofontTest: test_truth
1729
+ -----------------------
1730
+  (0.0ms) rollback transaction
1731
+  (0.2ms) begin transaction
1732
+ -----------------------------------------------------------------
1733
+ Icofont::FontProcessorTest: test_generates_files_in_correct_paths
1734
+ -----------------------------------------------------------------
1735
+  (0.1ms) rollback transaction
1736
+  (0.1ms) begin transaction
1737
+ -----------------------------------------------------
1738
+ Icofont::GlyphTest: test_it_stores_and_fetches_glyphs
1739
+ -----------------------------------------------------
1740
+  (0.1ms) rollback transaction
1741
+  (0.0ms) begin transaction
1742
+ ----------------------------------------------------
1743
+ Icofont::GlyphsControllerTest: test_should_get_index
1744
+ ----------------------------------------------------
1745
+ Processing by Icofont::GlyphsController#index as HTML
1746
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1747
+  (0.1ms) rollback transaction
1748
+  (0.0ms) begin transaction
1749
+ ------------------------------------------------------
1750
+ Icofont::GlyphsControllerTest: test_should_post_update
1751
+ ------------------------------------------------------
1752
+ Processing by Icofont::GlyphsController#update as HTML
1753
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1754
+  (0.1ms) rollback transaction
1755
+  (0.0ms) begin transaction
1756
+ --------------------------------------------------
1757
+ Icofont::HomeControllerTest: test_should_get_index
1758
+ --------------------------------------------------
1759
+ Processing by Icofont::HomeController#index as HTML
1760
+ Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.0ms)
1761
+  (0.1ms) rollback transaction
1762
+  (0.0ms) begin transaction
1763
+ ---------------------------------------------------------
1764
+ IcofontGeneratorTest: test_injects_mount_engine_to_routes
1765
+ ---------------------------------------------------------
1766
+  (0.1ms) rollback transaction
1767
+  (0.0ms) begin transaction
1768
+ ----------------------------------------------------------
1769
+ IcofontGeneratorTest: test_the_glyphs_list_file_is_created
1770
+ ----------------------------------------------------------
1771
+  (0.1ms) rollback transaction
1772
+  (0.0ms) begin transaction
1773
+ -----------------------
1774
+ IcofontTest: test_truth
1775
+ -----------------------
1776
+  (0.0ms) rollback transaction
1777
+  (0.2ms) begin transaction
1778
+ -----------------------------------------------------------------
1779
+ Icofont::FontProcessorTest: test_generates_files_in_correct_paths
1780
+ -----------------------------------------------------------------
1781
+  (0.2ms) rollback transaction
1782
+  (0.1ms) begin transaction
1783
+ -----------------------------------------------------
1784
+ Icofont::GlyphTest: test_it_stores_and_fetches_glyphs
1785
+ -----------------------------------------------------
1786
+  (0.1ms) rollback transaction
1787
+  (0.0ms) begin transaction
1788
+ ----------------------------------------------------
1789
+ Icofont::GlyphsControllerTest: test_should_get_index
1790
+ ----------------------------------------------------
1791
+ Processing by Icofont::GlyphsController#index as HTML
1792
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1793
+  (0.1ms) rollback transaction
1794
+  (0.0ms) begin transaction
1795
+ ------------------------------------------------------
1796
+ Icofont::GlyphsControllerTest: test_should_post_update
1797
+ ------------------------------------------------------
1798
+ Processing by Icofont::GlyphsController#update as HTML
1799
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1800
+  (0.0ms) rollback transaction
1801
+  (0.0ms) begin transaction
1802
+ --------------------------------------------------
1803
+ Icofont::HomeControllerTest: test_should_get_index
1804
+ --------------------------------------------------
1805
+ Processing by Icofont::HomeController#index as HTML
1806
+ Completed 200 OK in 22ms (Views: 21.6ms | ActiveRecord: 0.0ms)
1807
+  (0.1ms) rollback transaction
1808
+  (0.0ms) begin transaction
1809
+ ---------------------------------------------------------
1810
+ IcofontGeneratorTest: test_injects_mount_engine_to_routes
1811
+ ---------------------------------------------------------
1812
+  (0.1ms) rollback transaction
1813
+  (0.1ms) begin transaction
1814
+ ----------------------------------------------------------
1815
+ IcofontGeneratorTest: test_the_glyphs_list_file_is_created
1816
+ ----------------------------------------------------------
1817
+  (0.1ms) rollback transaction
1818
+  (0.0ms) begin transaction
1819
+ -----------------------
1820
+ IcofontTest: test_truth
1821
+ -----------------------
1822
+  (0.0ms) rollback transaction
1823
+  (0.2ms) begin transaction
1824
+ -----------------------------------------------------------------
1825
+ Icofont::FontProcessorTest: test_generates_files_in_correct_paths
1826
+ -----------------------------------------------------------------
1827
+  (0.1ms) rollback transaction
1828
+  (0.1ms) begin transaction
1829
+ -----------------------------------------------------
1830
+ Icofont::GlyphTest: test_it_stores_and_fetches_glyphs
1831
+ -----------------------------------------------------
1832
+  (0.1ms) rollback transaction
1833
+  (0.0ms) begin transaction
1834
+ ----------------------------------------------------
1835
+ Icofont::GlyphsControllerTest: test_should_get_index
1836
+ ----------------------------------------------------
1837
+ Processing by Icofont::GlyphsController#index as HTML
1838
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1839
+  (0.1ms) rollback transaction
1840
+  (0.0ms) begin transaction
1841
+ ------------------------------------------------------
1842
+ Icofont::GlyphsControllerTest: test_should_post_update
1843
+ ------------------------------------------------------
1844
+ Processing by Icofont::GlyphsController#update as HTML
1845
+ Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1846
+  (0.1ms) rollback transaction
1847
+  (0.0ms) begin transaction
1848
+ --------------------------------------------------
1849
+ Icofont::HomeControllerTest: test_should_get_index
1850
+ --------------------------------------------------
1851
+ Processing by Icofont::HomeController#index as HTML
1852
+ Completed 200 OK in 23ms (Views: 22.6ms | ActiveRecord: 0.0ms)
1853
+  (0.1ms) rollback transaction
1854
+  (0.0ms) begin transaction
1855
+ ---------------------------------------------------------
1856
+ IcofontGeneratorTest: test_injects_mount_engine_to_routes
1857
+ ---------------------------------------------------------
1858
+  (0.1ms) rollback transaction
1859
+  (0.1ms) begin transaction
1860
+ ----------------------------------------------------------
1861
+ IcofontGeneratorTest: test_the_glyphs_list_file_is_created
1862
+ ----------------------------------------------------------
1863
+  (0.0ms) rollback transaction
1864
+  (0.0ms) begin transaction
1865
+ -----------------------
1866
+ IcofontTest: test_truth
1867
+ -----------------------
1868
+  (0.0ms) rollback transaction
1869
+  (0.2ms) begin transaction
1870
+ -----------------------------------------------------------------
1871
+ Icofont::FontProcessorTest: test_generates_files_in_correct_paths
1872
+ -----------------------------------------------------------------
1873
+  (0.1ms) rollback transaction
1874
+  (0.1ms) begin transaction
1875
+ -----------------------------------------------------
1876
+ Icofont::GlyphTest: test_it_stores_and_fetches_glyphs
1877
+ -----------------------------------------------------
1878
+  (0.1ms) rollback transaction
1879
+  (0.0ms) begin transaction
1880
+ ----------------------------------------------------
1881
+ Icofont::GlyphsControllerTest: test_should_get_index
1882
+ ----------------------------------------------------
1883
+ Processing by Icofont::GlyphsController#index as HTML
1884
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1885
+  (0.1ms) rollback transaction
1886
+  (0.0ms) begin transaction
1887
+ ------------------------------------------------------
1888
+ Icofont::GlyphsControllerTest: test_should_post_update
1889
+ ------------------------------------------------------
1890
+ Processing by Icofont::GlyphsController#update as HTML
1891
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1892
+  (0.0ms) rollback transaction
1893
+  (0.0ms) begin transaction
1894
+ --------------------------------------------------
1895
+ Icofont::HomeControllerTest: test_should_get_index
1896
+ --------------------------------------------------
1897
+ Processing by Icofont::HomeController#index as HTML
1898
+ Completed 200 OK in 23ms (Views: 22.6ms | ActiveRecord: 0.0ms)
1899
+  (0.1ms) rollback transaction
1900
+  (0.1ms) begin transaction
1901
+ ---------------------------------------------------------
1902
+ IcofontGeneratorTest: test_injects_mount_engine_to_routes
1903
+ ---------------------------------------------------------
1904
+  (0.1ms) rollback transaction
1905
+  (0.0ms) begin transaction
1906
+ ----------------------------------------------------------
1907
+ IcofontGeneratorTest: test_the_glyphs_list_file_is_created
1908
+ ----------------------------------------------------------
1909
+  (0.1ms) rollback transaction
1910
+  (0.0ms) begin transaction
1911
+ -----------------------
1912
+ IcofontTest: test_truth
1913
+ -----------------------
1914
+  (0.0ms) rollback transaction
1915
+
1916
+
1917
+ Started GET "/" for 127.0.0.1 at 2014-01-07 20:57:42 +0000
1918
+ Processing by HomeController#index as HTML
1919
+ Rendered home/index.html.erb within layouts/application (1.0ms)
1920
+ Completed 200 OK in 31ms (Views: 30.1ms | ActiveRecord: 0.0ms)
1921
+
1922
+
1923
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-07 20:57:42 +0000
1924
+
1925
+
1926
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-07 20:57:42 +0000
1927
+
1928
+
1929
+ Started GET "/icofont" for 127.0.0.1 at 2014-01-07 20:57:44 +0000
1930
+ Processing by Icofont::HomeController#index as HTML
1931
+ Rendered /Users/arti/ror/icofont/icofont/app/views/icofont/home/index.html.erb within layouts/icofont/application (3.1ms)
1932
+ Completed 200 OK in 38ms (Views: 37.2ms | ActiveRecord: 0.0ms)
1933
+
1934
+
1935
+ Started GET "/assets/icofont/application.css?body=1" for 127.0.0.1 at 2014-01-07 20:57:44 +0000
1936
+
1937
+
1938
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-01-07 20:57:44 +0000
1939
+
1940
+
1941
+ Started GET "/assets/icofont/icofont.js?body=1" for 127.0.0.1 at 2014-01-07 20:57:44 +0000
1942
+
1943
+
1944
+ Started GET "/assets/icofont/application.js?body=1" for 127.0.0.1 at 2014-01-07 20:57:44 +0000
1945
+
1946
+
1947
+ Started GET "/icofont/glyphs" for 127.0.0.1 at 2014-01-07 20:57:44 +0000
1948
+ Processing by Icofont::GlyphsController#index as */*
1949
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1950
+
1951
+
1952
+ Started GET "/assets/icofont/icofont-admin.svg" for 127.0.0.1 at 2014-01-07 20:57:44 +0000
1953
+
1954
+
1955
+ Started GET "/icofont" for 127.0.0.1 at 2014-01-07 20:57:46 +0000
1956
+ Processing by Icofont::HomeController#index as HTML
1957
+ Rendered /Users/arti/ror/icofont/icofont/app/views/icofont/home/index.html.erb within layouts/icofont/application (0.2ms)
1958
+ Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
1959
+
1960
+
1961
+ Started GET "/assets/icofont/application.css?body=1" for 127.0.0.1 at 2014-01-07 20:57:46 +0000
1962
+
1963
+
1964
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-01-07 20:57:46 +0000
1965
+
1966
+
1967
+ Started GET "/assets/icofont/application.js?body=1" for 127.0.0.1 at 2014-01-07 20:57:46 +0000
1968
+
1969
+
1970
+ Started GET "/assets/icofont/icofont.js?body=1" for 127.0.0.1 at 2014-01-07 20:57:46 +0000
1971
+
1972
+
1973
+ Started GET "/icofont/glyphs" for 127.0.0.1 at 2014-01-07 20:57:46 +0000
1974
+ Processing by Icofont::GlyphsController#index as */*
1975
+ Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
1976
+
1977
+
1978
+ Started GET "/assets/icofont/icofont-admin.svg" for 127.0.0.1 at 2014-01-07 20:57:46 +0000
1979
+
1980
+
1981
+ Started POST "/icofont/glyphs/update" for 127.0.0.1 at 2014-01-07 20:57:50 +0000
1982
+ Processing by Icofont::GlyphsController#update as */*
1983
+ Parameters: {"glyphs"=>["accessibility", "address-book", "aid"]}
1984
+ Completed 200 OK in 157ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1985
+
1986
+
1987
+ Started GET "/" for 127.0.0.1 at 2014-01-07 20:57:52 +0000
1988
+ Processing by HomeController#index as HTML
1989
+ Rendered home/index.html.erb within layouts/application (0.1ms)
1990
+ Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
1991
+
1992
+
1993
+ Started GET "/assets/icofont.css?body=1" for 127.0.0.1 at 2014-01-07 20:57:52 +0000
1994
+
1995
+
1996
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-01-07 20:57:52 +0000
1997
+
1998
+
1999
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-01-07 20:57:52 +0000
2000
+
2001
+
2002
+ Started GET "/icofont" for 127.0.0.1 at 2014-01-07 21:01:14 +0000
2003
+ Processing by Icofont::HomeController#index as HTML
2004
+ Rendered /Users/arti/ror/icofont/icofont/app/views/icofont/home/index.html.erb within layouts/icofont/application (3.4ms)
2005
+ Completed 200 OK in 70ms (Views: 69.8ms | ActiveRecord: 0.0ms)
2006
+
2007
+
2008
+ Started GET "/assets/icofont/application.css?body=1" for 127.0.0.1 at 2014-01-07 21:01:14 +0000
2009
+
2010
+
2011
+ Started GET "/assets/icofont/icofont-admin.svg" for 127.0.0.1 at 2014-01-07 21:01:15 +0000
2012
+
2013
+
2014
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-01-07 21:01:15 +0000
2015
+
2016
+
2017
+ Started GET "/assets/icofont/application.js?body=1" for 127.0.0.1 at 2014-01-07 21:01:15 +0000
2018
+
2019
+
2020
+ Started GET "/assets/icofont/icofont.js?body=1" for 127.0.0.1 at 2014-01-07 21:01:15 +0000
2021
+
2022
+
2023
+ Started GET "/icofont/glyphs" for 127.0.0.1 at 2014-01-07 21:01:15 +0000
2024
+ Processing by Icofont::GlyphsController#index as */*
2025
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)