Skip to content

Commit

Permalink
Improved gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Augusto committed Mar 24, 2024
1 parent 46ab588 commit 5d1d2c2
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 18 deletions.
23 changes: 13 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,31 +1,37 @@
PATH
remote: .
specs:
zspay (1.0.0)
zspay (1.0.1)
activesupport (>= 6.0.0)
http (>= 5.2.0)

GEM
remote: https://rubygems.org/
specs:
activesupport (6.1.4.1)
activesupport (7.1.3.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.6)
byebug (11.1.3)
concurrent-ruby (1.1.9)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
crack (1.0.0)
bigdecimal
rexml
docile (1.4.0)
domain_name (0.6.20240107)
drb (2.2.1)
ffi (1.16.3)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
Expand All @@ -40,15 +46,15 @@ GEM
http-cookie (1.0.5)
domain_name (~> 0.5)
http-form_data (2.3.0)
i18n (1.8.11)
i18n (1.14.4)
concurrent-ruby (~> 1.0)
json (2.7.1)
language_server-protocol (3.17.0.3)
llhttp-ffi (0.5.0)
ffi-compiler (~> 1.0)
rake (~> 13.0)
logger (1.4.3)
minitest (5.22.3)
mutex_m (0.2.0)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
Expand Down Expand Up @@ -86,22 +92,19 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
tzinfo (2.0.4)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
webmock (3.23.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
zeitwerk (2.5.1)

PLATFORMS
x86_64-linux

DEPENDENCIES
activesupport
byebug (~> 11.1)
logger
minitest (~> 5.14)
rake (~> 13.0)
rubocop (~> 1.21)
Expand Down
2 changes: 1 addition & 1 deletion lib/zspay/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Zspay
VERSION = "1.0.0"
VERSION = "1.0.1"
end
24 changes: 17 additions & 7 deletions zspay.gemspec
Original file line number Diff line number Diff line change
@@ -1,24 +1,34 @@
# frozen_string_literal: true

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "lib"))

# Maintain your gem's version:
require "zspay/version"
require_relative "lib/zspay/version"

# Describe your gem and declare its dependencies:
Gem::Specification.new do |spec|
spec.name = "zspay"
spec.version = Zspay::VERSION
spec.authors = ["Pedro Augusto Silva", "Edson Lima", "Nullbug"]
spec.email = %w[[email protected] [email protected]]
spec.homepage = ""
spec.files = Dir["lib/**/**.rb"]
spec.summary = "ZSPAY"
spec.description = "ZSPAY"
spec.homepage = "https://github.com/pedroaugustofsilva/zspay-ruby"
spec.summary = "Ruby interface for Zspay API."
spec.description = "A Ruby interface for integrating and managing payment and transfer functionalities with the " \
"Zspay platform."
spec.license = "MIT"

spec.required_ruby_version = Gem::Requirement.new("~> 3.0")

# 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(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(File.expand_path(f) == __FILE__) ||
f.start_with?(*%w[bin/ test/ spec/ features/ .git .github appveyor Gemfile])
end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]

spec.add_runtime_dependency "activesupport", ">= 6.0.0"
spec.add_runtime_dependency "http", ">= 5.2.0"

Expand Down

0 comments on commit 5d1d2c2

Please sign in to comment.