Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (43 sloc) 1.92 KB
require 'rubygems'
require 'bundler'
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
require 'rake'
require 'jeweler' do |gem| = "rails3-settings"
gem.version =, 'VERSION'))
gem.homepage = ""
gem.license = "MIT"
gem.summary = %Q{Store application settings or user-settings in DB like key-value pairs}
gem.description = %Q{Settings is a plugin that makes managing a table of global key, value pairs easy. Think of it like a global Hash stored in you database, that uses simple ActiveRecord like methods for manipulation. Keep track of any global setting that you dont want to hard code into your rails app. You can store any kind of object. Strings, numbers, arrays, or any object.} = ""
gem.authors = ["Squeegy", "Georg Ledermann ", "Mikhail Khomutetskiy"]
# Include your dependencies below. Runtime dependencies are required when using your gem,
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
gem.add_runtime_dependency 'activerecord', '~> 3.1.0'
gem.add_runtime_dependency 'activesupport', '~> 3.1.0'
gem.add_development_dependency 'bundler', '~> 1.0.10'
gem.add_development_dependency 'jeweler', '~> 1.5.2'
require 'rake/testtask' do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
test.verbose = true
task :default => :test
require 'rake/rdoctask' do |rdoc|
version = File.exist?('VERSION') ?'VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "rails-settings #{version}"