state_manager.gemspec in state_manager-0.2.10 vs state_manager.gemspec in state_manager-0.2.11
- old
+ new
@@ -1,103 +1,24 @@
-# 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 'state_manager/version'
-Gem::Specification.new do |s|
- s.name = "state_manager"
- s.version = "0.2.10"
+Gem::Specification.new do |spec|
+ spec.name = "state_manager"
+ spec.version = StateManager::VERSION
+ spec.authors = ["Gordon L. Hempton"]
+ spec.email = ["ghempton@gmail.com"]
+ spec.summary = "%Q{Finite state machine implementation.}"
+ spec.description = "Finite state machine implementation that keeps logic separate from model classes and supports sub-states."
+ spec.homepage = "https://github.com/ghempton/state_manager"
+ spec.license = "MIT"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Gordon Hempton"]
- s.date = "2012-08-29"
- s.description = "Finite state machine implementation that keeps logic separate from model classes and supports sub-states."
- s.email = "ghempton@gmail.com"
- s.extra_rdoc_files = [
- "LICENSE.txt",
- "README.md"
- ]
- s.files = [
- ".document",
- "Gemfile",
- "Gemfile.lock",
- "LICENSE.txt",
- "README.md",
- "Rakefile",
- "VERSION",
- "lib/state_manager.rb",
- "lib/state_manager/adapters.rb",
- "lib/state_manager/adapters/active_record.rb",
- "lib/state_manager/adapters/base.rb",
- "lib/state_manager/base.rb",
- "lib/state_manager/core.rb",
- "lib/state_manager/dsl.rb",
- "lib/state_manager/helpers.rb",
- "lib/state_manager/plugins.rb",
- "lib/state_manager/plugins/delayed_job.rb",
- "lib/state_manager/resource.rb",
- "lib/state_manager/serialization.rb",
- "lib/state_manager/state.rb",
- "state_manager.gemspec",
- "test/adapters/active_record_test.rb",
- "test/basic_test.rb",
- "test/definition_test.rb",
- "test/helper.rb",
- "test/helpers_test.rb",
- "test/plugins/delayed_job_test.rb",
- "test/transitions_test.rb"
- ]
- s.homepage = "http://github.com/ghempton/state_manager"
- s.licenses = ["MIT"]
- s.require_paths = ["lib"]
- s.rubygems_version = "1.8.23"
- s.summary = "%Q{Finite state machine implementation.}"
+ spec.files = `git ls-files -z`.split("\x0")
+ 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
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
- s.add_development_dependency(%q<pry>, [">= 0"])
- s.add_development_dependency(%q<pry-doc>, [">= 0"])
- s.add_development_dependency(%q<pry-remote>, [">= 0"])
- s.add_development_dependency(%q<pry-nav>, [">= 0"])
- s.add_development_dependency(%q<pry-stack_explorer>, [">= 0"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
- s.add_development_dependency(%q<delayed_job_active_record>, [">= 0"])
- s.add_development_dependency(%q<activerecord>, [">= 0"])
- s.add_development_dependency(%q<sqlite3>, [">= 0"])
- s.add_development_dependency(%q<timecop>, [">= 0"])
- else
- s.add_dependency(%q<activesupport>, [">= 0"])
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
- s.add_dependency(%q<pry>, [">= 0"])
- s.add_dependency(%q<pry-doc>, [">= 0"])
- s.add_dependency(%q<pry-remote>, [">= 0"])
- s.add_dependency(%q<pry-nav>, [">= 0"])
- s.add_dependency(%q<pry-stack_explorer>, [">= 0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
- s.add_dependency(%q<delayed_job_active_record>, [">= 0"])
- s.add_dependency(%q<activerecord>, [">= 0"])
- s.add_dependency(%q<sqlite3>, [">= 0"])
- s.add_dependency(%q<timecop>, [">= 0"])
- end
- else
- s.add_dependency(%q<activesupport>, [">= 0"])
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
- s.add_dependency(%q<pry>, [">= 0"])
- s.add_dependency(%q<pry-doc>, [">= 0"])
- s.add_dependency(%q<pry-remote>, [">= 0"])
- s.add_dependency(%q<pry-nav>, [">= 0"])
- s.add_dependency(%q<pry-stack_explorer>, [">= 0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
- s.add_dependency(%q<delayed_job_active_record>, [">= 0"])
- s.add_dependency(%q<activerecord>, [">= 0"])
- s.add_dependency(%q<sqlite3>, [">= 0"])
- s.add_dependency(%q<timecop>, [">= 0"])
- end
+ spec.add_runtime_dependency 'activesupport'
+ spec.add_development_dependency "bundler", "~> 1.5"
+ spec.add_development_dependency "rake"
end
-