recap 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/recap/version.rb +1 -1
- data/spec/tasks/rails_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9482ec0ba9c5c48c52f06b67d8d2bd74e111c82a
|
4
|
+
data.tar.gz: 7c42f98d0ef90594de08e61844ea1e06b5c4d8b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abf13753ada786fc8d52f7e601ef721beb77fd5cc8d5431c6ebe4396bd59756f6db8d941b9a1f833be400f83982cb339740166d7c62ed36b6467309f0b64bce7
|
7
|
+
data.tar.gz: 69cfb461a89e529c68be44c50c2a61b2a5ec1083cc513e7fbe57afc84734d6b6fda2266127603613faf6ea7ae26ed3cdcc986556517004d9a8a09c12ec2983af
|
data/lib/recap/version.rb
CHANGED
data/spec/tasks/rails_spec.rb
CHANGED
@@ -16,7 +16,7 @@ describe Recap::Tasks::Rails do
|
|
16
16
|
|
17
17
|
before do
|
18
18
|
config.set :deploy_to, deploy_to
|
19
|
-
config.set :force_full_deploy, to
|
19
|
+
config.set :force_full_deploy, :to => false
|
20
20
|
config.stubs(:set_default_env)
|
21
21
|
Recap::Tasks::Rails.load_into(config)
|
22
22
|
end
|
@@ -57,7 +57,7 @@ describe Recap::Tasks::Rails do
|
|
57
57
|
|
58
58
|
it 'runs migrations if migrations have changed' do
|
59
59
|
namespace.stubs(:deployed_file_exists?).with('db/schema.rb').returns(true)
|
60
|
-
namespace.stubs(:changed_files).returns(["db/migrate/
|
60
|
+
namespace.stubs(:changed_files).returns(["db/migrate/12345_migrations.rb"])
|
61
61
|
namespace.expects(:as_app).with('./bin/rake db:migrate')
|
62
62
|
config.find_and_execute_task('rails:db:migrate')
|
63
63
|
end
|