wagons 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 749ad39e18788c78c51b16e96cf6d45c36ab0220
4
- data.tar.gz: bd84a3b08b10b52589b8e4dd8c901eeeb37c23fc
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MjFhMzUzNTkwMWUxMjNiNzMxNjUxZDE1ZjYxODZlNDBmZDI1NzE5Ng==
5
+ data.tar.gz: !binary |-
6
+ MzY5NmUyMTkzMTEyOGQ5NmJjNDE2MzRjZTlhMDg2MmI4ZWE5ZWRlZg==
5
7
  SHA512:
6
- metadata.gz: ad7630c6d9ae68834bd9cf7f7009526c20634c2613dc4fa21c94cb1afc03c5a8906b2a3e0980ad2b39db710000fb40c6d92fbf30116046525f4512c3d2b4539e
7
- data.tar.gz: d1632f41bb5aec7611769091051c8ba9c6e9892616861a483bfcbcfcac55f9a983ccc09981000a7ad9861bf4002d0b5474cfb9988cf12b8c31917dd34dc54319
8
+ metadata.gz: !binary |-
9
+ NzVmNzhhZThiNjRiMjY1NTJiMTQxYWQ4OTYyMTUzZjZlM2Q2NTBiMDE0OGY5
10
+ NjRjMGIzNjhlMmI1MjZiYTM3ZTA5ZjRiOTYyNDljNDEwMjg2YmU5Y2Q2OGFm
11
+ Y2YxODlkYjI0NzNlMmU5YzcwMmM1ZjI0NWY0ZmY2NTJmOWMxYmY=
12
+ data.tar.gz: !binary |-
13
+ ZjhmNTU1NDQ1ZWE0OWZiMDdmMjdiNDdiM2VkNWRjMzRmNDkyMzc5OTkxZjBk
14
+ MTg4YTVmMGEyMDJjYzY5Zjg1ZGI2ZTljNWUxMzhlMDllNGNjMzIzYTM2NzI0
15
+ NzE1M2JkNDVmNWY1M2FjNTYxODFmNWUxMGVhYThlNTJmMDMxYjM=
@@ -24,12 +24,20 @@ module ActiveRecord
24
24
  Tasks::DatabaseTasks.purge(config)
25
25
 
26
26
  Base.establish_connection(config)
27
- Tasks::DatabaseTasks.load_schema
28
- check_pending!
27
+ load_base_schema
29
28
 
30
29
  Wagons.current_wagon.prepare_test_db if Wagons.current_wagon
31
30
  end
32
31
 
32
+ def load_base_schema
33
+ if Tasks::DatabaseTasks.respond_to?(:load_schema_current)
34
+ Tasks::DatabaseTasks.load_schema_current
35
+ else
36
+ Tasks::DatabaseTask.load_schema
37
+ end
38
+ check_pending!
39
+ end
40
+
33
41
  def app_needs_migration?
34
42
  Wagons.current_wagon ||
35
43
  defined_app_migration_versions != migration_versions_in_db
@@ -1,3 +1,3 @@
1
1
  module Wagons
2
- VERSION = '0.4.4'
2
+ VERSION = '0.4.5'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /home/pzumkehr/src/ruby/wagons
3
3
  specs:
4
- wagons (0.4.4)
4
+ wagons (0.4.5)
5
5
  bundler (>= 1.1)
6
6
  rails (>= 3.2)
7
7
  seed-fu-ndo (>= 0.0.2)
@@ -54,10 +54,10 @@ GEM
54
54
  minitest (~> 5.1)
55
55
  thread_safe (~> 0.3, >= 0.3.4)
56
56
  tzinfo (~> 1.1)
57
- arel (6.0.2)
57
+ arel (6.0.3)
58
58
  builder (3.2.2)
59
59
  erubis (2.7.0)
60
- globalid (0.3.5)
60
+ globalid (0.3.6)
61
61
  activesupport (>= 4.1.0)
62
62
  i18n (0.7.0)
63
63
  json (1.8.3)
