redis-objects.gemspec in redis-objects-0.7.0 vs redis-objects.gemspec in redis-objects-0.8.0

- old
+ new

@@ -1,76 +1,30 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' -# -*- encoding: utf-8 -*- +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'redis/objects/version' -Gem::Specification.new do |s| - s.name = "redis-objects" - s.version = "0.7.0" +Gem::Specification.new do |spec| + spec.name = "redis-objects" + spec.version = Redis::Objects::VERSION + spec.authors = ["Nate Wiger"] + spec.email = ["nwiger@gmail.com"] + spec.description = %q{Map Redis types directly to Ruby objects. Works with any class or ORM.} + spec.summary = %q{Map Redis types directly to Ruby objects} + spec.homepage = "http://github.com/nateware/redis-objects" + spec.license = "Artistic" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Nate Wiger"] - s.date = "2013-02-27" - s.description = "Map Redis types directly to Ruby objects. Works with any class or ORM." - s.email = "nwiger@gmail.com" - s.extra_rdoc_files = [ - "README.md" - ] - s.files = [ - "ATOMICITY.rdoc", - "CHANGELOG.rdoc", - "Gemfile", - "README.md", - "Rakefile", - "VERSION", - "lib/redis-objects.rb", - "lib/redis/base_object.rb", - "lib/redis/counter.rb", - "lib/redis/hash_key.rb", - "lib/redis/helpers/core_commands.rb", - "lib/redis/helpers/serialize.rb", - "lib/redis/list.rb", - "lib/redis/lock.rb", - "lib/redis/objects.rb", - "lib/redis/objects/counters.rb", - "lib/redis/objects/hashes.rb", - "lib/redis/objects/lists.rb", - "lib/redis/objects/locks.rb", - "lib/redis/objects/sets.rb", - "lib/redis/objects/sorted_sets.rb", - "lib/redis/objects/values.rb", - "lib/redis/set.rb", - "lib/redis/sorted_set.rb", - "lib/redis/value.rb", - "redis-objects.gemspec", - "spec/redis_autoload_objects_spec.rb", - "spec/redis_namespace_compat_spec.rb", - "spec/redis_objects_active_record_spec.rb", - "spec/redis_objects_conn_spec.rb", - "spec/redis_objects_instance_spec.rb", - "spec/redis_objects_model_spec.rb", - "spec/spec_helper.rb" - ] - s.homepage = "http://github.com/nateware/redis-objects" - s.require_paths = ["lib"] - s.rubygems_version = "1.8.24" - s.summary = "Map Redis types directly to Ruby objects" + spec.files = `git ls-files`.split($/) + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ["lib"] - if s.respond_to? :specification_version then - s.specification_version = 3 + spec.add_dependency "redis", ">= 3.0.2" - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<redis>, [">= 3.0.2"]) - s.add_development_dependency(%q<bacon>, [">= 0"]) - s.add_development_dependency(%q<redis-namespace>, [">= 1.2.0"]) - else - s.add_dependency(%q<redis>, [">= 3.0.2"]) - s.add_dependency(%q<bacon>, [">= 0"]) - s.add_dependency(%q<redis-namespace>, [">= 1.2.0"]) - end - else - s.add_dependency(%q<redis>, [">= 3.0.2"]) - s.add_dependency(%q<bacon>, [">= 0"]) - s.add_dependency(%q<redis-namespace>, [">= 1.2.0"]) - end -end + spec.add_development_dependency "bundler", "~> 1.3" + spec.add_development_dependency "rake" + spec.add_development_dependency "bacon" + # compatability testing + spec.add_development_dependency "redis-namespace" + spec.add_development_dependency "activerecord", "~> 3.2" +end