aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--capistrano-refinerycms.gemspec6
-rw-r--r--lib/capistrano/refinerycms.rb2
-rw-r--r--lib/capistrano/refinerycms/version.rb5
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