Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Basic gem version.

  • Loading branch information...
commit 68712e0daec76d7a5d42676847a771f78a86a9c5 1 parent a20db32
@nagybence nagybence authored
View
43 acts_as_taggable_redux.gemspec
@@ -0,0 +1,43 @@
+Gem::Specification.new do |s|
+ s.name = 'acts_as_taggable_redux'
+ s.version = '0.0.1'
+ s.date = '2008-11-26'
+
+ s.summary = 'Allows for user owned tags to be added to multiple classes, and makes tags easier to work with.'
+ s.description = 'Allows for user owned tags to be added to multiple classes, and makes tags easier to work with.'
+
+ s.authors = ['Wesley Beary']
+ s.email = ''
+ s.homepage = 'http://github.com/monki/acts_as_taggable_redux'
+
+ s.has_rdoc = false
+ s.files = [
+ 'README',
+ 'init.rb',
+ 'generators/acts_as_taggable_tables/templates/migration.rb',
+ 'generators/acts_as_taggable_tables/acts_as_taggable_tables_generator.rb',
+ 'generators/acts_as_taggable_stylesheet/templates/acts_as_taggable_stylesheet.css',
+ 'generators/acts_as_taggable_stylesheet/acts_as_taggable_stylesheet_generator.rb',
+ 'Rakefile',
+ 'MIT-LICENSE',
+ 'test/tagging_test.rb',
+ 'test/debug.log',
+ 'test/test_helper.rb',
+ 'test/fixtures/users.yml',
+ 'test/fixtures/tags.yml',
+ 'test/fixtures/things.yml',
+ 'test/fixtures/thing.rb',
+ 'test/fixtures/taggings.yml',
+ 'test/fixtures/user.rb',
+ 'test/acts_as_taggable_test.rb',
+ 'test/tag_test.rb',
+ 'test/database.yml',
+ 'test/schema.rb',
+ 'lib/tagging.rb',
+ 'lib/acts_as_taggable.rb',
+ 'lib/acts_as_tagger.rb',
+ 'lib/acts_as_taggable_helper.rb',
+ 'lib/tag.rb',
+ 'lib/acts_as_taggable_redux.rb'
+ ]
+end
View
9 init.rb
@@ -1,8 +1 @@
-require 'acts_as_taggable'
-require 'acts_as_tagger'
-ActiveRecord::Base.send(:include, ActiveRecord::Acts::Taggable)
-ActiveRecord::Base.send(:include, ActiveRecord::Acts::Tagger)
-ActionView::Base.send(:include, ActsAsTaggableHelper)
-
-require File.dirname(__FILE__) + '/lib/tagging'
-require File.dirname(__FILE__) + '/lib/tag'
+require 'acts_as_taggable_redux'
View
9 lib/acts_as_taggable_redux.rb
@@ -0,0 +1,9 @@
+require 'acts_as_taggable'
+require 'acts_as_tagger'
+
+ActiveRecord::Base.send(:include, ActiveRecord::Acts::Taggable)
+ActiveRecord::Base.send(:include, ActiveRecord::Acts::Tagger)
+ActionView::Base.send(:include, ActsAsTaggableHelper)
+
+require 'tagging'
+require 'tag'
View
21 tasks/acts_as_taggable_tasks.rake
@@ -1,21 +0,0 @@
-
-namespace :acts_as_taggable do
- namespace :db do
- desc "Creates tag tables for use with acts_as_taggable"
- task :create => :environment do
- require 'rails_generator'
- require 'rails_generator/scripts/generate'
- raise "Task unavailable to this database (no migration support)" unless ActiveRecord::Base.connection.supports_migrations?
- Rails::Generator::Scripts::Generate.new.run([ "acts_as_taggable_tables", "add_acts_as_taggable_tables" ])
- end
- end
-
- namespace :stylesheet do
- desc "Create tag stylesheet for use with acts_as_taggable"
- task :create => :environment do
- require 'rails_generator'
- require 'rails_generator/scripts/generate'
- Rails::Generator::Scripts::Generate.new.run([ "acts_as_taggable_stylesheet" ])
- end
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.