neptuno 1.0.7 → 1.0.9

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: 90f7dd1ce363180b71d75497238fab6f03de0242
4
- data.tar.gz: 61fdc2365b4d5ed48509025ac5f902a85bdd7e53
3
+ metadata.gz: e27114c9279512a968219b7cece6e07e6eaddecc
4
+ data.tar.gz: ad1f617d358625fe0f49a23a89083c99f86ddafe
5
5
  SHA512:
6
- metadata.gz: 6b718db227c2c014f16c14be6030e9410862b83134c92f78f4f4c8f4a6f6c7a5fcaefaf2c1828782cf6e4d3a88af58004cafcd6df09dfb35237ad2e020935e85
7
- data.tar.gz: 37094a434e06e32322e880ab38815e0946ffde764d76705c3d99c8eb01253d2858897d13e62bda4ed10da6b5b7960a7c4a0ce37a4ed12620c6af99d456468dee
6
+ metadata.gz: 5a95ddc6adb9c20edcf486c8ba0e5c2dcf671342b8de08e61f71a3888f1d6458c6756be4d9292cf3d1ede60ad00af7f5771af5f5d87f13b3ac671a53bad3ae6b
7
+ data.tar.gz: 7f097ccbc3aa45aaecee4c453313613c7f930ddff0e2bf1ad9b9b85eee4cb4b77419f2a7581ebd07c71842e050e186664ef6ed8e74398b964dd5b65433d0c6ad
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neptuno (1.0.7)
4
+ neptuno (1.0.9)
5
5
  dotiw
6
6
  dry-cli
7
7
  hirb
@@ -10,8 +10,8 @@ module Neptuno
10
10
  git_url = options[:args].first
11
11
  args_path = options[:args].second
12
12
  path = args_path || git_url.split('/').last.split('.').first
13
- `git clone --recurse-submodules #{git_url}`
14
- `cd #{path}`
13
+ `git clone --recurse-submodules #{git_url} #{path}`
14
+ sleep(1)
15
15
  `cd #{path} && neptuno services update -am`
16
16
  puts "Building Docker images"
17
17
  `cd #{path} && neptuno build -a`
@@ -20,6 +20,10 @@ module Neptuno
20
20
  install 'tmux'
21
21
  install 'overmind'
22
22
  install 'tmuxinator'
23
+
24
+ if(system("apt-get -v"))
25
+ system("sudo apt-get update")
26
+ end
23
27
  end
24
28
 
25
29
  def install(package)
@@ -27,7 +31,15 @@ module Neptuno
27
31
  puts "#{package} is already installed"
28
32
  else
29
33
  puts "Installing #{package}"
30
- system("brew install #{package}")
34
+ if(system("brew -v"))
35
+ system("brew install #{package}")
36
+ else
37
+ if(package == 'overmind')
38
+ system("go install github.com/DarthSim/overmind/v2@latest")
39
+ else
40
+ system("sudo apt-get install #{package} -y")
41
+ end
42
+ end
31
43
  end
32
44
  end
33
45
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neptuno
4
- VERSION = '1.0.7'
4
+ VERSION = '1.0.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neptuno
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Plancarte