test/dummy/config/initializers/cogy.rb in cogy-0.1.1 vs test/dummy/config/initializers/cogy.rb in cogy-0.2.0
- old
+ new
@@ -1,9 +1,12 @@
Cogy.configure do |c|
- c.bundle_name = "foo"
- c.bundle_description = "The bundle you really need"
- c.bundle_version = "0.0.1"
- c.executable_path = "/usr/bin/foo"
+ c.bundle = {
+ name: "foo",
+ description: "The bundle you really need",
+ version: "0.0.1",
+ cogy_executable: "/usr/bin/foo"
+ }
+
c.command_load_paths = ["cogy"]
c.helper(:foo) { env["cogy_foo"] }
c.helper(:bar) { |text| text.titleize }
end