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 +1 -11
- data/app/views/layouts/redis_dictionary/application.html.erb +9 -10
- data/lib/generators/redis_dictionary/install/templates/redis_dictionary.rb.erb +13 -0
- data/lib/redis_dictionary.rb +1 -0
- data/lib/redis_dictionary/configuration.rb +2 -0
- data/lib/redis_dictionary/version.rb +1 -1
- data/test/dummy/log/test.log +827 -0
- metadata +2 -2
data/README.md
CHANGED
@@ -32,17 +32,7 @@ And finally execute:
|
|
32
32
|
$ rails g redis_dictionary:install
|
33
33
|
```
|
34
34
|
|
35
|
-
|
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
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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
|
data/lib/redis_dictionary.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -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
|
[1m[35m (0.1ms)[0m rollback transaction
|
1406
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1407
|
+
-------------------------------------------------------------------------------------
|
1408
|
+
RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
|
1409
|
+
-------------------------------------------------------------------------------------
|
1410
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1412
|
+
------------------------------------------------------------------------------------------------------
|
1413
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
|
1414
|
+
------------------------------------------------------------------------------------------------------
|
1415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1417
|
+
-----------------------------------------------------------------------------------------------------------
|
1418
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
|
1419
|
+
-----------------------------------------------------------------------------------------------------------
|
1420
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1422
|
+
-------------------------------------------------------------------------
|
1423
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
|
1424
|
+
-------------------------------------------------------------------------
|
1425
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1426
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1427
|
+
---------------------------------------------------------------------------------
|
1428
|
+
RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
|
1429
|
+
---------------------------------------------------------------------------------
|
1430
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1431
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1432
|
+
------------------------------------------------------------------------------------------
|
1433
|
+
RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
|
1434
|
+
------------------------------------------------------------------------------------------
|
1435
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1436
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1437
|
+
------------------------------------------------------------------
|
1438
|
+
RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
|
1439
|
+
------------------------------------------------------------------
|
1440
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1441
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1442
|
+
-------------------------------------------------------------------------
|
1443
|
+
RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
|
1444
|
+
-------------------------------------------------------------------------
|
1445
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1446
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1447
|
+
---------------------------------------------------------------------------
|
1448
|
+
RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
|
1449
|
+
---------------------------------------------------------------------------
|
1450
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1451
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1452
|
+
------------------------------------------------------------------------------
|
1453
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
|
1454
|
+
------------------------------------------------------------------------------
|
1455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1457
|
+
-------------------------------------------------------------------------------
|
1458
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
|
1459
|
+
-------------------------------------------------------------------------------
|
1460
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1462
|
+
-----------------------------------------------------------------
|
1463
|
+
RedisDictionary::TranslationTest: test_should_create_a_key_digest
|
1464
|
+
-----------------------------------------------------------------
|
1465
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1466
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1467
|
+
---------------------------------------------------------------------
|
1468
|
+
RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
|
1469
|
+
---------------------------------------------------------------------
|
1470
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1471
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1472
|
+
----------------------------------------------------------------------
|
1473
|
+
RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
|
1474
|
+
----------------------------------------------------------------------
|
1475
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1476
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1477
|
+
--------------------------------------------------------------------
|
1478
|
+
RedisDictionary::TranslationTest: test_should_remove_the_translation
|
1479
|
+
--------------------------------------------------------------------
|
1480
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1481
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1482
|
+
---------------------------------------------------------------
|
1483
|
+
RedisDictionary::TranslationTest: test_should_return_match_keys
|
1484
|
+
---------------------------------------------------------------
|
1485
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1486
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1487
|
+
-------------------------------------------------------------------------
|
1488
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
|
1489
|
+
-------------------------------------------------------------------------
|
1490
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1491
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1492
|
+
--------------------------------------------------------------------------------
|
1493
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
|
1494
|
+
--------------------------------------------------------------------------------
|
1495
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1496
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1497
|
+
-----------------------------------------------------------------------------------------
|
1498
|
+
RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
|
1499
|
+
-----------------------------------------------------------------------------------------
|
1500
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1501
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1509
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1516
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1525
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1535
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1536
|
+
------------------------------------------------------------------------------------
|
1537
|
+
RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
|
1538
|
+
------------------------------------------------------------------------------------
|
1539
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1540
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1541
|
+
-------------------------------------------------------------------------------------
|
1542
|
+
RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
|
1543
|
+
-------------------------------------------------------------------------------------
|
1544
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1545
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1546
|
+
------------------------------------------------------------------------------------------------------
|
1547
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
|
1548
|
+
------------------------------------------------------------------------------------------------------
|
1549
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1550
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1551
|
+
-----------------------------------------------------------------------------------------------------------
|
1552
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
|
1553
|
+
-----------------------------------------------------------------------------------------------------------
|
1554
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1555
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1556
|
+
-------------------------------------------------------------------------
|
1557
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
|
1558
|
+
-------------------------------------------------------------------------
|
1559
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1561
|
+
---------------------------------------------------------------------------------
|
1562
|
+
RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
|
1563
|
+
---------------------------------------------------------------------------------
|
1564
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1565
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1566
|
+
------------------------------------------------------------------------------------------
|
1567
|
+
RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
|
1568
|
+
------------------------------------------------------------------------------------------
|
1569
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1570
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1571
|
+
------------------------------------------------------------------
|
1572
|
+
RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
|
1573
|
+
------------------------------------------------------------------
|
1574
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1575
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1576
|
+
-------------------------------------------------------------------------
|
1577
|
+
RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
|
1578
|
+
-------------------------------------------------------------------------
|
1579
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1581
|
+
---------------------------------------------------------------------------
|
1582
|
+
RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
|
1583
|
+
---------------------------------------------------------------------------
|
1584
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1585
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1586
|
+
------------------------------------------------------------------------------
|
1587
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
|
1588
|
+
------------------------------------------------------------------------------
|
1589
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1591
|
+
-------------------------------------------------------------------------------
|
1592
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
|
1593
|
+
-------------------------------------------------------------------------------
|
1594
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1595
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1596
|
+
-----------------------------------------------------------------
|
1597
|
+
RedisDictionary::TranslationTest: test_should_create_a_key_digest
|
1598
|
+
-----------------------------------------------------------------
|
1599
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1601
|
+
---------------------------------------------------------------------
|
1602
|
+
RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
|
1603
|
+
---------------------------------------------------------------------
|
1604
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1605
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1606
|
+
----------------------------------------------------------------------
|
1607
|
+
RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
|
1608
|
+
----------------------------------------------------------------------
|
1609
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1610
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1611
|
+
--------------------------------------------------------------------
|
1612
|
+
RedisDictionary::TranslationTest: test_should_remove_the_translation
|
1613
|
+
--------------------------------------------------------------------
|
1614
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1615
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1616
|
+
---------------------------------------------------------------
|
1617
|
+
RedisDictionary::TranslationTest: test_should_return_match_keys
|
1618
|
+
---------------------------------------------------------------
|
1619
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1620
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1621
|
+
-------------------------------------------------------------------------
|
1622
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
|
1623
|
+
-------------------------------------------------------------------------
|
1624
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1625
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1626
|
+
--------------------------------------------------------------------------------
|
1627
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
|
1628
|
+
--------------------------------------------------------------------------------
|
1629
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1630
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1631
|
+
-----------------------------------------------------------------------------------------
|
1632
|
+
RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
|
1633
|
+
-----------------------------------------------------------------------------------------
|
1634
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1635
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1643
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1650
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1659
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1669
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1670
|
+
------------------------------------------------------------------------------------
|
1671
|
+
RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
|
1672
|
+
------------------------------------------------------------------------------------
|
1673
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1674
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1682
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1683
|
+
-------------------------------------------------------------------------------------
|
1684
|
+
RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
|
1685
|
+
-------------------------------------------------------------------------------------
|
1686
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1687
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1688
|
+
------------------------------------------------------------------------------------------------------
|
1689
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
|
1690
|
+
------------------------------------------------------------------------------------------------------
|
1691
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1692
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1693
|
+
-----------------------------------------------------------------------------------------------------------
|
1694
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
|
1695
|
+
-----------------------------------------------------------------------------------------------------------
|
1696
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1697
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1698
|
+
-------------------------------------------------------------------------
|
1699
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
|
1700
|
+
-------------------------------------------------------------------------
|
1701
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1702
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1703
|
+
---------------------------------------------------------------------------------
|
1704
|
+
RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
|
1705
|
+
---------------------------------------------------------------------------------
|
1706
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1708
|
+
------------------------------------------------------------------------------------------
|
1709
|
+
RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
|
1710
|
+
------------------------------------------------------------------------------------------
|
1711
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1712
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1713
|
+
------------------------------------------------------------------
|
1714
|
+
RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
|
1715
|
+
------------------------------------------------------------------
|
1716
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1718
|
+
-------------------------------------------------------------------------
|
1719
|
+
RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
|
1720
|
+
-------------------------------------------------------------------------
|
1721
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1722
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1723
|
+
---------------------------------------------------------------------------
|
1724
|
+
RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
|
1725
|
+
---------------------------------------------------------------------------
|
1726
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1727
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1728
|
+
------------------------------------------------------------------------------
|
1729
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
|
1730
|
+
------------------------------------------------------------------------------
|
1731
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1732
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1733
|
+
-------------------------------------------------------------------------------
|
1734
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
|
1735
|
+
-------------------------------------------------------------------------------
|
1736
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1737
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1738
|
+
-----------------------------------------------------------------
|
1739
|
+
RedisDictionary::TranslationTest: test_should_create_a_key_digest
|
1740
|
+
-----------------------------------------------------------------
|
1741
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1742
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1743
|
+
---------------------------------------------------------------------
|
1744
|
+
RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
|
1745
|
+
---------------------------------------------------------------------
|
1746
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1747
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1748
|
+
----------------------------------------------------------------------
|
1749
|
+
RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
|
1750
|
+
----------------------------------------------------------------------
|
1751
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1753
|
+
--------------------------------------------------------------------
|
1754
|
+
RedisDictionary::TranslationTest: test_should_remove_the_translation
|
1755
|
+
--------------------------------------------------------------------
|
1756
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1757
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1758
|
+
---------------------------------------------------------------
|
1759
|
+
RedisDictionary::TranslationTest: test_should_return_match_keys
|
1760
|
+
---------------------------------------------------------------
|
1761
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1762
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1763
|
+
-------------------------------------------------------------------------
|
1764
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
|
1765
|
+
-------------------------------------------------------------------------
|
1766
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1767
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1768
|
+
--------------------------------------------------------------------------------
|
1769
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
|
1770
|
+
--------------------------------------------------------------------------------
|
1771
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1772
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1773
|
+
-----------------------------------------------------------------------------------------
|
1774
|
+
RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
|
1775
|
+
-----------------------------------------------------------------------------------------
|
1776
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1777
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1785
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1792
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1801
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1812
|
+
------------------------------------------------------------------------------------
|
1813
|
+
RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
|
1814
|
+
------------------------------------------------------------------------------------
|
1815
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1816
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1817
|
+
-------------------------------------------------------------------------------------
|
1818
|
+
RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
|
1819
|
+
-------------------------------------------------------------------------------------
|
1820
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1821
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1822
|
+
------------------------------------------------------------------------------------------------------
|
1823
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
|
1824
|
+
------------------------------------------------------------------------------------------------------
|
1825
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1827
|
+
-----------------------------------------------------------------------------------------------------------
|
1828
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
|
1829
|
+
-----------------------------------------------------------------------------------------------------------
|
1830
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1831
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1832
|
+
-------------------------------------------------------------------------
|
1833
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
|
1834
|
+
-------------------------------------------------------------------------
|
1835
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1836
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1837
|
+
---------------------------------------------------------------------------------
|
1838
|
+
RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
|
1839
|
+
---------------------------------------------------------------------------------
|
1840
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1842
|
+
------------------------------------------------------------------------------------------
|
1843
|
+
RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
|
1844
|
+
------------------------------------------------------------------------------------------
|
1845
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1847
|
+
------------------------------------------------------------------
|
1848
|
+
RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
|
1849
|
+
------------------------------------------------------------------
|
1850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1852
|
+
-------------------------------------------------------------------------
|
1853
|
+
RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
|
1854
|
+
-------------------------------------------------------------------------
|
1855
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1856
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1857
|
+
---------------------------------------------------------------------------
|
1858
|
+
RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
|
1859
|
+
---------------------------------------------------------------------------
|
1860
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1861
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1862
|
+
------------------------------------------------------------------------------
|
1863
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
|
1864
|
+
------------------------------------------------------------------------------
|
1865
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1866
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1867
|
+
-------------------------------------------------------------------------------
|
1868
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
|
1869
|
+
-------------------------------------------------------------------------------
|
1870
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1871
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1872
|
+
-----------------------------------------------------------------
|
1873
|
+
RedisDictionary::TranslationTest: test_should_create_a_key_digest
|
1874
|
+
-----------------------------------------------------------------
|
1875
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1876
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1877
|
+
---------------------------------------------------------------------
|
1878
|
+
RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
|
1879
|
+
---------------------------------------------------------------------
|
1880
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1881
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1882
|
+
----------------------------------------------------------------------
|
1883
|
+
RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
|
1884
|
+
----------------------------------------------------------------------
|
1885
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1886
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1887
|
+
--------------------------------------------------------------------
|
1888
|
+
RedisDictionary::TranslationTest: test_should_remove_the_translation
|
1889
|
+
--------------------------------------------------------------------
|
1890
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1892
|
+
---------------------------------------------------------------
|
1893
|
+
RedisDictionary::TranslationTest: test_should_return_match_keys
|
1894
|
+
---------------------------------------------------------------
|
1895
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1896
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1897
|
+
-------------------------------------------------------------------------
|
1898
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
|
1899
|
+
-------------------------------------------------------------------------
|
1900
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1901
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1902
|
+
--------------------------------------------------------------------------------
|
1903
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
|
1904
|
+
--------------------------------------------------------------------------------
|
1905
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1906
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1907
|
+
-----------------------------------------------------------------------------------------
|
1908
|
+
RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
|
1909
|
+
-----------------------------------------------------------------------------------------
|
1910
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1911
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1926
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1935
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1945
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1946
|
+
------------------------------------------------------------------------------------
|
1947
|
+
RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
|
1948
|
+
------------------------------------------------------------------------------------
|
1949
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1950
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1951
|
+
--------------------------------------------
|
1952
|
+
TranslationsTest: test_destroy_a_translation
|
1953
|
+
--------------------------------------------
|
1954
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1955
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1956
|
+
-------------------------------------------------------------------------------------
|
1957
|
+
RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
|
1958
|
+
-------------------------------------------------------------------------------------
|
1959
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1960
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1961
|
+
------------------------------------------------------------------------------------------------------
|
1962
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
|
1963
|
+
------------------------------------------------------------------------------------------------------
|
1964
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1965
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1966
|
+
-----------------------------------------------------------------------------------------------------------
|
1967
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
|
1968
|
+
-----------------------------------------------------------------------------------------------------------
|
1969
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1970
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1971
|
+
-------------------------------------------------------------------------
|
1972
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
|
1973
|
+
-------------------------------------------------------------------------
|
1974
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1975
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1976
|
+
---------------------------------------------------------------------------------
|
1977
|
+
RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
|
1978
|
+
---------------------------------------------------------------------------------
|
1979
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1980
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1981
|
+
------------------------------------------------------------------------------------------
|
1982
|
+
RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
|
1983
|
+
------------------------------------------------------------------------------------------
|
1984
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1985
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1986
|
+
------------------------------------------------------------------
|
1987
|
+
RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
|
1988
|
+
------------------------------------------------------------------
|
1989
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1990
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1991
|
+
-------------------------------------------------------------------------
|
1992
|
+
RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
|
1993
|
+
-------------------------------------------------------------------------
|
1994
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1995
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1996
|
+
---------------------------------------------------------------------------
|
1997
|
+
RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
|
1998
|
+
---------------------------------------------------------------------------
|
1999
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2000
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2001
|
+
------------------------------------------------------------------------------
|
2002
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
|
2003
|
+
------------------------------------------------------------------------------
|
2004
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2005
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2006
|
+
-------------------------------------------------------------------------------
|
2007
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
|
2008
|
+
-------------------------------------------------------------------------------
|
2009
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2010
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2011
|
+
-----------------------------------------------------------------
|
2012
|
+
RedisDictionary::TranslationTest: test_should_create_a_key_digest
|
2013
|
+
-----------------------------------------------------------------
|
2014
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2015
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2016
|
+
---------------------------------------------------------------------
|
2017
|
+
RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
|
2018
|
+
---------------------------------------------------------------------
|
2019
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2020
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2021
|
+
----------------------------------------------------------------------
|
2022
|
+
RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
|
2023
|
+
----------------------------------------------------------------------
|
2024
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2025
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2026
|
+
--------------------------------------------------------------------
|
2027
|
+
RedisDictionary::TranslationTest: test_should_remove_the_translation
|
2028
|
+
--------------------------------------------------------------------
|
2029
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2030
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2031
|
+
---------------------------------------------------------------
|
2032
|
+
RedisDictionary::TranslationTest: test_should_return_match_keys
|
2033
|
+
---------------------------------------------------------------
|
2034
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2035
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2036
|
+
-------------------------------------------------------------------------
|
2037
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
|
2038
|
+
-------------------------------------------------------------------------
|
2039
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2040
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2041
|
+
--------------------------------------------------------------------------------
|
2042
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
|
2043
|
+
--------------------------------------------------------------------------------
|
2044
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2045
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2046
|
+
-----------------------------------------------------------------------------------------
|
2047
|
+
RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
|
2048
|
+
-----------------------------------------------------------------------------------------
|
2049
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2065
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2074
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2084
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2085
|
+
------------------------------------------------------------------------------------
|
2086
|
+
RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
|
2087
|
+
------------------------------------------------------------------------------------
|
2088
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2090
|
+
--------------------------------------------
|
2091
|
+
TranslationsTest: test_destroy_a_translation
|
2092
|
+
--------------------------------------------
|
2093
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2094
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2095
|
+
-------------------------------------------------------------------------------------
|
2096
|
+
RedisDictionary::ApplicationHelperTest: test_should_know_named_routes_of_the_main_app
|
2097
|
+
-------------------------------------------------------------------------------------
|
2098
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2100
|
+
------------------------------------------------------------------------------------------------------
|
2101
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_anything_but_named_routes_of_the_main_app
|
2102
|
+
------------------------------------------------------------------------------------------------------
|
2103
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2104
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2105
|
+
-----------------------------------------------------------------------------------------------------------
|
2106
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_named_routes_of_the_main_app_if_not_configured
|
2107
|
+
-----------------------------------------------------------------------------------------------------------
|
2108
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2109
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2110
|
+
-------------------------------------------------------------------------
|
2111
|
+
RedisDictionary::ApplicationHelperTest: test_should_not_know_other_routes
|
2112
|
+
-------------------------------------------------------------------------
|
2113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2115
|
+
---------------------------------------------------------------------------------
|
2116
|
+
RedisDictionary::ConfigurationTest: test_should_set_:authentication_method_to_nil
|
2117
|
+
---------------------------------------------------------------------------------
|
2118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2120
|
+
------------------------------------------------------------------------------------------
|
2121
|
+
RedisDictionary::ConfigurationTest: test_should_set_:inline_main_app_named_routes_to_false
|
2122
|
+
------------------------------------------------------------------------------------------
|
2123
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2125
|
+
------------------------------------------------------------------
|
2126
|
+
RedisDictionary::ConfigurationTest: test_should_set_:layout_to_nil
|
2127
|
+
------------------------------------------------------------------
|
2128
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2129
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2130
|
+
-------------------------------------------------------------------------
|
2131
|
+
RedisDictionary::TranslationTest: test_should_add_the_key_to_the_set_keys
|
2132
|
+
-------------------------------------------------------------------------
|
2133
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2135
|
+
---------------------------------------------------------------------------
|
2136
|
+
RedisDictionary::TranslationTest: test_should_be_exist_on_I18n_translations
|
2137
|
+
---------------------------------------------------------------------------
|
2138
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2140
|
+
------------------------------------------------------------------------------
|
2141
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_exists_in_system_keys
|
2142
|
+
------------------------------------------------------------------------------
|
2143
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2144
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2145
|
+
-------------------------------------------------------------------------------
|
2146
|
+
RedisDictionary::TranslationTest: test_should_be_true_if_the_translation_exists
|
2147
|
+
-------------------------------------------------------------------------------
|
2148
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2149
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2150
|
+
-----------------------------------------------------------------
|
2151
|
+
RedisDictionary::TranslationTest: test_should_create_a_key_digest
|
2152
|
+
-----------------------------------------------------------------
|
2153
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2154
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2155
|
+
---------------------------------------------------------------------
|
2156
|
+
RedisDictionary::TranslationTest: test_should_remove_from_keys_digest
|
2157
|
+
---------------------------------------------------------------------
|
2158
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2160
|
+
----------------------------------------------------------------------
|
2161
|
+
RedisDictionary::TranslationTest: test_should_remove_the_key_from_keys
|
2162
|
+
----------------------------------------------------------------------
|
2163
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2164
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2165
|
+
--------------------------------------------------------------------
|
2166
|
+
RedisDictionary::TranslationTest: test_should_remove_the_translation
|
2167
|
+
--------------------------------------------------------------------
|
2168
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2170
|
+
---------------------------------------------------------------
|
2171
|
+
RedisDictionary::TranslationTest: test_should_return_match_keys
|
2172
|
+
---------------------------------------------------------------
|
2173
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2174
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2175
|
+
-------------------------------------------------------------------------
|
2176
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_keys
|
2177
|
+
-------------------------------------------------------------------------
|
2178
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2179
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2180
|
+
--------------------------------------------------------------------------------
|
2181
|
+
RedisDictionary::TranslationTest: test_should_return_sorted_array_of_system_keys
|
2182
|
+
--------------------------------------------------------------------------------
|
2183
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2184
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2185
|
+
-----------------------------------------------------------------------------------------
|
2186
|
+
RedisDictionary::TranslationTest: test_should_return_union_of_keys_and_system_keys_sorted
|
2187
|
+
-----------------------------------------------------------------------------------------
|
2188
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2189
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2197
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2204
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2213
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2223
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2224
|
+
------------------------------------------------------------------------------------
|
2225
|
+
RedisDictionaryTest: test_should_allow_developers_to_set_configurations_with_a_block
|
2226
|
+
------------------------------------------------------------------------------------
|
2227
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2229
|
+
--------------------------------------------
|
2230
|
+
TranslationsTest: test_destroy_a_translation
|
2231
|
+
--------------------------------------------
|
2232
|
+
[1m[35m (0.2ms)[0m 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.
|
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-
|
14
|
+
date: 2013-10-14 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|