Rakefile in pork_sandwich-0.1.0 vs Rakefile in pork_sandwich-0.2.0
- old
+ new
@@ -22,11 +22,11 @@
desc "Loads the database environment"
task :environment => :connect do
ActiveRecord::Base.send :include, ActiveRecord::Acts::TaggableOn
ActiveRecord::Base.send :include, ActiveRecord::Acts::Tagger
- require 'lib/pork'
+ require 'lib/pork_sandwich'
end
task :connect do
ActiveRecord::Base.establish_connection(YAML::load(File.open("config/database.yml"))['production'])
ActiveRecord::Base.logger = Logger.new(File.open('database.log', 'a'))
@@ -67,10 +67,10 @@
gemspec.email = "sam.o.gilbert@gmail.com"
gemspec.homepage = "http://github.com/sam1vp/pork_sandwich"
gemspec.authors = ["Sam Gilbert", "Evan Burchard"]
gemspec.add_dependency('acts-as-taggable-on', '>= 1.0.12')
gemspec.add_dependency('twitter', '>= 0.7.9')
- gemspec.files = FileList['lib/pork/*.rb', 'lib/pork.rb', 'lib/table_classes/*.rb', 'generators/pork_sandwich_migration/*.rb', 'generators/pork_sandwich_migration/templates/*.rb', 'Rakefile', 'README', 'VERSION' ]
+ gemspec.files = FileList['lib/pork_sandwich/*.rb', 'lib/pork_sandwich.rb', 'lib/pork_sandwich/table_classes/*.rb', 'generators/pork_sandwich_migration/*.rb', 'generators/pork_sandwich_migration/templates/*.rb', 'Rakefile', 'README', 'VERSION' ]
gemspec.test_files = ['test/*.rb']
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"