blackrat.org
New gem: blackrat_yaml_config released | blackrat.org
http://blackrat.org/ruby/new-gem-blackrat_yaml_config-released
New gem: blackrat yaml config. November 12, 2012. If you’ve been with me from the beginning of this blog, you’ll know I started off by building something that I called the “BorgBox”, which was a home PVR based on a Mac mini and MythTV. After moving to Boxee and being frustrated with the lack of a database, I finally (for now! To use it, you would create code such as the following:. Require 'blackrat yaml config' class TestApplication include YAMLConfig config directories :etc= [' /.test application",...
blackrat.org
gems | blackrat.org
http://blackrat.org/category/gems
Ruby Gem acts as select 0.1.0 released. February 15, 2015. This minor milestone sees acts as select heavily refactored and new tests made available. Once this was done, it was then extended with some additional functionality in the form of ‘include’ and ‘exclude’ options. The resulting code should support all versions of Rails 2.1.1 and tests should both run with MiniTest and fall gracefully back to Test: Unit for Ruby versions. New gem: blackrat yaml config. November 12, 2012. If you’ve been with ...
blackrat.org
XML to YML conversion using ruby | blackrat.org
http://blackrat.org/ruby/xml-to-yml-conversion
XML to YML conversion using ruby. October 13, 2009. I’ve switched from XML to YML as a data language for most of my code, mainly prompted by the ease of ruby/yaml. I had data for a chrononauts game in XML format. Rather than using this data as it was, I wanted to convert it to a simple YML format structure. The original code was of the form:. And I wanted it to be more like. String) next if value.gsub(/[ n t s]/,' ).empty? End if head[key].nil? Head[key]=value else if head[key].keys.include? Valuekeys[0]...
blackrat.org
ruby | blackrat.org
http://blackrat.org/category/ruby
Ruby Gem acts as select 0.1.0 released. February 15, 2015. This minor milestone sees acts as select heavily refactored and new tests made available. Once this was done, it was then extended with some additional functionality in the form of ‘include’ and ‘exclude’ options. The resulting code should support all versions of Rails 2.1.1 and tests should both run with MiniTest and fall gracefully back to Test: Unit for Ruby versions. Acts as select 0.0.3 released. December 16, 2014. As many of you will know, ...
blackrat.org
blackrat | blackrat.org
http://blackrat.org/author/blackrat
All posts by blackrat. Paul McKibbin does not exist as either a human or a corporate entity. Ruby Gem acts as select 0.1.0 released. February 15, 2015. This minor milestone sees acts as select heavily refactored and new tests made available. Once this was done, it was then extended with some additional functionality in the form of ‘include’ and ‘exclude’ options. Acts as select 0.0.3 released. December 16, 2014. As many of you will know, I’ve been stuck in ‘legacy support land’ on intra...As I’ve b...
blackrat.org
Installing and running MacRuby (Ruby 1.9.2) on 32-bit Intel Macs | blackrat.org
http://blackrat.org/ruby/installing-and-running-macruby-ruby-1-9-2-on-32-bit-intel-macs
Installing and running MacRuby (Ruby 1.9.2) on 32-bit Intel Macs. September 7, 2011. I still use and develop on a Macbook Pro from March 2006, which has been my daily workhorse since then. I have better machines, but still find it good to use and travel almost exclusively with it, since it is the one platform I can develop and test Mac, Linux and Windows code on. That files says: to check out and build use the following commands:. Svn co https:/ llvm.org/svn/llvm-project/llvm/branches/release 29@1273...
blackrat.org
acts_as_select 0.0.3 released. | blackrat.org
http://blackrat.org/ruby/acts_as_select-0-0-3-released
Acts as select 0.0.3 released. December 16, 2014. As many of you will know, I’ve been stuck in ‘legacy support land’ on intra/extranet sites for a few years now, where working with Rails 2.3.x was considered to be a bit modern and edgy. (Don’t ask.) So when I had the opportunity to jump to the beta Rails 4 for a project and reacquaint myself with living on the real edge, I jumped at the chance. More importantly, as well as submitting the fix, Simon also forked it and greatly improved the readme to make i...
blackrat.org
blackrat.org | A blog about Ruby, technology related to Ruby, useful Ruby scripts and anything else that takes Paul McKibbin's fancy. | Page 2
http://blackrat.org/page/2
XML to YML conversion using ruby. October 13, 2009. I’ve switched from XML to YML as a data language for most of my code, mainly prompted by the ease of ruby/yaml. I had data for a chrononauts game in XML format. Rather than using this data as it was, I wanted to convert it to a simple YML format structure. The original code was of the form:. And I wanted it to be more like. String) next if value.gsub(/[ n t s]/,' ).empty? End if head[key].nil? Head[key]=value else if head[key].keys.include? Valuekeys[0]...