@@ -68,7 +68,7 @@ GEM
68
68
  metaclass (0.0.4)
69
69
  mime-types (2.6.1)
70
70
  mini_portile (0.6.2)
71
- minitest (5.7.0)
71
+ minitest (5.8.0)
72
72
  mocha (1.1.0)
73
73
  metaclass (~> 0.0.1)
74
74
  nokogiri (1.6.6.2)
Binary file
@@ -45548,5 +45548,404 @@ Completed 200 OK in 151ms (Views: 150.7ms | ActiveRecord: 0.0ms)
45548
45548
   (0.1ms) begin transaction
45549
45549
  ------------------------------
45550
45550
  DummyTestWagonTest: test_truth
45551
+ ------------------------------
45552
+  (0.0ms) rollback transaction
45553
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45554
+  (0.1ms) begin transaction
45555
+ -------------------------------------------------------------
45556
+ Wagons::InstallerTest: test_install_runs_when_checks_are_fine
45557
+ -------------------------------------------------------------
45558
+ echo $RAILS_ENV > env.tmp
45559
+  (0.1ms) rollback transaction
45560
+  (0.0ms) begin transaction
45561
+ -----------------------------------------------------------
45562
+ Wagons::InstallerTest: test_updates_returns_higher_versions
45563
+ -----------------------------------------------------------
45564
+  (0.1ms) rollback transaction
45565
+  (0.0ms) begin transaction
45566
+ --------------------------------------------------------------
45567
+ Wagons::InstallerTest: test_install_fails_when_name_is_invalid
45568
+ --------------------------------------------------------------
45569
+ dummy_fantasy was not found
45570
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:165:in `block in specs_from_names'
45571
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:163:in `map'
45572
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:163:in `specs_from_names'
45573
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:291:in `change_internal'
45574
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:58:in `install'
45575
+ /home/pzumkehr/src/ruby/wagons/test/wagons_installer_test.rb:143:in `block in <class:InstallerTest>'
45576
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:108:in `block (3 levels) in run'
45577
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:205:in `capture_exceptions'
45578
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:105:in `block (2 levels) in run'
45579
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:256:in `time_it'
45580
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:104:in `block in run'
45581
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
45582
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:276:in `with_info_handler'
45583
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:103:in `run'
45584
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:781:in `run_one_method'
45585
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:308:in `run_one_method'
45586
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:296:in `block (2 levels) in run'
45587
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `each'
45588
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `block in run'
45589
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
45590
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:321:in `with_info_handler'
45591
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:294:in `run'
45592
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `block in __run'
45593
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `map'
45594
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `__run'
45595
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:129:in `run'
45596
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:56:in `block in autorun'
45597
+  (0.1ms) rollback transaction
45598
+  (0.0ms) begin transaction
45599
+ -------------------------------------------------------------------
45600
+ Wagons::InstallerTest: test_wagonfile_update_updates_commented_gems
45601
+ -------------------------------------------------------------------
45602
+  (0.1ms) rollback transaction
45603
+  (0.1ms) begin transaction
45604
+ -------------------------------------------
45605
+ Wagons::InstallerTest: test_specs_from_name
45606
+ -------------------------------------------
45607
+  (0.1ms) rollback transaction
45608
+  (0.0ms) begin transaction
45609
+ ----------------------------------------------------------------------------------------------------------------
45610
+ Wagons::InstallerTest: test_check_uninstalled_dependencies_is_fine_if_all_depts_are_uninstalled_at_the_same_time
45611
+ ----------------------------------------------------------------------------------------------------------------
45612
+  (0.1ms) rollback transaction
45613
+  (0.0ms) begin transaction
45614
+ ------------------------------------------
45615
+ Wagons::InstallerTest: test_find_available
45616
+ ------------------------------------------
45617
+  (0.1ms) rollback transaction
45618
+  (0.0ms) begin transaction
45619
+ --------------------------------------------------------------------
45620
+ Wagons::InstallerTest: test_wagon_class_can_load_class_from_anywhere
45621
+ --------------------------------------------------------------------
45622
+  (0.1ms) rollback transaction
45623
+  (0.0ms) begin transaction
45624
+ --------------------------------------------------------------
45625
+ Wagons::InstallerTest: test_install_fails_when_checks_go_wrong
45626
+ --------------------------------------------------------------
45627
+  (0.1ms) rollback transaction
45628
+  (0.0ms) begin transaction
45629
+ ------------------------------------------
45630
+ Wagons::InstallerTest: test_find_installed
45631
+ ------------------------------------------
45632
+  (0.1ms) rollback transaction
45633
+  (0.0ms) begin transaction
45634
+ --------------------------------------------------------------------------------------------------
45635
+ Wagons::InstallerTest: test_check_dependencies_is_fine_if_all_depts_are_installed_at_the_same_time
45636
+ --------------------------------------------------------------------------------------------------
45637
+  (0.1ms) rollback transaction
45638
+  (0.1ms) begin transaction
45639
+ ------------------------------------------------------------------------------------------------------------------------------
45640
+ Wagons::InstallerTest: test_wagonfile_update_keeps_existing_and_add_new_entries_if_version_should_not_be_included_in_wagonfile
45641
+ ------------------------------------------------------------------------------------------------------------------------------
45642
+  (0.1ms) rollback transaction
45643
+  (0.0ms) begin transaction
45644
+ ------------------------------------------------------------------
45645
+ Wagons::InstallerTest: test_install_fails_when_setup_command_fails
45646
+ ------------------------------------------------------------------
45647
+ echo $RAILS_ENV; echo 'its a bug' >&2; exit 1
45648
+ its a bug
45649
+
45650
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:286:in `execute_setup'
45651
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:261:in `block in setup_wagons'
45652
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler.rb:236:in `block in with_clean_env'
45653
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler.rb:223:in `with_original_env'
45654
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler.rb:229:in `with_clean_env'
45655
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:259:in `setup_wagons'
45656
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:63:in `block in install'
45657
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:296:in `change_internal'
45658
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:58:in `install'
45659
+ /home/pzumkehr/src/ruby/wagons/test/wagons_installer_test.rb:130:in `block in <class:InstallerTest>'
45660
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:108:in `block (3 levels) in run'
45661
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:205:in `capture_exceptions'
45662
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:105:in `block (2 levels) in run'
45663
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:256:in `time_it'
45664
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:104:in `block in run'
45665
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
45666
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:276:in `with_info_handler'
45667
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:103:in `run'
45668
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:781:in `run_one_method'
45669
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:308:in `run_one_method'
45670
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:296:in `block (2 levels) in run'
45671
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `each'
45672
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `block in run'
45673
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
45674
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:321:in `with_info_handler'
45675
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:294:in `run'
45676
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `block in __run'
45677
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `map'
45678
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `__run'
45679
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:129:in `run'
45680
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:56:in `block in autorun'
45681
+  (0.1ms) rollback transaction
45682
+  (0.0ms) begin transaction
45683
+ -----------------------------------------------------------------------------
45684
+ Wagons::InstallerTest: test_check_dependencies_fails_if_dependency_is_missing
45685
+ -----------------------------------------------------------------------------
45686
+  (0.1ms) rollback transaction
45687
+  (0.0ms) begin transaction
45688
+ ------------------------------------------------------------------------
45689
+ Wagons::InstallerTest: test_check_app_dependency_fails_if_app_is_too_old
45690
+ ------------------------------------------------------------------------
45691
+  (0.1ms) rollback transaction
45692
+  (0.0ms) begin transaction
45693
+ --------------------------------------------------------------------------------
45694
+ Wagons::InstallerTest: test_wagonfile_update_updates_version_and_add_new_entries
45695
+ --------------------------------------------------------------------------------
45696
+  (0.1ms) rollback transaction
45697
+  (0.0ms) begin transaction
45698
+ ----------------------------------------------------------------
45699
+ Wagons::InstallerTest: test_uninstall_fails_when_checks_go_wrong
45700
+ ----------------------------------------------------------------
45701
+  (0.0ms) rollback transaction
45702
+  (0.0ms) begin transaction
45703
+ -----------------------------------------------------------------------------
45704
+ Wagons::InstallerTest: test_exclude_specs_does_not_modify_original_collection
45705
+ -----------------------------------------------------------------------------
45706
+  (0.0ms) rollback transaction
45707
+  (0.0ms) begin transaction
45708
+ --------------------------------------------------------------------------------------
45709
+ Wagons::InstallerTest: test_check_uninstalled_dependencies_fails_if_dependency_remains
45710
+ --------------------------------------------------------------------------------------
45711
+  (0.0ms) rollback transaction
45712
+  (0.0ms) begin transaction
45713
+ -----------------------------------------------------------------
45714
+ Wagons::InstallerTest: test_not_installed_does_not_return_updates
45715
+ -----------------------------------------------------------------
45716
+  (0.0ms) rollback transaction
45717
+  (0.0ms) begin transaction
45718
+ ------------------------------------------------------------------
45719
+ Wagons::InstallerTest: test_available_only_returns_latest_versions
45720
+ ------------------------------------------------------------------
45721
+  (0.1ms) rollback transaction
45722
+  (0.0ms) begin transaction
45723
+ ----------------------------------------------------------------------------------
45724
+ Wagons::InstallerTest: test_specs_from_names_raises_exception_if_spec_is_not_found
45725
+ ----------------------------------------------------------------------------------
45726
+  (0.1ms) rollback transaction
45727
+  (0.0ms) begin transaction
45728
+ --------------------------------------------
45729
+ Wagons::InstallerTest: test_wagonfile_remove
45730
+ --------------------------------------------
45731
+  (0.1ms) rollback transaction
45732
+  (0.0ms) begin transaction
45733
+ -----------------------------------------------------------------------------
45734
+ Wagons::InstallerTest: test_check_app_dependency_is_fine_if_app_is_sufficient
45735
+ -----------------------------------------------------------------------------
45736
+  (0.1ms) rollback transaction
45737
+  (0.0ms) begin transaction
45738
+ ----------------------------------------------------------------
45739
+ Wagons::InstallerTest: test_uninstall_fails_when_name_is_invalid
45740
+ ----------------------------------------------------------------
45741
+ dummy_fantasy was not found
45742
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:165:in `block in specs_from_names'
45743
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:163:in `map'
45744
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:163:in `specs_from_names'
45745
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:291:in `change_internal'
45746
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:76:in `uninstall'
45747
+ /home/pzumkehr/src/ruby/wagons/test/wagons_installer_test.rb:160:in `block in <class:InstallerTest>'
45748
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:108:in `block (3 levels) in run'
45749
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:205:in `capture_exceptions'
45750
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:105:in `block (2 levels) in run'
45751
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:256:in `time_it'
45752
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:104:in `block in run'
45753
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
45754
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:276:in `with_info_handler'
45755
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:103:in `run'
45756
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:781:in `run_one_method'
45757
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:308:in `run_one_method'
45758
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:296:in `block (2 levels) in run'
45759
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `each'
45760
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `block in run'
45761
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
45762
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:321:in `with_info_handler'
45763
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:294:in `run'
45764
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `block in __run'
45765
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `map'
45766
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `__run'
45767
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:129:in `run'
45768
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:56:in `block in autorun'
45769
+  (0.1ms) rollback transaction
45770
+  (0.0ms) begin transaction
45771
+ ---------------------------------------------------------------
45772
+ Wagons::InstallerTest: test_uninstall_runs_when_checks_are_fine
45773
+ ---------------------------------------------------------------
45774
+  (0.1ms) rollback transaction
45775
+  (0.0ms) begin transaction
45776
+ ----------------------
45777
+ WagonsTest: test_truth
45778
+ ----------------------
45779
+  (0.0ms) rollback transaction
45780
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45781
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45782
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45783
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45784
+  (0.1ms) begin transaction
45785
+ Fixture Delete (5.7ms) DELETE FROM "people"
45786
+ Fixture Insert (0.2ms) INSERT INTO "people" ("name", "birthday", "created_at", "updated_at", "id") VALUES ('Your Mother', '2001-06-06', '2015-08-11 13:26:15', '2015-08-11 13:26:15', 774433773)
45787
+ Fixture Insert (0.1ms) INSERT INTO "people" ("name", "birthday", "created_at", "updated_at", "id") VALUES ('Pascal', '1980-08-12', '2015-08-11 13:26:15', '2015-08-11 13:26:15', 357302017)
45788
+  (12.8ms) commit transaction
45789
+  (0.1ms) begin transaction
45790
+ ----------------------------------------------------------------------
45791
+ PersonTest: test_wagon_models_are_not_loaded_in_main_application_tests
45792
+ ----------------------------------------------------------------------
45793
+  (0.0ms) rollback transaction
45794
+  (0.0ms) begin transaction
45795
+ -----------------------------------------------
45796
+ PersonTest: test_person_without_name_is_invalid
45797
+ -----------------------------------------------
45798
+  (0.1ms) rollback transaction
45799
+  (0.0ms) begin transaction
45800
+ ------------------------------------------------
45801
+ PersonTest: test_person_has_no_idea_about_a_city
45802
+ ------------------------------------------------
45803
+  (0.0ms) rollback transaction
45804
+  (13.8ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "birthday" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
45805
+  (9.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
45806
+  (0.1ms) select sqlite_version(*)
45807
+  (9.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
45808
+  (0.1ms) SELECT version FROM "schema_migrations"
45809
+  (9.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120606125104')
45810
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45811
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45812
+ Migrating to CreateCities (20120606125058)
45813
+  (0.1ms) begin transaction
45814
+  (0.3ms) CREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
45815
+  (0.2ms) ALTER TABLE "people" ADD "city_id" integer
45816
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120606125058"]]
45817
+  (10.7ms) commit transaction
45818
+  (0.1ms) begin transaction
45819
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE "people"."name" = ? ORDER BY "people"."id" ASC LIMIT 1 [["name", "Pascal"]]
45820
+ SQL (0.2ms) INSERT INTO "people" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Pascal"], ["created_at", "2015-08-11 13:26:22.123188"], ["updated_at", "2015-08-11 13:26:22.123188"]]
45821
+  (9.9ms) commit transaction
45822
+  (0.1ms) begin transaction
45823
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? ORDER BY "cities"."id" ASC LIMIT 1 [["name", "Paris"]]
45824
+ SQL (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Paris"], ["created_at", "2015-08-11 13:26:22.166932"], ["updated_at", "2015-08-11 13:26:22.166932"]]
45825
+  (9.2ms) commit transaction
45826
+  (0.1ms) begin transaction
45827
+ Fixture Delete (0.1ms) DELETE FROM "cities"
45828
+ Fixture Insert (0.1ms) INSERT INTO "cities" ("name", "created_at", "updated_at", "id") VALUES ('London', '2012-06-06', '2012-06-06', 165566181)
45829
+ Fixture Insert (0.1ms) INSERT INTO "cities" ("name", "created_at", "updated_at", "id") VALUES ('Tokio', '2012-01-06', '2012-01-06', 75882147)
45830
+  (9.4ms) commit transaction
45831
+  (0.1ms) begin transaction
45832
+ -------------------------------------------------------
45833
+ PersonTest: test_test_seeds_from_application_are_loaded
45834
+ -------------------------------------------------------
45835
+ Person Exists (0.2ms) SELECT 1 AS one FROM "people" WHERE "people"."name" = ? LIMIT 1 [["name", "Pascal"]]
45836
+  (0.0ms) rollback transaction
45837
+  (0.0ms) begin transaction
45838
+ ------------------------------------------
45839
+ PersonTest: test_person_can_live_in_a_city
45840
+ ------------------------------------------
45841
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 165566181]]
45842
+  (0.1ms) SAVEPOINT active_record_1
45843
+ SQL (0.2ms) INSERT INTO "people" ("name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Fred"], ["city_id", 165566181], ["created_at", "2015-08-11 13:26:22.261784"], ["updated_at", "2015-08-11 13:26:22.261784"]]
45844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45845
+ Person Exists (0.1ms) SELECT 1 AS one FROM "people" WHERE "people"."city_id" = ? AND "people"."id" = ? LIMIT 1 [["city_id", 165566181], ["id", 2]]
45846
+  (0.1ms) rollback transaction
45847
+  (0.1ms) begin transaction
45848
+ -------------------------------------------
45849
+ CityTest: test_city_without_name_is_invalid
45850
+ -------------------------------------------
45851
+  (0.1ms) rollback transaction
45852
+  (0.0ms) begin transaction
45853
+ ---------------------------------------------
45854
+ CityTest: test_fixtures_from_wagon_are_loaded
45855
+ ---------------------------------------------
45856
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 165566181]]
45857
+  (0.0ms) rollback transaction
45858
+  (0.0ms) begin transaction
45859
+ --------------------------------------------------------------
45860
+ PeopleControllerTest: test_extensions_are_rendered_with_locals
45861
+ --------------------------------------------------------------
45862
+ Processing by PeopleController#index as HTML
45863
+ Rendered vendor/wagons/superliner/app/views/people/_details.html.erb (0.5ms)
45864
+ Rendered vendor/wagons/superliner/app/views/people/_list_main.html.erb (0.4ms)
45865
+ Rendered vendor/wagons/superliner/app/views/people/_list_superliner.html.erb (0.3ms)
45866
+ Rendered vendor/wagons/superliner/app/views/shared/_sidebar_superliner.html.erb (0.2ms)
45867
+ Rendered shared/_sidebar.html.erb (1.0ms)
45868
+ Rendered people/index.html.erb within layouts/application (9.5ms)
45869
+ Completed 200 OK in 211ms (Views: 210.6ms | ActiveRecord: 0.0ms)
45870
+  (0.1ms) rollback transaction
45871
+  (0.1ms) begin transaction
45872
+ --------------------------------------------------------------------------
45873
+ CitiesControllerTest: test_wagon_view_paths_preceed_application_view_paths
45874
+ --------------------------------------------------------------------------
45875
+  (0.1ms) rollback transaction
45876
+  (0.1ms) begin transaction
45877
+ ----------------------------------------------
45878
+ WagonTest: test_find_for_inexisting_return_nil
45879
+ ----------------------------------------------
45880
+  (0.0ms) rollback transaction
45881
+  (0.0ms) begin transaction
45882
+ -------------------------------------
45883
+ WagonTest: test_dependencies_is_empty
45884
+ -------------------------------------
45885
+  (0.0ms) rollback transaction
45886
+  (0.0ms) begin transaction
45887
+ ---------------------------------------
45888
+ WagonTest: test_gem_name_has_app_prefix
45889
+ ---------------------------------------
45890
+  (0.0ms) rollback transaction
45891
+  (0.0ms) begin transaction
45892
+ ------------------------------------------
45893
+ WagonTest: test_all_includes_current_wagon
45894
+ ------------------------------------------
45895
+  (0.0ms) rollback transaction
45896
+  (0.0ms) begin transaction
45897
+ -----------------------------------------
45898
+ WagonTest: test_all_dependencies_is_empty
45899
+ -----------------------------------------
45900
+  (0.0ms) rollback transaction
45901
+  (0.0ms) begin transaction
45902
+ ---------------------------------------------------
45903
+ WagonTest: test_wagon_name_does_not_have_app_prefix
45904
+ ---------------------------------------------------
45905
+  (0.0ms) rollback transaction
45906
+  (0.0ms) begin transaction
45907
+ ----------------------------------------------------
45908
+ WagonTest: test_description_can_be_read_from_gemspec
45909
+ ----------------------------------------------------
45910
+  (0.0ms) rollback transaction
45911
+  (0.0ms) begin transaction
45912
+ ----------------------------------------------
45913
+ WagonTest: test_label_can_be_read_from_gemspec
45914
+ ----------------------------------------------
45915
+  (0.0ms) rollback transaction
45916
+  (0.0ms) begin transaction
45917
+ -----------------------------------
45918
+ WagonTest: test_app_name_is_correct
45919
+ -----------------------------------
45920
+  (0.0ms) rollback transaction
45921
+  (0.0ms) begin transaction
45922
+ ------------------------------------------------
45923
+ WagonTest: test_version_can_be_read_from_gemspec
45924
+ ------------------------------------------------
45925
+  (0.0ms) rollback transaction
45926
+  (0.0ms) begin transaction
45927
+ ------------------------------
45928
+ WagonTest: test_existing_seeds
45929
+ ------------------------------
45930
+  (0.1ms) SAVEPOINT active_record_1
45931
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? ORDER BY "cities"."id" ASC LIMIT 1 [["name", "Paris"]]
45932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
45933
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? ORDER BY "cities"."id" ASC LIMIT 1 [["name", "Paris"]]
45934
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? [["name", "Paris"]]
45935
+  (0.0ms) rollback transaction
45936
+  (11.0ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "birthday" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
45937
+  (10.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
45938
+  (0.1ms) select sqlite_version(*)
45939
+  (7.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
45940
+  (0.1ms) SELECT version FROM "schema_migrations"
45941
+  (13.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20120606125104')
45942
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45943
+  (0.1ms) begin transaction
45944
+ Person Load (0.2ms) SELECT "people".* FROM "people" WHERE "people"."name" = ? ORDER BY "people"."id" ASC LIMIT 1 [["name", "Pascal"]]
45945
+ SQL (0.2ms) INSERT INTO "people" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Pascal"], ["created_at", "2015-08-11 13:26:27.485798"], ["updated_at", "2015-08-11 13:26:27.485798"]]
45946
+  (8.8ms) commit transaction
45947
+  (0.1ms) begin transaction
45948
+ ------------------------------
45949
+ DummyTestWagonTest: test_truth
45551
45950
  ------------------------------
45552
45951
   (0.0ms) rollback transaction
@@ -6,7 +6,7 @@ PATH
6
6
  PATH
7
7
  remote: /home/pzumkehr/src/ruby/wagons
8
8
  specs:
9
- wagons (0.4.4)
9
+ wagons (0.4.5)
10
10
  bundler (>= 1.1)
11
11
  rails (>= 3.2)
12
12
  seed-fu-ndo (>= 0.0.2)
@@ -49,10 +49,10 @@ GEM
49
49
  minitest (~> 5.1)
50
50
  thread_safe (~> 0.3, >= 0.3.4)
51
51
  tzinfo (~> 1.1)
52
- arel (6.0.2)
52
+ arel (6.0.3)
53
53
  builder (3.2.2)
54
54
  erubis (2.7.0)
55
- globalid (0.3.5)
55
+ globalid (0.3.6)
56
56
  activesupport (>= 4.1.0)
57
57
  i18n (0.7.0)
58
58
  json (1.8.3)
@@ -63,7 +63,7 @@ GEM
63
63
  metaclass (0.0.4)
64
64
  mime-types (2.6.1)
65
65
  mini_portile (0.6.2)
66
- minitest (5.7.0)
66
+ minitest (5.8.0)
67
67
  mocha (1.1.0)
68
68
  metaclass (~> 0.0.1)
69
69
  nokogiri (1.6.6.2)
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wagons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pascal Zumkehr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-22 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: seed-fu-ndo
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.0.2
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.0.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
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
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: open4
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - ! '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - ! '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: Wagons are plugins that extend your specific Rails application. This
@@ -238,12 +238,12 @@ require_paths:
238
238
  - lib
239
239
  required_ruby_version: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - ">="
241
+ - - ! '>='
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0'
244
244
  required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  requirements:
246
- - - ">="
246
+ - - ! '>='
247
247
  - !ruby/object:Gem::Version
248
248
  version: '0'
249
249
  requirements: []