Skip to content

Commit

Permalink
Merge pull request #48 from novuhq/version-release
Browse files Browse the repository at this point in the history
Version release
  • Loading branch information
unicodeveloper authored Oct 12, 2023
2 parents 8490be1 + e7860d3 commit 068bce3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
sed -i "s/spec.version = \".*\"/spec.version = \"${{ steps.get_version.outputs.VERSION }}\"/g" *.gemspec
echo "spec.version variable replaced with '${{ steps.get_version.outputs.VERSION }}'"
gem build *.gemspec
gem push *.gem
env:
Expand Down
2 changes: 1 addition & 1 deletion lib/novu/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Novu
VERSION = "0.1.0"
VERSION = "1.0.0"
end
16 changes: 7 additions & 9 deletions novu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ require_relative "lib/novu/version"
Gem::Specification.new do |spec|
spec.name = "novu"
spec.version = Novu::VERSION
spec.authors = ["Aman Saini"]
spec.email = ["amansaini0003@gmail.com"]
spec.authors = ["Aman Saini", "Prosper Otemuyiwa", "Kolawole Ezekiel"]
spec.email = ["prosper@novu.co","amansaini0003@gmail.com", "doneazy911@gmail.com"]

spec.summary = %q{Client library for Novu API.}
spec.description = %q{Client library for Novu API.}
spec.homepage = "https://github.com/amansaini0003/ruby-novu"
spec.homepage = "https://github.com/novuhq/novu-ruby"
spec.license = "MIT"
spec.required_ruby_version = ">= 2.6.0"

# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"

spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/amansaini0003/ruby-novu"
spec.metadata["changelog_uri"] = "https://github.com/amansaini0003/ruby-novu/blob/main/CHANGELOG.md"
spec.metadata["source_code_uri"] = "https://github.com/novuhq/novu-ruby"
spec.metadata["changelog_uri"] = "https://github.com/novuhq/novu-ruby/blob/main/CHANGELOG.md"

# 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.
Expand All @@ -34,8 +32,8 @@ Gem::Specification.new do |spec|
# Uncomment to register a new dependency of your gem
# spec.add_dependency "example-gem", "~> 1.0"

spec.add_dependency "httparty"
spec.add_dependency "activesupport"
spec.add_dependency "httparty", "~> 0.21"
spec.add_dependency "activesupport", "6.1.7.2"

# For more information and examples about making a new gem, check out our
# guide at: https://bundler.io/guides/creating_gem.html
Expand Down

0 comments on commit 068bce3

Please sign in to comment.