The project is in a healthy, maintained state
这是`gem:network-utility`的AIGC重编码版,提供了基于工具、服务、文档、兼容支持的多种网络应用基础设施。
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 6.0
~> 2.0
~> 3.0
 Project Readme

Network Infrastructure Utility

重新编排 Network(gem: network-utility)。

项目结构

本 gem 按应用层次拆分,各层目录即其子模块的 require 根,不再统一 lib/

目录 层次定位
document/ 文档/配置生成层
service/ 业务服务层
support/ 辅助/支撑层
tool/ 工具/原子能力层

测试体系:

  • spec/ —— 原子能力验证(单元规格)
  • example/ —— 常用场景的功能用例

安装

bin/setup        # 安装开发依赖
bin/console      # 进入带 gem 环境的 IRB

使用

require "network"   # 统一入口,按 support → tool → service → document 顺序加载所有子模块

开发

bundle exec rake spec      # 跑原子能力
bundle exec rake example   # 跑功能用例
bundle exec rake           # 两者都跑(默认)

License

采用 GNU Affero General Public License v3.0 或更高版本(AGPL-3.0-or-later),详见 LICENSE.txt