UPnP-MediaServer 1.0.0
Eric Hodel | Wed, 23 Jul 2008 08:41:00 GMT
UPnP-MediaServer version 1.0.0 has been released!
A UPnP MediaServer. Currently a work in progress. Only tested on a PlayStation 3.
Changes:
1.0.0 / 2008-07-23
- 1 major enhancement
- Birthday!
UPnP-ContentDirectory 1.0
Eric Hodel | Wed, 23 Jul 2008 08:40:00 GMT
UPnP-ContentDirectory version 1.0 has been released!
A UPnP ContentDirectory service with some DLNA extensions. Currently this is a work in progress, and is only adequate for viewing images on a PlayStation 3.
Changes:
1.0.0 / 2008-07-23
- 1 major enhancement
- Birthday!
UPnP-ConnectionManager 1.0
Eric Hodel | Wed, 23 Jul 2008 08:38:00 GMT
UPnP-ConnectionManager version 1.0 has been released!
Stub implementation for a UPnP ConnectionManager service. Currently has no implementation. Works great for a PlayStation 3.
Changes:
1.0.0 / 2008-07-23
- 1 major enhancement
- Birthday!
UPnP 1.1.0
Eric Hodel | Wed, 23 Jul 2008 08:36:00 GMT
UPnP version 1.1.0 has been released!
An implementation of the UPnP protocol
Changes:
1.1.0 / 2008-07-23
- 2 major enhancements
- Server support
- SSDP now supports sending advertisements
- 1 bug fix
- Gem dependencies now listed
RDoc 2.1.0
Eric Hodel | Mon, 21 Jul 2008 05:25:39 GMT
RDoc is an application that produces documentation for one or more Ruby source files. RDoc includes the `rdoc` and `ri` tools for generating and displaying online documentation.
At this point in time, RDoc 2.x is a work in progress and may incur further API changes beyond what has been made to the RDoc 1.0.1. Command-line tools are largely unaffected, but internal APIs may shift rapidly.
- 3 Major Enhancements:
- RDoc now knows about meta-programmed methods, see RDoc::Parser::Ruby
- Reorganized parsers under RDoc::Parser base class
- ri now walks the ancestors of a class looking for a method e.g. ri File#read displays documentation for IO#read (may require regeneration of ri data)
- 5 Minor Enhancements:
- Allow links to files
- Default options now taken from RDOCOPT environment variable
- Class method documentation can be found at toplevel now (def X.foo)
- Allow HTML templates distributed as gems to be loaded with the -T option, just like the standard templates in rdoc/generator/html (so an HTML template lib/new_template.rb in a gem can be used with rdoc -T new_template)
- `rdoc -v` prints out files, classes, modules and methods as it goes
- 11 Bug Fixes:
- `ri Foo.bar` now looks for class methods also
- Sections work in the default template again
- Doesn’t warn about :foo:: list item being an unrecognized directive
- RDoc no longer converts characters inside tt tags
- Fixed “unitialized constant RDoc::Markup::ToHtml::HTML”
- Fixed generation of relative links
- Fixed various diagram generation issues
- Fixed templates broken by switch to erb
- Fixed issue with <!
- -> style comments - Lowercase words are no longer rdoc’d as methods without leading #, as described in the documentation
- RDoc now correctly sets superclasses if they were originally unknown
UPnP-IGD 1.0.0
Eric Hodel | Mon, 30 Jun 2008 06:45:00 GMT
UPnP-IGD version 1.0.0 has been released!
UPnP-IGD is a UPnP extension for Internet Gateway Devices that displays information about the device. UPnP-IGD is an example of the use of some UPnP APIs.
UPnP-IGD comes with the upnp_igd utility which outputs information like this:
Gateway at http://10.1.1.1/ Connected, up since 2008-06-29 03:31:00 (66123 seconds) Connection type: IP_Routed 384 Kb/s up, 1536 Kb/s down External IP address: 10.255.255.254 Port mappings: 0 UDP *:4502 -> 10.1.1.2:4500 "iC4502" 1 UDP *:5355 -> 10.1.1.2:5353 "iC5355" 2 UDP *:58712 -> 10.1.1.3:58712 "Skype UDP at 10.1.1.3:58712 (546)" 3 TCP *:58712 -> 10.1.1.3:58712 "Skype TCP at 10.1.1.3:58712 (546)" 4 UDP *:5353 -> 10.1.1.4:5353 "iC5353"
Unfortunately, UPnP-IGD does not allow anything to be set on the device, and has only been tested against miniupnpd.
UPnP 1.0.0
Eric Hodel | Mon, 30 Jun 2008 06:09:00 GMT
UPnP version 1.0.0 has been released!
UPnP-1.0.0 is an implementation of the UPnP protocol. The 1.0 release:
- Discovers UPnP devices and services via SSDP, see UPnP::SSDP
- Creates a SOAP RPC driver for discovered services, see UPnP::Control::Service
- Creates concrete UPnP device and service classes that may be extended with utility methods, see UPnP::Control::Device::create, UPnP::Control::Service::create and the UPnP-IGD gem.
- Does not support eventing
- Does not support server creation
UPnP comes with upnp_discover which searches for UPnP devices and dumps information about them and upnp_listen which will listen for device notifications.
RubyGems 1.2.0
Eric Hodel | Sun, 22 Jun 2008 03:32:00 GMT
Announce: RubyGems Release 1.2.0
Release 1.2.0 adds new features and fixes some bugs.
New features:
- RubyGems no longer performs bulk updates and instead only fetches the gemspec files it needs. Alternate sources will need to upgrade to RubyGems 1.2 to allow RubyGems to take advantage of the new metadata updater. If a pre 1.2 remote source is in the sources list, RubyGems will revert to the bulk update code for compatibility.
- RubyGems now has runtime and development dependency types. Use
#add_development_dependencyand#add_runtime_dependency. All typeless dependencies are considered to be runtime dependencies. - RubyGems will now require
rubygems/defaults/operating_system.rbandrubygems/defaults/#{RBX_ENGINE}.rbif they exist. This allows packagers and ruby implementers to add custom behavior to RubyGems via these files. (If the RubyGems API is insufficient, please suggest improvements via the RubyGems list.) /etc/gemrc(and windows equivalent) for global settings- setup.rb now handles—vendor and—destdir for packagers
- gem stale command that lists gems by last access time
Bugs Fixed:
- File modes from gems are now honored, patch #19737
- Marshal Gem::Specification objects from the future can now be loaded.
- A trailing / is now added to remote sources when missing, bug #20134
- Gems with legacy platforms will now be correctly uninstalled, patch #19877
- gem install --no-wrappers followed by gem install --wrappers no longer overwrites executables
- gem pristine now forces reinstallation of gems, bug #20387
- RubyGems gracefully handles ^C while loading .gemspec files from disk, bug #20523
- Paths are expanded in more places, bug #19317, bug #19896
- Gem::DependencyInstaller resets installed gems every install, bug #19444
- Gem.default_path is now honored if GEM_PATH is not set, patch #19502
Other Changes Include:
- setup.rb
- stub files created by RubyGems 0.7.x and older are no longer removed. When upgrading from these ancient versions, upgrade to 1.1.x first to clean up stubs.
- RDoc is no longer required until necessary, patch #20414
- gem server
- Now completely matches the output of gem generate_index and has correct content types
- Refreshes from source directories for every hit. The server will no longer need to be restarted after installing gems.
- `gem query—details` and friends now display author, homepage, rubyforge url and installed location
- gem install without -i no longer reinstalls dependencies if they are in GEM_PATH but not in GEM_HOME
- Gem::RemoteFetcher now performs persistent connections for HEAD requests, bug #7973
For a full list of changes to RubyGems and the contributor for each change, see the ChangeLog file.
Special thanks to Chad Wooley for backwards compatibility testing and Luis Lavena for continuing windows support.
How can I get RubyGems?
NOTE: If you have installed RubyGems using a package system you may want to install a new RubyGems through the same packaging system.
If you have a recent version of RubyGems (0.8.5 or later), then all you need to do is:
$ gem update --system (you might need to be admin/root)
(Note: You may have to run the command twice if you have any previosly installed rubygems-update gems).
If you have an older version of RubyGems installed, then you can still do it in two steps:
$ gem install rubygems-update (again, might need to be admin/root) $ update_rubygems (... here too)
If you don’t have any gems install, there is still the pre-gem approach to getting software … doing it manually:
- DOWNLOAD FROM: http://rubyforge.org/frs/?group_id=126
- UNPACK INTO A DIRECTORY AND CD THERE
- INSTALL WITH: ruby setup.rb (you may need admin/root privilege)
To File Bugs
The RubyGems bug tracker can be found on RubyForge at: http://rubyforge.org/tracker/?func=add&group_id=126&atid=575
When filing a bug, `gem env` output will be helpful in diagnosing the issue.
If you find a bug where RubyGems crashes, please provide debug output. You can do that with `gem—debug the_command`.
Thanks
Keep those gems coming!
Jim & Chad & Eric (for the RubyGems team)
RubyGems 1.1.1
Eric Hodel | Fri, 11 Apr 2008 05:19:00 GMT
Release 1.1.1 fixes some bugs.
Bugs Fixed:
- Gem.prefix now returns non-nil only when RubyGems was installed outside sitelibdir or libdir.
- The gem server gem list now correctly links to gem details.
- gem update --system now passes --no-format-executable to setup.rb.
- Gem::SourceIndex#refresh! now works with multiple gem repositories.
- Downloaded gems now go into --install-dir's cache directory.
- Various fixes to downloading gem metadata.
- gem install --force now ignores network errors too.
- gem pristine now rebuilds extensions.
- gem update --system now works on virgin Apple ruby.
- Gem::RemoteFetcher handles Errno::ECONNABORTED.
- Printing of release notes fixed.
For a full list of changes to RubyGems including credits, see the ChangeLog file.
How can I get RubyGems?
NOTE: If you have installed RubyGems using a package system you may want to install a new RubyGems through the same packaging system.
If you have a recent version of RubyGems (0.8.5 or later), then all you need to do is:
$ gem update --system (you might need to be admin/root)
(Note: You may have to run the command twice if you have any previosly installed rubygems-update gems).
If you have an older version of RubyGems installed, then you can still do it in two steps:
$ gem install rubygems-update (again, might need to be admin/root) $ update_rubygems (... here too)
If you don’t have any gems install, there is still the pre-gem approach to getting software … doing it manually:
- DOWNLOAD FROM: rubyforge.org/frs/?group_id=126
- UNPACK INTO A DIRECTORY AND CD THERE
- INSTALL WITH: ruby setup.rb (you may need admin/root privilege)
To File Bugs
The RubyGems bug tracker can be found on RubyForge at: rubyforge.org/tracker/?func=add&group_id=126&atid=575
When filing a bug, gem env output will be helpful in diagnosing the issue.
If you find a bug where RubyGems crashes, please provide debug output. You can do that with gem --debug the_command.
Thanks
Keep those gems coming!
— Jim & Chad & Eric (for the RubyGems team)
RDoc 2.0.0
Eric Hodel | Fri, 11 Apr 2008 01:21:00 GMT
rdoc version 2.0.0 has been released!
http://rubyforge.org/projects/rdoc
http://rdoc.rubyforge.org/rdoc
RDoc is an application that produces documentation for one or more Ruby source files. RDoc includes the `rdoc` and `ri` tools for generating and displaying online documentation.
At this point in time, RDoc 2.x is a work in progress and may incur further API changes beyond what has been made to the RDoc 1.0.1. Command-line tools are largely unaffected, but internal APIs may shift rapidly.
Changes:
- 3 Major Enhancements:
- Renamespaced everything RDoc under the RDoc module.
- New `ri` implementation.
- Reads from a cache in ~/.ri/ for enhanced speed.
- RubyGems aware, only searches latest gem versions.
- Now up to over 100 tests and 200 assertions.
- 4 Minor Enhancements:
- Switched to an ERb-based TemplatePage, see RDoc::TemplatePage.
- Class/module ri now displays attribute and constant comments.
- Cross-references can be disabled with a leading \.
- Relaxed parsing for some RDoc inline markup.
Bugs:
If you found a bug, please report it at the RDoc project's tracker on RubyForge: http://rubyforge.org/tracker/?group_id=627
Synopsis:
gem 'rdoc' require 'rdoc/rdoc' # ... see RDoc

Articles