Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new AwsInstance fields. #140

Merged
merged 4 commits into from
Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions aptible-api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'aptible-auth', '~> 1.0'
spec.add_dependency 'aptible-resource', '~> 1.0'
spec.add_dependency 'gem_config'
spec.add_dependency 'multipart-post', '<2.2.0'

spec.add_development_dependency 'activesupport'
spec.add_development_dependency 'aptible-tasks', '>= 0.2.0'
Expand Down
2 changes: 2 additions & 0 deletions lib/aptible/api/aws_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class AwsInstance < Resource
field :updated_at, type: Time
field :retain_until, type: Time
field :runtime_published_at, type: Time
field :deprovision_last_attempted_at, type: Time
field :retained_since, type: Time

def stack_layers
instance_layer_memberships.map(&:links)
Expand Down
2 changes: 1 addition & 1 deletion lib/aptible/api/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Aptible
module Api
VERSION = '1.2.21'.freeze
VERSION = '1.2.22'.freeze
end
end