Skip to content

Commit 1193caf

Browse files
authored
Merge pull request #32 from simplybusiness/fix-gem-publish
Publish to rubygems
2 parents fdf9391 + ea296db commit 1193caf

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

lib/rulezilla/version.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# frozen_string_literal: true
22

33
module Rulezilla
4-
base = '0.4.0'
5-
6-
# SB-specific versioning "algorithm" to accommodate BNW/Jenkins/gemstash
7-
VERSION = (pre = ENV.fetch('GEM_PRE_RELEASE', '')).empty? ? base : "#{base}.#{pre}"
4+
VERSION = '0.4.1'
85
end

rulezilla.gemspec

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,4 @@ Gem::Specification.new do |gem|
2222
gem.add_development_dependency('pry-doc')
2323
gem.add_development_dependency('rubocop')
2424
gem.add_development_dependency('turnip')
25-
26-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the
27-
# 'allowed_push_host' to allow pushing to a single host or delete this section
28-
# to allow pushing to any host.
29-
if gem.respond_to?(:metadata)
30-
gem.metadata['allowed_push_host'] = 'https://gemstash.simplybusiness.io/private'
31-
else
32-
raise 'RubyGems 2.2 or newer is required to protect against public gem pushes.'
33-
end
3425
end

0 commit comments

Comments
 (0)