Skip to content

Commit

Permalink
Merge pull request #48 from eeng/update-ruby
Browse files Browse the repository at this point in the history
Update ruby to 3.3.4
  • Loading branch information
eeng authored Jul 13, 2024
2 parents 26cf462 + df4076f commit d2ce707
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 83 deletions.
3 changes: 1 addition & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
layout ruby
use nix
use ruby-version
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ spec/manual/*.key
spec/manual/*.crt
.DS_Store
tmp
/.direnv
/.direnv
/keys
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.5
3.3.4
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
ruby File.read(".ruby-version").strip

source "http://rubygems.org"

# Specify your gem's dependencies in afipws.gemspec
Expand Down
166 changes: 101 additions & 65 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,45 @@ PATH
builder
httpclient
nokogiri
savon (~> 2.12.0)
savon (~> 2.15.0)

GEM
remote: http://rubygems.org/
specs:
activesupport (7.0.7.2)
activesupport (7.1.3.4)
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)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
akami (1.3.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
akami (1.3.3)
base64
gyoku (>= 0.4.0)
nokogiri
ast (2.4.2)
builder (3.2.4)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.3.0)
coderay (1.1.3)
concurrent-ruby (1.2.2)
diff-lcs (1.3)
ffi (1.15.5)
concurrent-ruby (1.3.3)
connection_pool (2.4.1)
date (3.3.4)
diff-lcs (1.5.1)
drb (2.2.1)
faraday (2.10.0)
faraday-net_http (>= 2.0, < 3.2)
logger
faraday-net_http (3.1.0)
net-http
ffi (1.17.0)
ffi (1.17.0-x86_64-linux-gnu)
formatador (1.1.0)
guard (2.18.0)
guard (2.18.1)
formatador (>= 0.2.4)
listen (>= 2.7, < 4.0)
lumberjack (>= 1.0.12, < 2.0)
Expand All @@ -42,87 +58,105 @@ GEM
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
gyoku (1.3.1)
gyoku (1.4.0)
builder (>= 2.1.2)
rexml (~> 3.0)
httpclient (2.8.3)
httpi (2.5.0)
rack
socksify
i18n (1.14.1)
httpi (4.0.3)
base64
mutex_m
nkf
rack (>= 2.0, < 4)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.4)
listen (3.7.1)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
lumberjack (1.2.8)
method_source (1.0.0)
minitest (5.19.0)
logger (1.6.0)
lumberjack (1.2.10)
mail (2.8.1)
mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
method_source (1.1.0)
mini_mime (1.1.5)
mini_portile2 (2.8.7)
minitest (5.24.1)
mocha (0.9.10)
rake
mutex_m (0.2.0)
nenv (0.3.0)
nokogiri (1.14.3-x86_64-linux)
net-http (0.4.1)
uri
net-imap (0.4.14)
date
net-protocol
net-pop (0.1.2)
net-protocol
net-protocol (0.2.2)
timeout
net-smtp (0.5.0)
net-protocol
nkf (0.2.0)
nokogiri (1.16.6)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nori (2.6.0)
nokogiri (1.16.6-x86_64-linux)
racc (~> 1.4)
nori (2.7.0)
bigdecimal
notiffany (0.1.3)
nenv (~> 0.1)
shellany (~> 0.0)
parallel (1.21.0)
parser (3.1.0.0)
ast (~> 2.4.1)
pry (0.14.1)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.6)
racc (1.6.2)
rack (3.0.7)
rainbow (3.1.1)
public_suffix (6.0.0)
racc (1.8.0)
rack (3.1.7)
rake (13.0.1)
rb-fsevent (0.11.1)
rb-inotify (0.10.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rexml (3.2.5)
rspec (3.7.0)
rspec-core (~> 3.7.0)
rspec-expectations (~> 3.7.0)
rspec-mocks (~> 3.7.0)
rspec-core (3.7.1)
rspec-support (~> 3.7.0)
rspec-expectations (3.7.0)
rexml (3.3.1)
strscan
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-mocks (3.7.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.7.0)
rspec-support (3.7.1)
rubocop (0.80.1)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.7.0.1)
rainbow (>= 2.2.2, < 4.0)
rexml
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
ruby-progressbar (1.11.0)
savon (2.12.1)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
savon (2.15.1)
akami (~> 1.2)
builder (>= 2.1.2)
gyoku (~> 1.2)
httpi (~> 2.3)
httpi (>= 4, < 5)
mail (~> 2.5)
nokogiri (>= 1.8.1)
nori (~> 2.4)
wasabi (~> 3.4)
wasabi (>= 3.7, < 6)
shellany (0.0.1)
socksify (1.7.1)
thor (1.2.1)
strscan (3.1.0)
thor (1.3.1)
timeout (0.4.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (1.6.1)
wasabi (3.7.0)
uri (0.13.0)
wasabi (5.0.2)
addressable
httpi (~> 2.0)
nokogiri (>= 1.4.2)
faraday (~> 2.8)
nokogiri (>= 1.13.9)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
Expand All @@ -131,7 +165,9 @@ DEPENDENCIES
mocha
pry
rspec
rubocop (~> 0.80.0)

RUBY VERSION
ruby 3.3.4p94

BUNDLED WITH
2.1.4
2.5.15
3 changes: 1 addition & 2 deletions afipws.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec'
s.add_development_dependency 'mocha'
s.add_development_dependency 'guard-rspec'
s.add_development_dependency 'rubocop', '~> 0.80.0'
s.add_development_dependency 'pry'
s.add_dependency "builder"
s.add_dependency "savon", '~> 2.12.0'
s.add_dependency "savon", '~> 2.15.0'
s.add_dependency "httpclient"
s.add_dependency "nokogiri"
s.add_dependency "activesupport"
Expand Down
6 changes: 0 additions & 6 deletions shell.nix

This file was deleted.

6 changes: 0 additions & 6 deletions spec/afipws/wsaa_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ module Afipws
end
end

context 'codificación del tra' do
it 'debería quitarle el header y footer' do
subject.codificar_tra(OpenSSL::PKCS7.new).should_not include 'BEGIN', 'END'
end
end

context 'login' do
it 'debería mandar el TRA al WS y obtener el TA' do
ws = WSAA.new key: 'key', cert: 'cert'
Expand Down

0 comments on commit d2ce707

Please sign in to comment.