Update default ruby version to ruby23

This commit is contained in:
Antsiferov Grigory 2018-11-19 18:34:52 +03:00
parent 80db8b13a9
commit 097072ec48
4 changed files with 12 additions and 13 deletions

View File

@ -1,7 +1,2 @@
dev-python/urllib3:
pkg.latest:
- require:
- portage_config: dev-python/urllib3
portage_config.flags:
- accept_keywords:
- "~*"
pkg.latest

View File

@ -1,8 +1,8 @@
include:
- ruby
- ruby.ruby22
- ruby.ruby23
eselect-ruby22:
eselect-ruby23:
eselect.set:
- name: ruby
- target: 'ruby22'
- target: 'ruby23'

View File

@ -1,5 +1,9 @@
include:
- ruby.ruby22
- ruby.ruby23
ruby22:
pkg.purged:
- name: 'dev-lang/ruby:2.2'
app-eselect/eselect-ruby:
pkg.latest
@ -8,7 +12,7 @@ set-ruby-targets:
augeas.change:
- context: /files/etc/portage/make.conf
- changes:
- set RUBY_TARGETS '"ruby22"'
- set RUBY_TARGETS '"ruby23"'
- require:
- file: augeas-makeconf

View File

@ -3,5 +3,5 @@ include:
ruby22:
pkg.latest:
- name: 'dev-lang/ruby:2.2'
- slot: '2.2'
- name: 'dev-lang/ruby:2.3'
- slot: '2.3'