simple-templater 0.0.1.2 → 0.0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/simple-templater.gemspec +2 -2
- data/tasks/release.rake +1 -1
- metadata +1 -1
data/simple-templater.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env gem build
|
2
2
|
# encoding: utf-8
|
3
3
|
|
4
4
|
Dir[File.join(File.dirname(__FILE__), "vendor", "*")].each do |path|
|
@@ -10,7 +10,7 @@ Dir[File.join(File.dirname(__FILE__), "vendor", "*")].each do |path|
|
|
10
10
|
end
|
11
11
|
|
12
12
|
# NOTE: we can't use require_relative because when we run gem build, it use eval for executing this file
|
13
|
-
require File.join(File.dirname(__FILE__), "lib", "simple-templater")
|
13
|
+
require File.join(File.dirname(__FILE__), "lib", "simple-templater", "version")
|
14
14
|
|
15
15
|
Gem::Specification.new do |s|
|
16
16
|
s.name = "simple-templater"
|
data/tasks/release.rake
CHANGED
@@ -20,7 +20,7 @@ end
|
|
20
20
|
end
|
21
21
|
|
22
22
|
SimpleTemplater.const_set("VERSION", version) # so other release tasks will work
|
23
|
-
|
23
|
+
sh "git commit lib/simple-templater/version.rb -m 'Increased version to #{version}'"
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|