1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/core
Paul Thornthwaite bc09d7bbee [core] Adds #persisted? to Fog models
Fog models have been able to use #new_record? for years to use an
ActiveRecord like interface to check for peristence of a resource.

When Rails 3 switched to using ActiveModel API this changed to
be #persisted?

This deprecates #new_record? and adds #persisted? as the first little
step to making fog models easier to use using ActiveModel API.

As discussed on the tickes, ActiveModel is not planned to become a
direct dependency for fog.

Relates to #1276
2012-12-18 10:39:16 +00:00
..
attributes.rb [core] Adds #persisted? to Fog models 2012-12-18 10:39:16 +00:00
collection.rb
connection.rb [core] Adds fog User-Agent header 2012-11-27 16:32:38 +00:00
credentials.rb
current_machine.rb fog bombs out on ruby 1.8.x because it cannot find Mutex 2012-07-16 08:11:17 -04:00
deprecation.rb
errors.rb Updated Fog.wait_for to throw a timeout exception instead of returning false #1368 2012-12-12 12:14:44 -06:00
hmac.rb
json.rb always use old encode/decode from multijson (it only has warnings in 1.3.0-1.3.2) 2012-12-14 10:41:39 -08:00
logger.rb
mock.rb
model.rb
parser.rb
provider.rb
scp.rb Fix ssh key behavior when passing specified private keys to ssh/scp 2012-07-10 15:20:06 +02:00
service.rb
ssh.rb Fix ssh key behavior when passing specified private keys to ssh/scp 2012-07-10 15:20:06 +02:00
time.rb [openstack] Authentication Mocks 2012-09-28 14:41:59 +08:00
timeout.rb
wait_for.rb updating wait_for timeout message per conversation with @geemus 2012-12-12 15:35:41 -06:00