Skip to content

Commit

Permalink
License and Copyright Text Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayson Vantuyl committed Dec 5, 2008
1 parent bbbd662 commit 3906fbc
Show file tree
Hide file tree
Showing 11 changed files with 196 additions and 8 deletions.
18 changes: 18 additions & 0 deletions lib/vertebra-xen.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.


17 changes: 17 additions & 0 deletions lib/vertebra-xen/actor.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

$:.unshift File.dirname(__FILE__)

require 'thor'
Expand Down
19 changes: 18 additions & 1 deletion lib/vertebra-xen/parsers/xenstore_ls.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

module Xm
class XenstoreLs
def initialize
Expand Down Expand Up @@ -93,4 +110,4 @@ def move_to_next_line
@next_line = @file.gets
end
end
end
end
17 changes: 17 additions & 0 deletions lib/vertebra-xen/parsers/xm_info.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

require 'yaml'

module Xm
Expand Down
19 changes: 18 additions & 1 deletion lib/vertebra-xen/parsers/xm_list.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

module Xm
class ListOutput
attr_reader :filename
Expand All @@ -12,4 +29,4 @@ def parse(text)
@results
end
end
end
end
19 changes: 18 additions & 1 deletion lib/vertebra-xen/runner.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

require 'rubygems'

begin
Expand Down Expand Up @@ -36,4 +53,4 @@ def info(opts = {})
end

end
end
end
19 changes: 18 additions & 1 deletion spec/actor_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

require File.dirname(__FILE__) + '/spec_helper'
require 'actor'

Expand Down Expand Up @@ -25,4 +42,4 @@ def spawn(*args, &block)
it "should list running slices" do
# mock.instance_of(Xm::ListOutput).parse
end
end
end
19 changes: 18 additions & 1 deletion spec/info_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

require File.dirname(__FILE__) + '/spec_helper'
require 'parsers/xm_info'

Expand All @@ -24,4 +41,4 @@
end
end

end
end
19 changes: 18 additions & 1 deletion spec/list_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

require File.dirname(__FILE__) + '/spec_helper'
require 'parsers/xm_list'

Expand All @@ -21,4 +38,4 @@
@result.should have(17).entries
end
end
end
end
19 changes: 18 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

$TESTING=true
$:.push File.join(File.dirname(__FILE__), '..', 'lib', 'vertebra-xen')
require "test/unit"
Expand All @@ -7,4 +24,4 @@

def fixture(file_name)
File.read("#{File.dirname(__FILE__)}/fixtures/#{file_name}")
end
end
19 changes: 18 additions & 1 deletion spec/xenstore_ls_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright 2008, Engine Yard, Inc.
#
# This file is part of Vertebra.
#
# Vertebra is free software: you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# Vertebra is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
# details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Vertebra. If not, see <http://www.gnu.org/licenses/>.

require File.dirname(__FILE__) + '/spec_helper'
require 'parsers/xenstore_ls'

Expand All @@ -17,4 +34,4 @@
@result.should be_a_kind_of(Hash)
end
end
end
end

0 comments on commit 3906fbc

Please sign in to comment.