├── .gitignore ├── .readthedocs.yaml ├── .ruby-version ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── Rakefile ├── bin └── pygmy ├── lib ├── pygmy.rb └── pygmy │ └── version.rb └── pygmy.gemspec /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- 1 | # Read the Docs configuration file for MkDocs projects 2 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details 3 | 4 | # Required 5 | version: 2 6 | 7 | # Set the version of Python and other tools you might need 8 | build: 9 | os: ubuntu-22.04 10 | tools: 11 | python: "3.12" 12 | 13 | mkdocs: 14 | configuration: mkdocs.yml 15 | 16 | # Optionally declare the Python requirements required to build your docs 17 | python: 18 | install: 19 | - requirements: docs/requirements.txt 20 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 3.3.0 2 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec 4 | -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- 1 | PATH 2 | remote: . 3 | specs: 4 | pygmy (99.99.99) 5 | thor (~> 1.3.0) 6 | 7 | GEM 8 | remote: https://rubygems.org/ 9 | specs: 10 | thor (1.3.1) 11 | 12 | PLATFORMS 13 | ruby 14 | 15 | DEPENDENCIES 16 | pygmy! 17 | 18 | BUNDLED WITH 19 | 2.5.7 20 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Benjamin Porter 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | The Ruby version of pygmy is no longer supported - please use https://github.com/pygmystack/pygmy instead. 2 | 3 | Historic versions (0.9.11 and earlier) are still available via [rubygems](https://rubygems.org/gems/pygmy) if required via `gem install pygmy -v 0.9.11` 4 | 5 | 6 | -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- 1 | require 'bundler/gem_tasks' 2 | require 'rspec/core/rake_task' 3 | 4 | RSpec::Core::RakeTask.new(:spec) 5 | 6 | task default: :spec 7 | task test: :spec 8 | -------------------------------------------------------------------------------- /bin/pygmy: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | 3 | require 'thor' 4 | 5 | class PygmyBin < Thor 6 | puts "The Ruby version of pygmy is no longer supported - please use https://github.com/pygmystack/pygmy instead.\n" 7 | end 8 | -------------------------------------------------------------------------------- /lib/pygmy.rb: -------------------------------------------------------------------------------- 1 | Gem.find_files('pygmy/**/*.rb').each do |path| 2 | require path.gsub(/\.rb$/, '') unless path =~ /bot.*cli/ 3 | end 4 | -------------------------------------------------------------------------------- /lib/pygmy/version.rb: -------------------------------------------------------------------------------- 1 | module Pygmy 2 | VERSION = '99.99.99' 3 | DATE = '2024-03-27' 4 | end 5 | -------------------------------------------------------------------------------- /pygmy.gemspec: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | lib = File.expand_path('../lib', __FILE__) 3 | $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) 4 | require 'pygmy/version' 5 | 6 | Gem::Specification.new do |s| 7 | s.name = 'pygmy' 8 | s.version = Pygmy::VERSION 9 | s.date = Pygmy::DATE 10 | s.summary = 'The Ruby version of pygmy is no longer supported - please use https://github.com/pygmystack/pygmy instead.' 11 | s.description = 'The Ruby version of pygmy is no longer supported - please use https://github.com/pygmystack/pygmy instead.' 12 | s.authors = ['The pygmystack authors'] 13 | s.email = 'lagoon@amazee.io' 14 | s.files = ['lib/pygmy.rb'] + Dir['lib/pygmy/**/*'] 15 | s.homepage = 'https://github.com/pygmystack/pygmy-legacy' 16 | s.license = 'MIT' 17 | 18 | s.executables << 'pygmy' 19 | 20 | s.add_runtime_dependency 'thor', '~> 1.3.0' 21 | end 22 | --------------------------------------------------------------------------------