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 +8 -8
- data/lib/wagons/extensions/migration.rb +8 -6
- data/lib/wagons/version.rb +1 -1
- data/test/dummy/Gemfile.lock +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +399 -0
- data/test/dummy/vendor/wagons/superliner/Gemfile.lock +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Nzg1NDdhNWNmNmE5ZDYxZWFjYjEyNjQyY2FhYjFmYjEwN2QyYmQ5Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTg5YmRkNmIyNGEwMDAyN2U4MWVmNWUxOTc5NWUyMDUwM2NiZWJlMA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YThmMDY1NGQyNDNlMTQ4M2E4YjllMmQ2Y2RlNGQ3MzFmODg5NzI0MzJhMmZk
|
10
|
+
MzIwODgyMWZkZjM5OGM5NzZlYTcxYzlhMWIwNDgxZTFjMjMyYzM0MjIxNmVl
|
11
|
+
MTIwZmM4ZjM2OTEzODg1MWRlMjY2ZjA4OWM0MjJmYzk1ZTFjYzg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTAwZjI2Y2RmOWFlODNmZWI3OTRmMzFhNjA2Nzg1Mjc4MTEzMDE3MDc4MDMw
|
14
|
+
NDBhMGY5ZTc2MzdmYzY2YTdiYjE5MDE3MDNjNzllZDRjZGRiYTdiMzRmZmYy
|
15
|
+
NzU2MTExYjM4YjllMjQxOWM3YjYwOGQ0NjBlYjc4NThiNDlmNmI=
|
@@ -18,22 +18,24 @@ module ActiveRecord
|
|
18
18
|
private
|
19
19
|
|
20
20
|
def load_wagon_schema!
|
21
|
-
|
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
|
-
|
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
|
33
|
-
if Tasks::DatabaseTasks.respond_to?(:
|
34
|
-
Tasks::DatabaseTasks.
|
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::
|
38
|
+
Tasks::DatabaseTasks.load_schema
|
37
39
|
end
|
38
40
|
check_pending!
|
39
41
|
end
|
data/lib/wagons/version.rb
CHANGED
data/test/dummy/Gemfile.lock
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -45947,5 +45947,404 @@ WagonTest: test_existing_seeds
|
|
45947
45947
|
[1m[35m (0.1ms)[0m begin transaction
|
45948
45948
|
------------------------------
|
45949
45949
|
DummyTestWagonTest: test_truth
|
45950
|
+
------------------------------
|
45951
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45952
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
45953
|
+
[1m[35m (0.1ms)[0m begin transaction
|
45954
|
+
--------------------------------------------
|
45955
|
+
Wagons::InstallerTest: test_wagonfile_remove
|
45956
|
+
--------------------------------------------
|
45957
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45958
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45959
|
+
--------------------------------------------------------------------------------------------------
|
45960
|
+
Wagons::InstallerTest: test_check_dependencies_is_fine_if_all_depts_are_installed_at_the_same_time
|
45961
|
+
--------------------------------------------------------------------------------------------------
|
45962
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45963
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45964
|
+
--------------------------------------------------------------------
|
45965
|
+
Wagons::InstallerTest: test_wagon_class_can_load_class_from_anywhere
|
45966
|
+
--------------------------------------------------------------------
|
45967
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45968
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45969
|
+
---------------------------------------------------------------
|
45970
|
+
Wagons::InstallerTest: test_uninstall_runs_when_checks_are_fine
|
45971
|
+
---------------------------------------------------------------
|
45972
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45973
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45974
|
+
-----------------------------------------------------------------
|
45975
|
+
Wagons::InstallerTest: test_not_installed_does_not_return_updates
|
45976
|
+
-----------------------------------------------------------------
|
45977
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45978
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45979
|
+
--------------------------------------------------------------------------------------
|
45980
|
+
Wagons::InstallerTest: test_check_uninstalled_dependencies_fails_if_dependency_remains
|
45981
|
+
--------------------------------------------------------------------------------------
|
45982
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45983
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45984
|
+
-----------------------------------------------------------------------------
|
45985
|
+
Wagons::InstallerTest: test_exclude_specs_does_not_modify_original_collection
|
45986
|
+
-----------------------------------------------------------------------------
|
45987
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45988
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45989
|
+
----------------------------------------------------------------------------------
|
45990
|
+
Wagons::InstallerTest: test_specs_from_names_raises_exception_if_spec_is_not_found
|
45991
|
+
----------------------------------------------------------------------------------
|
45992
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
45993
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45994
|
+
-----------------------------------------------------------------------------
|
45995
|
+
Wagons::InstallerTest: test_check_dependencies_fails_if_dependency_is_missing
|
45996
|
+
-----------------------------------------------------------------------------
|
45997
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
45998
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45999
|
+
------------------------------------------------------------------------
|
46000
|
+
Wagons::InstallerTest: test_check_app_dependency_fails_if_app_is_too_old
|
46001
|
+
------------------------------------------------------------------------
|
46002
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46003
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46004
|
+
----------------------------------------------------------------
|
46005
|
+
Wagons::InstallerTest: test_uninstall_fails_when_checks_go_wrong
|
46006
|
+
----------------------------------------------------------------
|
46007
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46008
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46009
|
+
-------------------------------------------------------------
|
46010
|
+
Wagons::InstallerTest: test_install_runs_when_checks_are_fine
|
46011
|
+
-------------------------------------------------------------
|
46012
|
+
echo $RAILS_ENV > env.tmp
|
46013
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46014
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46019
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46058
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46091
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46092
|
+
----------------------------------------------------------------------------------------------------------------
|
46093
|
+
Wagons::InstallerTest: test_check_uninstalled_dependencies_is_fine_if_all_depts_are_uninstalled_at_the_same_time
|
46094
|
+
----------------------------------------------------------------------------------------------------------------
|
46095
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46096
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46097
|
+
------------------------------------------------------------------
|
46098
|
+
Wagons::InstallerTest: test_available_only_returns_latest_versions
|
46099
|
+
------------------------------------------------------------------
|
46100
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46101
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46102
|
+
-------------------------------------------
|
46103
|
+
Wagons::InstallerTest: test_specs_from_name
|
46104
|
+
-------------------------------------------
|
46105
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46106
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46107
|
+
-----------------------------------------------------------------------------
|
46108
|
+
Wagons::InstallerTest: test_check_app_dependency_is_fine_if_app_is_sufficient
|
46109
|
+
-----------------------------------------------------------------------------
|
46110
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46112
|
+
--------------------------------------------------------------
|
46113
|
+
Wagons::InstallerTest: test_install_fails_when_checks_go_wrong
|
46114
|
+
--------------------------------------------------------------
|
46115
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46116
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46149
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46150
|
+
------------------------------------------
|
46151
|
+
Wagons::InstallerTest: test_find_installed
|
46152
|
+
------------------------------------------
|
46153
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46154
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46155
|
+
-------------------------------------------------------------------
|
46156
|
+
Wagons::InstallerTest: test_wagonfile_update_updates_commented_gems
|
46157
|
+
-------------------------------------------------------------------
|
46158
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46159
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46160
|
+
-----------------------------------------------------------
|
46161
|
+
Wagons::InstallerTest: test_updates_returns_higher_versions
|
46162
|
+
-----------------------------------------------------------
|
46163
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46164
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46165
|
+
--------------------------------------------------------------------------------
|
46166
|
+
Wagons::InstallerTest: test_wagonfile_update_updates_version_and_add_new_entries
|
46167
|
+
--------------------------------------------------------------------------------
|
46168
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46169
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46170
|
+
------------------------------------------
|
46171
|
+
Wagons::InstallerTest: test_find_available
|
46172
|
+
------------------------------------------
|
46173
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46174
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46175
|
+
----------------------
|
46176
|
+
WagonsTest: test_truth
|
46177
|
+
----------------------
|
46178
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46179
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
46180
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
46181
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
46182
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
46183
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46184
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "people"
|
46185
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
|
46186
|
+
[1m[35mFixture Insert (0.1ms)[0m 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
|
+
[1m[36m (11.1ms)[0m [1mcommit transaction[0m
|
46188
|
+
[1m[35m (0.2ms)[0m begin transaction
|
46189
|
+
------------------------------------------------
|
46190
|
+
PersonTest: test_person_has_no_idea_about_a_city
|
46191
|
+
------------------------------------------------
|
46192
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46193
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46194
|
+
-----------------------------------------------
|
46195
|
+
PersonTest: test_person_without_name_is_invalid
|
46196
|
+
-----------------------------------------------
|
46197
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46198
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46199
|
+
----------------------------------------------------------------------
|
46200
|
+
PersonTest: test_wagon_models_are_not_loaded_in_main_application_tests
|
46201
|
+
----------------------------------------------------------------------
|
46202
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46203
|
+
[1m[36m (27.4ms)[0m [1mCREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "birthday" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
46204
|
+
[1m[35m (11.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
46205
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
46206
|
+
[1m[35m (11.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
46207
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
46208
|
+
[1m[35m (14.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120606125104')
|
46209
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
46210
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
46211
|
+
Migrating to CreateCities (20120606125058)
|
46212
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46213
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
46214
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "people" ADD "city_id" integer[0m
|
46215
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20120606125058"]]
|
46216
|
+
[1m[36m (14.0ms)[0m [1mcommit transaction[0m
|
46217
|
+
[1m[35m (0.2ms)[0m begin transaction
|
46218
|
+
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."name" = ? ORDER BY "people"."id" ASC LIMIT 1[0m [["name", "Pascal"]]
|
46219
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (16.5ms)[0m [1mcommit transaction[0m
|
46221
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46222
|
+
[1m[36mCity Load (0.1ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."name" = ? ORDER BY "cities"."id" ASC LIMIT 1[0m [["name", "Paris"]]
|
46223
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (9.5ms)[0m [1mcommit transaction[0m
|
46225
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46226
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "cities"[0m
|
46227
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "cities" ("name", "created_at", "updated_at", "id") VALUES ('London', '2012-06-06', '2012-06-06', 165566181)
|
46228
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "cities" ("name", "created_at", "updated_at", "id") VALUES ('Tokio', '2012-01-06', '2012-01-06', 75882147)[0m
|
46229
|
+
[1m[35m (16.4ms)[0m commit transaction
|
46230
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46231
|
+
-------------------------------------------
|
46232
|
+
CityTest: test_city_without_name_is_invalid
|
46233
|
+
-------------------------------------------
|
46234
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46235
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
46236
|
+
---------------------------------------------
|
46237
|
+
CityTest: test_fixtures_from_wagon_are_loaded
|
46238
|
+
---------------------------------------------
|
46239
|
+
[1m[35mCity Load (0.2ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 165566181]]
|
46240
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46241
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46254
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46255
|
+
--------------------------------------------------------------------------
|
46256
|
+
CitiesControllerTest: test_wagon_view_paths_preceed_application_view_paths
|
46257
|
+
--------------------------------------------------------------------------
|
46258
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
46259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46260
|
+
------------------------------------------
|
46261
|
+
PersonTest: test_person_can_live_in_a_city
|
46262
|
+
------------------------------------------
|
46263
|
+
[1m[36mCity Load (0.1ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 165566181]]
|
46264
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
46265
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "people" ("name", "city_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "Fred"], ["city_id", 165566181], ["created_at", "2015-08-11 16:26:39.717083"], ["updated_at", "2015-08-11 16:26:39.717083"]]
|
46266
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
46267
|
+
[1m[36mPerson Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "people" WHERE "people"."city_id" = ? AND "people"."id" = ? LIMIT 1[0m [["city_id", 165566181], ["id", 2]]
|
46268
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46270
|
+
-------------------------------------------------------
|
46271
|
+
PersonTest: test_test_seeds_from_application_are_loaded
|
46272
|
+
-------------------------------------------------------
|
46273
|
+
[1m[35mPerson Exists (0.1ms)[0m SELECT 1 AS one FROM "people" WHERE "people"."name" = ? LIMIT 1 [["name", "Pascal"]]
|
46274
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46275
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46276
|
+
-------------------------------------
|
46277
|
+
WagonTest: test_dependencies_is_empty
|
46278
|
+
-------------------------------------
|
46279
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46280
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46281
|
+
------------------------------------------
|
46282
|
+
WagonTest: test_all_includes_current_wagon
|
46283
|
+
------------------------------------------
|
46284
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
46285
|
+
[1m[35m (0.0ms)[0m begin transaction
|
46286
|
+
------------------------------
|
46287
|
+
WagonTest: test_existing_seeds
|
46288
|
+
------------------------------
|
46289
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
46290
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? ORDER BY "cities"."id" ASC LIMIT 1 [["name", "Paris"]]
|
46291
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
46292
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."name" = ? ORDER BY "cities"."id" ASC LIMIT 1 [["name", "Paris"]]
|
46293
|
+
[1m[36mCity Load (0.1ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."name" = ?[0m [["name", "Paris"]]
|
46294
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46296
|
+
----------------------------------------------------
|
46297
|
+
WagonTest: test_description_can_be_read_from_gemspec
|
46298
|
+
----------------------------------------------------
|
46299
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46301
|
+
----------------------------------------------
|
46302
|
+
WagonTest: test_label_can_be_read_from_gemspec
|
46303
|
+
----------------------------------------------
|
46304
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46306
|
+
----------------------------------------------
|
46307
|
+
WagonTest: test_find_for_inexisting_return_nil
|
46308
|
+
----------------------------------------------
|
46309
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46310
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46311
|
+
---------------------------------------------------
|
46312
|
+
WagonTest: test_wagon_name_does_not_have_app_prefix
|
46313
|
+
---------------------------------------------------
|
46314
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46315
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46316
|
+
---------------------------------------
|
46317
|
+
WagonTest: test_gem_name_has_app_prefix
|
46318
|
+
---------------------------------------
|
46319
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46320
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46321
|
+
-----------------------------------
|
46322
|
+
WagonTest: test_app_name_is_correct
|
46323
|
+
-----------------------------------
|
46324
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46325
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46326
|
+
------------------------------------------------
|
46327
|
+
WagonTest: test_version_can_be_read_from_gemspec
|
46328
|
+
------------------------------------------------
|
46329
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46330
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
46331
|
+
-----------------------------------------
|
46332
|
+
WagonTest: test_all_dependencies_is_empty
|
46333
|
+
-----------------------------------------
|
46334
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
46335
|
+
[1m[36m (69.2ms)[0m [1mCREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "birthday" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
46336
|
+
[1m[35m (92.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
46337
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
46338
|
+
[1m[35m (15.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
46339
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
46340
|
+
[1m[35m (15.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20120606125104')
|
46341
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
46342
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46343
|
+
[1m[36mPerson Load (0.1ms)[0m [1mSELECT "people".* FROM "people" WHERE "people"."name" = ? ORDER BY "people"."id" ASC LIMIT 1[0m [["name", "Pascal"]]
|
46344
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (192.0ms)[0m [1mcommit transaction[0m
|
46346
|
+
[1m[35m (0.1ms)[0m begin transaction
|
46347
|
+
------------------------------
|
46348
|
+
DummyTestWagonTest: test_truth
|
45950
46349
|
------------------------------
|
45951
46350
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|