Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 73e6297

Browse files
update gem tasks + Gemfile.lock
1 parent bba50d0 commit 73e6297

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ GIT
3636
PATH
3737
remote: .
3838
specs:
39-
berkshelf-api (2.1.3)
39+
berkshelf-api (2.2.0)
4040
activesupport (~> 4.0)
4141
archive (= 0.0.6)
4242
buff-config (~> 1.0)

tasks/build_gem.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
require 'thor'
2+
require "bundler/gem_tasks"
23

34
class BuildGem < Thor
45
require 'thor/rake_compat'
56
namespace "gem"
67

78
include Thor::RakeCompat
8-
Bundler::GemHelper.install_tasks
99

1010
desc "build", "Build berkshelf-api-#{Berkshelf::API::VERSION}.gem into the pkg directory"
1111
def build
12-
Rake::Task["build"].execute
12+
Rake::Task["build"].invoke
1313
end
1414

1515
desc "install", "Build and install berkshelf-api-#{Berkshelf::API::VERSION}.gem into system gems"
1616
def install
17-
Rake::Task["install"].execute
17+
Rake::Task["install"].invoke
1818
end
1919

2020
desc "release", "Create tag v#{Berkshelf::API::VERSION} and build and push berkshelf-api-#{Berkshelf::API::VERSION}.gem to Rubygems"
2121
def release
22-
Rake::Task["release"].execute
22+
Rake::Task["release"].invoke
2323
end
2424

2525
class Spec < Thor

0 commit comments

Comments
 (0)