buildar 1.4.0.1 → 1.4.0.2

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/buildar.gemspec +1 -1
  3. data/lib/buildar/tasks.rb +3 -0
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0.1
1
+ 1.4.0.2
data/buildar.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.add_development_dependency "buildar", "~> 1.0"
13
13
 
14
14
  # dynamic setup
15
- this_dir = File.dirname(File.expand_path(__FILE__))
15
+ this_dir = File.expand_path('..', __FILE__)
16
16
  version_file = File.join(this_dir, 'VERSION')
17
17
  manifest_file = File.join(this_dir, 'MANIFEST.txt')
18
18
 
data/lib/buildar/tasks.rb CHANGED
@@ -39,6 +39,7 @@ end
39
39
 
40
40
  # if proj.use_gemspec_file
41
41
  # exactly equiavlent to `gem build #{proj.gemspec_filename}`
42
+ # otherwise fall back to :gem_package
42
43
  #
43
44
  task :build => [:test, :bump_build] do
44
45
  if proj.use_gemspec_file
@@ -54,6 +55,8 @@ task :build => [:test, :bump_build] do
54
55
  end
55
56
  end
56
57
 
58
+ # build, uninstall, install
59
+ #
57
60
  task :install => [:build] do
58
61
  sh "gem uninstall #{proj.name}"
59
62
  sh "gem install #{proj.gemfile}"
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.4.0.1
4
+ version: 1.4.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: