From 56db2d8aaf8bbfc7549440d8385e687edd302f91 Mon Sep 17 00:00:00 2001 From: Ahmet Sezgin Duran Date: Thu, 8 May 2014 02:30:00 +0300 Subject: [PATCH] Update Gemfile with dependencies --- medium-editor-rails.gemspec | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/medium-editor-rails.gemspec b/medium-editor-rails.gemspec index cae2678..9b23df4 100644 --- a/medium-editor-rails.gemspec +++ b/medium-editor-rails.gemspec @@ -3,18 +3,19 @@ lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'medium-editor-rails/version' -Gem::Specification.new do |s| - s.name = 'medium-editor-rails' - s.version = MediumEditorRails::Rails::VERSION - s.authors = ['Ahmet Sezgin Duran'] - s.email = ['marjinalist1@gmail.com'] - s.summary = %q{Medium Editor integrated in Rails asset pipeline} - s.description = s.summary - s.homepage = 'https://github.com/marjinal1st/medium-editor-rails' - s.license = 'MIT' +Gem::Specification.new do |gem| + gem.name = 'medium-editor-rails' + gem.version = MediumEditorRails::Rails::VERSION + gem.authors = ['Ahmet Sezgin Duran'] + gem.email = ['marjinalist1@gmail.com'] + gem.summary = %q{Medium Editor integrated in Rails asset pipeline} + gem.description = gem.summary + gem.homepage = 'https://github.com/marjinal1st/medium-editor-rails' + gem.license = 'MIT' - s.files = `git ls-files`.split($/) - s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) } - s.test_files = s.files.grep(%r{^(test|spec|features)/}) - s.require_paths = ['lib'] -end + gem.files = `git ls-files`.split($/) + gem.require_paths = ['lib'] + + gem.add_dependency 'railties', '~> 3.0' + gem.add_development_dependency 'bundler', '~> 1.0' +end \ No newline at end of file