To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
require 'rake/gempackagetask' | |
# RubyGems versioning policy: http://docs.rubygems.org/read/chapter/7 | |
gemspec = Gem::Specification.new do |gs| | |
gs.name = 'name' | |
gs.summary = 'summary' | |
gs.description = File.read(File.join(File.dirname(__FILE__), 'README.md')) | |
gs.requirements = [ 'requirements' ] | |
gs.version = '0.0.1' |
require 'rspec/core/rake_task' | |
require 'cucumber/rake/task' | |
namespace :test do | |
desc 'Run RSpec tests' | |
RSpec::Core::RakeTask.new(:spec) do |task| | |
task.rspec_opts = %w[--color --format documentation] | |
task.pattern = 'spec/*_spec.rb' | |
end |
;; | |
;; NS CHEATSHEET | |
;; | |
;; * :require makes functions available with a namespace prefix | |
;; and optionally can refer functions to the current ns. | |
;; | |
;; * :import refers Java classes to the current namespace. | |
;; | |
;; * :refer-clojure affects availability of built-in (clojure.core) | |
;; functions. |