wagons 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjFhMzUzNTkwMWUxMjNiNzMxNjUxZDE1ZjYxODZlNDBmZDI1NzE5Ng==
4
+ Nzg1NDdhNWNmNmE5ZDYxZWFjYjEyNjQyY2FhYjFmYjEwN2QyYmQ5Zg==
5
5
  data.tar.gz: !binary |-
6
- MzY5NmUyMTkzMTEyOGQ5NmJjNDE2MzRjZTlhMDg2MmI4ZWE5ZWRlZg==
6
+ ZTg5YmRkNmIyNGEwMDAyN2U4MWVmNWUxOTc5NWUyMDUwM2NiZWJlMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzVmNzhhZThiNjRiMjY1NTJiMTQxYWQ4OTYyMTUzZjZlM2Q2NTBiMDE0OGY5
10
- NjRjMGIzNjhlMmI1MjZiYTM3ZTA5ZjRiOTYyNDljNDEwMjg2YmU5Y2Q2OGFm
11
- Y2YxODlkYjI0NzNlMmU5YzcwMmM1ZjI0NWY0ZmY2NTJmOWMxYmY=
9
+ YThmMDY1NGQyNDNlMTQ4M2E4YjllMmQ2Y2RlNGQ3MzFmODg5NzI0MzJhMmZk
10
+ MzIwODgyMWZkZjM5OGM5NzZlYTcxYzlhMWIwNDgxZTFjMjMyYzM0MjIxNmVl
11
+ MTIwZmM4ZjM2OTEzODg1MWRlMjY2ZjA4OWM0MjJmYzk1ZTFjYzg=
12
12
  data.tar.gz: !binary |-
13
- ZjhmNTU1NDQ1ZWE0OWZiMDdmMjdiNDdiM2VkNWRjMzRmNDkyMzc5OTkxZjBk
14
- MTg4YTVmMGEyMDJjYzY5Zjg1ZGI2ZTljNWUxMzhlMDllNGNjMzIzYTM2NzI0
15
- NzE1M2JkNDVmNWY1M2FjNTYxODFmNWUxMGVhYThlNTJmMDMxYjM=
13
+ ZTAwZjI2Y2RmOWFlODNmZWI3OTRmMzFhNjA2Nzg1Mjc4MTEzMDE3MDc4MDMw
14
+ NDBhMGY5ZTc2MzdmYzY2YTdiYjE5MDE3MDNjNzllZDRjZGRiYTdiMzRmZmYy
15
+ NzU2MTExYjM4YjllMjQxOWM3YjYwOGQ0NjBlYjc4NThiNDlmNmI=
@@ -18,22 +18,24 @@ module ActiveRecord
18
18
  private
19
19
 
20
20
  def load_wagon_schema!
21
- config = Base.configurations['test']
21
+ Base.clear_all_connections!
22
+
22
23
  # Contrary to the original rails approach (#load_schema_if_pending!),
23
24
  # purge the database first to get rid of all wagon tables.
25
+ config = Base.configurations['test']
24
26
  Tasks::DatabaseTasks.purge(config)
25
27
 
26
28
  Base.establish_connection(config)
27
- load_base_schema
29
+ load_app_schema(config)
28
30
 
29
31
  Wagons.current_wagon.prepare_test_db if Wagons.current_wagon
30
32
  end
31
33
 
32
- def load_base_schema
33
- if Tasks::DatabaseTasks.respond_to?(:load_schema_current)
34
- Tasks::DatabaseTasks.load_schema_current
34
+ def load_app_schema(config)
35
+ if Tasks::DatabaseTasks.respond_to?(:load_schema_for)
36
+ Tasks::DatabaseTasks.load_schema_for(config)
35
37
  else
36
- Tasks::DatabaseTask.load_schema
38
+ Tasks::DatabaseTasks.load_schema
37
39
  end
38
40
  check_pending!
39
41
  end
@@ -1,3 +1,3 @@
1
1
  module Wagons
2
- VERSION = '0.4.5'
2
+ VERSION = '0.4.6'
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.5)
4
+ wagons (0.4.6)
5
5
  bundler (>= 1.1)
6
6
  rails (>= 3.2)
7
7
  seed-fu-ndo (>= 0.0.2)
Binary file
@@ -45947,5 +45947,404 @@ WagonTest: test_existing_seeds
45947
45947
   (0.1ms) begin transaction
45948
45948
  ------------------------------
