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

make elb/policies collection standalone #128

Merged
merged 3 commits into from
Jun 1, 2015

Conversation

lanej
Copy link
Member

@lanej lanej commented Jun 1, 2015

  • there is no need to inject data from the load balancer model when
    an index request exists that maps directly

@lanej lanej changed the title make elb/policies collection stand on it's own make elb/policies collection standalone Jun 1, 2015
* there is no need to inject data from the load balancer model when
  an index request exists that maps directly
def load_balancer
collection.load_balancer
service.load_balancers.new(identity: collection.load_balancer_id)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the 1.8 incompatible named argument here? Hopefully we'll reach a point where we can drop 1.8 soon, but not quite ready for the major/breaking change I'm afraid. Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gets me every time.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, stuff like this is starting to bite us more and more often. Breaking changes just also are, well, breaking, so caution prevails. Would love to cut it out soon though.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's the last "," before the end of a Hash definition that is perhaps the biggest annoyance. Quite possible the most understated Ruby improvement.

lanej and others added 2 commits June 1, 2015 12:47
* fix 1.9 only syntax
* don't rely on possible collection for a required attribute
* pull load_balancer_id from the collection and set on the model
geemus added a commit that referenced this pull request Jun 1, 2015
make elb/policies collection standalone
@geemus geemus merged commit 916351a into fog:master Jun 1, 2015
@geemus
Copy link
Member

geemus commented Jun 1, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants