mina-dotenv 0.2.0 → 0.2.1

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: 33c98d66d7d069ce8c2e1f6ab6a1c9d8335d8628
4
- data.tar.gz: 876305a2d6541ccc1fabfdab3d93b3a20a91da22
3
+ metadata.gz: 947ee168136798c8b75f9c99517aa6634b63c730
4
+ data.tar.gz: 639780c25e47372fbc699249c9b92566687c2fc1
5
5
  SHA512:
6
- metadata.gz: cdfcfeb15c0001e9ba4ffa0b63c4c1a20f8a7e0416ccfd71f0bc37285b2cf60c479785fbea9c5237df38264048d32d9a08f15f0e6d55c0c105baf176b1e9286a
7
- data.tar.gz: 78b702b46c944e6cf5c64d4d02d150b77038480fea71411ddfc4aa9e515c95e4033a4866330bfd67cea79718fb11b65e5020921052aadefaf63124b64f6974b3
6
+ metadata.gz: d00b88b2aee669be7bd0f0e1ccaa2fe6f72fdfc5e481428264753065b5d1b8c1ca75e1ac6c644a152aed15bb2aba3642852c6c2b1de610c77d954f36ad1f9857
7
+ data.tar.gz: 660d886f55a426f6c7284644f20946aff6fe474c8d03cb690c7e9880e9214de145506ccc941a98a47a196ce061610a4ed2c05f5cbf4802b5fbcd80831c28e0cb
@@ -15,6 +15,12 @@ namespace :dotenv do
15
15
  desc 'Copies the remote .env file to the current directory'
16
16
  task :pull do
17
17
  scp_download(remote_dotenv_path, dotenv_location)
18
+ add_to_gitignore_command = %(
19
+ if [[ -z $(grep #{dotenv_location} .gitignore) ]];
20
+ then echo #{dotenv_location} >> .gitignore;
21
+ fi;
22
+ )
23
+ `#{add_to_gitignore_command}`
18
24
  end
19
25
  end
20
26
 
@@ -3,7 +3,7 @@ module Mina
3
3
  module VERSION
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 0
6
+ TINY = 1
7
7
  PRE = nil
8
8
 
9
9
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-dotenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanko Krtalić Rusendić