diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2013-07-16 14:42:28 +0300 |
---|---|---|
committer | Uģis Ozols <ugis.ozolss@gmail.com> | 2013-07-16 14:42:28 +0300 |
commit | 43afc54ade8b25d4bab2a6bd9ac19fb546232dfe (patch) | |
tree | d1bd7666fd7dc3431493525de77af0d2daae470d | |
parent | b11d9606ced45fff44e2a7fd0679203f1481d732 (diff) | |
download | refinerycms-blog-43afc54ade8b25d4bab2a6bd9ac19fb546232dfe.tar.gz refinerycms-blog-43afc54ade8b25d4bab2a6bd9ac19fb546232dfe.tar.bz2 refinerycms-blog-43afc54ade8b25d4bab2a6bd9ac19fb546232dfe.zip |
Drop .dev from version. Delete version file and instead specify it directly in gemspec.
-rw-r--r-- | lib/refinery/blog/version.rb | 18 | ||||
-rw-r--r-- | refinerycms-blog.gemspec | 9 |
2 files changed, 3 insertions, 24 deletions
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' |