human_attribute_values 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 013f9672e51a13ccb1880b201a2ce4be7b5f8ef2096b8c0f6e1023ec9b0b4ad7
4
- data.tar.gz: ca2ce5c0723581d6a895a65c2ed8ab86c970af1b44d73a26ffa9c690170c18e4
3
+ metadata.gz: 9bf3ef8dbbc1af598f4127f79107630115af5bce63f4ab15b3c071b175a84706
4
+ data.tar.gz: 138d8b185d3642412d4b7c47310c5ea2dab45cb04d1b167538cbd9b4af1f0616
5
5
  SHA512:
6
- metadata.gz: 44b948e23ff7075d6ec4890a720cab00cbad5f399fef71b613bc01746d9b1804865cffcbf96f13eecaa69fa22a6554c0f81767e3dc5c8cf02a9007e932f8ad63
7
- data.tar.gz: 96e6d155827f3130721e77235a1df5f55fa535ee0046a3b89c57cb2807f8e31b7893cc6799b973984031a61c4086142129cbd24159fe51d919075549cdd6ff04
6
+ metadata.gz: 96aa93382dc9817f6c87efffb829c11e5ef84752b2f63ad31c160e3836163a0f64f0f0138ec40882a6b99152d6a22dbac08538978359b6e7d8c4245d82645d4a
7
+ data.tar.gz: d4c94332f5a6b74ae988874179ba0b5dc02a0b784fac8286e153717977fd059d2b10f5724d301f6b5a0cb537f9b1bd9d0d9f12814979354c09a2b873031f1d53
@@ -11,6 +11,7 @@ module HumanAttributeValues
11
11
  module ClassMethods
12
12
  def human_attribute_value(attribute, value, options = {})
13
13
  return '' if value.nil? || value == ''
14
+
14
15
  options = {count: 1}.merge!(options)
15
16
  parts = attribute.to_s.split('.')
16
17
  attribute = parts.pop
@@ -36,10 +37,10 @@ module HumanAttributeValues
36
37
  defaults << value.to_s
37
38
 
38
39
  options[:default] = defaults
39
- I18n.translate(defaults.shift, options)
40
+ I18n.t(defaults.shift, **options)
40
41
  end
41
42
  end
42
43
  end
43
44
 
44
- ActiveRecord::Base.send :include, HumanAttributeValues
45
- ActiveModel::Model.send :include, HumanAttributeValues
45
+ ActiveRecord::Base.include HumanAttributeValues
46
+ ActiveModel::Model.include HumanAttributeValues
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HumanAttributeValues
4
- VERSION = "1.2.1"
4
+ VERSION = "1.2.2"
5
5
  end
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
@@ -20,6 +20,5 @@ module Dummy
20
20
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
21
21
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
22
22
  # config.i18n.default_locale = :de
23
- config.active_record.sqlite3.represent_boolean_as_integer = true if config.active_record.sqlite3.respond_to?(:represent_boolean_as_integer)
24
23
  end
25
24
  end
Binary file
@@ -365,3 +365,773 @@ ActiveRecordTest: test_resolution_for_numeric_values
365
365
  ActiveRecordTest: test_resolution_of_boolean_values
366
366
  ---------------------------------------------------
367
367
   (0.3ms) rollback transaction
