vps_cli 0.1.10 → 0.1.13
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 +4 -4
- data/CHANGELOG.md +25 -0
- data/lib/vps_cli/install.rb +14 -7
- data/lib/vps_cli/packages.rb +5 -4
- data/lib/vps_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cca8136953c126cb3ca7b5cbb58eab55b4c2f5d7a1abe7c3717f881ad23b671e
|
|
4
|
+
data.tar.gz: aef72fffdac10682af233dddab96d2b3e4b3b775d4254b4304b4485330542f9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83b35dcf882e8a4bcafbeb75c0d2c8d34b23e1d25498a22900ec352807382677af3af8507478d1f210d47ae2adbcae460ff6770cb8bed178fd9296c98a24fb2c
|
|
7
|
+
data.tar.gz: ec06641062e4e7bb957d08d20a4f3d766de80ec26d32755db91587bb897bae6d0e322e7ff7c8c0b762f52f984b03b2f03b026bf4ac2345ed12781a4a0ff4213f
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.1.13] - 05-26-2019
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Finally seem to have fixed issues related to npm race condition and dependency issues
|
|
12
|
+
- Fixed silversearch-ag to silversearcher-ag
|
|
13
|
+
|
|
14
|
+
## [0.1.12] - 05-26-2019
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- Renamed ADDED_REPOS to LIBS and never fixed it
|
|
18
|
+
|
|
19
|
+
## [0.1.11] - 05-26-2019
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- Fixed an issue with node-gyp installs failing on Lubuntu 18.10
|
|
23
|
+
- Fixed an issue where npm install was not being install globally
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
- Added libssl1.0-dev to packages due to it being a node-gyp dependency
|
|
27
|
+
- Added silversearcher-ag as well
|
|
28
|
+
|
|
29
|
+
### Additional Notes
|
|
30
|
+
- Really feeling the pain of manual testing of packages on different computers / OS'es
|
|
31
|
+
- I understand why Docker is so great now
|
|
32
|
+
|
|
8
33
|
## [0.1.10] - 05-26-2019
|
|
9
34
|
|
|
10
35
|
### Fixed
|
data/lib/vps_cli/install.rb
CHANGED
|
@@ -39,6 +39,7 @@ module VpsCli
|
|
|
39
39
|
# @see #plug_install_vim_neovim
|
|
40
40
|
# @see #install_gems
|
|
41
41
|
# @see add_language_servers
|
|
42
|
+
# @see npm_workaround
|
|
42
43
|
def self.install_non_apt_packages
|
|
43
44
|
other_tools
|
|
44
45
|
neovim_support
|
|
@@ -70,13 +71,7 @@ module VpsCli
|
|
|
70
71
|
# installs various other tools and fixes an issue with npm / nodejs
|
|
71
72
|
# installs heroku, ngrok, and adds docker groups
|
|
72
73
|
def self.other_tools
|
|
73
|
-
|
|
74
|
-
# and then being unable to update it
|
|
75
|
-
# for some reason npm and ubuntu dont play well
|
|
76
|
-
Rake.sh('sudo apt-get install nodejs -y')
|
|
77
|
-
Rake.sh('sudo apt-get install npm -y')
|
|
78
|
-
Rake.sh('sudo npm install -g npm')
|
|
79
|
-
|
|
74
|
+
npm_workaround
|
|
80
75
|
# add heroku
|
|
81
76
|
Rake.sh('sudo snap install heroku --classic')
|
|
82
77
|
# add tmux plugin manager
|
|
@@ -99,6 +94,18 @@ module VpsCli
|
|
|
99
94
|
end
|
|
100
95
|
end
|
|
101
96
|
|
|
97
|
+
# Lots of issues when using npm via apt-get, this seems to fix dependency issues
|
|
98
|
+
def self.npm_workaround
|
|
99
|
+
# update npm, there are some issues with ubuntu 18.10 removing npm
|
|
100
|
+
# and then being unable to update it
|
|
101
|
+
# for some reason npm and ubuntu dont play well
|
|
102
|
+
Rake.sh('sudo apt-get install libssl1.0-dev -y')
|
|
103
|
+
Rake.sh('sudo apt-get install nodejs-dev -y')
|
|
104
|
+
Rake.sh('sudo apt-get install node-gyp -y')
|
|
105
|
+
Rake.sh('sudo apt-get install npm -y')
|
|
106
|
+
Rake.sh('sudo npm install -g npm')
|
|
107
|
+
end
|
|
108
|
+
|
|
102
109
|
# adds neovim support via pip3
|
|
103
110
|
# Also adds neovim via npm for js support
|
|
104
111
|
def self.neovim_support
|
data/lib/vps_cli/packages.rb
CHANGED
|
@@ -8,15 +8,16 @@ module VpsCli
|
|
|
8
8
|
|
|
9
9
|
TOOLS = %w[curl tmux git vim zsh sqlite3 ctags rdoc libsqlite3-dev
|
|
10
10
|
openssh-client openssh-server dconf-cli gnome-terminal
|
|
11
|
-
postgresql pry rubygems fail2ban
|
|
12
|
-
|
|
11
|
+
postgresql pry rubygems fail2ban
|
|
12
|
+
neovim asciinema docker mosh yarn
|
|
13
|
+
silversearcher-ag].freeze
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
LIBS = %w[libssl1.0-dev libcurl4-openssl-dev libxml2-dev].freeze
|
|
15
16
|
|
|
16
17
|
GEMS = %w[colorls neovim rake pry
|
|
17
18
|
rubocop gem-ctags rails yard
|
|
18
19
|
thor bundler solargraph].freeze
|
|
19
20
|
|
|
20
|
-
UBUNTU = LANGUAGES.dup.concat(TOOLS).concat(
|
|
21
|
+
UBUNTU = LANGUAGES.dup.concat(TOOLS).concat(LIBS)
|
|
21
22
|
end
|
|
22
23
|
end
|
data/lib/vps_cli/version.rb
CHANGED