From a9143693d416b6c79e181ca1eb6cc853ec9b2357 Mon Sep 17 00:00:00 2001 From: ccocchi Date: Sun, 15 Jul 2012 23:31:51 +0200 Subject: [PATCH] Update gemspec to be valid --- Gemfile | 14 +------------- Gemfile.lock | 46 +++++++++++++++++++++++----------------------- rabl-rails.gemspec | 25 ++++++++++++------------- 3 files changed, 36 insertions(+), 49 deletions(-) diff --git a/Gemfile b/Gemfile index 577d5f7..3dd2f20 100644 --- a/Gemfile +++ b/Gemfile @@ -1,18 +1,6 @@ source "http://rubygems.org" -# Declare your gem's dependencies in rabl-rails.gemspec. -# Bundler will treat runtime dependencies like base dependencies, and -# development dependencies will be added by default to the :development group. gemspec -# jquery-rails is used by the dummy application - +# Mocking library gem 'rspec-mocks' - -# Declare any dependencies that are still in development here instead of in -# your gemspec. These might include edge Rails or gems from your path or -# Git. Remember to move these dependencies to your gemspec before releasing -# your gem to rubygems.org. - -# To use debugger -# gem 'ruby-debug19', :require => 'ruby-debug' diff --git a/Gemfile.lock b/Gemfile.lock index a07074c..881f7c6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,66 +2,66 @@ PATH remote: . specs: rabl-rails (0.1.0) - activesupport (~> 3.2.1) + activesupport (~> 3.0) GEM remote: http://rubygems.org/ specs: - actionpack (3.2.1) - activemodel (= 3.2.1) - activesupport (= 3.2.1) + actionpack (3.2.6) + activemodel (= 3.2.6) + activesupport (= 3.2.6) builder (~> 3.0.0) erubis (~> 2.7.0) journey (~> 1.0.1) rack (~> 1.4.0) - rack-cache (~> 1.1) + rack-cache (~> 1.2) rack-test (~> 0.6.1) - sprockets (~> 2.1.2) - activemodel (3.2.1) - activesupport (= 3.2.1) + sprockets (~> 2.1.3) + activemodel (3.2.6) + activesupport (= 3.2.6) builder (~> 3.0.0) - activesupport (3.2.1) + activesupport (3.2.6) i18n (~> 0.6) multi_json (~> 1.0) builder (3.0.0) erubis (2.7.0) hike (1.2.1) i18n (0.6.0) - journey (1.0.3) - json (1.6.5) - multi_json (1.1.0) + journey (1.0.4) + json (1.7.3) + multi_json (1.3.6) rack (1.4.1) - rack-cache (1.1) + rack-cache (1.2) rack (>= 0.4) rack-ssl (1.3.2) rack rack-test (0.6.1) rack (>= 1.0) - railties (3.2.1) - actionpack (= 3.2.1) - activesupport (= 3.2.1) + railties (3.2.6) + actionpack (= 3.2.6) + activesupport (= 3.2.6) rack-ssl (~> 1.3.2) rake (>= 0.8.7) rdoc (~> 3.4) - thor (~> 0.14.6) + thor (>= 0.14.6, < 2.0) rake (0.9.2.2) rdoc (3.12) json (~> 1.4) - rspec-mocks (2.8.0) - sprockets (2.1.2) + rspec-mocks (2.11.1) + sprockets (2.1.3) hike (~> 1.2) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) - sqlite3 (1.3.5) - thor (0.14.6) + sqlite3 (1.3.6) + thor (0.15.4) tilt (1.3.3) PLATFORMS ruby DEPENDENCIES - actionpack (~> 3.2.1) + actionpack (~> 3.0) rabl-rails! - railties (~> 3.2.1) + railties (~> 3.0) rspec-mocks sqlite3 diff --git a/rabl-rails.gemspec b/rabl-rails.gemspec index 0748115..4707712 100644 --- a/rabl-rails.gemspec +++ b/rabl-rails.gemspec @@ -1,24 +1,23 @@ $:.push File.expand_path("../lib", __FILE__) - -# Maintain your gem's version: require "rabl-rails/version" -# Describe your gem and declare its dependencies: Gem::Specification.new do |s| s.name = "rabl-rails" s.version = RablRails::VERSION - s.authors = ["TODO: Your name"] - s.email = ["TODO: Your email"] - s.homepage = "TODO" - s.summary = "TODO: Summary of RablRails." - s.description = "TODO: Description of RablRails." + s.platform = Gem::Platform::RUBY + s.authors = ["Christopher Cocchi-Perrier"] + s.email = ["cocchi.c@gmail.com"] + s.homepage = "https://github.com/ccocchi/rabl-rails" + s.summary = "Fast Rails 3+ templating system with JSON and XML support" + s.description = "Fast Rails 3+ templating system with JSON and XML support" - s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"] - s.test_files = Dir["test/**/*"] + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- test/*`.split("\n") + s.require_paths = ["lib"] - s.add_dependency "activesupport", "~> 3.2.1" + s.add_dependency "activesupport", "~> 3.0" s.add_development_dependency "sqlite3" - s.add_development_dependency "railties", "~> 3.2.1" - s.add_development_dependency "actionpack", "~> 3.2.1" + s.add_development_dependency "railties", "~> 3.0" + s.add_development_dependency "actionpack", "~> 3.0" end