ops_preflight 1.0.0.pre1 → 1.0.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/deploy.rb +1 -2
- data/lib/ops_preflight/tasks.rb +0 -9
- data/lib/ops_preflight/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2700e4d89aea2944cbb49b31594b5b6b263c1b7e
|
4
|
+
data.tar.gz: 2b47dac2763f3c6b0d458f657cdd5db8ea68cc02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fb7c1ec9ec5e20e0706b66fc4d29f7d572352d3eda4b0e5b86f6ae62a640d9c014876465115d764ed303ba659d6c59ac5c351ea2bbe158ce3ef0046b22257db
|
7
|
+
data.tar.gz: 6b9682faacfaedd126e4dd06c487c73f89b1dc947ff6a71c795e867050224aba62e435a685441174e92203813638af0c804641d83c339ce18ec4b12fc3069c04
|
data/data/deploy.rb
CHANGED
@@ -108,8 +108,7 @@ task :deploy => :environment do
|
|
108
108
|
end
|
109
109
|
|
110
110
|
if settings.use_turbo_sprockets! == 'true'
|
111
|
-
invoke :'rails:assets_precompile:force' # Defer to turbo sprockets
|
112
|
-
invoke :'preflight:assets_clean_expired'
|
111
|
+
invoke :'rails:assets_precompile:force' # Defer to turbo sprockets change tracking instead of mina
|
113
112
|
else
|
114
113
|
invoke :'rails:assets_precompile'
|
115
114
|
end
|
data/lib/ops_preflight/tasks.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
set :opsworks_stack_name, ENV['OPSWORKS_STACK_NAME']
|
2
2
|
set :opsworks_app_name, ENV['OPSWORKS_APP_NAME']
|
3
|
-
set :rake_assets_clean_expired, lambda { "#{rake} assets:clean_expired RAILS_GROUPS=assets" }
|
4
3
|
|
5
4
|
namespace :preflight do
|
6
5
|
task :check_env_vars do
|
@@ -22,14 +21,6 @@ namespace :preflight do
|
|
22
21
|
]
|
23
22
|
end
|
24
23
|
|
25
|
-
desc 'Cleans up expired assets'
|
26
|
-
task :assets_clean_expired do
|
27
|
-
queue %{
|
28
|
-
echo "-----> Preflight: Clean expired assets"
|
29
|
-
#{echo_cmd %[#{rake_assets_clean_expired}]}
|
30
|
-
}
|
31
|
-
end
|
32
|
-
|
33
24
|
desc 'Prepares the bundle for deploy'
|
34
25
|
task :bundle => :environment do
|
35
26
|
queue %[
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ops_preflight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.pre2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Schlesinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|