buildar 1.0.0.5 → 1.0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/buildar/tasks.rb +13 -3
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.5
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 manifest file
108
+ # display Buildar's understanding of the files inside the gem
107
109
  #
108
110
  task :manifest do
109
- puts proj.manifest.join("\n") if proj.use_manifest_file
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.5
4
+ version: 1.0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: