Skip to content

Commit

Permalink
Merge pull request #2 from lumoslabs/new-artifactory
Browse files Browse the repository at this point in the history
[BRD-1767] Switch to rubygems, remove allowed_push_host from gemspec
  • Loading branch information
andriimosin authored Jun 21, 2021
2 parents e60cf70 + 24661c4 commit f38f803
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.1.2
* Remove allowed_push_host from gemspec
* Switch to rubygems

# 0.1.1
* Fix Travis build

Expand Down
2 changes: 1 addition & 1 deletion Gemfile-rails-4.2.x
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://artifactory.ops.aws.lumoslabs.net/artifactory/api/gems/gems'
source 'https://rubygems.org'

gem 'activesupport', '~> 4.2.11'

Expand Down
2 changes: 1 addition & 1 deletion Gemfile-rails-5.0.x
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://artifactory.ops.aws.lumoslabs.net/artifactory/api/gems/gems'
source 'https://rubygems.org'

gem 'activesupport', '~> 5.0.0'

Expand Down
2 changes: 1 addition & 1 deletion Gemfile-rails-5.1.x
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source 'https://artifactory.ops.aws.lumoslabs.net/artifactory/api/gems/gems'
source 'https://rubygems.org'

gem 'activesupport', '~> 5.1.0'

Expand Down
2 changes: 1 addition & 1 deletion lib/lumos_service/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module LumosService
VERSION = "0.1.1"
VERSION = "0.1.2"
end
11 changes: 1 addition & 10 deletions lumos_service.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,13 @@ Gem::Specification.new do |spec|
spec.name = "lumos_service"
spec.version = LumosService::VERSION
spec.authors = ["Andrii Mosin"]
spec.email = ["andriymosin@gmail.com"]
spec.email = ["andrii@lumoslabs.com"]

spec.summary = 'Service Objects for the win!'
spec.description = 'Service Objects for Lumosity'
spec.homepage = 'https://github.com/lumoslabs/lumos_service'
spec.license = 'MIT'

# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata["allowed_push_host"] = 'https://artifactory.ops.aws.lumoslabs.net'
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
Expand Down

0 comments on commit f38f803

Please sign in to comment.