projects
/
coquelicot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffbe816
)
use gem version number when creating translation catalogs
author
Lunar
<lunar@anargeek.net>
Wed, 13 Mar 2013 17:11:18 +0000
(18:11 +0100)
committer
Lunar
<lunar@anargeek.net>
Thu, 14 Mar 2013 10:44:12 +0000
(11:44 +0100)
Rakefile
patch
|
blob
|
history
diff --git
a/Rakefile
b/Rakefile
index
790c7e7
..
5b8053a
100644
(file)
--- a/
Rakefile
+++ b/
Rakefile
@@
-25,7
+25,8
@@
require 'haml/magic_translations/tasks'
Haml::MagicTranslations::Tasks::UpdatePoFiles.new(:updatepo) do |t|
t.text_domain = 'coquelicot'
t.files = Dir.glob('views/**/*.{rb,haml}') + Dir.glob('lib/coquelicot/**/*.rb')
- t.app_version = 'coquelicot 1.0.0'
+ spec = Gem::Specification.load('coquelicot.gemspec')
+ t.app_version = "coquelicot #{spec.version}"
end
task :create_archive do