관리-도구
편집 파일: extensions.cpython-311.pyc
� %�4g@ � �� � d dl mZ d dl mZ d dl mZ d dlZd dlZd dlZd dlmZ d dl mZ d dlm Z d dlmZmZ ej d ej � � Zd ZdZ G d� d e� � ZdS )� )�print_function)�division)�absolute_importN)�configparser)�SafeConfigParser)�check_output)�file_writelines�file_readlinesz"^(?P<name>.+) \((?P<version>.+)\)$z/var/lve/rubygemsz0/usr/share/l.v.e-manager/utils/cache_rubygems.pyc � � e Zd ZdZdd�Zd� Zd� Zd� Zd� Zd� Z d � Z ed � � � Zed� � � Z ed� � � Zed � � � Zed� � � ZdS )� ExtensionInfozhttp://rubygems.org/gemsNc �t � |r || _ d S t t j d� � � � d | _ d S )Nz/opt/alt/ruby??/bin/gem���)�gem�sorted�glob)�selfr s �W/opt/cloudlinux/venv/lib64/python3.11/site-packages/clselect/clselectruby/extensions.py�__init__zExtensionInfo.__init__ s9 � �� H��D�H�H�H��d�i�(A�B�B�C�C�B�G�D�H�H�H� c �b � t | j dd� � }t � |� � S )N�list�--remote)r r �EXTENSION_PATTERN�findall)r �outputs r � _list_gemszExtensionInfo._list_gems&