acts_as_taggable_simple 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ *.gem
2
+ .bundle
3
+ pkg
4
+ doc
5
+ rdoc
6
+ pkg/**/*
7
+ doc/**/*
8
+ rdoc/**/*
9
+ Gemfile.lock
10
+ Manifest
data/Gemfile CHANGED
@@ -1,6 +1,10 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'rails', '3.0.5'
4
- gem 'rspec'
5
- gem 'sqlite3-ruby', :require => 'sqlite3'
6
- gem 'jeweler'
3
+ # use gemspec for dependencies
4
+ gemspec
5
+
6
+ # group :test do
7
+ # gem 'rspec'
8
+ # gem 'rails'
9
+ # gem 'sqlite3-ruby', :require => 'sqlite3'
10
+ # end
data/Rakefile CHANGED
@@ -1,39 +1,9 @@
1
- require 'rubygems'
2
1
  require 'bundler'
3
2
  require 'rspec/core/rake_task'
4
3
 
5
- begin
6
- Bundler.setup(:default, :development)
7
- rescue Bundler::BundlerError => e
8
- $stderr.puts e.message
9
- $stderr.puts "Run `bundle install` to install missing gems"
10
- exit e.status_code
11
- end
12
4
  require 'rake'
13
5
 
14
- require 'jeweler'
15
- Jeweler::Tasks.new do |gem|
16
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
- gem.name = "acts_as_taggable_simple"
18
- gem.homepage = "http://github.com/chromaticbum/acts_as_taggable_simple"
19
- gem.license = "MIT"
20
- gem.summary = %Q{Provides an acts_as_taggable method for ActiveRecord::Base}
21
- gem.description = %Q{
22
- Provides an acts_as_taggable method for ActiveRecord::Base, which
23
- allows your models to be tagged with arbitrary strings.
24
-
25
- This gem is written to rely completely on rails-generated SQL.
26
- This may change in the future, but the idea is that this gem should play nicely
27
- with other gems like meta_search.
28
- }
29
- gem.email = "hrw7@cornell.edu"
30
- gem.authors = ["Hollin R. Wilkins"]
31
- # Include your dependencies below. Runtime dependencies are required when using your gem,
32
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
33
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
34
- # gem.add_development_dependency 'rspec', '> 1.2.3'
35
- end
36
- Jeweler::RubygemsDotOrgTasks.new
6
+ Bundler::GemHelper.install_tasks
37
7
 
38
8
  RSpec::Core::RakeTask.new do |t|
39
9
  pattern = "spec/**/*_spec.rb"
@@ -42,8 +12,9 @@ end
42
12
  task :default => :spec
43
13
 
44
14
  require 'rake/rdoctask'
15
+ require 'acts_as_taggable_simple/version'
45
16
  Rake::RDocTask.new do |rdoc|
46
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
17
+ version = ActsAsTaggableSimple::VERSION
47
18
 
48
19
  rdoc.rdoc_dir = 'rdoc'
49
20
  rdoc.title = "acts_as_taggable_simple #{version}"
@@ -1,84 +1,25 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
- # -*- encoding: utf-8 -*-
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+ require 'acts_as_taggable_simple/version'
5
3
 
6
4
  Gem::Specification.new do |s|
