- Semi-transparent backgrounds
- 2-point linear gradients incl. support for rgba(..)
- Rounded corners
- Borders incl. rounded borders
- Image composing, i.e., drawing images on top of the canvas
- Filters, currently only grayscale supported
a RMagick utility for Sass.
The aim of this project is to allow designers to generate images on-the-fly while authoring their stylesheets. Compass Magick currently supports:
What a lot of people don’t know is that Steak is nothing more than a bunch of aliases and generators. This doesn’t mean that it doesn’t make your work easier or that it’s a scam, but it’s not a completely separate testing library. It’s essentially just a tool to make it easier to get Capybara running on RSpec.
Capybara doesn’t have any generators for its new DSL, but that shouldn’t be a problem. Setting it up is quite easy, just add a file named
spec/acceptance/acceptance_helper.rb. In this file, we’ll require
spec/spec_helper.rbto make RSpec available. We’ll also require Capybara’s RSpec helper file:
require 'rspec'require 'capybara'require 'capybara/dsl'module CapybaraStandalonedef self.setupCapybara.configure do |config|config.app_host = ENV['CAPYBARA_TEST_URL'] || 'http://localhost:3000'config.run_server = falseconfig.default_driver = :seleniumendendendRSpec.configure do |config|config.include Capybaraconfig.before(:all) doCapybaraStandalone.setupendconfig.after doCapybara.reset_sessions!Capybara.use_default_driverendend
uby provides some fantastic built-in features for creating Domain Specific Languages (DSLs). A Domain Specific Language is, for our purposes today, like a miniature specialized programming language within a programming language. It is a way to expose functionality in a simple, readable format for other programmers (or yourself) to use. One of the most commonly used DSLs in the Ruby world is Sinatra:
Russ Olsen has been putting together a small series of blog posts about building a DSL in Ruby. The first part dates from October 2006, but the second part has just been released, making it a good double length read. In the mini-series, Russ looks at the motivation for developing a DSL and develops a basic DSL called Potemkin.
what does WebDriver mean to Watir? Some people in the Watir project see an opportunity to leverage the effort put into WebDriver, but to continue to offer the clean neat API that Watir does. Jari Bakken has released an early version of Watir-WebDriver, essentially Watir’s ruby API utilising the WebDriver engine. By using WebDriver, Watir can support any browser that WebDriver does, including a headless HtmlUnit browser, without using Celerity.
This plugin is designed for quick development of a page that implements a Google Map with a list of the locations that are specified within the HTML.
The plugin tries to allow as much graceful degradation as possible by having the HTML be as semantic as possible. The plugin expect the HTML for the locations to be grouped under a common element. Additionally, it expects the links and Map Info Window content to be grouped under the location elements. It also expects the necessary metadata to be on the location element. This way the HTML semantically reflects that all of those parts and information are associated with the specific location or place.