citrusbyte-is_taggable 0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,36 @@
1
+ require File.dirname(__FILE__) + '/../../../../spec/spec_helper'
2
+ # hack the require with absolute path like this for now...
3
+ # require '/Users/benalavi/Sites/causecast/spec/spec_helper'
4
+ # require '/Users/michel/CitrusByte/causecast/spec/spec_helper'
5
+
6
+ module Spec::Example::ExampleGroupMethods
7
+ alias :context :describe
8
+ end
9
+
10
+ plugin_spec_dir = File.dirname(__FILE__)
11
+ ActiveRecord::Base.logger = Logger.new(plugin_spec_dir + "/debug.log")
12
+
13
+ load(File.dirname(__FILE__) + '/schema.rb')
14
+
15
+ class TaggableModel < ActiveRecord::Base
16
+ is_taggable :tags, :languages
17
+ is_taggable :skills
18
+ end
19
+
20
+ class OtherTaggableModel < ActiveRecord::Base
21
+ is_taggable :tags, :languages
22
+ end
23
+
24
+ class InheritingTaggableModel < TaggableModel
25
+ end
26
+
27
+ class AlteredInheritingTaggableModel < TaggableModel
28
+ is_taggable :parts
29
+ end
30
+
31
+ class TaggableUser < ActiveRecord::Base
32
+ is_tagger
33
+ end
34
+
35
+ class UntaggableModel < ActiveRecord::Base
36
+ end
data/uninstall.rb ADDED
@@ -0,0 +1 @@
1
+ # Uninstall hook code here
metadata ADDED
@@ -0,0 +1,79 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: citrusbyte-is_taggable
3
+ version: !ruby/object:Gem::Version
4
+ version: "0.85"
5
+ platform: ruby
6
+ authors:
7
+ - Ben Alavi
8
+ - Michel Martens
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2008-12-11 00:00:00 -08:00
14
+ default_executable:
15
+ dependencies: []
16
+
17
+ description: is_taggable supports pretty much everything as the origin acts-as-taggable-on but is highly optimized to eliminate write blocking problems.
18
+ email: ben.alavi@citrusbyte.com
19
+ executables: []
20
+
21
+ extensions: []
22
+
23
+ extra_rdoc_files: []
24
+
25
+ files:
26
+ - CHANGELOG
27
+ - MIT-LICENSE
28
+ - README
29
+ - generators/is_taggable_migration
30
+ - generators/is_taggable_migration/is_taggable_migration_generator.rb
31
+ - generators/is_taggable_migration/templates
32
+ - generators/is_taggable_migration/templates/add_users_migration.rb
33
+ - generators/is_taggable_migration/templates/migration.rb
34
+ - init.rb
35
+ - lib/is_taggable.rb
36
+ - lib/is_taggable/is_taggable.rb
37
+ - lib/is_taggable/is_tagger.rb
38
+ - lib/is_taggable/tag_list.rb
39
+ - lib/is_taggable/tagging.rb
40
+ - lib/is_taggable/tags_helper.rb
41
+ - rails/init.rb
42
+ - spec/is_taggable
43
+ - spec/is_taggable/is_taggable_spec.rb
44
+ - spec/is_taggable/tag_list_spec.rb
45
+ - spec/is_taggable/taggable_spec.rb
46
+ - spec/is_taggable/tagger_spec.rb
47
+ - spec/is_taggable/tagging_spec.rb
48
+ - spec/debug.log
49
+ - spec/schema.rb
50
+ - spec/spec_helper.rb
51
+ - uninstall.rb
52
+ has_rdoc: false
53
+ homepage: http://labs.citrusbyte.com/is_taggable
54
+ post_install_message:
55
+ rdoc_options: []
56
+
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: "0"
64
+ version:
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: "0"
70
+ version:
71
+ requirements: []
72
+
73
+ rubyforge_project:
74
+ rubygems_version: 1.2.0
75
+ signing_key:
76
+ specification_version: 2
77
+ summary: Tagging for ActiveRecord with custom contexts, advanced features, and optimizations.
78
+ test_files: []
79
+