buildar 1.0.0.5 → 1.0.1.1
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/VERSION +1 -1
- data/lib/buildar/tasks.rb +13 -3
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1.1
|
data/lib/buildar/tasks.rb
CHANGED
@@ -52,7 +52,7 @@ end
|
|
52
52
|
end
|
53
53
|
}
|
54
54
|
|
55
|
-
# if proj.use_git
|
55
|
+
# if proj.use_git
|
56
56
|
# create annotated git tag based on VERSION and ENV['message'] if available
|
57
57
|
# push tags to origin
|
58
58
|
#
|
@@ -65,6 +65,7 @@ task :tag => [:test] do
|
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
+
# if proj.publish[:rubygems]
|
68
69
|
# roughly, gem push foo-VERSION.gem
|
69
70
|
#
|
70
71
|
task :publish => [:verify_publish_credentials] do
|
@@ -86,6 +87,7 @@ task :publish => [:verify_publish_credentials] do
|
|
86
87
|
end
|
87
88
|
end
|
88
89
|
|
90
|
+
# if proj.publish[:rubygems]
|
89
91
|
# just make sure the ~/.gem/credentials file is readable
|
90
92
|
#
|
91
93
|
task :verify_publish_credentials do
|
@@ -103,10 +105,18 @@ task :version do
|
|
103
105
|
puts "#{proj.name} #{proj.version}"
|
104
106
|
end
|
105
107
|
|
106
|
-
# display Buildar's understanding of the
|
108
|
+
# display Buildar's understanding of the files inside the gem
|
107
109
|
#
|
108
110
|
task :manifest do
|
109
|
-
|
111
|
+
if proj.use_manifest_file
|
112
|
+
puts proj.manifest.join("\n")
|
113
|
+
elsif !proj.gemspec.files
|
114
|
+
puts "warning: gemspec.files is false or nil"
|
115
|
+
elsif proj.gemspec.files.empty?
|
116
|
+
puts "warning: gemspec.files is empty"
|
117
|
+
else
|
118
|
+
puts proj.gemspec.files.join("\n")
|
119
|
+
end
|
110
120
|
end
|
111
121
|
|
112
122
|
# if the user wants a bump, make it a patch
|