capistrano-laravel 1.1.1 → 1.2.0

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: 075c930621f1c13f7a7f91370770e06fa816d62b
4
- data.tar.gz: 903ccca3dd185fc9e54ad4e2c3aae24f309cf424
3
+ metadata.gz: 740976eb5ceec2203cba86c2a7effdf5a26e13c0
4
+ data.tar.gz: ed87d5722b4922c9ba879d9a845936a46f157e15
5
5
  SHA512:
6
- metadata.gz: 3c3088262b6dc67f04433b714841c97282f5f62843f3c22838609fea525f1bc761eda4e3cb69aa6dae02558ec16e671a3e2388607d8d1c2f7f6fabd716a46334
7
- data.tar.gz: fa6a06117a5ef5740572e2d7a7fc9a7a091eea429e610338f5196a8455b9b51848d6e4e0b1c338fbbd9135e7a822b769a4ce5da156efe67c15a1c11b7f62e7c7
6
+ metadata.gz: faafcf1ebd3390aecd2e1b318fc170998ba4eb459f2f537b1666908a2a0138fe3e53105d9da93cf96228f1528a3728dfbcb7ad52e3f91be924977f5c86489211
7
+ data.tar.gz: b26300807295aabe59049a21b901b3b4e4aa58f28e7365c3122a3bdecac7a29c8257c7d44f3275a3362825f77d83796330c43b0b35a385d2c6126612eaa8b8fd
data/README.md CHANGED
@@ -72,6 +72,9 @@ set :laravel_migration_artisan_flags, "--force --env=#{fetch(:stage)}"
72
72
  # The version of laravel being deployed
73
73
  set :laravel_version, 5.3
74
74
 
75
+ # Whether to upload the dotenv file on deploy
76
+ set :laravel_upload_dotenv_file_on_deploy, true
77
+
75
78
  # Which dotenv file to transfer to the server
76
79
  set :laravel_dotenv_file, './.env'
77
80
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Laravel
3
- VERSION = "1.1.1"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
@@ -17,6 +17,9 @@ namespace :load do
17
17
  # The version of laravel being deployed
18
18
  set :laravel_version, 5.3
19
19
 
20
+ # Whether to upload the dotenv file on deploy
21
+ set :laravel_upload_dotenv_file_on_deploy, true
22
+
20
23
  # Which dotenv file to transfer to the server
21
24
  set :laravel_dotenv_file, '.env'
22
25
 
@@ -139,6 +142,8 @@ namespace :laravel do
139
142
 
140
143
  desc 'Upload dotenv file for release.'
141
144
  task :upload_dotenv_file do
145
+ next unless fetch(:laravel_upload_env_file_on_deploy)
146
+
142
147
  # Dotenv was introduced in Laravel 5
143
148
  next if fetch(:laravel_version) < 5
144
149
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-laravel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Mitchell
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-01-29 00:00:00.000000000 Z
12
+ date: 2017-02-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  requirements: []
140
140
  rubyforge_project:
141
- rubygems_version: 2.5.1
141
+ rubygems_version: 2.6.8
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: Laravel specific deployment options for Capistrano 3.x