haml 3.1.0.alpha.5 → 3.1.0.alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/EDGE_GEM_VERSION +1 -1
- data/Rakefile +11 -1
- data/VERSION +1 -1
- metadata +1 -1
data/EDGE_GEM_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.0.alpha.
|
|
1
|
+
3.1.0.alpha.9
|
data/Rakefile
CHANGED
|
@@ -42,7 +42,7 @@ END
|
|
|
42
42
|
# Don't use Rake::GemPackageTast because we want prerequisites to run
|
|
43
43
|
# before we load the gemspec.
|
|
44
44
|
desc "Build all the packages."
|
|
45
|
-
task :package => [:revision_file, :submodules] do
|
|
45
|
+
task :package => [:permissions, :revision_file, :submodules] do
|
|
46
46
|
load scope('haml.gemspec')
|
|
47
47
|
Gem::Builder.new(HAML_GEMSPEC).build
|
|
48
48
|
pkg = "#{HAML_GEMSPEC.name}-#{HAML_GEMSPEC.version}"
|
|
@@ -54,6 +54,16 @@ task :package => [:revision_file, :submodules] do
|
|
|
54
54
|
sh %{gzip pkg/#{pkg}.tar}
|
|
55
55
|
end
|
|
56
56
|
|
|
57
|
+
task :permissions do
|
|
58
|
+
sh %{chmod -R a+rx bin}
|
|
59
|
+
sh %{chmod -R a+r .}
|
|
60
|
+
require 'shellwords'
|
|
61
|
+
Dir.glob('test/**/*_test.rb') do |file|
|
|
62
|
+
next if file =~ %r{^test/haml/spec/}
|
|
63
|
+
sh %{chmod a+rx #{file}}
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
57
67
|
task :revision_file do
|
|
58
68
|
require 'lib/haml'
|
|
59
69
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.0.alpha.
|
|
1
|
+
3.1.0.alpha.9
|