From 203ecb6bf8dbd34e613a760c5820fc30b459c1ed Mon Sep 17 00:00:00 2001 From: John Bintz Date: Tue, 15 Nov 2011 10:45:17 -0500 Subject: [PATCH] update things --- guard-rocco.gemspec | 4 ++-- lib/guard-rocco.rb | 1 + lib/guard/rocco.rb | 2 ++ lib/guard/rocco/version.rb | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 lib/guard-rocco.rb diff --git a/guard-rocco.gemspec b/guard-rocco.gemspec index ec78a2d..bf6b201 100644 --- a/guard-rocco.gemspec +++ b/guard-rocco.gemspec @@ -1,10 +1,10 @@ # -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) -require "guard/rocco/version" +require "guard-rocco" Gem::Specification.new do |s| s.name = "guard-rocco" - s.version = Guard::RoccoVersion::VERSION + s.version = Guard::Rocco::VERSION s.platform = Gem::Platform::RUBY s.authors = ["John Bintz"] s.email = ["john@coswellproductions.com"] diff --git a/lib/guard-rocco.rb b/lib/guard-rocco.rb new file mode 100644 index 0000000..c589f2a --- /dev/null +++ b/lib/guard-rocco.rb @@ -0,0 +1 @@ +require 'guard/rocco' diff --git a/lib/guard/rocco.rb b/lib/guard/rocco.rb index d5842d1..8df1207 100644 --- a/lib/guard/rocco.rb +++ b/lib/guard/rocco.rb @@ -6,6 +6,8 @@ require 'fileutils' module Guard class Rocco < Guard + autoload :VERSION, 'guard/rocco/version' + def initialize(watchers = [], options = {}) super diff --git a/lib/guard/rocco/version.rb b/lib/guard/rocco/version.rb index 3a2975f..aa3a2e6 100644 --- a/lib/guard/rocco/version.rb +++ b/lib/guard/rocco/version.rb @@ -1,5 +1,5 @@ module Guard module RoccoVersion - VERSION = '0.0.4' + VERSION = '0.1.0' end end