7
- s.name = %q{acts_as_taggable_simple}
8
- s.version = "0.0.3"
5
+ s.name = "acts_as_taggable_simple"
6
+ s.version = ActsAsTaggableSimple::VERSION
7
+ s.platform = Gem::Platform::RUBY
8
+ s.authors = ["Hollin Wilkins"]
9
+ s.email = ["hrw7@cornell.edu"]
10
+ s.homepage = "http://hollinwilkins.com"
11
+ s.summary = "Makeyour models taggable, no extra fluff"
12
+ s.description = "Adds an acts_as style method to your models called acts_as_taggable"
9
13
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Hollin R. Wilkins"]
12
- s.date = %q{2011-04-10}
13
- s.description = %q{
14
- Provides an acts_as_taggable method for ActiveRecord::Base, which
15
- allows your models to be tagged with arbitrary strings.
14
+ s.rubyforge_project = "acts_as_taggable_simple"
16
15
 
17
- This gem is written to rely completely on rails-generated SQL.
18
- This may change in the future, but the idea is that this gem should play nicely
19
- with other gems like meta_search.
20
- }
21
- s.email = %q{hrw7@cornell.edu}
22
- s.extra_rdoc_files = [
23
- "README.rdoc"
24
- ]
25
- s.files = [
26
- "Gemfile",
27
- "MIT-LICENSE",
28
- "README.rdoc",
29
- "Rakefile",
30
- "VERSION",
31
- "acts_as_taggable_simple.gemspec",
32
- "init.rb",
33
- "lib/active_record/acts/taggable.rb",
34
- "lib/acts_as_taggable_simple.rb",
35
- "lib/generators/acts_as_taggable_simple/migration/migration_generator.rb",
36
- "lib/generators/acts_as_taggable_simple/migration/templates/active_record/migration.rb",
37
- "lib/tag.rb",
38
- "lib/tag_list.rb",
39
- "lib/tagging.rb",
40
- "spec/acts_as_taggable_simple/acts_as_taggable_simple_spec.rb",
41
- "spec/acts_as_taggable_simple/spec_helper.rb",
42
- "spec/acts_as_taggable_simple/taggable_spec.rb",
43
- "spec/database.yml",
44
- "spec/debug.log",
45
- "spec/models.rb",
46
- "spec/schema.rb",
47
- "spec/spec_helper.rb"
48
- ]
49
- s.homepage = %q{http://github.com/chromaticbum/acts_as_taggable_simple}
50
- s.licenses = ["MIT"]
51
- s.require_paths = ["lib"]
52
- s.rubygems_version = %q{1.5.2}
53
- s.summary = %q{Provides an acts_as_taggable method for ActiveRecord::Base}
54
- s.test_files = [
55
- "spec/acts_as_taggable_simple/acts_as_taggable_simple_spec.rb",
56
- "spec/acts_as_taggable_simple/spec_helper.rb",
57
- "spec/acts_as_taggable_simple/taggable_spec.rb",
58
- "spec/models.rb",
59
- "spec/schema.rb",
60
- "spec/spec_helper.rb"
61
- ]
62
-
63
- if s.respond_to? :specification_version then
64
- s.specification_version = 3
16
+ s.add_development_dependency 'rspec'
17
+ s.add_development_dependency 'activerecord'
18
+ s.add_development_dependency 'activesupport'
19
+ s.add_development_dependency 'sqlite3-ruby'
65
20
 
66
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
67
- s.add_runtime_dependency(%q<rails>, ["= 3.0.5"])
68
- s.add_runtime_dependency(%q<rspec>, [">= 0"])
69
- s.add_runtime_dependency(%q<sqlite3-ruby>, [">= 0"])
70
- s.add_runtime_dependency(%q<jeweler>, [">= 0"])
71
- else
72
- s.add_dependency(%q<rails>, ["= 3.0.5"])
73
- s.add_dependency(%q<rspec>, [">= 0"])
74
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
75
- s.add_dependency(%q<jeweler>, [">= 0"])
76
- end
77
- else
78
- s.add_dependency(%q<rails>, ["= 3.0.5"])
79
- s.add_dependency(%q<rspec>, [">= 0"])
80
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
81
- s.add_dependency(%q<jeweler>, [">= 0"])
82
- end
21
+ s.files = `git ls-files`.split("\n")
22
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
23
+ s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
24
+ s.require_paths = ["lib"]
83
25
  end
84
-
@@ -0,0 +1,3 @@
1
+ module ActsAsTaggableSimple
2
+ VERSION = "0.0.4"
3
+ end