368
+  (1.1ms) SELECT sqlite_version(*)
369
+  (0.7ms) SELECT sqlite_version(*)
370
+  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
371
+  (0.1ms) SELECT sqlite_version(*)
372
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
373
+  (0.1ms) begin transaction
374
+ -----------------------------------------------------
375
+ ActiveModelTest: test_mime_type_definition_with_a_dot
376
+ -----------------------------------------------------
377
+  (0.1ms) rollback transaction
378
+  (0.1ms) begin transaction
379
+ --------------------------------------------------
380
+ ActiveModelTest: test_resolution_of_boolean_values
381
+ --------------------------------------------------
382
+  (0.1ms) rollback transaction
383
+  (0.0ms) begin transaction
384
+ ------------------------------------------------
385
+ ActiveModelTest: test_value_without_count_config
386
+ ------------------------------------------------
387
+  (0.0ms) rollback transaction
388
+  (0.0ms) begin transaction
389
+ ---------------------------------------------
390
+ ActiveModelTest: test_value_with_count_config
391
+ ---------------------------------------------
392
+  (0.0ms) rollback transaction
393
+  (0.0ms) begin transaction
394
+ ---------------------------------------------------------
395
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
396
+ ---------------------------------------------------------
397
+  (0.1ms) rollback transaction
398
+  (0.1ms) begin transaction
399
+ ---------------------------------------------------
400
+ ActiveModelTest: test_resolution_for_numeric_values
401
+ ---------------------------------------------------
402
+  (0.1ms) rollback transaction
403
+  (0.1ms) begin transaction
404
+ ----------------------------------------------------------
405
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
406
+ ----------------------------------------------------------
407
+  (0.1ms) rollback transaction
408
+  (0.1ms) begin transaction
409
+ ---------------------------------------------------
410
+ ActiveRecordTest: test_resolution_of_boolean_values
411
+ ---------------------------------------------------
412
+  (0.1ms) rollback transaction
413
+  (0.0ms) begin transaction
414
+ -----------------------------------------------------
415
+ ActiveRecordTest: test_attribute_without_count_config
416
+ -----------------------------------------------------
417
+  (0.1ms) rollback transaction
418
+  (0.0ms) begin transaction
419
+ ------------------------------------------------------
420
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
421
+ ------------------------------------------------------
422
+  (0.0ms) rollback transaction
423
+  (0.0ms) begin transaction
424
+ ----------------------------------------------------
425
+ ActiveRecordTest: test_resolution_for_numeric_values
426
+ ----------------------------------------------------
427
+  (0.1ms) rollback transaction
428
+  (0.0ms) begin transaction
429
+ --------------------------------------------------
430
+ ActiveRecordTest: test_attribute_with_count_config
431
+ --------------------------------------------------
432
+  (0.0ms) rollback transaction
433
+  (0.0ms) begin transaction
434
+ --------------------------------------------------
435
+ ActiveRecordTest: test_resolution_for_associations
436
+ --------------------------------------------------
437
+  (0.1ms) rollback transaction
438
+  (0.1ms) begin transaction
439
+ -------------------------------------------
440
+ ActiveRecordTest: test_resolution_for_enums
441
+ -------------------------------------------
442
+  (0.1ms) rollback transaction
443
+  (1.3ms) SELECT sqlite_version(*)
444
+  (0.8ms) SELECT sqlite_version(*)
445
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
446
+  (0.1ms) SELECT sqlite_version(*)
447
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
448
+  (0.1ms) begin transaction
449
+ ---------------------------------------------------
450
+ ActiveModelTest: test_resolution_for_numeric_values
451
+ ---------------------------------------------------
452
+  (0.1ms) rollback transaction
453
+  (0.1ms) begin transaction
454
+ ---------------------------------------------
455
+ ActiveModelTest: test_value_with_count_config
456
+ ---------------------------------------------
457
+  (0.0ms) rollback transaction
458
+  (0.0ms) begin transaction
459
+ ------------------------------------------------
460
+ ActiveModelTest: test_value_without_count_config
461
+ ------------------------------------------------
462
+  (0.1ms) rollback transaction
463
+  (0.0ms) begin transaction
464
+ -----------------------------------------------------
465
+ ActiveModelTest: test_mime_type_definition_with_a_dot
466
+ -----------------------------------------------------
467
+  (0.0ms) rollback transaction
468
+  (0.0ms) begin transaction
469
+ --------------------------------------------------
470
+ ActiveModelTest: test_resolution_of_boolean_values
471
+ --------------------------------------------------
472
+  (0.1ms) rollback transaction
473
+  (0.0ms) begin transaction
474
+ ---------------------------------------------------------
475
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
476
+ ---------------------------------------------------------
477
+  (0.1ms) rollback transaction
478
+  (0.0ms) begin transaction
479
+ ----------------------------------------------------
480
+ ActiveRecordTest: test_resolution_for_numeric_values
481
+ ----------------------------------------------------
482
+  (0.1ms) rollback transaction
483
+  (0.0ms) begin transaction
484
+ -----------------------------------------------------
485
+ ActiveRecordTest: test_attribute_without_count_config
486
+ -----------------------------------------------------
487
+  (0.1ms) rollback transaction
488
+  (0.1ms) begin transaction
489
+ ----------------------------------------------------------
490
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
491
+ ----------------------------------------------------------
492
+  (0.1ms) rollback transaction
493
+  (0.1ms) begin transaction
494
+ ------------------------------------------------------
495
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
496
+ ------------------------------------------------------
497
+  (0.0ms) rollback transaction
498
+  (0.0ms) begin transaction
499
+ -------------------------------------------
500
+ ActiveRecordTest: test_resolution_for_enums
501
+ -------------------------------------------
502
+  (0.1ms) rollback transaction
503
+  (0.0ms) begin transaction
504
+ --------------------------------------------------
505
+ ActiveRecordTest: test_resolution_for_associations
506
+ --------------------------------------------------
507
+  (0.1ms) rollback transaction
508
+  (0.1ms) begin transaction
509
+ ---------------------------------------------------
510
+ ActiveRecordTest: test_resolution_of_boolean_values
511
+ ---------------------------------------------------
512
+  (0.1ms) rollback transaction
513
+  (0.0ms) begin transaction
514
+ --------------------------------------------------
515
+ ActiveRecordTest: test_attribute_with_count_config
516
+ --------------------------------------------------
517
+  (0.0ms) rollback transaction
518
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
519
+  (23.3ms) CREATE TABLE "boolean_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "boolean_field" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
520
+  (10.7ms) CREATE TABLE "enum_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
521
+  (10.6ms) CREATE TABLE "lexicons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
522
+  (10.6ms) CREATE TABLE "numeric_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_field" integer, "decimal_field" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
523
+  (11.5ms) CREATE TABLE "parents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "field" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
524
+  (10.9ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar, "lexicon_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
525
+  (0.1ms) select sqlite_version(*)
526
+  (9.6ms) CREATE INDEX "index_the_answers_on_lexicon_id" ON "the_answers" ("lexicon_id")
527
+  (9.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
528
+  (9.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
529
+  (0.2ms) SELECT version FROM "schema_migrations"
530
+  (8.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131170613')
531
+  (8.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150127220502')
532
+  (9.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131153819')
533
+  (8.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131164609')
534
+  (15.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131161322')
535
+  (16.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131162551')
536
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
537
+  (0.1ms) begin transaction
538
+ ------------------------------------------------------
539
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
540
+ ------------------------------------------------------
541
+  (0.1ms) rollback transaction
542
+  (0.0ms) begin transaction
543
+ --------------------------------------------------
544
+ ActiveRecordTest: test_resolution_for_associations
545
+ --------------------------------------------------
546
+  (0.1ms) rollback transaction
547
+  (0.0ms) begin transaction
548
+ ----------------------------------------------------
549
+ ActiveRecordTest: test_resolution_for_numeric_values
550
+ ----------------------------------------------------
551
+  (0.1ms) rollback transaction
552
+  (0.1ms) begin transaction
553
+ ----------------------------------------------------------
554
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
555
+ ----------------------------------------------------------
556
+  (0.1ms) rollback transaction
557
+  (0.0ms) begin transaction
558
+ ---------------------------------------------------
559
+ ActiveRecordTest: test_resolution_of_boolean_values
560
+ ---------------------------------------------------
561
+  (0.0ms) rollback transaction
562
+  (0.0ms) begin transaction
563
+ -------------------------------------------
564
+ ActiveRecordTest: test_resolution_for_enums
565
+ -------------------------------------------
566
+  (0.1ms) rollback transaction
567
+  (0.0ms) begin transaction
568
+ -----------------------------------------------------
569
+ ActiveRecordTest: test_attribute_without_count_config
570
+ -----------------------------------------------------
571
+  (0.0ms) rollback transaction
572
+  (0.0ms) begin transaction
573
+ --------------------------------------------------
574
+ ActiveRecordTest: test_attribute_with_count_config
575
+ --------------------------------------------------
576
+  (0.0ms) rollback transaction
577
+  (0.0ms) begin transaction
578
+ ---------------------------------------------------
579
+ ActiveModelTest: test_resolution_for_numeric_values
580
+ ---------------------------------------------------
581
+  (0.0ms) rollback transaction
582
+  (0.0ms) begin transaction
583
+ --------------------------------------------------
584
+ ActiveModelTest: test_resolution_of_boolean_values
585
+ --------------------------------------------------
586
+  (0.0ms) rollback transaction
587
+  (0.0ms) begin transaction
588
+ ------------------------------------------------
589
+ ActiveModelTest: test_value_without_count_config
590
+ ------------------------------------------------
591
+  (0.0ms) rollback transaction
592
+  (0.0ms) begin transaction
593
+ ---------------------------------------------------------
594
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
595
+ ---------------------------------------------------------
596
+  (0.0ms) rollback transaction
597
+  (0.0ms) begin transaction
598
+ -----------------------------------------------------
599
+ ActiveModelTest: test_mime_type_definition_with_a_dot
600
+ -----------------------------------------------------
601
+  (0.0ms) rollback transaction
602
+  (0.0ms) begin transaction
603
+ ---------------------------------------------
604
+ ActiveModelTest: test_value_with_count_config
605
+ ---------------------------------------------
606
+  (0.0ms) rollback transaction
607
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
608
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
609
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
610
+  (0.1ms) begin transaction
611
+ ---------------------------------------------------
612
+ ActiveModelTest: test_resolution_for_numeric_values
613
+ ---------------------------------------------------
614
+  (0.1ms) rollback transaction
615
+  (0.0ms) begin transaction
616
+ ------------------------------------------------
617
+ ActiveModelTest: test_value_without_count_config
618
+ ------------------------------------------------
619
+  (0.0ms) rollback transaction
620
+  (0.0ms) begin transaction
621
+ -----------------------------------------------------
622
+ ActiveModelTest: test_mime_type_definition_with_a_dot
623
+ -----------------------------------------------------
624
+  (0.0ms) rollback transaction
625
+  (0.0ms) begin transaction
626
+ ---------------------------------------------------------
627
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
628
+ ---------------------------------------------------------
629
+  (0.1ms) rollback transaction
630
+  (0.0ms) begin transaction
631
+ --------------------------------------------------
632
+ ActiveModelTest: test_resolution_of_boolean_values
633
+ --------------------------------------------------
634
+  (0.0ms) rollback transaction
635
+  (0.0ms) begin transaction
636
+ ---------------------------------------------
637
+ ActiveModelTest: test_value_with_count_config
638
+ ---------------------------------------------
639
+  (0.0ms) rollback transaction
640
+  (0.1ms) begin transaction
641
+ ----------------------------------------------------
642
+ ActiveRecordTest: test_resolution_for_numeric_values
643
+ ----------------------------------------------------
644
+  (0.1ms) rollback transaction
645
+  (0.0ms) begin transaction
646
+ ---------------------------------------------------
647
+ ActiveRecordTest: test_resolution_of_boolean_values
648
+ ---------------------------------------------------
649
+  (0.1ms) rollback transaction
650
+  (0.0ms) begin transaction
651
+ --------------------------------------------------
652
+ ActiveRecordTest: test_attribute_with_count_config
653
+ --------------------------------------------------
654
+  (0.1ms) rollback transaction
655
+  (0.0ms) begin transaction
656
+ ----------------------------------------------------------
657
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
658
+ ----------------------------------------------------------
659
+  (0.1ms) rollback transaction
660
+  (0.0ms) begin transaction
661
+ -----------------------------------------------------
662
+ ActiveRecordTest: test_attribute_without_count_config
663
+ -----------------------------------------------------
664
+  (0.1ms) rollback transaction
665
+  (0.1ms) begin transaction
666
+ ------------------------------------------------------
667
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
668
+ ------------------------------------------------------
669
+  (0.0ms) rollback transaction
670
+  (0.0ms) begin transaction
671
+ --------------------------------------------------
672
+ ActiveRecordTest: test_resolution_for_associations
673
+ --------------------------------------------------
674
+  (0.1ms) rollback transaction
675
+  (0.0ms) begin transaction
676
+ -------------------------------------------
677
+ ActiveRecordTest: test_resolution_for_enums
678
+ -------------------------------------------
679
+  (0.1ms) rollback transaction
680
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
681
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
682
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
683
+  (0.1ms) begin transaction
684
+ ---------------------------------------------------
685
+ ActiveRecordTest: test_resolution_of_boolean_values
686
+ ---------------------------------------------------
687
+  (0.1ms) rollback transaction
688
+  (0.0ms) begin transaction
689
+ -------------------------------------------
690
+ ActiveRecordTest: test_resolution_for_enums
691
+ -------------------------------------------
692
+  (0.1ms) rollback transaction
693
+  (0.0ms) begin transaction
694
+ ------------------------------------------------------
695
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
696
+ ------------------------------------------------------
697
+  (0.1ms) rollback transaction
698
+  (0.0ms) begin transaction
699
+ --------------------------------------------------
700
+ ActiveRecordTest: test_resolution_for_associations
701
+ --------------------------------------------------
702
+  (0.1ms) rollback transaction
703
+  (0.0ms) begin transaction
704
+ -----------------------------------------------------
705
+ ActiveRecordTest: test_attribute_without_count_config
706
+ -----------------------------------------------------
707
+  (0.0ms) rollback transaction
708
+  (0.0ms) begin transaction
709
+ --------------------------------------------------
710
+ ActiveRecordTest: test_attribute_with_count_config
711
+ --------------------------------------------------
712
+  (0.0ms) rollback transaction
713
+  (0.0ms) begin transaction
714
+ ----------------------------------------------------------
715
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
716
+ ----------------------------------------------------------
717
+  (0.1ms) rollback transaction
718
+  (0.0ms) begin transaction
719
+ ----------------------------------------------------
720
+ ActiveRecordTest: test_resolution_for_numeric_values
721
+ ----------------------------------------------------
722
+  (0.1ms) rollback transaction
723
+  (0.0ms) begin transaction
724
+ ---------------------------------------------------------
725
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
726
+ ---------------------------------------------------------
727
+  (0.1ms) rollback transaction
728
+  (0.0ms) begin transaction
729
+ ---------------------------------------------------
730
+ ActiveModelTest: test_resolution_for_numeric_values
731
+ ---------------------------------------------------
732
+  (0.1ms) rollback transaction
733
+  (0.0ms) begin transaction
734
+ --------------------------------------------------
735
+ ActiveModelTest: test_resolution_of_boolean_values
736
+ --------------------------------------------------
737
+  (0.0ms) rollback transaction
738
+  (0.0ms) begin transaction
739
+ -----------------------------------------------------
740
+ ActiveModelTest: test_mime_type_definition_with_a_dot
741
+ -----------------------------------------------------
742
+  (0.0ms) rollback transaction
743
+  (0.0ms) begin transaction
744
+ ------------------------------------------------
745
+ ActiveModelTest: test_value_without_count_config
746
+ ------------------------------------------------
747
+  (0.0ms) rollback transaction
748
+  (0.0ms) begin transaction
749
+ ---------------------------------------------
750
+ ActiveModelTest: test_value_with_count_config
751
+ ---------------------------------------------
752
+  (0.0ms) rollback transaction
753
+  (0.8ms) SELECT sqlite_version(*)
754
+  (0.7ms) SELECT sqlite_version(*)
755
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
756
+  (0.1ms) SELECT sqlite_version(*)
757
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
758
+  (0.1ms) begin transaction
759
+ -------------------------------------------
760
+ ActiveRecordTest: test_resolution_for_enums
761
+ -------------------------------------------
762
+  (0.1ms) rollback transaction
763
+  (0.0ms) begin transaction
764
+ --------------------------------------------------
765
+ ActiveRecordTest: test_resolution_for_associations
766
+ --------------------------------------------------
767
+  (0.1ms) rollback transaction
768
+  (0.0ms) begin transaction
769
+ ----------------------------------------------------------
770
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
771
+ ----------------------------------------------------------
772
+  (0.1ms) rollback transaction
773
+  (0.1ms) begin transaction
774
+ ---------------------------------------------------
775
+ ActiveRecordTest: test_resolution_of_boolean_values
776
+ ---------------------------------------------------
777
+  (0.1ms) rollback transaction
778
+  (0.0ms) begin transaction
779
+ -----------------------------------------------------
780
+ ActiveRecordTest: test_attribute_without_count_config
781
+ -----------------------------------------------------
782
+  (0.0ms) rollback transaction
783
+  (0.1ms) begin transaction
784
+ ------------------------------------------------------
785
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
786
+ ------------------------------------------------------
787
+  (0.0ms) rollback transaction
788
+  (0.1ms) begin transaction
789
+ --------------------------------------------------
790
+ ActiveRecordTest: test_attribute_with_count_config
791
+ --------------------------------------------------
792
+  (0.0ms) rollback transaction
793
+  (0.0ms) begin transaction
794
+ ----------------------------------------------------
795
+ ActiveRecordTest: test_resolution_for_numeric_values
796
+ ----------------------------------------------------
797
+  (0.1ms) rollback transaction
798
+  (0.1ms) begin transaction
799
+ -----------------------------------------------------
800
+ ActiveModelTest: test_mime_type_definition_with_a_dot
801
+ -----------------------------------------------------
802
+  (0.1ms) rollback transaction
803
+  (0.0ms) begin transaction
804
+ ------------------------------------------------
805
+ ActiveModelTest: test_value_without_count_config
806
+ ------------------------------------------------
807
+  (0.0ms) rollback transaction
808
+  (0.0ms) begin transaction
809
+ ---------------------------------------------------
810
+ ActiveModelTest: test_resolution_for_numeric_values
811
+ ---------------------------------------------------
812
+  (0.0ms) rollback transaction
813
+  (0.0ms) begin transaction
814
+ ---------------------------------------------------------
815
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
816
+ ---------------------------------------------------------
817
+  (0.1ms) rollback transaction
818
+  (0.1ms) begin transaction
819
+ ---------------------------------------------
820
+ ActiveModelTest: test_value_with_count_config
821
+ ---------------------------------------------
822
+  (0.0ms) rollback transaction
823
+  (0.0ms) begin transaction
824
+ --------------------------------------------------
825
+ ActiveModelTest: test_resolution_of_boolean_values
826
+ --------------------------------------------------
827
+  (0.0ms) rollback transaction
828
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
829
+  (14.2ms) CREATE TABLE "boolean_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "boolean_field" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
830
+  (10.4ms) CREATE TABLE "enum_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
831
+  (10.4ms) CREATE TABLE "lexicons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
832
+  (16.4ms) CREATE TABLE "numeric_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_field" integer, "decimal_field" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
833
+  (14.5ms) CREATE TABLE "parents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "field" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
834
+  (10.9ms) CREATE TABLE "the_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "ultimate_truth" varchar, "lexicon_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
835
+  (0.1ms) select sqlite_version(*)
836
+  (9.5ms) CREATE INDEX "index_the_answers_on_lexicon_id" ON "the_answers" ("lexicon_id")
837
+  (9.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
838
+  (10.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
839
+  (0.2ms) SELECT version FROM "schema_migrations"
840
+  (8.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131170613')
841
+  (8.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150127220502')
842
+  (8.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131153819')
843
+  (9.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131164609')
844
+  (8.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131161322')
845
+  (8.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150131162551')
846
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
847
+  (0.1ms) begin transaction
848
+ ----------------------------------------------------
849
+ ActiveRecordTest: test_resolution_for_numeric_values
850
+ ----------------------------------------------------
851
+  (0.1ms) rollback transaction
852
+  (0.0ms) begin transaction
853
+ -------------------------------------------
854
+ ActiveRecordTest: test_resolution_for_enums
855
+ -------------------------------------------
856
+  (0.1ms) rollback transaction
857
+  (0.0ms) begin transaction
858
+ ----------------------------------------------------------
859
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
860
+ ----------------------------------------------------------
861
+  (0.1ms) rollback transaction
862
+  (0.0ms) begin transaction
863
+ ------------------------------------------------------
864
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
865
+ ------------------------------------------------------
866
+  (0.1ms) rollback transaction
867
+  (0.0ms) begin transaction
868
+ --------------------------------------------------
869
+ ActiveRecordTest: test_resolution_for_associations
870
+ --------------------------------------------------
871
+  (0.1ms) rollback transaction
872
+  (0.0ms) begin transaction
873
+ ---------------------------------------------------
874
+ ActiveRecordTest: test_resolution_of_boolean_values
875
+ ---------------------------------------------------
876
+  (0.1ms) rollback transaction
877
+  (0.1ms) begin transaction
878
+ -----------------------------------------------------
879
+ ActiveRecordTest: test_attribute_without_count_config
880
+ -----------------------------------------------------
881
+  (0.0ms) rollback transaction
882
+  (0.0ms) begin transaction
883
+ --------------------------------------------------
884
+ ActiveRecordTest: test_attribute_with_count_config
885
+ --------------------------------------------------
886
+  (0.0ms) rollback transaction
887
+  (0.0ms) begin transaction
888
+ -----------------------------------------------------
889
+ ActiveModelTest: test_mime_type_definition_with_a_dot
890
+ -----------------------------------------------------
891
+  (0.1ms) rollback transaction
892
+  (0.1ms) begin transaction
893
+ ---------------------------------------------
894
+ ActiveModelTest: test_value_with_count_config
895
+ ---------------------------------------------
896
+  (0.0ms) rollback transaction
897
+  (0.0ms) begin transaction
898
+ ---------------------------------------------------
899
+ ActiveModelTest: test_resolution_for_numeric_values
900
+ ---------------------------------------------------
901
+  (0.1ms) rollback transaction
902
+  (0.0ms) begin transaction
903
+ --------------------------------------------------
904
+ ActiveModelTest: test_resolution_of_boolean_values
905
+ --------------------------------------------------
906
+  (0.0ms) rollback transaction
907
+  (0.0ms) begin transaction
908
+ ---------------------------------------------------------
909
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
910
+ ---------------------------------------------------------
911
+  (0.1ms) rollback transaction
912
+  (0.0ms) begin transaction
913
+ ------------------------------------------------
914
+ ActiveModelTest: test_value_without_count_config
915
+ ------------------------------------------------
916
+  (0.0ms) rollback transaction
917
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
918
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
919
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
920
+  (0.1ms) begin transaction
921
+ -------------------------------------------
922
+ ActiveRecordTest: test_resolution_for_enums
923
+ -------------------------------------------
924
+  (0.1ms) rollback transaction
925
+  (0.0ms) begin transaction
926
+ ------------------------------------------------------
927
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
928
+ ------------------------------------------------------
929
+  (0.1ms) rollback transaction
930
+  (0.0ms) begin transaction
931
+ ---------------------------------------------------
932
+ ActiveRecordTest: test_resolution_of_boolean_values
933
+ ---------------------------------------------------
934
+  (0.1ms) rollback transaction
935
+  (0.1ms) begin transaction
936
+ --------------------------------------------------
937
+ ActiveRecordTest: test_resolution_for_associations
938
+ --------------------------------------------------
939
+  (0.1ms) rollback transaction
940
+  (0.0ms) begin transaction
941
+ --------------------------------------------------
942
+ ActiveRecordTest: test_attribute_with_count_config
943
+ --------------------------------------------------
944
+  (0.0ms) rollback transaction
945
+  (0.0ms) begin transaction
946
+ -----------------------------------------------------
947
+ ActiveRecordTest: test_attribute_without_count_config
948
+ -----------------------------------------------------
949
+  (0.0ms) rollback transaction
950
+  (0.0ms) begin transaction
951
+ ----------------------------------------------------
952
+ ActiveRecordTest: test_resolution_for_numeric_values
953
+ ----------------------------------------------------
954
+  (0.1ms) rollback transaction
955
+  (0.0ms) begin transaction
956
+ ----------------------------------------------------------
957
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
958
+ ----------------------------------------------------------
959
+  (0.1ms) rollback transaction
960
+  (0.1ms) begin transaction
961
+ ------------------------------------------------
962
+ ActiveModelTest: test_value_without_count_config
963
+ ------------------------------------------------
964
+  (0.1ms) rollback transaction
965
+  (0.1ms) begin transaction
966
+ ---------------------------------------------------------
967
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
968
+ ---------------------------------------------------------
969
+  (0.1ms) rollback transaction
970
+  (0.0ms) begin transaction
971
+ ---------------------------------------------
972
+ ActiveModelTest: test_value_with_count_config
973
+ ---------------------------------------------
974
+  (0.0ms) rollback transaction
975
+  (0.0ms) begin transaction
976
+ --------------------------------------------------
977
+ ActiveModelTest: test_resolution_of_boolean_values
978
+ --------------------------------------------------
979
+  (0.0ms) rollback transaction
980
+  (0.0ms) begin transaction
981
+ -----------------------------------------------------
982
+ ActiveModelTest: test_mime_type_definition_with_a_dot
983
+ -----------------------------------------------------
984
+  (0.0ms) rollback transaction
985
+  (0.0ms) begin transaction
986
+ ---------------------------------------------------
987
+ ActiveModelTest: test_resolution_for_numeric_values
988
+ ---------------------------------------------------
989
+  (0.0ms) rollback transaction
990
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
991
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
992
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
993
+  (0.1ms) begin transaction
994
+ ---------------------------------------------------------
995
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
996
+ ---------------------------------------------------------
997
+  (0.1ms) rollback transaction
998
+  (0.0ms) begin transaction
999
+ --------------------------------------------------
1000
+ ActiveModelTest: test_resolution_of_boolean_values
1001
+ --------------------------------------------------
1002
+  (0.1ms) rollback transaction
1003
+  (0.1ms) begin transaction
1004
+ ------------------------------------------------
1005
+ ActiveModelTest: test_value_without_count_config
1006
+ ------------------------------------------------
1007
+  (0.0ms) rollback transaction
1008
+  (0.0ms) begin transaction
1009
+ -----------------------------------------------------
1010
+ ActiveModelTest: test_mime_type_definition_with_a_dot
1011
+ -----------------------------------------------------
1012
+  (0.0ms) rollback transaction
1013
+  (0.0ms) begin transaction
1014
+ ---------------------------------------------
1015
+ ActiveModelTest: test_value_with_count_config
1016
+ ---------------------------------------------
1017
+  (0.0ms) rollback transaction
1018
+  (0.1ms) begin transaction
1019
+ ---------------------------------------------------
1020
+ ActiveModelTest: test_resolution_for_numeric_values
1021
+ ---------------------------------------------------
1022
+  (0.1ms) rollback transaction
1023
+  (0.0ms) begin transaction
1024
+ --------------------------------------------------
1025
+ ActiveRecordTest: test_attribute_with_count_config
1026
+ --------------------------------------------------
1027
+  (0.1ms) rollback transaction
1028
+  (0.0ms) begin transaction
1029
+ ------------------------------------------------------
1030
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
1031
+ ------------------------------------------------------
1032
+  (0.1ms) rollback transaction
1033
+  (0.0ms) begin transaction
1034
+ -----------------------------------------------------
1035
+ ActiveRecordTest: test_attribute_without_count_config
1036
+ -----------------------------------------------------
1037
+  (0.0ms) rollback transaction
1038
+  (0.0ms) begin transaction
1039
+ ----------------------------------------------------------
1040
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
1041
+ ----------------------------------------------------------
1042
+  (0.1ms) rollback transaction
1043
+  (0.0ms) begin transaction
1044
+ --------------------------------------------------
1045
+ ActiveRecordTest: test_resolution_for_associations
1046
+ --------------------------------------------------
1047
+  (0.1ms) rollback transaction
1048
+  (0.0ms) begin transaction
1049
+ -------------------------------------------
1050
+ ActiveRecordTest: test_resolution_for_enums
1051
+ -------------------------------------------
1052
+  (0.1ms) rollback transaction
1053
+  (0.0ms) begin transaction
1054
+ ----------------------------------------------------
1055
+ ActiveRecordTest: test_resolution_for_numeric_values
1056
+ ----------------------------------------------------
1057
+  (0.1ms) rollback transaction
1058
+  (0.0ms) begin transaction
1059
+ ---------------------------------------------------
1060
+ ActiveRecordTest: test_resolution_of_boolean_values
1061
+ ---------------------------------------------------
1062
+  (0.1ms) rollback transaction
1063
+  (0.8ms) SELECT sqlite_version(*)
1064
+  (1.0ms) SELECT sqlite_version(*)
1065
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1066
+  (0.1ms) SELECT sqlite_version(*)
1067
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1068
+  (0.1ms) begin transaction
1069
+ --------------------------------------------------
1070
+ ActiveRecordTest: test_resolution_for_associations
1071
+ --------------------------------------------------
1072
+  (0.1ms) rollback transaction
1073
+  (0.1ms) begin transaction
1074
+ -------------------------------------------
1075
+ ActiveRecordTest: test_resolution_for_enums
1076
+ -------------------------------------------
1077
+  (0.1ms) rollback transaction
1078
+  (0.1ms) begin transaction
1079
+ ----------------------------------------------------------
1080
+ ActiveRecordTest: test_hierarchy_resolution_for_STI_models
1081
+ ----------------------------------------------------------
1082
+  (0.1ms) rollback transaction
1083
+  (0.1ms) begin transaction
1084
+ ------------------------------------------------------
1085
+ ActiveRecordTest: test_mime_type_definition_with_a_dot
1086
+ ------------------------------------------------------
1087
+  (0.1ms) rollback transaction
1088
+  (0.1ms) begin transaction
1089
+ -----------------------------------------------------
1090
+ ActiveRecordTest: test_attribute_without_count_config
1091
+ -----------------------------------------------------
1092
+  (0.1ms) rollback transaction
1093
+  (0.1ms) begin transaction
1094
+ ----------------------------------------------------
1095
+ ActiveRecordTest: test_resolution_for_numeric_values
1096
+ ----------------------------------------------------
1097
+  (0.1ms) rollback transaction
1098
+  (0.1ms) begin transaction
1099
+ ---------------------------------------------------
1100
+ ActiveRecordTest: test_resolution_of_boolean_values
1101
+ ---------------------------------------------------
1102
+  (0.1ms) rollback transaction
1103
+  (0.1ms) begin transaction
1104
+ --------------------------------------------------
1105
+ ActiveRecordTest: test_attribute_with_count_config
1106
+ --------------------------------------------------
1107
+  (0.0ms) rollback transaction
1108
+  (0.0ms) begin transaction
1109
+ ---------------------------------------------
1110
+ ActiveModelTest: test_value_with_count_config
1111
+ ---------------------------------------------
1112
+  (0.1ms) rollback transaction
1113
+  (0.1ms) begin transaction
1114
+ ------------------------------------------------
1115
+ ActiveModelTest: test_value_without_count_config
1116
+ ------------------------------------------------
1117
+  (0.0ms) rollback transaction
1118
+  (0.0ms) begin transaction
1119
+ ---------------------------------------------------------
1120
+ ActiveModelTest: test_hierarchy_resolution_for_STI_models
1121
+ ---------------------------------------------------------
1122
+  (0.1ms) rollback transaction
1123
+  (0.1ms) begin transaction
1124
+ --------------------------------------------------
1125
+ ActiveModelTest: test_resolution_of_boolean_values
1126
+ --------------------------------------------------
1127
+  (0.0ms) rollback transaction
1128
+  (0.0ms) begin transaction
1129
+ -----------------------------------------------------
1130
+ ActiveModelTest: test_mime_type_definition_with_a_dot
1131
+ -----------------------------------------------------
1132
+  (0.0ms) rollback transaction
1133
+  (0.0ms) begin transaction
1134
+ ---------------------------------------------------
1135
+ ActiveModelTest: test_resolution_for_numeric_values
1136
+ ---------------------------------------------------
1137
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: human_attribute_values
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Peschla
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-08 00:00:00.000000000 Z
11
+ date: 2020-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: appraisal
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '2.0'
33
+ version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '2.0'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: byebug
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,16 +56,16 @@ dependencies:
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 1.3.10
61
+ version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 1.3.10
68
+ version: '0'
69
69
  description: Easy translation of attribute values for models through locale files
70
70
  in a similar way as for attribute names.
71
71
  email:
@@ -87,6 +87,7 @@ files:
87
87
  - test/active_record_test.rb
88
88
  - test/dummy/README.rdoc
89
89
  - test/dummy/Rakefile
90
+ - test/dummy/app/assets/config/manifest.js
90
91
  - test/dummy/app/assets/javascripts/application.js
91
92
  - test/dummy/app/assets/stylesheets/application.css
92
93
  - test/dummy/app/controllers/application_controller.rb
@@ -176,82 +177,83 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
177
  - !ruby/object:Gem::Version
177
178
  version: '0'
178
179
  requirements: []
179
- rubygems_version: 3.0.1
180
+ rubygems_version: 3.1.2
180
181
  signing_key:
181
182
  specification_version: 4
182
183
  summary: Translate attribute values using Rails I18n API.
183
184
  test_files:
185
+ - test/active_record_test.rb
186
+ - test/test_helper.rb
187
+ - test/dummy/test/fixtures/lexicons.yml
188
+ - test/dummy/test/fixtures/numeric_models.yml
189
+ - test/dummy/test/fixtures/the_answers.yml
190
+ - test/dummy/test/fixtures/boolean_models.yml
191
+ - test/dummy/test/fixtures/children.yml
192
+ - test/dummy/test/fixtures/enum_models.yml
193
+ - test/dummy/test/fixtures/siblings.yml
194
+ - test/dummy/test/fixtures/grandchildren.yml
195
+ - test/dummy/test/models/enum_model_test.rb
196
+ - test/dummy/test/models/numeric_model_test.rb
197
+ - test/dummy/test/models/lexicon_test.rb
198
+ - test/dummy/test/models/boolean_model_test.rb
199
+ - test/dummy/test/models/child_test.rb
200
+ - test/dummy/test/models/sibling_test.rb
201
+ - test/dummy/test/models/grand_child_test.rb
202
+ - test/dummy/test/models/the_answer_test.rb
203
+ - test/dummy/db/schema.rb
184
204
  - test/dummy/db/test.sqlite3
185
- - test/dummy/db/migrate/20150131164609_create_lexicons.rb
205
+ - test/dummy/db/migrate/20150127220502_create_the_answers.rb
206
+ - test/dummy/db/migrate/20150131153819_create_parents.rb
186
207
  - test/dummy/db/migrate/20150131170613_create_enum_models.rb
187
- - test/dummy/db/migrate/20150131162551_create_numeric_models.rb
208
+ - test/dummy/db/migrate/20150131164609_create_lexicons.rb
188
209
  - test/dummy/db/migrate/20150131161322_create_boolean_models.rb
189
- - test/dummy/db/migrate/20150131153819_create_parents.rb
190
- - test/dummy/db/migrate/20150127220502_create_the_answers.rb
191
- - test/dummy/db/schema.rb
192
- - test/dummy/app/assets/javascripts/application.js
193
- - test/dummy/app/assets/stylesheets/application.css
194
- - test/dummy/app/models/sibling.rb
195
- - test/dummy/app/models/active_model_sibling.rb
196
- - test/dummy/app/models/the_answer.rb
197
- - test/dummy/app/models/numeric_model.rb
198
- - test/dummy/app/models/enum_model.rb
199
- - test/dummy/app/models/active_model_grand_child.rb
200
- - test/dummy/app/models/active_model_child.rb
201
- - test/dummy/app/models/child.rb
202
- - test/dummy/app/models/boolean_model.rb
203
- - test/dummy/app/models/active_model_model.rb
204
- - test/dummy/app/models/active_model_parent.rb
205
- - test/dummy/app/models/lexicon.rb
206
- - test/dummy/app/models/parent.rb
207
- - test/dummy/app/models/grand_child.rb
208
- - test/dummy/app/models/file_model.rb
209
- - test/dummy/app/controllers/application_controller.rb
210
- - test/dummy/app/helpers/application_helper.rb
211
- - test/dummy/app/views/layouts/application.html.erb
210
+ - test/dummy/db/migrate/20150131162551_create_numeric_models.rb
211
+ - test/dummy/bin/rails
212
+ - test/dummy/bin/bundle
213
+ - test/dummy/bin/rake
214
+ - test/dummy/Rakefile
215
+ - test/dummy/config.ru
216
+ - test/dummy/README.rdoc
217
+ - test/dummy/config/environments/test.rb
218
+ - test/dummy/config/environments/production.rb
219
+ - test/dummy/config/environments/development.rb
212
220
  - test/dummy/config/locales/en.yml
213
- - test/dummy/config/boot.rb
214
- - test/dummy/config/initializers/filter_parameter_logging.rb
215
- - test/dummy/config/initializers/inflections.rb
216
- - test/dummy/config/initializers/secret_token.rb
221
+ - test/dummy/config/routes.rb
217
222
  - test/dummy/config/initializers/wrap_parameters.rb
218
- - test/dummy/config/initializers/session_store.rb
219
- - test/dummy/config/initializers/mime_types.rb
220
223
  - test/dummy/config/initializers/backtrace_silencers.rb
224
+ - test/dummy/config/initializers/mime_types.rb
225
+ - test/dummy/config/initializers/inflections.rb
226
+ - test/dummy/config/initializers/session_store.rb
227
+ - test/dummy/config/initializers/filter_parameter_logging.rb
228
+ - test/dummy/config/initializers/secret_token.rb
221
229
  - test/dummy/config/database.yml
222
- - test/dummy/config/environment.rb
223
- - test/dummy/config/routes.rb
224
230
  - test/dummy/config/application.rb
225
- - test/dummy/config/environments/test.rb
226
- - test/dummy/config/environments/production.rb
227
- - test/dummy/config/environments/development.rb
228
- - test/dummy/log/test.log
229
- - test/dummy/public/422.html
231
+ - test/dummy/config/environment.rb
232
+ - test/dummy/config/boot.rb
230
233
  - test/dummy/public/500.html
231
234
  - test/dummy/public/favicon.ico
232
235
  - test/dummy/public/404.html
233
- - test/dummy/README.rdoc
234
- - test/dummy/Rakefile
235
- - test/dummy/config.ru
236
- - test/dummy/test/models/child_test.rb
237
- - test/dummy/test/models/lexicon_test.rb
238
- - test/dummy/test/models/boolean_model_test.rb
239
- - test/dummy/test/models/enum_model_test.rb
240
- - test/dummy/test/models/sibling_test.rb
241
- - test/dummy/test/models/numeric_model_test.rb
242
- - test/dummy/test/models/grand_child_test.rb
243
- - test/dummy/test/models/the_answer_test.rb
244
- - test/dummy/test/fixtures/lexicons.yml
245
- - test/dummy/test/fixtures/children.yml
246
- - test/dummy/test/fixtures/the_answers.yml
247
- - test/dummy/test/fixtures/siblings.yml
248
- - test/dummy/test/fixtures/boolean_models.yml
249
- - test/dummy/test/fixtures/numeric_models.yml
250
- - test/dummy/test/fixtures/enum_models.yml
251
- - test/dummy/test/fixtures/grandchildren.yml
252
- - test/dummy/bin/rake
253
- - test/dummy/bin/bundle
254
- - test/dummy/bin/rails
255
- - test/active_record_test.rb
236
+ - test/dummy/public/422.html
237
+ - test/dummy/log/test.log
238
+ - test/dummy/app/assets/stylesheets/application.css
239
+ - test/dummy/app/assets/config/manifest.js
240
+ - test/dummy/app/assets/javascripts/application.js
241
+ - test/dummy/app/models/enum_model.rb
242
+ - test/dummy/app/models/active_model_model.rb
243
+ - test/dummy/app/models/active_model_parent.rb
244
+ - test/dummy/app/models/parent.rb
245
+ - test/dummy/app/models/numeric_model.rb
246
+ - test/dummy/app/models/active_model_child.rb
247
+ - test/dummy/app/models/grand_child.rb
248
+ - test/dummy/app/models/sibling.rb
249
+ - test/dummy/app/models/child.rb
250
+ - test/dummy/app/models/active_model_sibling.rb
251
+ - test/dummy/app/models/active_model_grand_child.rb
252
+ - test/dummy/app/models/lexicon.rb
253
+ - test/dummy/app/models/file_model.rb
254
+ - test/dummy/app/models/the_answer.rb
255
+ - test/dummy/app/models/boolean_model.rb
256
+ - test/dummy/app/views/layouts/application.html.erb
257
+ - test/dummy/app/helpers/application_helper.rb
258
+ - test/dummy/app/controllers/application_controller.rb
256
259
  - test/active_model_test.rb
257
- - test/test_helper.rb