lib/openwfe/extras/participants/atompub_participants.rb in openwferu-extras-0.9.16 vs lib/openwfe/extras/participants/atompub_participants.rb in openwferu-extras-0.9.17
- old
+ new
@@ -1,8 +1,8 @@
#
#--
-# Copyright (c) 2007, John Mettraux, OpenWFE.org
+# Copyright (c) 2007-2008, John Mettraux, OpenWFE.org
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
@@ -48,30 +48,12 @@
require 'yaml'
require 'rexml/document'
require 'openwfe/participants/participants'
-require 'rubygems'
-
-begin
- require 'atom/entry'
- require 'atom/collection'
-rescue LoadError
- #
- # soft dependency on 'atom-tools'
- #
- puts
- puts
- puts "'atom/collection' is missing. You can install with :"
- puts
- puts " [sudo] gem install atom-tools"
- puts
- puts
- exit 1
-end
-
-require 'openwfe/participants/participant'
-require 'openwfe/participants/participants'
+#require 'rubygems'
+require 'atom/entry' # gem 'atom-tools'
+require 'atom/collection'
module OpenWFE::Extras
#