storey 1.0.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +11 -7
- data/Appraisals +9 -4
- data/CHANGELOG.md +26 -9
- data/Gemfile +1 -2
- data/README.md +13 -0
- data/docker-compose.yml +10 -0
- data/gemfiles/rails_5.0.gemfile +10 -0
- data/gemfiles/rails_5.0.gemfile.lock +154 -0
- data/gemfiles/rails_5.1.gemfile +9 -0
- data/gemfiles/rails_5.1.gemfile.lock +153 -0
- data/gemfiles/rails_5.2.gemfile +9 -0
- data/gemfiles/rails_5.2.gemfile.lock +161 -0
- data/lib/storey/builds_dump_command.rb +7 -1
- data/lib/storey/duplicator.rb +2 -6
- data/lib/storey/get_migration_versions.rb +21 -0
- data/lib/storey/migrator.rb +29 -8
- data/lib/storey/sql_dumper.rb +10 -6
- data/lib/storey/suffixifier.rb +2 -2
- data/lib/storey/version.rb +1 -1
- data/lib/storey.rb +6 -7
- data/spec/dummy/config/database.yml.sample +2 -1
- data/spec/dummy/config/initializers/migrations_path.rb +2 -2
- data/spec/dummy/db/migrate/20120115060713_create_companies.rb +1 -1
- data/spec/dummy/db/migrate/20120115060728_create_posts.rb +1 -1
- data/spec/migrator_spec.rb +15 -10
- data/spec/storey/builds_dump_command_spec.rb +26 -0
- data/spec/storey/create_spec.rb +2 -2
- data/spec/storey/duplicate_spec.rb +2 -2
- data/spec/storey/get_migration_versions_spec.rb +42 -0
- data/spec/storey/schema_search_path_for_spec.rb +2 -2
- data/spec/storey/schema_spec.rb +6 -0
- data/spec/storey/schemas_spec.rb +15 -7
- data/spec/storey/suffixifier_spec.rb +4 -4
- data/spec/storey/switch_spec.rb +4 -2
- data/spec/tasks/storey_rake_spec.rb +12 -12
- data/storey.gemspec +2 -2
- metadata +29 -23
- data/gemfiles/rails_3.gemfile +0 -9
- data/gemfiles/rails_3.gemfile.lock +0 -130
- data/gemfiles/rails_4.gemfile +0 -9
- data/gemfiles/rails_4.gemfile.lock +0 -144
@@ -1,130 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
storey (0.6.0)
|
5
|
-
easy_class_to_instance_method (~> 0.0.2)
|
6
|
-
rails (>= 3.2.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: http://rubygems.org/
|
10
|
-
specs:
|
11
|
-
actionmailer (3.2.14)
|
12
|
-
actionpack (= 3.2.14)
|
13
|
-
mail (~> 2.5.4)
|
14
|
-
actionpack (3.2.14)
|
15
|
-
activemodel (= 3.2.14)
|
16
|
-
activesupport (= 3.2.14)
|
17
|
-
builder (~> 3.0.0)
|
18
|
-
erubis (~> 2.7.0)
|
19
|
-
journey (~> 1.0.4)
|
20
|
-
rack (~> 1.4.5)
|
21
|
-
rack-cache (~> 1.2)
|
22
|
-
rack-test (~> 0.6.1)
|
23
|
-
sprockets (~> 2.2.1)
|
24
|
-
activemodel (3.2.14)
|
25
|
-
activesupport (= 3.2.14)
|
26
|
-
builder (~> 3.0.0)
|
27
|
-
activerecord (3.2.14)
|
28
|
-
activemodel (= 3.2.14)
|
29
|
-
activesupport (= 3.2.14)
|
30
|
-
arel (~> 3.0.2)
|
31
|
-
tzinfo (~> 0.3.29)
|
32
|
-
activeresource (3.2.14)
|
33
|
-
activemodel (= 3.2.14)
|
34
|
-
activesupport (= 3.2.14)
|
35
|
-
activesupport (3.2.14)
|
36
|
-
i18n (~> 0.6, >= 0.6.4)
|
37
|
-
multi_json (~> 1.0)
|
38
|
-
appraisal (1.0.3)
|
39
|
-
bundler
|
40
|
-
rake
|
41
|
-
thor (>= 0.14.0)
|
42
|
-
arel (3.0.3)
|
43
|
-
builder (3.0.4)
|
44
|
-
coderay (1.1.0)
|
45
|
-
database_cleaner (1.4.1)
|
46
|
-
diff-lcs (1.2.5)
|
47
|
-
easy_class_to_instance_method (0.0.2)
|
48
|
-
erubis (2.7.0)
|
49
|
-
hike (1.2.3)
|
50
|
-
i18n (0.7.0)
|
51
|
-
journey (1.0.4)
|
52
|
-
json (1.8.2)
|
53
|
-
mail (2.5.4)
|
54
|
-
mime-types (~> 1.16)
|
55
|
-
treetop (~> 1.4.8)
|
56
|
-
method_source (0.8.2)
|
57
|
-
mime-types (1.25.1)
|
58
|
-
multi_json (1.11.0)
|
59
|
-
pg (0.18.1)
|
60
|
-
polyglot (0.3.5)
|
61
|
-
pry (0.10.1)
|
62
|
-
coderay (~> 1.1.0)
|
63
|
-
method_source (~> 0.8.1)
|
64
|
-
slop (~> 3.4)
|
65
|
-
rack (1.4.5)
|
66
|
-
rack-cache (1.2)
|
67
|
-
rack (>= 0.4)
|
68
|
-
rack-ssl (1.3.4)
|
69
|
-
rack
|
70
|
-
rack-test (0.6.3)
|
71
|
-
rack (>= 1.0)
|
72
|
-
rails (3.2.14)
|
73
|
-
actionmailer (= 3.2.14)
|
74
|
-
actionpack (= 3.2.14)
|
75
|
-
activerecord (= 3.2.14)
|
76
|
-
activeresource (= 3.2.14)
|
77
|
-
activesupport (= 3.2.14)
|
78
|
-
bundler (~> 1.0)
|
79
|
-
railties (= 3.2.14)
|
80
|
-
railties (3.2.14)
|
81
|
-
actionpack (= 3.2.14)
|
82
|
-
activesupport (= 3.2.14)
|
83
|
-
rack-ssl (~> 1.3.2)
|
84
|
-
rake (>= 0.8.7)
|
85
|
-
rdoc (~> 3.4)
|
86
|
-
thor (>= 0.14.6, < 2.0)
|
87
|
-
rake (10.4.2)
|
88
|
-
rdoc (3.12.2)
|
89
|
-
json (~> 1.4)
|
90
|
-
rspec-core (3.2.3)
|
91
|
-
rspec-support (~> 3.2.0)
|
92
|
-
rspec-expectations (3.2.1)
|
93
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
94
|
-
rspec-support (~> 3.2.0)
|
95
|
-
rspec-mocks (3.2.1)
|
96
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
97
|
-
rspec-support (~> 3.2.0)
|
98
|
-
rspec-rails (3.2.1)
|
99
|
-
actionpack (>= 3.0, < 4.3)
|
100
|
-
activesupport (>= 3.0, < 4.3)
|
101
|
-
railties (>= 3.0, < 4.3)
|
102
|
-
rspec-core (~> 3.2.0)
|
103
|
-
rspec-expectations (~> 3.2.0)
|
104
|
-
rspec-mocks (~> 3.2.0)
|
105
|
-
rspec-support (~> 3.2.0)
|
106
|
-
rspec-support (3.2.2)
|
107
|
-
slop (3.6.0)
|
108
|
-
sprockets (2.2.3)
|
109
|
-
hike (~> 1.2)
|
110
|
-
multi_json (~> 1.0)
|
111
|
-
rack (~> 1.0)
|
112
|
-
tilt (~> 1.1, != 1.3.0)
|
113
|
-
thor (0.19.1)
|
114
|
-
tilt (1.4.1)
|
115
|
-
treetop (1.4.15)
|
116
|
-
polyglot
|
117
|
-
polyglot (>= 0.3.1)
|
118
|
-
tzinfo (0.3.43)
|
119
|
-
|
120
|
-
PLATFORMS
|
121
|
-
ruby
|
122
|
-
|
123
|
-
DEPENDENCIES
|
124
|
-
appraisal
|
125
|
-
database_cleaner
|
126
|
-
pg (~> 0.12)
|
127
|
-
pry
|
128
|
-
rails (= 3.2.14)
|
129
|
-
rspec-rails
|
130
|
-
storey!
|
data/gemfiles/rails_4.gemfile
DELETED
@@ -1,144 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
storey (0.6.0)
|
5
|
-
easy_class_to_instance_method (~> 0.0.2)
|
6
|
-
rails (>= 3.2.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: http://rubygems.org/
|
10
|
-
specs:
|
11
|
-
actionmailer (4.2.1)
|
12
|
-
actionpack (= 4.2.1)
|
13
|
-
actionview (= 4.2.1)
|
14
|
-
activejob (= 4.2.1)
|
15
|
-
mail (~> 2.5, >= 2.5.4)
|
16
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
17
|
-
actionpack (4.2.1)
|
18
|
-
actionview (= 4.2.1)
|
19
|
-
activesupport (= 4.2.1)
|
20
|
-
rack (~> 1.6)
|
21
|
-
rack-test (~> 0.6.2)
|
22
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
23
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
24
|
-
actionview (4.2.1)
|
25
|
-
activesupport (= 4.2.1)
|
26
|
-
builder (~> 3.1)
|
27
|
-
erubis (~> 2.7.0)
|
28
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
29
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.1)
|
30
|
-
activejob (4.2.1)
|
31
|
-
activesupport (= 4.2.1)
|
32
|
-
globalid (>= 0.3.0)
|
33
|
-
activemodel (4.2.1)
|
34
|
-
activesupport (= 4.2.1)
|
35
|
-
builder (~> 3.1)
|
36
|
-
activerecord (4.2.1)
|
37
|
-
activemodel (= 4.2.1)
|
38
|
-
activesupport (= 4.2.1)
|
39
|
-
arel (~> 6.0)
|
40
|
-
activesupport (4.2.1)
|
41
|
-
i18n (~> 0.7)
|
42
|
-
json (~> 1.7, >= 1.7.7)
|
43
|
-
minitest (~> 5.1)
|
44
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
45
|
-
tzinfo (~> 1.1)
|
46
|
-
appraisal (2.0.1)
|
47
|
-
activesupport (>= 3.2.21)
|
48
|
-
bundler
|
49
|
-
rake
|
50
|
-
thor (>= 0.14.0)
|
51
|
-
arel (6.0.0)
|
52
|
-
builder (3.2.2)
|
53
|
-
coderay (1.1.0)
|
54
|
-
database_cleaner (1.4.1)
|
55
|
-
diff-lcs (1.2.5)
|
56
|
-
easy_class_to_instance_method (0.0.2)
|
57
|
-
erubis (2.7.0)
|
58
|
-
globalid (0.3.5)
|
59
|
-
activesupport (>= 4.1.0)
|
60
|
-
i18n (0.7.0)
|
61
|
-
json (1.8.2)
|
62
|
-
loofah (2.0.1)
|
63
|
-
nokogiri (>= 1.5.9)
|
64
|
-
mail (2.6.3)
|
65
|
-
mime-types (>= 1.16, < 3)
|
66
|
-
method_source (0.8.2)
|
67
|
-
mime-types (2.4.3)
|
68
|
-
mini_portile (0.6.2)
|
69
|
-
minitest (5.6.0)
|
70
|
-
nokogiri (1.6.6.2)
|
71
|
-
mini_portile (~> 0.6.0)
|
72
|
-
pg (0.18.1)
|
73
|
-
pry (0.10.1)
|
74
|
-
coderay (~> 1.1.0)
|
75
|
-
method_source (~> 0.8.1)
|
76
|
-
slop (~> 3.4)
|
77
|
-
rack (1.6.0)
|
78
|
-
rack-test (0.6.3)
|
79
|
-
rack (>= 1.0)
|
80
|
-
rails (4.2.1)
|
81
|
-
actionmailer (= 4.2.1)
|
82
|
-
actionpack (= 4.2.1)
|
83
|
-
actionview (= 4.2.1)
|
84
|
-
activejob (= 4.2.1)
|
85
|
-
activemodel (= 4.2.1)
|
86
|
-
activerecord (= 4.2.1)
|
87
|
-
activesupport (= 4.2.1)
|
88
|
-
bundler (>= 1.3.0, < 2.0)
|
89
|
-
railties (= 4.2.1)
|
90
|
-
sprockets-rails
|
91
|
-
rails-deprecated_sanitizer (1.0.3)
|
92
|
-
activesupport (>= 4.2.0.alpha)
|
93
|
-
rails-dom-testing (1.0.6)
|
94
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
95
|
-
nokogiri (~> 1.6.0)
|
96
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
97
|
-
rails-html-sanitizer (1.0.2)
|
98
|
-
loofah (~> 2.0)
|
99
|
-
railties (4.2.1)
|
100
|
-
actionpack (= 4.2.1)
|
101
|
-
activesupport (= 4.2.1)
|
102
|
-
rake (>= 0.8.7)
|
103
|
-
thor (>= 0.18.1, < 2.0)
|
104
|
-
rake (10.4.2)
|
105
|
-
rspec-core (3.2.3)
|
106
|
-
rspec-support (~> 3.2.0)
|
107
|
-
rspec-expectations (3.2.1)
|
108
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
109
|
-
rspec-support (~> 3.2.0)
|
110
|
-
rspec-mocks (3.2.1)
|
111
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
112
|
-
rspec-support (~> 3.2.0)
|
113
|
-
rspec-rails (3.2.1)
|
114
|
-
actionpack (>= 3.0, < 4.3)
|
115
|
-
activesupport (>= 3.0, < 4.3)
|
116
|
-
railties (>= 3.0, < 4.3)
|
117
|
-
rspec-core (~> 3.2.0)
|
118
|
-
rspec-expectations (~> 3.2.0)
|
119
|
-
rspec-mocks (~> 3.2.0)
|
120
|
-
rspec-support (~> 3.2.0)
|
121
|
-
rspec-support (3.2.2)
|
122
|
-
slop (3.6.0)
|
123
|
-
sprockets (3.0.1)
|
124
|
-
rack (~> 1.0)
|
125
|
-
sprockets-rails (2.2.4)
|
126
|
-
actionpack (>= 3.0)
|
127
|
-
activesupport (>= 3.0)
|
128
|
-
sprockets (>= 2.8, < 4.0)
|
129
|
-
thor (0.19.1)
|
130
|
-
thread_safe (0.3.5)
|
131
|
-
tzinfo (1.2.2)
|
132
|
-
thread_safe (~> 0.1)
|
133
|
-
|
134
|
-
PLATFORMS
|
135
|
-
ruby
|
136
|
-
|
137
|
-
DEPENDENCIES
|
138
|
-
appraisal
|
139
|
-
database_cleaner
|
140
|
-
pg (~> 0.12)
|
141
|
-
pry
|
142
|
-
rails (= 4.2.1)
|
143
|
-
rspec-rails
|
144
|
-
storey!
|