From 43afc54ade8b25d4bab2a6bd9ac19fb546232dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ug=CC=A7is=20Ozols?= Date: Tue, 16 Jul 2013 14:42:28 +0300 Subject: Drop .dev from version. Delete version file and instead specify it directly in gemspec. --- lib/refinery/blog/version.rb | 18 ------------------ refinerycms-blog.gemspec | 9 +++------ 2 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 lib/refinery/blog/version.rb diff --git a/lib/refinery/blog/version.rb b/lib/refinery/blog/version.rb deleted file mode 100644 index 25ffc26..0000000 --- a/lib/refinery/blog/version.rb +++ /dev/null @@ -1,18 +0,0 @@ -module Refinery - module Blog - class Version - @major = 2 - @minor = 1 - @tiny = 0 - @build = 'dev' - - class << self - attr_reader :major, :minor, :tiny, :build - - def to_s - [@major, @minor, @tiny, @build].compact.join('.') - end - end - end - end -end diff --git a/refinerycms-blog.gemspec b/refinerycms-blog.gemspec index 380cbdf..6ded22c 100644 --- a/refinerycms-blog.gemspec +++ b/refinerycms-blog.gemspec @@ -1,11 +1,8 @@ # Encoding: UTF-8 -require File.expand_path('../lib/refinery/blog/version', __FILE__) - -version = Refinery::Blog::Version.to_s Gem::Specification.new do |s| s.name = %q{refinerycms-blog} - s.version = version + s.version = %q{2.1.0} s.description = %q{A really straightforward open source Ruby on Rails blog engine designed for integration with Refinery CMS.} s.summary = %q{Ruby on Rails blogging engine for Refinery CMS.} s.email = %q{info@refinerycms.com} @@ -17,8 +14,8 @@ Gem::Specification.new do |s| s.test_files = `git ls-files -- spec/*`.split("\n") # Runtime dependencies - s.add_dependency 'refinerycms-core', '~> 2.1.0.dev' - s.add_dependency 'refinerycms-settings', '~> 2.1.0.dev' + s.add_dependency 'refinerycms-core', '~> 2.1.0' + s.add_dependency 'refinerycms-settings', '~> 2.1.0' s.add_dependency 'filters_spam', '~> 0.2' s.add_dependency 'acts-as-taggable-on' s.add_dependency 'seo_meta', '~> 1.4.0' -- cgit v1.2.3