Permalink
Browse files

renaming Tagging to VersionTagging to avoid conflict with Tagging mod…

…el from acts_as_taggable_on_steroids
  • Loading branch information...
1 parent bb7239a commit 61d786c9371d835b03a23c28cfb9e03322832863 David Furber committed Feb 28, 2010
View
2 lib/vestal_versions.rb
@@ -85,7 +85,7 @@ def versioned(options = {}, &block)
include Reset
include Conditions
include Control
- include Tagging
+ include VersionTagging
include Reload
prepare_versioned_options(options)
View
2 lib/vestal_versions/tagging.rb → lib/vestal_versions/version_tagging.rb
@@ -1,7 +1,7 @@
module VestalVersions
# Allows specific versions to be tagged with a custom string. Useful for assigning a more
# meaningful value to a version for the purpose of reversion.
- module Tagging
+ module VersionTagging
def self.included(base) # :nodoc:
Version.send(:include, VersionMethods)
View
2 test/tagging_test.rb → test/version_tagging_test.rb
@@ -1,6 +1,6 @@
require File.join(File.dirname(__FILE__), 'test_helper')
-class TaggingTest < Test::Unit::TestCase
+class VersionTaggingTest < Test::Unit::TestCase
context 'Tagging a version' do
setup do
@user = User.create(:name => 'Steve Richert')
View
2 vestal_versions.gemspec
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
"lib/vestal_versions/reload.rb",
"lib/vestal_versions/reset.rb",
"lib/vestal_versions/reversion.rb",
- "lib/vestal_versions/tagging.rb",
+ "lib/vestal_versions/version_tagging.rb",
"lib/vestal_versions/users.rb",
"lib/vestal_versions/version.rb",
"lib/vestal_versions/versioned.rb",

0 comments on commit 61d786c

Please sign in to comment.