vps_cli 0.1.10 → 0.1.13

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
  SHA256:
3
- metadata.gz: 8adb04fa7862632f1c64cf56e454e9726a8d4512b50132bc80e516a6a55692b8
4
- data.tar.gz: 3750bce151e6f2f754fa6f750fc51c3863c2e3af14b651b457bf2ba909be7432
3
+ metadata.gz: cca8136953c126cb3ca7b5cbb58eab55b4c2f5d7a1abe7c3717f881ad23b671e
4
+ data.tar.gz: aef72fffdac10682af233dddab96d2b3e4b3b775d4254b4304b4485330542f9f
5
5
  SHA512:
6
- metadata.gz: 118d57c61f89cc812ec7f253924f855ea6ae10f340135e6993e8e02fa24e6e176da1a7c6e768e4ccfc764538ddff8be695cc3f0256674467c1fcb4849b71aa17
7
- data.tar.gz: 9f6571578692ce66357d42d48ef5326f0e1ed3293112631120f48e9b8816a09c5c892b21e7f0baaf546d4c9de6ca5d8e3167dd5f8ff8d1e5d72c26f787ca2502
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
@@ -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
- # update npm, there are some issues with ubuntu 18.10 removing npm
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
@@ -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 node-gyp
12
- libcurl4-openssl-dev libxml2-dev].freeze
11
+ postgresql pry rubygems fail2ban
12
+ neovim asciinema docker mosh yarn
13
+ silversearcher-ag].freeze
13
14
 
14
- ADDED_REPOS = %w[neovim asciinema docker mosh yarn].freeze
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(ADDED_REPOS)
21
+ UBUNTU = LANGUAGES.dup.concat(TOOLS).concat(LIBS)
21
22
  end
22
23
  end
@@ -1,3 +1,3 @@
1
1
  module VpsCli
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vps_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - paramagicdev