├── .circleci └── config.yml ├── .gitignore ├── .rspec ├── .rubocop.yml ├── .travis.yml ├── CHANGELOG.md ├── Gemfile ├── LICENSE ├── OWNERS.md ├── README.md ├── Rakefile ├── lib ├── packet.rb ├── packet │ ├── client.rb │ ├── client │ │ ├── devices.rb │ │ ├── facilities.rb │ │ ├── operating_systems.rb │ │ ├── organizations.rb │ │ ├── plans.rb │ │ ├── projects.rb │ │ ├── ssh_keys.rb │ │ └── users.rb │ ├── configuration.rb │ ├── device.rb │ ├── entity.rb │ ├── entity │ │ ├── associations.rb │ │ ├── base.rb │ │ ├── finders.rb │ │ ├── persistence.rb │ │ ├── serialization.rb │ │ └── timestamps.rb │ ├── errors.rb │ ├── facility.rb │ ├── global_id.rb │ ├── operating_system.rb │ ├── organization.rb │ ├── plan.rb │ ├── project.rb │ ├── ssh_key.rb │ ├── user.rb │ └── version.rb └── packethost.rb ├── packethost.gemspec └── spec ├── fixtures ├── operating_systems.json ├── plans.json ├── project.json ├── projects.json ├── ssh_key.json └── ssh_keys.json ├── lib ├── packet │ ├── client_spec.rb │ ├── configuration_spec.rb │ ├── device_spec.rb │ └── project_spec.rb └── packet_spec.rb ├── spec_helper.rb └── support ├── fake_packet.rb ├── shared └── entity.rb └── webmock.rb /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/LICENSE -------------------------------------------------------------------------------- /OWNERS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/OWNERS.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/Rakefile -------------------------------------------------------------------------------- /lib/packet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet.rb -------------------------------------------------------------------------------- /lib/packet/client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/client.rb -------------------------------------------------------------------------------- /lib/packet/client/devices.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/client/devices.rb -------------------------------------------------------------------------------- /lib/packet/client/facilities.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/client/facilities.rb -------------------------------------------------------------------------------- /lib/packet/client/operating_systems.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/client/operating_systems.rb -------------------------------------------------------------------------------- /lib/packet/client/organizations.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/client/organizations.rb -------------------------------------------------------------------------------- /lib/packet/client/plans.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/client/plans.rb -------------------------------------------------------------------------------- /lib/packet/client/projects.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/client/projects.rb -------------------------------------------------------------------------------- /lib/packet/client/ssh_keys.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/client/ssh_keys.rb -------------------------------------------------------------------------------- /lib/packet/client/users.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/client/users.rb -------------------------------------------------------------------------------- /lib/packet/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/configuration.rb -------------------------------------------------------------------------------- /lib/packet/device.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/device.rb -------------------------------------------------------------------------------- /lib/packet/entity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/entity.rb -------------------------------------------------------------------------------- /lib/packet/entity/associations.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/entity/associations.rb -------------------------------------------------------------------------------- /lib/packet/entity/base.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/entity/base.rb -------------------------------------------------------------------------------- /lib/packet/entity/finders.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/entity/finders.rb -------------------------------------------------------------------------------- /lib/packet/entity/persistence.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/entity/persistence.rb -------------------------------------------------------------------------------- /lib/packet/entity/serialization.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/entity/serialization.rb -------------------------------------------------------------------------------- /lib/packet/entity/timestamps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/entity/timestamps.rb -------------------------------------------------------------------------------- /lib/packet/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/errors.rb -------------------------------------------------------------------------------- /lib/packet/facility.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/facility.rb -------------------------------------------------------------------------------- /lib/packet/global_id.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/global_id.rb -------------------------------------------------------------------------------- /lib/packet/operating_system.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/operating_system.rb -------------------------------------------------------------------------------- /lib/packet/organization.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/organization.rb -------------------------------------------------------------------------------- /lib/packet/plan.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/plan.rb -------------------------------------------------------------------------------- /lib/packet/project.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/project.rb -------------------------------------------------------------------------------- /lib/packet/ssh_key.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/ssh_key.rb -------------------------------------------------------------------------------- /lib/packet/user.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/lib/packet/user.rb -------------------------------------------------------------------------------- /lib/packet/version.rb: -------------------------------------------------------------------------------- 1 | module Packet 2 | VERSION = '0.0.8'.freeze 3 | end 4 | -------------------------------------------------------------------------------- /lib/packethost.rb: -------------------------------------------------------------------------------- 1 | require 'packet' 2 | -------------------------------------------------------------------------------- /packethost.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/packethost.gemspec -------------------------------------------------------------------------------- /spec/fixtures/operating_systems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/fixtures/operating_systems.json -------------------------------------------------------------------------------- /spec/fixtures/plans.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/fixtures/plans.json -------------------------------------------------------------------------------- /spec/fixtures/project.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/fixtures/project.json -------------------------------------------------------------------------------- /spec/fixtures/projects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/fixtures/projects.json -------------------------------------------------------------------------------- /spec/fixtures/ssh_key.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/fixtures/ssh_key.json -------------------------------------------------------------------------------- /spec/fixtures/ssh_keys.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/fixtures/ssh_keys.json -------------------------------------------------------------------------------- /spec/lib/packet/client_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/lib/packet/client_spec.rb -------------------------------------------------------------------------------- /spec/lib/packet/configuration_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/lib/packet/configuration_spec.rb -------------------------------------------------------------------------------- /spec/lib/packet/device_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/lib/packet/device_spec.rb -------------------------------------------------------------------------------- /spec/lib/packet/project_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/lib/packet/project_spec.rb -------------------------------------------------------------------------------- /spec/lib/packet_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/lib/packet_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/fake_packet.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/support/fake_packet.rb -------------------------------------------------------------------------------- /spec/support/shared/entity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/support/shared/entity.rb -------------------------------------------------------------------------------- /spec/support/webmock.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/packethost/packet-rb/HEAD/spec/support/webmock.rb --------------------------------------------------------------------------------