redis_dictionary 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -32,17 +32,7 @@ And finally execute:
32
32
  $ rails g redis_dictionary:install
33
33
  ```
34
34
 
35
- ### IMPORTANT
36
-
37
- If you were installing before 5.10.2013, please remove this line:
38
-
39
- ``` ruby
40
- RedisDictionary::Engine.load!
41
- ```
42
-
43
- from your ```config/initializers/redis_dictionary.rb``` to ```config/environment.rb```
44
- (now just reinstall and everything should be fine)
45
- Sorry for the inconvinience, and do not be affraid to write me if you need some help :)
35
+ after install, look into initializer that was created for you, for now I added menu config in there
46
36
 
47
37
 
48
38
  ## Thanks
@@ -21,16 +21,15 @@
21
21
  <a href="<%= translations_path %>"><%= yield(:title) %></a>
22
22
  </h1>
23
23
 
24
- <div class="navbar">
25
- <div class="navbar-inner">
26
- <%= link_to 'All', translations_path(query: "*"), class: 'btn' %>
27
- <%= link_to 'Activerecord', translations_path(query: "activerecord"), class: 'btn' %>
28
- <%= link_to 'Date / Time', translations_path(query: "date|time"), class: 'btn' %>
29
- <%= link_to 'Error', translations_path(query: "error"), class: 'btn' %>
30
- <%= link_to 'Number', translations_path(query: "number."), class: 'btn' %>
31
- <%= link_to 'Pagination', translations_path(query: "paginate"), class: 'btn' %>
32
- </div>
33
- </div>
24
+ <% if !RedisDictionary::configuration.menu_items.nil? %>
25
+ <div class="navbar">
26
+ <div class="navbar-inner">
27
+ <%RedisDictionary::configuration.menu_items.each do |name, query| %>
28
+ <%= link_to name, translations_path(query: query), class: 'btn' %>
29
+ <% end %>
30
+ </div>
31
+ </div>
32
+ <% end %>
34
33
 
35
34
  <%= yield %>
36
35
  </div>
@@ -14,3 +14,16 @@ RedisDictionary::Engine.redis = TRANSLATION_STORE
14
14
 
15
15
  # default locale
16
16
  I18n.default_locale = :en
17
+
18
+ # you can customize your menu here, you are given examples (name => regexp for search)
19
+ RedisDictionary.configure do |config|
20
+ config.menu_items = {
21
+ 'All' => '*',
22
+ 'Activerecord' => 'activerecord',
23
+ 'Date / Time' => 'date|time',
24
+ 'Error' => 'error',
25
+ 'Number' => 'unmber.',
26
+ 'Pagination' => 'paginate',
27
+ 'Codebooks' => 'codebook',
28
+ }
29
+ end
@@ -2,6 +2,7 @@ require "redis"
2
2
  require 'twitter-bootstrap-rails'
3
3
  require 'jquery-rails'
4
4
  require 'jquery-ui-rails'
5
+ require 'will_paginate'
5
6
  require "redis_dictionary/engine"
6
7
  require "redis_dictionary/configuration"
7
8
 
@@ -12,6 +12,8 @@ module RedisDictionary
12
12
  # Defaults to nil
13
13
  attr_accessor :layout
14
14
 
15
+ attr_accessor :menu_items
16
+
15
17
  def initialize
16
18
  @inline_main_app_named_routes = false
17
19
  end
@@ -1,3 +1,3 @@
1
1
  module RedisDictionary
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -1403,3 +1403,830 @@ Completed 200 OK in 22ms (Views: 20.5ms | ActiveRecord: 0.0ms)
1403
1403
  RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
1404
1404
  ------------------------------------------------------------------------------------
1405
1405
   (0.1ms) rollback transaction
1406
+  (0.5ms) begin transaction
1407
+ -------------------------------------------------------------------------------------
1408
+ RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
1409
+ -------------------------------------------------------------------------------------
1410
+  (0.1ms) rollback transaction
1411
+  (0.1ms) begin transaction
1412
+ ------------------------------------------------------------------------------------------------------
1413
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
1414
+ ------------------------------------------------------------------------------------------------------
1415
+  (0.1ms) rollback transaction
1416
+  (0.1ms) begin transaction
1417
+ -----------------------------------------------------------------------------------------------------------
1418
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
1419
+ -----------------------------------------------------------------------------------------------------------
1420
+  (0.1ms) rollback transaction
1421
+  (0.1ms) begin transaction
1422
+ -------------------------------------------------------------------------
1423
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
1424
+ -------------------------------------------------------------------------
1425
+  (0.1ms) rollback transaction
1426
+  (0.1ms) begin transaction
1427
+ ---------------------------------------------------------------------------------
1428
+ RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
1429
+ ---------------------------------------------------------------------------------
1430
+  (0.1ms) rollback transaction
1431
+  (0.1ms) begin transaction
1432
+ ------------------------------------------------------------------------------------------
1433
+ RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
1434
+ ------------------------------------------------------------------------------------------
1435
+  (0.1ms) rollback transaction
1436
+  (0.1ms) begin transaction
1437
+ ------------------------------------------------------------------
1438
+ RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
1439
+ ------------------------------------------------------------------
1440
+  (0.1ms) rollback transaction
1441
+  (0.1ms) begin transaction
1442
+ -------------------------------------------------------------------------
1443
+ RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
1444
+ -------------------------------------------------------------------------
1445
+  (0.1ms) rollback transaction
1446
+  (0.1ms) begin transaction
1447
+ ---------------------------------------------------------------------------
1448
+ RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
1449
+ ---------------------------------------------------------------------------
1450
+  (0.1ms) rollback transaction
1451
+  (0.1ms) begin transaction
1452
+ ------------------------------------------------------------------------------
1453
+ RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
1454
+ ------------------------------------------------------------------------------
1455
+  (0.1ms) rollback transaction
1456
+  (0.1ms) begin transaction
1457
+ -------------------------------------------------------------------------------
1458
+ RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
1459
+ -------------------------------------------------------------------------------
1460
+  (0.1ms) rollback transaction
1461
+  (0.1ms) begin transaction
1462
+ -----------------------------------------------------------------
1463
+ RedisDictionary::TranslationTest: test_should_create_a_key_digest
1464
+ -----------------------------------------------------------------
1465
+  (0.1ms) rollback transaction
1466
+  (0.1ms) begin transaction
1467
+ ---------------------------------------------------------------------
1468
+ RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
1469
+ ---------------------------------------------------------------------
1470
+  (0.1ms) rollback transaction
1471
+  (0.1ms) begin transaction
1472
+ ----------------------------------------------------------------------
1473
+ RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
1474
+ ----------------------------------------------------------------------
1475
+  (0.1ms) rollback transaction
1476
+  (0.1ms) begin transaction
1477
+ --------------------------------------------------------------------
1478
+ RedisDictionary::TranslationTest: test_should_remove_the_translation
1479
+ --------------------------------------------------------------------
1480
+  (0.1ms) rollback transaction
1481
+  (0.1ms) begin transaction
1482
+ ---------------------------------------------------------------
1483
+ RedisDictionary::TranslationTest: test_should_return_match_keys
1484
+ ---------------------------------------------------------------
1485
+  (0.1ms) rollback transaction
1486
+  (0.1ms) begin transaction
1487
+ -------------------------------------------------------------------------
1488
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
1489
+ -------------------------------------------------------------------------
1490
+  (0.1ms) rollback transaction
1491
+  (0.1ms) begin transaction
1492
+ --------------------------------------------------------------------------------
1493
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
1494
+ --------------------------------------------------------------------------------
1495
+  (0.1ms) rollback transaction
1496
+  (0.1ms) begin transaction
1497
+ -----------------------------------------------------------------------------------------
1498
+ RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
1499
+ -----------------------------------------------------------------------------------------
1500
+  (0.1ms) rollback transaction
1501
+  (0.1ms) begin transaction
1502
+ -------------------------------------------------------------------------------
1503
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_HTML
1504
+ -------------------------------------------------------------------------------
1505
+ Processing by RedisDictionary::TranslationsController#destroy as HTML
1506
+ Redirected to http://test.host/
1507
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1508
+  (0.1ms) rollback transaction
1509
+  (0.1ms) begin transaction
1510
+ -----------------------------------------------------------------------------
1511
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_JS
1512
+ -----------------------------------------------------------------------------
1513
+ Processing by RedisDictionary::TranslationsController#destroy as JS
1514
+ Completed 200 OK in 35ms (Views: 33.8ms | ActiveRecord: 0.0ms)
1515
+  (0.1ms) rollback transaction
1516
+  (0.1ms) begin transaction
1517
+ ----------------------------------------------------------------------------
1518
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_HTML
1519
+ ----------------------------------------------------------------------------
1520
+ Processing by RedisDictionary::TranslationsController#create as HTML
1521
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
1522
+ Redirected to http://test.host/
1523
+ Completed 302 Found in 24ms (ActiveRecord: 0.0ms)
1524
+  (0.1ms) rollback transaction
1525
+  (0.1ms) begin transaction
1526
+ --------------------------------------------------------------------------
1527
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_JS
1528
+ --------------------------------------------------------------------------
1529
+ Processing by RedisDictionary::TranslationsController#create as JS
1530
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
1531
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (9.3ms)
1532
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (2.9ms)
1533
+ Completed 200 OK in 21ms (Views: 20.4ms | ActiveRecord: 0.0ms)
1534
+  (0.1ms) rollback transaction
1535
+  (0.1ms) begin transaction
1536
+ ------------------------------------------------------------------------------------
1537
+ RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
1538
+ ------------------------------------------------------------------------------------
1539
+  (0.1ms) rollback transaction
1540
+  (0.5ms) begin transaction
1541
+ -------------------------------------------------------------------------------------
1542
+ RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
1543
+ -------------------------------------------------------------------------------------
1544
+  (0.1ms) rollback transaction
1545
+  (0.1ms) begin transaction
1546
+ ------------------------------------------------------------------------------------------------------
1547
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
1548
+ ------------------------------------------------------------------------------------------------------
1549
+  (0.1ms) rollback transaction
1550
+  (0.1ms) begin transaction
1551
+ -----------------------------------------------------------------------------------------------------------
1552
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
1553
+ -----------------------------------------------------------------------------------------------------------
1554
+  (0.1ms) rollback transaction
1555
+  (0.1ms) begin transaction
1556
+ -------------------------------------------------------------------------
1557
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
1558
+ -------------------------------------------------------------------------
1559
+  (0.1ms) rollback transaction
1560
+  (0.1ms) begin transaction
1561
+ ---------------------------------------------------------------------------------
1562
+ RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
1563
+ ---------------------------------------------------------------------------------
1564
+  (0.1ms) rollback transaction
1565
+  (0.1ms) begin transaction
1566
+ ------------------------------------------------------------------------------------------
1567
+ RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
1568
+ ------------------------------------------------------------------------------------------
1569
+  (0.0ms) rollback transaction
1570
+  (0.1ms) begin transaction
1571
+ ------------------------------------------------------------------
1572
+ RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
1573
+ ------------------------------------------------------------------
1574
+  (0.0ms) rollback transaction
1575
+  (0.1ms) begin transaction
1576
+ -------------------------------------------------------------------------
1577
+ RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
1578
+ -------------------------------------------------------------------------
1579
+  (0.1ms) rollback transaction
1580
+  (0.1ms) begin transaction
1581
+ ---------------------------------------------------------------------------
1582
+ RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
1583
+ ---------------------------------------------------------------------------
1584
+  (0.1ms) rollback transaction
1585
+  (0.1ms) begin transaction
1586
+ ------------------------------------------------------------------------------
1587
+ RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
1588
+ ------------------------------------------------------------------------------
1589
+  (0.1ms) rollback transaction
1590
+  (0.1ms) begin transaction
1591
+ -------------------------------------------------------------------------------
1592
+ RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
1593
+ -------------------------------------------------------------------------------
1594
+  (0.1ms) rollback transaction
1595
+  (0.1ms) begin transaction
1596
+ -----------------------------------------------------------------
1597
+ RedisDictionary::TranslationTest: test_should_create_a_key_digest
1598
+ -----------------------------------------------------------------
1599
+  (0.1ms) rollback transaction
1600
+  (0.1ms) begin transaction
1601
+ ---------------------------------------------------------------------
1602
+ RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
1603
+ ---------------------------------------------------------------------
1604
+  (0.1ms) rollback transaction
1605
+  (0.1ms) begin transaction
1606
+ ----------------------------------------------------------------------
1607
+ RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
1608
+ ----------------------------------------------------------------------
1609
+  (0.1ms) rollback transaction
1610
+  (0.1ms) begin transaction
1611
+ --------------------------------------------------------------------
1612
+ RedisDictionary::TranslationTest: test_should_remove_the_translation
1613
+ --------------------------------------------------------------------
1614
+  (0.1ms) rollback transaction
1615
+  (0.1ms) begin transaction
1616
+ ---------------------------------------------------------------
1617
+ RedisDictionary::TranslationTest: test_should_return_match_keys
1618
+ ---------------------------------------------------------------
1619
+  (0.1ms) rollback transaction
1620
+  (0.1ms) begin transaction
1621
+ -------------------------------------------------------------------------
1622
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
1623
+ -------------------------------------------------------------------------
1624
+  (0.1ms) rollback transaction
1625
+  (0.1ms) begin transaction
1626
+ --------------------------------------------------------------------------------
1627
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
1628
+ --------------------------------------------------------------------------------
1629
+  (0.1ms) rollback transaction
1630
+  (0.1ms) begin transaction
1631
+ -----------------------------------------------------------------------------------------
1632
+ RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
1633
+ -----------------------------------------------------------------------------------------
1634
+  (0.1ms) rollback transaction
1635
+  (0.1ms) begin transaction
1636
+ -------------------------------------------------------------------------------
1637
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_HTML
1638
+ -------------------------------------------------------------------------------
1639
+ Processing by RedisDictionary::TranslationsController#destroy as HTML
1640
+ Redirected to http://test.host/
1641
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1642
+  (0.1ms) rollback transaction
1643
+  (0.1ms) begin transaction
1644
+ -----------------------------------------------------------------------------
1645
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_JS
1646
+ -----------------------------------------------------------------------------
1647
+ Processing by RedisDictionary::TranslationsController#destroy as JS
1648
+ Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.0ms)
1649
+  (0.1ms) rollback transaction
1650
+  (0.1ms) begin transaction
1651
+ ----------------------------------------------------------------------------
1652
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_HTML
1653
+ ----------------------------------------------------------------------------
1654
+ Processing by RedisDictionary::TranslationsController#create as HTML
1655
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
1656
+ Redirected to http://test.host/
1657
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1658
+  (0.1ms) rollback transaction
1659
+  (0.1ms) begin transaction
1660
+ --------------------------------------------------------------------------
1661
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_JS
1662
+ --------------------------------------------------------------------------
1663
+ Processing by RedisDictionary::TranslationsController#create as JS
1664
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
1665
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (7.8ms)
1666
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (3.6ms)
1667
+ Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.0ms)
1668
+  (0.1ms) rollback transaction
1669
+  (0.1ms) begin transaction
1670
+ ------------------------------------------------------------------------------------
1671
+ RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
1672
+ ------------------------------------------------------------------------------------
1673
+  (0.1ms) rollback transaction
1674
+  (0.1ms) begin transaction
1675
+ ----------------------------------------
1676
+ TranslationsTest: test_load_translations
1677
+ ----------------------------------------
1678
+ Started GET "/" for 127.0.0.1 at 2013-10-05 22:03:10 +0200
1679
+ Processing by RedisDictionary::TranslationsController#index as HTML
1680
+ Completed 500 Internal Server Error in 75ms
1681
+  (0.2ms) rollback transaction
1682
+  (0.4ms) begin transaction
1683
+ -------------------------------------------------------------------------------------
1684
+ RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
1685
+ -------------------------------------------------------------------------------------
1686
+  (0.1ms) rollback transaction
1687
+  (0.1ms) begin transaction
1688
+ ------------------------------------------------------------------------------------------------------
1689
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
1690
+ ------------------------------------------------------------------------------------------------------
1691
+  (0.1ms) rollback transaction
1692
+  (0.1ms) begin transaction
1693
+ -----------------------------------------------------------------------------------------------------------
1694
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
1695
+ -----------------------------------------------------------------------------------------------------------
1696
+  (0.1ms) rollback transaction
1697
+  (0.1ms) begin transaction
1698
+ -------------------------------------------------------------------------
1699
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
1700
+ -------------------------------------------------------------------------
1701
+  (0.1ms) rollback transaction
1702
+  (0.1ms) begin transaction
1703
+ ---------------------------------------------------------------------------------
1704
+ RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
1705
+ ---------------------------------------------------------------------------------
1706
+  (0.1ms) rollback transaction
1707
+  (0.1ms) begin transaction
1708
+ ------------------------------------------------------------------------------------------
1709
+ RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
1710
+ ------------------------------------------------------------------------------------------
1711
+  (0.1ms) rollback transaction
1712
+  (0.1ms) begin transaction
1713
+ ------------------------------------------------------------------
1714
+ RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
1715
+ ------------------------------------------------------------------
1716
+  (0.0ms) rollback transaction
1717
+  (0.1ms) begin transaction
1718
+ -------------------------------------------------------------------------
1719
+ RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
1720
+ -------------------------------------------------------------------------
1721
+  (0.1ms) rollback transaction
1722
+  (0.1ms) begin transaction
1723
+ ---------------------------------------------------------------------------
1724
+ RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
1725
+ ---------------------------------------------------------------------------
1726
+  (0.2ms) rollback transaction
1727
+  (0.1ms) begin transaction
1728
+ ------------------------------------------------------------------------------
1729
+ RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
1730
+ ------------------------------------------------------------------------------
1731
+  (0.1ms) rollback transaction
1732
+  (0.1ms) begin transaction
1733
+ -------------------------------------------------------------------------------
1734
+ RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
1735
+ -------------------------------------------------------------------------------
1736
+  (0.1ms) rollback transaction
1737
+  (0.1ms) begin transaction
1738
+ -----------------------------------------------------------------
1739
+ RedisDictionary::TranslationTest: test_should_create_a_key_digest
1740
+ -----------------------------------------------------------------
1741
+  (0.1ms) rollback transaction
1742
+  (0.1ms) begin transaction
1743
+ ---------------------------------------------------------------------
1744
+ RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
1745
+ ---------------------------------------------------------------------
1746
+  (0.1ms) rollback transaction
1747
+  (0.1ms) begin transaction
1748
+ ----------------------------------------------------------------------
1749
+ RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
1750
+ ----------------------------------------------------------------------
1751
+  (0.1ms) rollback transaction
1752
+  (0.1ms) begin transaction
1753
+ --------------------------------------------------------------------
1754
+ RedisDictionary::TranslationTest: test_should_remove_the_translation
1755
+ --------------------------------------------------------------------
1756
+  (0.1ms) rollback transaction
1757
+  (0.1ms) begin transaction
1758
+ ---------------------------------------------------------------
1759
+ RedisDictionary::TranslationTest: test_should_return_match_keys
1760
+ ---------------------------------------------------------------
1761
+  (0.1ms) rollback transaction
1762
+  (0.1ms) begin transaction
1763
+ -------------------------------------------------------------------------
1764
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
1765
+ -------------------------------------------------------------------------
1766
+  (0.1ms) rollback transaction
1767
+  (0.1ms) begin transaction
1768
+ --------------------------------------------------------------------------------
1769
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
1770
+ --------------------------------------------------------------------------------
1771
+  (0.1ms) rollback transaction
1772
+  (0.1ms) begin transaction
1773
+ -----------------------------------------------------------------------------------------
1774
+ RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
1775
+ -----------------------------------------------------------------------------------------
1776
+  (0.1ms) rollback transaction
1777
+  (0.1ms) begin transaction
1778
+ -------------------------------------------------------------------------------
1779
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_HTML
1780
+ -------------------------------------------------------------------------------
1781
+ Processing by RedisDictionary::TranslationsController#destroy as HTML
1782
+ Redirected to http://test.host/
1783
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
1784
+  (0.1ms) rollback transaction
1785
+  (0.1ms) begin transaction
1786
+ -----------------------------------------------------------------------------
1787
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_JS
1788
+ -----------------------------------------------------------------------------
1789
+ Processing by RedisDictionary::TranslationsController#destroy as JS
1790
+ Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)
1791
+  (0.1ms) rollback transaction
1792
+  (0.1ms) begin transaction
1793
+ ----------------------------------------------------------------------------
1794
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_HTML
1795
+ ----------------------------------------------------------------------------
1796
+ Processing by RedisDictionary::TranslationsController#create as HTML
1797
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
1798
+ Redirected to http://test.host/
1799
+ Completed 302 Found in 24ms (ActiveRecord: 0.0ms)
1800
+  (0.1ms) rollback transaction
1801
+  (0.1ms) begin transaction
1802
+ --------------------------------------------------------------------------
1803
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_JS
1804
+ --------------------------------------------------------------------------
1805
+ Processing by RedisDictionary::TranslationsController#create as JS
1806
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
1807
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (8.2ms)
1808
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (2.5ms)
1809
+ Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.0ms)
1810
+  (0.1ms) rollback transaction
1811
+  (0.1ms) begin transaction
1812
+ ------------------------------------------------------------------------------------
1813
+ RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
1814
+ ------------------------------------------------------------------------------------
1815
+  (0.1ms) rollback transaction
1816
+  (0.4ms) begin transaction
1817
+ -------------------------------------------------------------------------------------
1818
+ RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
1819
+ -------------------------------------------------------------------------------------
1820
+  (0.1ms) rollback transaction
1821
+  (0.1ms) begin transaction
1822
+ ------------------------------------------------------------------------------------------------------
1823
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
1824
+ ------------------------------------------------------------------------------------------------------
1825
+  (0.1ms) rollback transaction
1826
+  (0.1ms) begin transaction
1827
+ -----------------------------------------------------------------------------------------------------------
1828
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
1829
+ -----------------------------------------------------------------------------------------------------------
1830
+  (0.1ms) rollback transaction
1831
+  (0.1ms) begin transaction
1832
+ -------------------------------------------------------------------------
1833
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
1834
+ -------------------------------------------------------------------------
1835
+  (0.1ms) rollback transaction
1836
+  (0.1ms) begin transaction
1837
+ ---------------------------------------------------------------------------------
1838
+ RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
1839
+ ---------------------------------------------------------------------------------
1840
+  (0.1ms) rollback transaction
1841
+  (0.1ms) begin transaction
1842
+ ------------------------------------------------------------------------------------------
1843
+ RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
1844
+ ------------------------------------------------------------------------------------------
1845
+  (0.0ms) rollback transaction
1846
+  (0.0ms) begin transaction
1847
+ ------------------------------------------------------------------
1848
+ RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
1849
+ ------------------------------------------------------------------
1850
+  (0.0ms) rollback transaction
1851
+  (0.0ms) begin transaction
1852
+ -------------------------------------------------------------------------
1853
+ RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
1854
+ -------------------------------------------------------------------------
1855
+  (0.1ms) rollback transaction
1856
+  (0.1ms) begin transaction
1857
+ ---------------------------------------------------------------------------
1858
+ RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
1859
+ ---------------------------------------------------------------------------
1860
+  (0.2ms) rollback transaction
1861
+  (0.1ms) begin transaction
1862
+ ------------------------------------------------------------------------------
1863
+ RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
1864
+ ------------------------------------------------------------------------------
1865
+  (0.1ms) rollback transaction
1866
+  (0.1ms) begin transaction
1867
+ -------------------------------------------------------------------------------
1868
+ RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
1869
+ -------------------------------------------------------------------------------
1870
+  (0.1ms) rollback transaction
1871
+  (0.1ms) begin transaction
1872
+ -----------------------------------------------------------------
1873
+ RedisDictionary::TranslationTest: test_should_create_a_key_digest
1874
+ -----------------------------------------------------------------
1875
+  (0.1ms) rollback transaction
1876
+  (0.1ms) begin transaction
1877
+ ---------------------------------------------------------------------
1878
+ RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
1879
+ ---------------------------------------------------------------------
1880
+  (0.1ms) rollback transaction
1881
+  (0.1ms) begin transaction
1882
+ ----------------------------------------------------------------------
1883
+ RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
1884
+ ----------------------------------------------------------------------
1885
+  (0.1ms) rollback transaction
1886
+  (0.1ms) begin transaction
1887
+ --------------------------------------------------------------------
1888
+ RedisDictionary::TranslationTest: test_should_remove_the_translation
1889
+ --------------------------------------------------------------------
1890
+  (0.1ms) rollback transaction
1891
+  (0.1ms) begin transaction
1892
+ ---------------------------------------------------------------
1893
+ RedisDictionary::TranslationTest: test_should_return_match_keys
1894
+ ---------------------------------------------------------------
1895
+  (0.1ms) rollback transaction
1896
+  (0.1ms) begin transaction
1897
+ -------------------------------------------------------------------------
1898
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
1899
+ -------------------------------------------------------------------------
1900
+  (0.1ms) rollback transaction
1901
+  (0.1ms) begin transaction
1902
+ --------------------------------------------------------------------------------
1903
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
1904
+ --------------------------------------------------------------------------------
1905
+  (0.1ms) rollback transaction
1906
+  (0.1ms) begin transaction
1907
+ -----------------------------------------------------------------------------------------
1908
+ RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
1909
+ -----------------------------------------------------------------------------------------
1910
+  (0.1ms) rollback transaction
1911
+  (0.1ms) begin transaction
1912
+ -------------------------------------------------------------------------------
1913
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_HTML
1914
+ -------------------------------------------------------------------------------
1915
+ Processing by RedisDictionary::TranslationsController#destroy as HTML
1916
+ Redirected to http://test.host/
1917
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
1918
+  (0.1ms) rollback transaction
1919
+  (0.1ms) begin transaction
1920
+ -----------------------------------------------------------------------------
1921
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_JS
1922
+ -----------------------------------------------------------------------------
1923
+ Processing by RedisDictionary::TranslationsController#destroy as JS
1924
+ Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.0ms)
1925
+  (0.1ms) rollback transaction
1926
+  (0.1ms) begin transaction
1927
+ ----------------------------------------------------------------------------
1928
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_HTML
1929
+ ----------------------------------------------------------------------------
1930
+ Processing by RedisDictionary::TranslationsController#create as HTML
1931
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
1932
+ Redirected to http://test.host/
1933
+ Completed 302 Found in 25ms (ActiveRecord: 0.0ms)
1934
+  (0.1ms) rollback transaction
1935
+  (0.1ms) begin transaction
1936
+ --------------------------------------------------------------------------
1937
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_JS
1938
+ --------------------------------------------------------------------------
1939
+ Processing by RedisDictionary::TranslationsController#create as JS
1940
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
1941
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (8.1ms)
1942
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (3.7ms)
1943
+ Completed 200 OK in 20ms (Views: 18.4ms | ActiveRecord: 0.0ms)
1944
+  (0.1ms) rollback transaction
1945
+  (0.1ms) begin transaction
1946
+ ------------------------------------------------------------------------------------
1947
+ RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
1948
+ ------------------------------------------------------------------------------------
1949
+  (0.1ms) rollback transaction
1950
+  (0.1ms) begin transaction
1951
+ --------------------------------------------
1952
+ TranslationsTest: test_destroy_a_translation
1953
+ --------------------------------------------
1954
+  (0.1ms) rollback transaction
1955
+  (0.4ms) begin transaction
1956
+ -------------------------------------------------------------------------------------
1957
+ RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
1958
+ -------------------------------------------------------------------------------------
1959
+  (0.1ms) rollback transaction
1960
+  (0.1ms) begin transaction
1961
+ ------------------------------------------------------------------------------------------------------
1962
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
1963
+ ------------------------------------------------------------------------------------------------------
1964
+  (0.1ms) rollback transaction
1965
+  (0.1ms) begin transaction
1966
+ -----------------------------------------------------------------------------------------------------------
1967
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
1968
+ -----------------------------------------------------------------------------------------------------------
1969
+  (0.1ms) rollback transaction
1970
+  (0.1ms) begin transaction
1971
+ -------------------------------------------------------------------------
1972
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
1973
+ -------------------------------------------------------------------------
1974
+  (0.1ms) rollback transaction
1975
+  (0.1ms) begin transaction
1976
+ ---------------------------------------------------------------------------------
1977
+ RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
1978
+ ---------------------------------------------------------------------------------
1979
+  (0.1ms) rollback transaction
1980
+  (0.1ms) begin transaction
1981
+ ------------------------------------------------------------------------------------------
1982
+ RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
1983
+ ------------------------------------------------------------------------------------------
1984
+  (0.1ms) rollback transaction
1985
+  (0.0ms) begin transaction
1986
+ ------------------------------------------------------------------
1987
+ RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
1988
+ ------------------------------------------------------------------
1989
+  (0.0ms) rollback transaction
1990
+  (0.1ms) begin transaction
1991
+ -------------------------------------------------------------------------
1992
+ RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
1993
+ -------------------------------------------------------------------------
1994
+  (0.1ms) rollback transaction
1995
+  (0.1ms) begin transaction
1996
+ ---------------------------------------------------------------------------
1997
+ RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
1998
+ ---------------------------------------------------------------------------
1999
+  (0.1ms) rollback transaction
2000
+  (0.1ms) begin transaction
2001
+ ------------------------------------------------------------------------------
2002
+ RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
2003
+ ------------------------------------------------------------------------------
2004
+  (0.1ms) rollback transaction
2005
+  (0.1ms) begin transaction
2006
+ -------------------------------------------------------------------------------
2007
+ RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
2008
+ -------------------------------------------------------------------------------
2009
+  (0.1ms) rollback transaction
2010
+  (0.1ms) begin transaction
2011
+ -----------------------------------------------------------------
2012
+ RedisDictionary::TranslationTest: test_should_create_a_key_digest
2013
+ -----------------------------------------------------------------
2014
+  (0.1ms) rollback transaction
2015
+  (0.1ms) begin transaction
2016
+ ---------------------------------------------------------------------
2017
+ RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
2018
+ ---------------------------------------------------------------------
2019
+  (0.1ms) rollback transaction
2020
+  (0.1ms) begin transaction
2021
+ ----------------------------------------------------------------------
2022
+ RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
2023
+ ----------------------------------------------------------------------
2024
+  (0.1ms) rollback transaction
2025
+  (0.1ms) begin transaction
2026
+ --------------------------------------------------------------------
2027
+ RedisDictionary::TranslationTest: test_should_remove_the_translation
2028
+ --------------------------------------------------------------------
2029
+  (0.1ms) rollback transaction
2030
+  (0.1ms) begin transaction
2031
+ ---------------------------------------------------------------
2032
+ RedisDictionary::TranslationTest: test_should_return_match_keys
2033
+ ---------------------------------------------------------------
2034
+  (0.1ms) rollback transaction
2035
+  (0.1ms) begin transaction
2036
+ -------------------------------------------------------------------------
2037
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
2038
+ -------------------------------------------------------------------------
2039
+  (0.1ms) rollback transaction
2040
+  (0.1ms) begin transaction
2041
+ --------------------------------------------------------------------------------
2042
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
2043
+ --------------------------------------------------------------------------------
2044
+  (0.1ms) rollback transaction
2045
+  (0.1ms) begin transaction
2046
+ -----------------------------------------------------------------------------------------
2047
+ RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
2048
+ -----------------------------------------------------------------------------------------
2049
+  (0.1ms) rollback transaction
2050
+  (0.1ms) begin transaction
2051
+ -------------------------------------------------------------------------------
2052
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_HTML
2053
+ -------------------------------------------------------------------------------
2054
+ Processing by RedisDictionary::TranslationsController#destroy as HTML
2055
+ Redirected to http://test.host/
2056
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
2057
+  (0.1ms) rollback transaction
2058
+  (0.1ms) begin transaction
2059
+ -----------------------------------------------------------------------------
2060
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_JS
2061
+ -----------------------------------------------------------------------------
2062
+ Processing by RedisDictionary::TranslationsController#destroy as JS
2063
+ Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms)
2064
+  (0.1ms) rollback transaction
2065
+  (0.1ms) begin transaction
2066
+ ----------------------------------------------------------------------------
2067
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_HTML
2068
+ ----------------------------------------------------------------------------
2069
+ Processing by RedisDictionary::TranslationsController#create as HTML
2070
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
2071
+ Redirected to http://test.host/
2072
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
2073
+  (0.1ms) rollback transaction
2074
+  (0.1ms) begin transaction
2075
+ --------------------------------------------------------------------------
2076
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_JS
2077
+ --------------------------------------------------------------------------
2078
+ Processing by RedisDictionary::TranslationsController#create as JS
2079
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
2080
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (8.5ms)
2081
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (3.1ms)
2082
+ Completed 200 OK in 19ms (Views: 18.0ms | ActiveRecord: 0.0ms)
2083
+  (0.1ms) rollback transaction
2084
+  (0.1ms) begin transaction
2085
+ ------------------------------------------------------------------------------------
2086
+ RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
2087
+ ------------------------------------------------------------------------------------
2088
+  (0.1ms) rollback transaction
2089
+  (0.1ms) begin transaction
2090
+ --------------------------------------------
2091
+ TranslationsTest: test_destroy_a_translation
2092
+ --------------------------------------------
2093
+  (0.1ms) rollback transaction
2094
+  (0.3ms) begin transaction
2095
+ -------------------------------------------------------------------------------------
2096
+ RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
2097
+ -------------------------------------------------------------------------------------
2098
+  (0.1ms) rollback transaction
2099
+  (0.1ms) begin transaction
2100
+ ------------------------------------------------------------------------------------------------------
2101
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
2102
+ ------------------------------------------------------------------------------------------------------
2103
+  (0.1ms) rollback transaction
2104
+  (0.1ms) begin transaction
2105
+ -----------------------------------------------------------------------------------------------------------
2106
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
2107
+ -----------------------------------------------------------------------------------------------------------
2108
+  (0.1ms) rollback transaction
2109
+  (0.1ms) begin transaction
2110
+ -------------------------------------------------------------------------
2111
+ RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
2112
+ -------------------------------------------------------------------------
2113
+  (0.1ms) rollback transaction
2114
+  (0.1ms) begin transaction
2115
+ ---------------------------------------------------------------------------------
2116
+ RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
2117
+ ---------------------------------------------------------------------------------
2118
+  (0.1ms) rollback transaction
2119
+  (0.1ms) begin transaction
2120
+ ------------------------------------------------------------------------------------------
2121
+ RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
2122
+ ------------------------------------------------------------------------------------------
2123
+  (0.1ms) rollback transaction
2124
+  (0.1ms) begin transaction
2125
+ ------------------------------------------------------------------
2126
+ RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
2127
+ ------------------------------------------------------------------
2128
+  (0.1ms) rollback transaction
2129
+  (0.0ms) begin transaction
2130
+ -------------------------------------------------------------------------
2131
+ RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
2132
+ -------------------------------------------------------------------------
2133
+  (0.1ms) rollback transaction
2134
+  (0.1ms) begin transaction
2135
+ ---------------------------------------------------------------------------
2136
+ RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
2137
+ ---------------------------------------------------------------------------
2138
+  (0.1ms) rollback transaction
2139
+  (0.1ms) begin transaction
2140
+ ------------------------------------------------------------------------------
2141
+ RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
2142
+ ------------------------------------------------------------------------------
2143
+  (0.1ms) rollback transaction
2144
+  (0.1ms) begin transaction
2145
+ -------------------------------------------------------------------------------
2146
+ RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
2147
+ -------------------------------------------------------------------------------
2148
+  (0.1ms) rollback transaction
2149
+  (0.1ms) begin transaction
2150
+ -----------------------------------------------------------------
2151
+ RedisDictionary::TranslationTest: test_should_create_a_key_digest
2152
+ -----------------------------------------------------------------
2153
+  (0.1ms) rollback transaction
2154
+  (0.1ms) begin transaction
2155
+ ---------------------------------------------------------------------
2156
+ RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
2157
+ ---------------------------------------------------------------------
2158
+  (0.1ms) rollback transaction
2159
+  (0.1ms) begin transaction
2160
+ ----------------------------------------------------------------------
2161
+ RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
2162
+ ----------------------------------------------------------------------
2163
+  (0.1ms) rollback transaction
2164
+  (0.1ms) begin transaction
2165
+ --------------------------------------------------------------------
2166
+ RedisDictionary::TranslationTest: test_should_remove_the_translation
2167
+ --------------------------------------------------------------------
2168
+  (0.1ms) rollback transaction
2169
+  (0.1ms) begin transaction
2170
+ ---------------------------------------------------------------
2171
+ RedisDictionary::TranslationTest: test_should_return_match_keys
2172
+ ---------------------------------------------------------------
2173
+  (0.1ms) rollback transaction
2174
+  (0.1ms) begin transaction
2175
+ -------------------------------------------------------------------------
2176
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
2177
+ -------------------------------------------------------------------------
2178
+  (0.1ms) rollback transaction
2179
+  (0.1ms) begin transaction
2180
+ --------------------------------------------------------------------------------
2181
+ RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
2182
+ --------------------------------------------------------------------------------
2183
+  (0.1ms) rollback transaction
2184
+  (0.1ms) begin transaction
2185
+ -----------------------------------------------------------------------------------------
2186
+ RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
2187
+ -----------------------------------------------------------------------------------------
2188
+  (0.1ms) rollback transaction
2189
+  (0.1ms) begin transaction
2190
+ -------------------------------------------------------------------------------
2191
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_HTML
2192
+ -------------------------------------------------------------------------------
2193
+ Processing by RedisDictionary::TranslationsController#destroy as HTML
2194
+ Redirected to http://test.host/
2195
+ Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
2196
+  (0.1ms) rollback transaction
2197
+  (0.1ms) begin transaction
2198
+ -----------------------------------------------------------------------------
2199
+ RedisDictionary::TranslationsControllerTest: test_should_delete_destroy_as_JS
2200
+ -----------------------------------------------------------------------------
2201
+ Processing by RedisDictionary::TranslationsController#destroy as JS
2202
+ Completed 200 OK in 15ms (Views: 13.0ms | ActiveRecord: 0.0ms)
2203
+  (0.1ms) rollback transaction
2204
+  (0.1ms) begin transaction
2205
+ ----------------------------------------------------------------------------
2206
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_HTML
2207
+ ----------------------------------------------------------------------------
2208
+ Processing by RedisDictionary::TranslationsController#create as HTML
2209
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
2210
+ Redirected to http://test.host/
2211
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
2212
+  (0.1ms) rollback transaction
2213
+  (0.1ms) begin transaction
2214
+ --------------------------------------------------------------------------
2215
+ RedisDictionary::TranslationsControllerTest: test_should_post_create_as_JS
2216
+ --------------------------------------------------------------------------
2217
+ Processing by RedisDictionary::TranslationsController#create as JS
2218
+ Parameters: {"key"=>"test.lol", "value"=>"lol", "locale"=>"es"}
2219
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (7.8ms)
2220
+ Rendered /Users/Redrick/Projects/redis_dictionary/app/views/redis_dictionary/translations/_key_translation.html.erb (2.7ms)
2221
+ Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.0ms)
2222
+  (0.1ms) rollback transaction
2223
+  (0.1ms) begin transaction
2224
+ ------------------------------------------------------------------------------------
2225
+ RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
2226
+ ------------------------------------------------------------------------------------
2227
+  (0.1ms) rollback transaction
2228
+  (0.1ms) begin transaction
2229
+ --------------------------------------------
2230
+ TranslationsTest: test_destroy_a_translation
2231
+ --------------------------------------------
2232
+  (0.2ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_dictionary
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-10-05 00:00:00.000000000 Z
14
+ date: 2013-10-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails