Commit graph

71 commits

Author SHA1 Message Date
John Keiser 0070e047e5 Fix LXC.list_containers to release GIL 2014-03-25 13:20:20 -07:00
John Keiser 4f580efe8a Stop blocking ruby during long-running operations 2014-03-25 12:00:00 -07:00
Andre Nathan fd75ebc9a2 Don't use pointer after free() 2014-03-06 10:19:17 -03:00
Andre Nathan 7fcad3dba2 Version 1.0.0 2014-02-20 08:58:27 -03:00
Andre Nathan d74494e831 Add homepage to gemspec 2014-02-20 08:58:24 -03:00
Andre Nathan f553a33821 We have rdoc 2014-02-20 08:58:24 -03:00
Andre Nathan f57ba07492 Document :wait in the accepted options of #attach 2014-02-11 08:52:40 -02:00
Andre Nathan f3dc3e3de0 Ensure #stop is called if #shutdown fails in test 2014-02-11 08:45:58 -02:00
Andre Nathan a453b51005 Add Container#running_config_item 2014-01-28 15:08:10 -02:00
Andre Nathan 4a61f87c51 Define missing constants
LXC_CLONE_KEEPBDEVTYPE and LXC_CLONE_MAYBE_SNAPSHOT
2014-01-16 16:44:23 -02:00
Andre Nathan 4e46b12685 Merge pull request #7 from ranjib/fix_tests
Tests should not fail if there are pre-existing containers
2014-01-15 02:17:59 -08:00
Ranjib Dey a98bc364a3 tests should not fail if there are pre-existing containers 2014-01-15 00:49:23 -08:00
Andre Nathan 519b08a497 Some more info in README. Mention rdoc. 2014-01-14 09:48:19 -02:00
Andre Nathan 9a65ddf036 Use symbols for container states 2014-01-14 09:24:00 -02:00
Andre Nathan 3ff240462e Use assert_nothing_raised 2014-01-14 08:54:43 -02:00
Andre Nathan 0c3abf0de2 Remove LXC.default_config_path, add LXC.global_config_item
Follows lxc@593e84786e2b4709059989bee489deab5c923779
2014-01-14 08:51:22 -02:00
Andre Nathan 67dd08eeeb Merge pull request #6 from ranjib/fix_readme
Change readme to point new lxc repo
2014-01-10 04:05:59 -08:00
Ranjib Dey db04c99bd0 change readme to point new lxc repo 2014-01-09 14:37:17 -08:00
Andre Nathan 339de1a81a Support large bdevs on 32-bit
This change follows lxc@d659597e03725411c366c42dc02c64c0c35a167a.
2014-01-09 08:33:25 -02:00
Andre Nathan 97b544a041 Merge pull request #5 from ranjib/fix_extconfig
[BUGFIX] Drop shared library inside lxc folder
2014-01-03 18:49:30 -08:00
Ranjib Dey b077728c7d drop shared library inside lxc folder 2014-01-03 18:22:19 -08:00
Andre Nathan c1ade416d7 Merge pull request #3 from jeremiahsnapp/master
Add ability to set backingstore type when creating a container
2014-01-03 16:31:43 -08:00
Jeremiah Snapp 960d7b9975 Add ability to set backingstore type when creating a container 2014-01-03 19:01:06 -05:00
Andre Nathan 4611a1b107 Merge pull request #2 from ranjib/travis
Add travis integration
2013-12-28 16:21:52 -08:00
Ranjib Dey 57eb166681 add 1.8.7 to travis build 2013-12-27 12:18:42 -08:00
Andre Nathan 7b16ea1e3d Add (still incomplete) RDoc. 2013-12-27 15:44:24 -02:00
Ranjib Dey 1ca2d1d268 Config file for travis ci integration 2013-12-27 04:09:02 -08:00
Ranjib Dey 3e488b56be Add a few specs against LXC singleton methods 2013-12-26 09:03:56 -02:00
Andre Nathan f2a6812c80 Add Container#rename 2013-12-23 15:59:41 -02:00
Andre Nathan 03eae61c02 LXC_CLONE_COPYHOOKS is gone 2013-12-23 15:15:25 -02:00
Andre Nathan 7758bcd930 Merge pull request #5 from ranjib/docs
Add docs.. show usage etc.
2013-12-23 06:56:41 -08:00
Andre Nathan d8f5613034 Fix handling of missing options hash in #attach 2013-12-23 12:48:13 -02:00
Andre Nathan 71eb2623f3 Fix index variable signedness 2013-12-23 12:13:28 -02:00
Andre Nathan 9a7ff00380 Merge pull request #2 from ranjib/bundler_support
Add bundler support
2013-12-23 06:07:17 -08:00
Andre Nathan 9365da3111 Fix freeing list of running containers 2013-12-23 12:03:54 -02:00
Ranjib Dey 8b14947d96 add docs 2013-12-23 00:44:32 -08:00
Ranjib Dey 6065b23652 add bundler support 2013-12-16 12:30:12 -08:00
Andre Nathan dd6f1ba24d Ignore tmp and pkg directories 2013-12-06 15:01:28 -02:00
Andre Nathan 582a9952f5 Rename tests 2013-12-06 15:00:10 -02:00
Andre Nathan afb05f0ac9 Fix tests 2013-12-06 14:59:20 -02:00
Andre Nathan 4fc49d6526 Remove debug prints 2013-12-06 14:59:09 -02:00
Andre Nathan 80529bcf79 Standardizing project structure 2013-12-06 14:59:02 -02:00
Andre Nathan adc97bb5d0 Adding lib, just defining LXC::VERSION 2013-12-06 14:20:50 -02:00
Andre Nathan 23321614d2 Removing Makefile 2013-12-06 14:20:30 -02:00
Andre Nathan 17718d6884 Ignore vim swap files 2013-12-06 14:02:35 -02:00
Andre Nathan 8740e075be Add tests for cgroups, freezing and cloning 2013-12-06 14:02:05 -02:00
Andre Nathan 9b2372ba10 Shutdown the container before stopping it 2013-12-06 14:01:31 -02:00
Andre Nathan d35c0be1e4 Fix cloning and return a Container instance 2013-12-06 14:00:06 -02:00
Andre Nathan c4bb23c6a6 More complete Container#ip_addresses test 2013-12-06 10:51:58 -02:00
Andre Nathan 057f8b3390 Just test for sys{read,write} in is_io() 2013-12-06 10:38:58 -02:00