45949
45949
  DummyTestWagonTest: test_truth
45950
+ ------------------------------
45951
+  (0.0ms) rollback transaction
45952
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
45953
+  (0.1ms) begin transaction
45954
+ --------------------------------------------
45955
+ Wagons::InstallerTest: test_wagonfile_remove
45956
+ --------------------------------------------
45957
+  (0.1ms) rollback transaction
45958
+  (0.0ms) begin transaction
45959
+ --------------------------------------------------------------------------------------------------
45960
+ Wagons::InstallerTest: test_check_dependencies_is_fine_if_all_depts_are_installed_at_the_same_time
45961
+ --------------------------------------------------------------------------------------------------
45962
+  (0.0ms) rollback transaction
45963
+  (0.0ms) begin transaction
45964
+ --------------------------------------------------------------------
45965
+ Wagons::InstallerTest: test_wagon_class_can_load_class_from_anywhere
45966
+ --------------------------------------------------------------------
45967
+  (0.1ms) rollback transaction
45968
+  (0.0ms) begin transaction
45969
+ ---------------------------------------------------------------
45970
+ Wagons::InstallerTest: test_uninstall_runs_when_checks_are_fine
45971
+ ---------------------------------------------------------------
45972
+  (0.1ms) rollback transaction
45973
+  (0.0ms) begin transaction
45974
+ -----------------------------------------------------------------
45975
+ Wagons::InstallerTest: test_not_installed_does_not_return_updates
45976
+ -----------------------------------------------------------------
45977
+  (0.0ms) rollback transaction
45978
+  (0.0ms) begin transaction
45979
+ --------------------------------------------------------------------------------------
45980
+ Wagons::InstallerTest: test_check_uninstalled_dependencies_fails_if_dependency_remains
45981
+ --------------------------------------------------------------------------------------
45982
+  (0.0ms) rollback transaction
45983
+  (0.0ms) begin transaction
45984
+ -----------------------------------------------------------------------------
45985
+ Wagons::InstallerTest: test_exclude_specs_does_not_modify_original_collection
45986
+ -----------------------------------------------------------------------------
45987
+  (0.0ms) rollback transaction
45988
+  (0.0ms) begin transaction
45989
+ ----------------------------------------------------------------------------------
45990
+ Wagons::InstallerTest: test_specs_from_names_raises_exception_if_spec_is_not_found
45991
+ ----------------------------------------------------------------------------------
45992
+  (0.1ms) rollback transaction
45993
+  (0.0ms) begin transaction
45994
+ -----------------------------------------------------------------------------
45995
+ Wagons::InstallerTest: test_check_dependencies_fails_if_dependency_is_missing
45996
+ -----------------------------------------------------------------------------
45997
+  (0.0ms) rollback transaction
45998
+  (0.0ms) begin transaction
45999
+ ------------------------------------------------------------------------
46000
+ Wagons::InstallerTest: test_check_app_dependency_fails_if_app_is_too_old
46001
+ ------------------------------------------------------------------------
46002
+  (0.0ms) rollback transaction
46003
+  (0.0ms) begin transaction
46004
+ ----------------------------------------------------------------
46005
+ Wagons::InstallerTest: test_uninstall_fails_when_checks_go_wrong
46006
+ ----------------------------------------------------------------
46007
+  (0.1ms) rollback transaction
46008
+  (0.0ms) begin transaction
46009
+ -------------------------------------------------------------
46010
+ Wagons::InstallerTest: test_install_runs_when_checks_are_fine
46011
+ -------------------------------------------------------------
46012
+ echo $RAILS_ENV > env.tmp
46013
+  (0.1ms) rollback transaction
46014
+  (0.0ms) begin transaction
46015
+ ------------------------------------------------------------------------------------------------------------------------------
46016
+ Wagons::InstallerTest: test_wagonfile_update_keeps_existing_and_add_new_entries_if_version_should_not_be_included_in_wagonfile
46017
+ ------------------------------------------------------------------------------------------------------------------------------
46018
+  (0.0ms) rollback transaction
46019
+  (0.1ms) begin transaction
46020
+ ------------------------------------------------------------------
46021
+ Wagons::InstallerTest: test_install_fails_when_setup_command_fails
46022
+ ------------------------------------------------------------------
46023
+ echo $RAILS_ENV; echo 'its a bug' >&2; exit 1
46024
+ its a bug
46025
+
46026
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:286:in `execute_setup'
46027
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:261:in `block in setup_wagons'
46028
+ /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'
46029
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler.rb:223:in `with_original_env'
46030
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551@global/gems/bundler-1.7.6/lib/bundler.rb:229:in `with_clean_env'
46031
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:259:in `setup_wagons'
46032
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:63:in `block in install'
46033
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:296:in `change_internal'
46034
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:58:in `install'
46035
+ /home/pzumkehr/src/ruby/wagons/test/wagons_installer_test.rb:130:in `block in <class:InstallerTest>'
46036
+ /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'
46037
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:205:in `capture_exceptions'
46038
+ /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'
46039
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:256:in `time_it'
46040
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:104:in `block in run'
46041
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
46042
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:276:in `with_info_handler'
46043
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:103:in `run'
46044
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:781:in `run_one_method'
46045
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:308:in `run_one_method'
46046
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:296:in `block (2 levels) in run'
46047
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `each'
46048
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `block in run'
46049
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
46050
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:321:in `with_info_handler'
46051
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:294:in `run'
46052
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `block in __run'
46053
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `map'
46054
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `__run'
46055
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:129:in `run'
46056
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:56:in `block in autorun'
46057
+  (0.1ms) rollback transaction
46058
+  (0.1ms) begin transaction
46059
+ --------------------------------------------------------------
46060
+ Wagons::InstallerTest: test_install_fails_when_name_is_invalid
46061
+ --------------------------------------------------------------
46062
+ dummy_fantasy was not found
46063
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:165:in `block in specs_from_names'
46064
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:163:in `map'
46065
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:163:in `specs_from_names'
46066
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:291:in `change_internal'
46067
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:58:in `install'
46068
+ /home/pzumkehr/src/ruby/wagons/test/wagons_installer_test.rb:143:in `block in <class:InstallerTest>'
46069
+ /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'
46070
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:205:in `capture_exceptions'
46071
+ /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'
46072
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:256:in `time_it'
46073
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:104:in `block in run'
46074
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
46075
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:276:in `with_info_handler'
46076
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:103:in `run'
46077
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:781:in `run_one_method'
46078
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:308:in `run_one_method'
46079
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:296:in `block (2 levels) in run'
46080
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `each'
46081
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `block in run'
46082
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
46083
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:321:in `with_info_handler'
46084
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:294:in `run'
46085
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `block in __run'
46086
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `map'
46087
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `__run'
46088
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:129:in `run'
46089
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:56:in `block in autorun'
46090
+  (0.1ms) rollback transaction
46091
+  (0.1ms) begin transaction
46092
+ ----------------------------------------------------------------------------------------------------------------
46093
+ Wagons::InstallerTest: test_check_uninstalled_dependencies_is_fine_if_all_depts_are_uninstalled_at_the_same_time
46094
+ ----------------------------------------------------------------------------------------------------------------
46095
+  (0.1ms) rollback transaction
46096
+  (0.1ms) begin transaction
46097
+ ------------------------------------------------------------------
46098
+ Wagons::InstallerTest: test_available_only_returns_latest_versions
46099
+ ------------------------------------------------------------------
46100
+  (0.1ms) rollback transaction
46101
+  (0.1ms) begin transaction
46102
+ -------------------------------------------
46103
+ Wagons::InstallerTest: test_specs_from_name
46104
+ -------------------------------------------
46105
+  (0.1ms) rollback transaction
46106
+  (0.1ms) begin transaction
46107
+ -----------------------------------------------------------------------------
46108
+ Wagons::InstallerTest: test_check_app_dependency_is_fine_if_app_is_sufficient
46109
+ -----------------------------------------------------------------------------
46110
+  (0.0ms) rollback transaction
46111
+  (0.0ms) begin transaction
46112
+ --------------------------------------------------------------
46113
+ Wagons::InstallerTest: test_install_fails_when_checks_go_wrong
46114
+ --------------------------------------------------------------
46115
+  (0.1ms) rollback transaction
46116
+  (0.1ms) begin transaction
46117
+ ----------------------------------------------------------------
46118
+ Wagons::InstallerTest: test_uninstall_fails_when_name_is_invalid
46119
+ ----------------------------------------------------------------
46120
+ dummy_fantasy was not found
46121
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:165:in `block in specs_from_names'
46122
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:163:in `map'
46123
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:163:in `specs_from_names'
46124
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:291:in `change_internal'
46125
+ /home/pzumkehr/src/ruby/wagons/lib/wagons/installer.rb:76:in `uninstall'
46126
+ /home/pzumkehr/src/ruby/wagons/test/wagons_installer_test.rb:160:in `block in <class:InstallerTest>'
46127
+ /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'
46128
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:205:in `capture_exceptions'
46129
+ /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'
46130
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:256:in `time_it'
46131
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:104:in `block in run'
46132
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
46133
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:276:in `with_info_handler'
46134
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest/test.rb:103:in `run'
46135
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:781:in `run_one_method'
46136
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:308:in `run_one_method'
46137
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:296:in `block (2 levels) in run'
46138
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `each'
46139
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:295:in `block in run'
46140
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:334:in `on_signal'
46141
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:321:in `with_info_handler'
46142
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:294:in `run'
46143
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `block in __run'
46144
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `map'
46145
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:155:in `__run'
46146
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:129:in `run'
46147
+ /home/pzumkehr/.rvm/gems/ruby-1.9.3-p551/gems/minitest-5.8.0/lib/minitest.rb:56:in `block in autorun'
46148
+  (0.1ms) rollback transaction
46149
+  (0.0ms) begin transaction
46150
+ ------------------------------------------
46151
+ Wagons::InstallerTest: test_find_installed
46152
+ ------------------------------------------
46153
+  (0.0ms) rollback transaction
46154
+  (0.0ms) begin transaction
46155
+ -------------------------------------------------------------------
46156
+ Wagons::InstallerTest: test_wagonfile_update_updates_commented_gems
46157
+ -------------------------------------------------------------------
46158
+  (0.0ms) rollback transaction
46159
+  (0.1ms) begin transaction
46160
+ -----------------------------------------------------------
46161
+ Wagons::InstallerTest: test_updates_returns_higher_versions
46162
+ -----------------------------------------------------------
46163
+  (0.1ms) rollback transaction
46164
+  (0.0ms) begin transaction
46165
+ --------------------------------------------------------------------------------
46166
+ Wagons::InstallerTest: test_wagonfile_update_updates_version_and_add_new_entries
46167
+ --------------------------------------------------------------------------------
46168
+  (0.0ms) rollback transaction
46169
+  (0.0ms) begin transaction
46170
+ ------------------------------------------
46171
+ Wagons::InstallerTest: test_find_available
46172
+ ------------------------------------------
46173
+  (0.0ms) rollback transaction
46174
+  (0.0ms) begin transaction
46175
+ ----------------------
46176
+ WagonsTest: test_truth
46177
+ ----------------------
46178
+  (0.0ms) rollback transaction
46179
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46180
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46181
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46182
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46183
+  (0.1ms) begin transaction
46184
+ Fixture Delete (0.1ms) DELETE FROM "people"
46185
+ Fixture Insert (0.2ms) INSERT INTO "people" ("name", "birthday", "created_at", "updated_at", "id") VALUES ('Your Mother', '2001-06-06', '2015-08-11 16:26:32', '2015-08-11 16:26:32', 774433773)
46186
+ Fixture Insert (0.1ms) INSERT INTO "people" ("name", "birthday", "created_at", "updated_at", "id") VALUES ('Pascal', '1980-08-12', '2015-08-11 16:26:32', '2015-08-11 16:26:32', 357302017)
46187
+  (11.1ms) commit transaction
46188
+  (0.2ms) begin transaction
46189
+ ------------------------------------------------
46190
+ PersonTest: test_person_has_no_idea_about_a_city
46191
+ ------------------------------------------------
46192
+  (0.1ms) rollback transaction
46193
+  (0.1ms) begin transaction
46194
+ -----------------------------------------------
46195
+ PersonTest: test_person_without_name_is_invalid
46196
+ -----------------------------------------------
46197
+  (0.1ms) rollback transaction
46198
+  (0.0ms) begin transaction
46199
+ ----------------------------------------------------------------------
46200
+ PersonTest: test_wagon_models_are_not_loaded_in_main_application_tests
46201
+ ----------------------------------------------------------------------
46202
+  (0.0ms) rollback transaction
46203
+  (27.4ms) 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) 
46204
+  (11.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
46205
+  (0.1ms) select sqlite_version(*)
46206
+  (11.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
46207
+  (0.1ms) SELECT version FROM "schema_migrations"
46208
+  (14.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20120606125104')
46209
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46210
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46211
+ Migrating to CreateCities (20120606125058)
46212
+  (0.1ms) begin transaction
46213
+  (0.2ms) CREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
46214
+  (0.1ms) ALTER TABLE "people" ADD "city_id" integer
46215
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120606125058"]]
46216
+  (14.0ms) commit transaction
46217
+  (0.2ms) begin transaction
46218
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE "people"."name" = ? ORDER BY "people"."id" ASC LIMIT 1 [["name", "Pascal"]]
46219
+ SQL (0.2ms) INSERT INTO "people" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Pascal"], ["created_at", "2015-08-11 16:26:39.230594"], ["updated_at", "2015-08-11 16:26:39.230594"]]
46220
+  (16.5ms) commit transaction
46221
+  (0.1ms) begin transaction
46222
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? ORDER BY "cities"."id" ASC LIMIT 1 [["name", "Paris"]]
46223
+ SQL (0.2ms) INSERT INTO "cities" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Paris"], ["created_at", "2015-08-11 16:26:39.282068"], ["updated_at", "2015-08-11 16:26:39.282068"]]
46224
+  (9.5ms) commit transaction
46225
+  (0.1ms) begin transaction
46226
+ Fixture Delete (0.1ms) DELETE FROM "cities"
46227
+ Fixture Insert (0.1ms) INSERT INTO "cities" ("name", "created_at", "updated_at", "id") VALUES ('London', '2012-06-06', '2012-06-06', 165566181)
46228
+ Fixture Insert (0.1ms) INSERT INTO "cities" ("name", "created_at", "updated_at", "id") VALUES ('Tokio', '2012-01-06', '2012-01-06', 75882147)
46229
+  (16.4ms) commit transaction
46230
+  (0.1ms) begin transaction
46231
+ -------------------------------------------
46232
+ CityTest: test_city_without_name_is_invalid
46233
+ -------------------------------------------
46234
+  (0.1ms) rollback transaction
46235
+  (0.1ms) begin transaction
46236
+ ---------------------------------------------
46237
+ CityTest: test_fixtures_from_wagon_are_loaded
46238
+ ---------------------------------------------
46239
+ City Load (0.2ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 165566181]]
46240
+  (0.1ms) rollback transaction
46241
+  (0.1ms) begin transaction
46242
+ --------------------------------------------------------------
46243
+ PeopleControllerTest: test_extensions_are_rendered_with_locals
46244
+ --------------------------------------------------------------
46245
+ Processing by PeopleController#index as HTML
46246
+ Rendered vendor/wagons/superliner/app/views/people/_details.html.erb (0.2ms)
46247
+ Rendered vendor/wagons/superliner/app/views/people/_list_main.html.erb (0.2ms)
46248
+ Rendered vendor/wagons/superliner/app/views/people/_list_superliner.html.erb (0.3ms)
46249
+ Rendered vendor/wagons/superliner/app/views/shared/_sidebar_superliner.html.erb (0.2ms)
46250
+ Rendered shared/_sidebar.html.erb (1.0ms)
46251
+ Rendered people/index.html.erb within layouts/application (7.6ms)
46252
+ Completed 200 OK in 193ms (Views: 193.1ms | ActiveRecord: 0.0ms)
46253
+  (0.1ms) rollback transaction
46254
+  (0.0ms) begin transaction
46255
+ --------------------------------------------------------------------------
46256
+ CitiesControllerTest: test_wagon_view_paths_preceed_application_view_paths
46257
+ --------------------------------------------------------------------------
46258
+  (0.1ms) rollback transaction
46259
+  (0.0ms) begin transaction
46260
+ ------------------------------------------
46261
+ PersonTest: test_person_can_live_in_a_city
46262
+ ------------------------------------------
46263
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 165566181]]
46264
+  (0.1ms) SAVEPOINT active_record_1
46265
+ SQL (0.2ms) INSERT INTO "people" ("name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Fred"], ["city_id", 165566181], ["created_at", "2015-08-11 16:26:39.717083"], ["updated_at", "2015-08-11 16:26:39.717083"]]
46266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46267
+ Person Exists (0.1ms) SELECT 1 AS one FROM "people" WHERE "people"."city_id" = ? AND "people"."id" = ? LIMIT 1 [["city_id", 165566181], ["id", 2]]
46268
+  (0.1ms) rollback transaction
46269
+  (0.0ms) begin transaction
46270
+ -------------------------------------------------------
46271
+ PersonTest: test_test_seeds_from_application_are_loaded
46272
+ -------------------------------------------------------
46273
+ Person Exists (0.1ms) SELECT 1 AS one FROM "people" WHERE "people"."name" = ? LIMIT 1 [["name", "Pascal"]]
46274
+  (0.0ms) rollback transaction
46275
+  (0.0ms) begin transaction
46276
+ -------------------------------------
46277
+ WagonTest: test_dependencies_is_empty
46278
+ -------------------------------------
46279
+  (0.0ms) rollback transaction
46280
+  (0.0ms) begin transaction
46281
+ ------------------------------------------
46282
+ WagonTest: test_all_includes_current_wagon
46283
+ ------------------------------------------
46284
+  (0.0ms) rollback transaction
46285
+  (0.0ms) begin transaction
46286
+ ------------------------------
46287
+ WagonTest: test_existing_seeds
46288
+ ------------------------------
46289
+  (0.1ms) SAVEPOINT active_record_1
46290
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? ORDER BY "cities"."id" ASC LIMIT 1 [["name", "Paris"]]
46291
+  (0.0ms) RELEASE SAVEPOINT active_record_1
46292
+ City Load (0.0ms) SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? ORDER BY "cities"."id" ASC LIMIT 1 [["name", "Paris"]]
46293
+ City Load (0.1ms) SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? [["name", "Paris"]]
46294
+  (0.0ms) rollback transaction
46295
+  (0.0ms) begin transaction
46296
+ ----------------------------------------------------
46297
+ WagonTest: test_description_can_be_read_from_gemspec
46298
+ ----------------------------------------------------
46299
+  (0.0ms) rollback transaction
46300
+  (0.0ms) begin transaction
46301
+ ----------------------------------------------
46302
+ WagonTest: test_label_can_be_read_from_gemspec
46303
+ ----------------------------------------------
46304
+  (0.0ms) rollback transaction
46305
+  (0.0ms) begin transaction
46306
+ ----------------------------------------------
46307
+ WagonTest: test_find_for_inexisting_return_nil
46308
+ ----------------------------------------------
46309
+  (0.0ms) rollback transaction
46310
+  (0.0ms) begin transaction
46311
+ ---------------------------------------------------
46312
+ WagonTest: test_wagon_name_does_not_have_app_prefix
46313
+ ---------------------------------------------------
46314
+  (0.0ms) rollback transaction
46315
+  (0.0ms) begin transaction
46316
+ ---------------------------------------
46317
+ WagonTest: test_gem_name_has_app_prefix
46318
+ ---------------------------------------
46319
+  (0.0ms) rollback transaction
46320
+  (0.0ms) begin transaction
46321
+ -----------------------------------
46322
+ WagonTest: test_app_name_is_correct
46323
+ -----------------------------------
46324
+  (0.0ms) rollback transaction
46325
+  (0.0ms) begin transaction
46326
+ ------------------------------------------------
46327
+ WagonTest: test_version_can_be_read_from_gemspec
46328
+ ------------------------------------------------
46329
+  (0.0ms) rollback transaction
46330
+  (0.0ms) begin transaction
46331
+ -----------------------------------------
46332
+ WagonTest: test_all_dependencies_is_empty
46333
+ -----------------------------------------
46334
+  (0.0ms) rollback transaction
46335
+  (69.2ms) 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) 
46336
+  (92.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
46337
+  (0.3ms) select sqlite_version(*)
46338
+  (15.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
46339
+  (0.3ms) SELECT version FROM "schema_migrations"
46340
+  (15.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120606125104')
46341
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46342
+  (0.1ms) begin transaction
46343
+ Person Load (0.1ms) SELECT "people".* FROM "people" WHERE "people"."name" = ? ORDER BY "people"."id" ASC LIMIT 1 [["name", "Pascal"]]
46344
+ SQL (0.2ms) INSERT INTO "people" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Pascal"], ["created_at", "2015-08-11 16:26:44.674721"], ["updated_at", "2015-08-11 16:26:44.674721"]]
46345
+  (192.0ms) commit transaction
46346
+  (0.1ms) begin transaction
46347
+ ------------------------------
46348
+ DummyTestWagonTest: test_truth
45950
46349
  ------------------------------
45951
46350
   (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.5)
9
+ wagons (0.4.6)
10
10
  bundler (>= 1.1)
11
11
  rails (>= 3.2)
12
12
  seed-fu-ndo (>= 0.0.2)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wagons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pascal Zumkehr