diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-05-22 11:09:20 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-05-22 11:43:11 +0200 |
commit | 8625020fec5b8c9663e83944dfe9c0be4f2e3a12 (patch) | |
tree | ce0e42c2468f5654f2825488e05dbfaaea1ae108 | |
parent | a58d2511132a8b1b946a880d6077ff06e237a2cd (diff) | |
download | capistrano-refinerycms-8625020fec5b8c9663e83944dfe9c0be4f2e3a12.tar.gz capistrano-refinerycms-8625020fec5b8c9663e83944dfe9c0be4f2e3a12.tar.bz2 capistrano-refinerycms-8625020fec5b8c9663e83944dfe9c0be4f2e3a12.zip |
Move gem version to separate file.
-rw-r--r-- | capistrano-refinerycms.gemspec | 6 | ||||
-rw-r--r-- | lib/capistrano/refinerycms.rb | 2 | ||||
-rw-r--r-- | lib/capistrano/refinerycms/version.rb | 5 |
3 files changed, 12 insertions, 1 deletions
diff --git a/capistrano-refinerycms.gemspec b/capistrano-refinerycms.gemspec index 85782f9..32142c2 100644 --- a/capistrano-refinerycms.gemspec +++ b/capistrano-refinerycms.gemspec @@ -14,9 +14,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # + +require_relative 'lib/capistrano/refinerycms/version' + Gem::Specification.new do |s| s.name = 'capistrano-refinerycms' - s.version = '0.1.0' + s.version = ::Capistrano::RefineryCMS::VERSION s.date = '2015-02-08' s.summary = "Capistrano 3.x recipes for RefineryCMS." s.description = "Recipes for installing RefineryCMS using Capistrano 3.x" @@ -25,6 +28,7 @@ Gem::Specification.new do |s| s.files = ["lib/capistrano-refinerycms.rb", "lib/capistrano/refinerycms.rb", "lib/capistrano/refinerycms/helpers.rb", + "lib/capistrano/refinerycms/version.rb", "lib/capistrano/tasks/refinerycms.rake", "lib/generators/capistrano/refinerycms/templates/config_initializers_refinery_core.rb.erb", "lib/generators/capistrano/refinerycms/template_generator.rb"] diff --git a/lib/capistrano/refinerycms.rb b/lib/capistrano/refinerycms.rb index f60e9ec..e17add6 100644 --- a/lib/capistrano/refinerycms.rb +++ b/lib/capistrano/refinerycms.rb @@ -14,4 +14,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # + +require_relative 'refinerycms/version' load File.expand_path('../tasks/refinerycms.rake', __FILE__) diff --git a/lib/capistrano/refinerycms/version.rb b/lib/capistrano/refinerycms/version.rb new file mode 100644 index 0000000..8b06ed2 --- /dev/null +++ b/lib/capistrano/refinerycms/version.rb @@ -0,0 +1,5 @@ +module Capistrano + module RefineryCMS + VERSION = "0.1.1" + end +end
\ No newline at end of file |