consul.gemspec in consul-0.1.2 vs consul.gemspec in consul-0.2.0
- old
+ new
@@ -1,103 +1,27 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
-# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "consul/version"
Gem::Specification.new do |s|
- s.name = %q{consul}
- s.version = "0.1.2"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.name = 'consul'
+ s.version = Consul::VERSION
s.authors = ["Henning Koch"]
- s.date = %q{2011-07-07}
- s.description = %q{Consul is a scope-based authorization solution for Ruby on Rails.}
- s.email = %q{henning.koch@makandra.de}
- s.extra_rdoc_files = [
- "README.rdoc"
- ]
- s.files = [
- ".gitignore",
- "Gemfile",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "consul.gemspec",
- "lib/consul.rb",
- "lib/consul/controller.rb",
- "lib/consul/errors.rb",
- "lib/consul/power.rb",
- "lib/consul/spec/matchers.rb",
- "spec/app_root/app/controllers/application_controller.rb",
- "spec/app_root/app/controllers/dashboards_controller.rb",
- "spec/app_root/app/controllers/songs_controller.rb",
- "spec/app_root/app/controllers/users_controller.rb",
- "spec/app_root/app/models/client.rb",
- "spec/app_root/app/models/note.rb",
- "spec/app_root/app/models/power.rb",
- "spec/app_root/app/models/user.rb",
- "spec/app_root/config/boot.rb",
- "spec/app_root/config/database.yml",
- "spec/app_root/config/environment.rb",
- "spec/app_root/config/environments/in_memory.rb",
- "spec/app_root/config/environments/mysql.rb",
- "spec/app_root/config/environments/postgresql.rb",
- "spec/app_root/config/environments/sqlite.rb",
- "spec/app_root/config/environments/sqlite3.rb",
- "spec/app_root/config/routes.rb",
- "spec/app_root/db/migrate/001_create_users.rb",
- "spec/app_root/db/migrate/002_create_clients.rb",
- "spec/app_root/db/migrate/003_create_notes.rb",
- "spec/app_root/lib/console_with_fixtures.rb",
- "spec/app_root/log/.gitignore",
- "spec/app_root/script/console",
- "spec/consul/power_spec.rb",
- "spec/controllers/dashboards_controller_spec.rb",
- "spec/controllers/songs_controller_spec.rb",
- "spec/controllers/users_controller_spec.rb",
- "spec/rcov.opts",
- "spec/spec.opts",
- "spec/spec_helper.rb"
- ]
- s.homepage = %q{http://github.com/makandra/consul}
- s.rdoc_options = ["--charset=UTF-8"]
+ s.email = 'henning.koch@makandra.de'
+ s.homepage = 'https://github.com/makandra/consul'
+ s.summary = 'A scope-based authorization solution for Ruby on Rails.'
+ s.description = s.summary
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.7.2}
- s.summary = %q{Scope-based authorization solution for Rails}
- s.test_files = [
- "spec/controllers/users_controller_spec.rb",
- "spec/controllers/songs_controller_spec.rb",
- "spec/controllers/dashboards_controller_spec.rb",
- "spec/spec_helper.rb",
- "spec/consul/power_spec.rb",
- "spec/app_root/app/controllers/songs_controller.rb",
- "spec/app_root/app/controllers/dashboards_controller.rb",
- "spec/app_root/app/controllers/application_controller.rb",
- "spec/app_root/app/controllers/users_controller.rb",
- "spec/app_root/app/models/client.rb",
- "spec/app_root/app/models/power.rb",
- "spec/app_root/app/models/user.rb",
- "spec/app_root/app/models/note.rb",
- "spec/app_root/lib/console_with_fixtures.rb",
- "spec/app_root/config/boot.rb",
- "spec/app_root/config/routes.rb",
- "spec/app_root/config/environments/mysql.rb",
- "spec/app_root/config/environments/sqlite3.rb",
- "spec/app_root/config/environments/in_memory.rb",
- "spec/app_root/config/environments/postgresql.rb",
- "spec/app_root/config/environments/sqlite.rb",
- "spec/app_root/config/environment.rb",
- "spec/app_root/db/migrate/001_create_users.rb",
- "spec/app_root/db/migrate/002_create_clients.rb",
- "spec/app_root/db/migrate/003_create_notes.rb"
- ]
- if s.respond_to? :specification_version then
- s.specification_version = 3
+ s.add_dependency('rails')
+ s.add_dependency('assignable_values')
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- else
- end
- else
- end
+ # s.add_development_dependency('assignable_values')
+ s.add_development_dependency('rails', '~>2.3')
+ s.add_development_dependency('rspec', '~>1.3')
+ s.add_development_dependency('rspec-rails', '~>1.3')
+ s.add_development_dependency('shoulda-matchers')
+ s.add_development_dependency('sqlite3')
end
-