Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Active older topics
4 new of 4 - Feb 11 2012
3 new of 3 - Dec 28 2011
2 new of 2 - Dec 28 2011
6 new of 6 - Aug 26 2010
1 new of 1 - Jul 6 2010
1 new of 1 - Jul 6 2010
2 new of 2 - Apr 27 2010
7 new of 7 - Apr 25 2010
2 new of 2 - Apr 9 2010
2 new of 2 - Feb 26 2010
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 197  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Facets universal is an archive of the facets-universal rubyforge mailing list.
 

Gem.search 
  Hi, in lib/standard/facets/gem there is the Gem::search extension. What is the correct way to require that, please? vlad
By vmoravec  - Nov 9 2012 - 2 new of 2 messages    

Interest in a more useful String#titlecase? 
  I've written a custom #titleize for my Rails apps that'd make a good ...grammar rules for capitalizing titles. It also handles Unicode whitespace correctly: it "does a better titleize" do # The basic case "The dog is home".titleize.should == 'The Dog is Home' # Handle Unicode NBSP's "Fishery management".titleize.should == 'Fishery Management' # space... more »
By Robb Shecter  - Apr 7 2012 - 2 new of 2 messages    

Symbols as part of Pathname path construction 
  I'd like to be able to do the following: Pathname.root /:usr/:local/:bin => #<Pathname:/usr/local/bin> The most obvious way for me to do this would be to alias Symbol#to_str to Symbol#to_s (in 1.8) and/or Symbol#to_path to Symbol#to_s (1.9). I'd be happy to contribute this extension to Facets.... more »
By bitherder  - Oct 25 2011 - 2 new of 2 messages    

deeply "filter" an Hash 
  Hi! Given some nested data in form of a Hash: h = { :a => 1, :b => { :x => 10, :y => 20 }, :c=>3 } I would like to "authorize" only certain part of such data to pass in, in a granular way. authorize = { :a => true, :b => { :x => true... more »
By Guido De Rosa  - Aug 5 2011 - 2 new of 2 messages    

Float.close?(a, b, epsilon=0.0000001) 
  Comparing two Floats is a general-purpose feature that could be added to Facets. I've implemented it in two projects that I'm working on, and submit it for consideration. Here is my code: class ::Float def Float.close?(a, b, epsilon=0.0000001) a, b = a.to_f, b.to_f if a.zero? or b.zero?... more »
By Gavin Sinclair  - Dec 23 2010 - 5 new of 5 messages    

extending Digest::(MD5|SHA1|...) ? 
  How about extending Digest::MD5 and other message-digest algorithm classes from the std library? Some sugar like this would be really sweet: Digest::MD5::LENGTH #=> 256 Digest::length(:MD5) #=> 256 Digest::MD5.digest('secret', :salt => 'mysalt') The following would auto-generate a random salt of the optimal length... more »
By Guido De Rosa  - Dec 1 2010 - 3 new of 3 messages    

missing feature? Object#deep_map 
  Hi, Consider a deeply nested structure made up of hashes and arrays, something like: o = { 'a' => C.new, 'b' => C.new, 'c' => [ C.new, C.new, { 'a' => C.new, 'b' => C.new, 'c => { 'a' => C.new, 'b' => [C.new, C.new, C.new]... more »
By Guido De Rosa  - Oct 5 2010 - 8 new of 8 messages    

Facets 2.9.0.pre.1 
  Just released a pre-release of v2.9.0. $ gem install --pre facets You can read the release history here: [link] Please report any bugs and/or suggestions. Thanks. Note that Facets test suite currently relies on versions of Lemon and QED that haven't been released yet. They will be ready for release in... more »
By Trans  - Sep 1 2010 - 2 new of 2 messages    

New Website -- 2.9 close to release 
  New website went up today, as a precursor to the 2.9 release that's a few of days away. [link] ______________________________ _________________ facets-universal mailing list facets-univer...@rubyforge.org [link]
By Trans  - Aug 29 2010 - 1 new of 1 message    

Better name for Module#parent? 
  Currently Facets has methods Module#parent and Module#parents. These simply return the module/class name spaces of a module or class, e.g. Test::Unit::TestCase.parent #=> Test::Unit Test::Unit::TestCase.parents #=> [Test, Test::Unit] I do not think that names of these methods really capture their... more »
By Trans  - Aug 26 2010 - 1 new of 1 message    

1 - 10 of 197   « Newer | Older »

XML       Send email to this group: facets-universal@rubyforge.org