cells.gemspec in cells-3.11.3 vs cells.gemspec in cells-4.0.0.beta1

- old
+ new

@@ -1,35 +1,26 @@ lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) -require 'cells/version' +require 'cell/version' -Gem::Specification.new do |s| - s.name = "cells" - s.version = Cells::VERSION - s.platform = Gem::Platform::RUBY - s.authors = ["Nick Sutterer"] - s.email = ["apotonick@gmail.com"] - s.homepage = "http://cells.rubyforge.org" - s.summary = %q{View Components for Rails.} - s.description = %q{Cells are view components for Rails. They are lightweight controllers, can be rendered in views and thus provide an elegant and fast way for encapsulation and component-orientation.} - s.license = 'MIT' +Gem::Specification.new do |spec| + spec.name = "cells" + spec.version = Cell::VERSION::STRING + spec.platform = Gem::Platform::RUBY + spec.authors = ["Nick Sutterer"] + spec.email = ["apotonick@gmail.com"] + spec.homepage = "https://github.com/apotonick/cells" + spec.summary = %q{View Models for Rails.} + spec.description = %q{Cells replace partials and helpers with OOP view models, giving you proper encapsulation, inheritance, testability and a cleaner view architecture.} + spec.license = 'MIT' - 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"] + spec.files = `git ls-files`.split("\n") + spec.test_files = `git ls-files -- {test}/*`.split("\n") + spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + spec.require_paths = ["lib"] - s.add_dependency "actionpack", ">= 3.0" - s.add_dependency "railties", ">= 3.0" - s.add_dependency "uber", "~> 0.0.8" - - s.add_development_dependency "rake" - s.add_development_dependency "haml" - s.add_development_dependency "slim" - s.add_development_dependency "tzinfo" # FIXME: why the hell do we need this for 3.1? - s.add_development_dependency "minitest", ">= 4.7.5" - s.add_development_dependency "activemodel" - s.add_development_dependency "capybara" - s.add_development_dependency "sprockets" - s.add_development_dependency "disposable", "~> 0.0.6" + spec.add_dependency 'actionpack', '>= 3.2' + spec.add_dependency "uber", "~> 0.0.9" + spec.add_dependency 'tilt', '>= 1.4', '< 3' + spec.add_dependency 'disposable', '~> 0.0.8' end