From efcf0e5927055d2b86804c84b00c614b38191964 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 10:45:27 +0200 Subject: enabling rake gem in engines, using LeapWeb::Version all over the place --- leap_web.gemspec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'leap_web.gemspec') diff --git a/leap_web.gemspec b/leap_web.gemspec index 569abc8..cd7a003 100644 --- a/leap_web.gemspec +++ b/leap_web.gemspec @@ -1,7 +1,6 @@ $:.push File.expand_path("../lib", __FILE__) -# Maintain your gem's version: -require "leap_web/version" +require 'leap_web/version.rb' Gem::Specification.new do |s| s.platform = Gem::Platform::RUBY @@ -21,6 +20,6 @@ Gem::Specification.new do |s| s.homepage = 'http://leap.se' # s.add_dependency 'leap_web_core' - s.add_dependency 'leap_web_certs' - s.add_dependency 'leap_web_users' + s.add_dependency 'leap_web_certs', LeapWeb::VERSION + s.add_dependency 'leap_web_users', LeapWeb::VERSION end -- cgit v1.2.3 From 51bc4cf65133982e9cf197bcf07aed3efce3d6dc Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 8 Oct 2012 11:27:19 +0200 Subject: cleaned up the gemspecs a bit - now all build --- leap_web.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'leap_web.gemspec') diff --git a/leap_web.gemspec b/leap_web.gemspec index cd7a003..44a30e0 100644 --- a/leap_web.gemspec +++ b/leap_web.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.summary = 'Leap web framework for Ruby on Rails.' s.description = 'Leap is the Leap Encryption Access Project. This is a framework for the web administrative interface. Its components live in separate gems. You can find out more about leap on www.leap.se' - s.files = Dir['README.md', 'lib/leap_web.rb', 'lib/leap_web/*'] + s.files = Dir['*.md', 'lib/leap_web.rb', 'lib/leap_web/*'] s.require_path = 'lib' s.requirements << 'none' s.required_ruby_version = '>= 1.8.7' -- cgit v1.2.3