capistrano3-dotenv-upload 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 388ce1a5cca3063743195a3a05cfb68bd0ca09a1
4
- data.tar.gz: b6baea96477a5fe1a32b47bafb7b0221e7ce9129
3
+ metadata.gz: 657bf3551ccb55b47305f8cbebcb753f1750e530
4
+ data.tar.gz: 327956f4aa5114d546d410e15045c02ed4307afe
5
5
  SHA512:
6
- metadata.gz: 1dfd4117b3bd4a89a5feff860891706ca1716c79e65ab79e5421b727bcd325c4e8663f806a284fd811a8168fea2f4a2361184acd39b97bb3db43533eb35ffe69
7
- data.tar.gz: 101b66b496499d962e0f119f9d1934dac55f776a818055865c5a4b43a11a77663875ff14447f33404f30c53214db34ab0f4d605b14615e744a56bd6b5e2b2b9e
6
+ metadata.gz: ec08174491956ed73b0c810c951c462c1f2597ec014de71a3f9f30831be85d495c5eafd8caa98f36c727cc027fe0e5cf74eedb05d8bf03c3f255313f9cb05d70
7
+ data.tar.gz: 33013180ad342b566c77ace1ae683442ad65bae1b77c4782b1581b56ce9fa5418e857581d3025766afb2501fd37d649286b1791c8bf223ae6af211d0323c4812
@@ -0,0 +1,7 @@
1
+ [*]
2
+ charset=utf-8
3
+ end_of_line=lf
4
+ trim_trailing_whitespace=true
5
+ insert_final_newline=true
6
+ indent_style=space
7
+ indent_size=2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano3-dotenv-upload (0.1.2)
4
+ capistrano3-dotenv-upload (0.1.3)
5
5
  capistrano (~> 3.0)
6
6
 
7
7
  GEM
@@ -11,7 +11,7 @@ namespace :deploy do
11
11
  end
12
12
 
13
13
  def upload_env_file(file)
14
- to_path = "#{shared_path}/#{file}"
14
+ to_path = "#{shared_path}/#{File.basename(file)}"
15
15
  info "deploying #{file} => #{to_path}"
16
16
  upload! file, to_path
17
17
  end
@@ -26,7 +26,7 @@ namespace :deploy do
26
26
  on roles(:all) do
27
27
  [env_file, stage_env_file].each do |file|
28
28
  if env_file_is_okay?(file)
29
- upload_env_file(file)
29
+ upload_env_file(file)
30
30
  else
31
31
  warning_env_file_not_found(file)
32
32
  end
@@ -1,7 +1,7 @@
1
1
  module Capistrano3
2
2
  module Dotenv
3
3
  module Upload
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3-dotenv-upload
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mayurifag
@@ -73,6 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".editorconfig"
76
77
  - ".gitignore"
77
78
  - ".travis.yml"
78
79
  - CODE_OF_CONDUCT.md