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 Remove unused variable 2012-05-26 11:27:26 -04:00
connection.rb [core] Adds fog User-Agent header 2012-11-27 16:32:38 +00:00
credentials.rb Nested Credentials with Array gets flattened; restrict flatten to 1L 2012-05-06 12:06:16 +08:00
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 [core] separate loggers for deprecations/warnings 2011-10-19 14:49:34 -05:00
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 cleanup lib/fog by segregating shared into 'core' 2010-09-29 13:22:30 -07:00
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 [core] add newlines to logger messages 2011-10-31 14:57:07 -05:00
mock.rb Adding a method to unmock Fog. Addresses issue #594 2011-11-09 11:30:33 -08:00
model.rb Fixed #875: Loosen multi_json version. 2012-04-25 10:31:28 -04:00
parser.rb [core] update parser to better handle whitespace 2011-05-12 13:15:13 -07:00
provider.rb [core] more useful structure for Fog.providers 2011-10-20 10:52:36 -05:00
scp.rb Fix ssh key behavior when passing specified private keys to ssh/scp 2012-07-10 15:20:06 +02:00
service.rb Generalize NoLeak Inspector for Fog::Service 2012-06-22 09:36:06 -07:00
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 [core] avoid ||= in timeout lookup 2011-07-12 11:04:49 -05:00
wait_for.rb updating wait_for timeout message per conversation with @geemus 2012-12-12 15:35:41 -06:00