jefferies_tube 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1c12687f118d6ee550ccb98f0befe0fcb2c6902
4
- data.tar.gz: 35e168e6630b2b13312dfb1e55fb3206dafbf69d
3
+ metadata.gz: e6dcf4d9637118ecd01032558ee36b5643c7eb44
4
+ data.tar.gz: 3ebc17a420368a4030688472fd05ff14637728ca
5
5
  SHA512:
6
- metadata.gz: 6e26fe86afd0d46632b4d399c130e52d9a0dc77ca8137e3bddae8f7c5a471a9097b7e0709995d91ab2b324fca939d316372301972905a0b6b1b47f3fbfff9236
7
- data.tar.gz: 7c36f65b04dfcb81557273920dfb1575c8d22165a85e04b7a64f5c2157360ebea410cc914ac1d6c5b850c2b6cc588e7821077a24f015895fd1c20d2ee72682c8
6
+ metadata.gz: 4099fb9410aac0a556f1f5843bf59850ae0d4cf08d6785436c30db89c11239a803588e57c470bf4394ea4caf8e507afceedc83e46d32dc75186130a27df25e45
7
+ data.tar.gz: 872b0bfc54ba8b17dd6a46e860efda5bc04226cffca19fb32e0d18d527d797fe65cd4fb7a390b5096ad65f0fe9ff6de11287d170a3e92cc05c5a54c6c16ac122
@@ -0,0 +1,8 @@
1
+ namespace :assets do
2
+ desc "Fetch assets in public/system"
3
+ task :fetch do
4
+ on roles(:web), primary: true do |host|
5
+ download! "#{deploy_to}/shared/public/system", "public", recursive: true
6
+ end
7
+ end
8
+ end
@@ -39,7 +39,7 @@ namespace :deploy do
39
39
  puts "#{result.gem} is not secure!"
40
40
  end
41
41
  end
42
- if vulnerable && ENV["I_KNOW_GEMS_ARE_INSECURE"].blank?
42
+ if vulnerable && ENV["I_KNOW_GEMS_ARE_INSECURE"] == nil
43
43
  abort """
44
44
  Your Gemfile.lock contains unpatched gems -- refusing to deploy
45
45
  Run `bundle-audit check --update` for full information
@@ -4,6 +4,7 @@ elsif !Capistrano::VERSION.start_with?("3")
4
4
  raise "Capistrano support is limited to version 3"
5
5
  end
6
6
 
7
+ require 'jefferies_tube/capistrano/assets'
7
8
  require 'jefferies_tube/capistrano/db'
8
9
  require 'jefferies_tube/capistrano/deploy'
9
10
  require 'jefferies_tube/capistrano/maintenance'
@@ -1,3 +1,3 @@
1
1
  module JefferiesTube
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jefferies_tube
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Samson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-12 00:00:00.000000000 Z
11
+ date: 2017-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -134,6 +134,7 @@ files:
134
134
  - lib/jefferies_tube.rb
135
135
  - lib/jefferies_tube/access_token.rb
136
136
  - lib/jefferies_tube/capistrano.rb
137
+ - lib/jefferies_tube/capistrano/assets.rb
137
138
  - lib/jefferies_tube/capistrano/db.rb
138
139
  - lib/jefferies_tube/capistrano/deploy.rb
139
140
  - lib/jefferies_tube/capistrano/maintenance.rb