Sha256: f858f46f4915da084511e0e9114d566481e508c9175c5155ca6dcf65739292d2

Contents?: true

Size: 601 Bytes

Versions: 6

Compression:

Stored size: 601 Bytes

Contents

on "say_foo", desc: "Print a foo" do
  "foo"
end

on "raiser", desc: "Raises an exception" do
  raise "boom"
end

on "print_env", desc: "Test cogy env access" do
  "#{env["foo"]} #{env["COG_FOO"]} #{env["NOEXIST"]} #{env["FOO"]}"
end

on "foohelper", desc: "" do
  foo
end

on "rails_url_helpers", desc: "" do
  "#{baz_url(host: "dummy.com")} #{baz_path}"
end

on "titleize", desc: "" do
  bar "this should be titleized"
end

on "args_order", args: [:a, :b, :c], desc: "" do
  args.join
end

on "test_opts_downcased",
   opts: { a: { type: "string", required: false } },
   desc: "" do
  opts[:a]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cogy-0.6.0 test/dummies/cogy/foo.rb
cogy-0.5.2 test/dummy/cogy/foo.rb
cogy-0.5.1 test/dummy/cogy/foo.rb
cogy-0.5.0 test/dummy/cogy/foo.rb
cogy-0.4.0 test/dummy/cogy/foo.rb
cogy-0.3.0 test/dummy/cogy/foo.rb