boletosimples 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '080a1d5f5d9ba832ed3dd093f291dbeb217b732eba56d3713932917ae91534a0'
4
- data.tar.gz: 954683fba1d52eca0c0831e46828caeecc57ab04b250ab5674433371fb77083d
3
+ metadata.gz: a50336e111c9ed876ff2fd2c6821a2b358c47b77d1cd9fc536d37127f82f0b31
4
+ data.tar.gz: bda195f137e393e9e9fa4dcb0c937d72ee4bc2cae0b46fbb3cc3559532852500
5
5
  SHA512:
6
- metadata.gz: 1a224228c2735cf16331fba27644c75eb0f38904f1cdc39a0b15209063a8f9a0250438231449e28dee0be4d39e8c84bd1a7607623c5e1aa018e35c91c6db7656
7
- data.tar.gz: fe49d834e95ef86f2b38362fe15c22e592d617b9f3a0d34e00b1b0f71bfec039f8f8d9e029ac77819a70f59a037018b4d38c79372b57a7cf9b658477236cabe3
6
+ metadata.gz: f0d7bb571f7cfc0364402d082a6ddf48ae476e11d9fb320ed3682b4dd198a94c1924d6e87c935fb78c94cfa6bdb8fd922c665be6207df22eb161a02cc854e3eb
7
+ data.tar.gz: e9b0a0dfe9092bc01d4b8bf43ef9f1f38b2a56f65dcb27a901fc9438c3b1b20a40dcf07c065f00c70ac0db2cf20f6d9d12ebbde5b01c464f758e7a7ed9fa763f
@@ -41,7 +41,7 @@ module BoletoSimples
41
41
  c.use Her::Middleware::DefaultParseJSON
42
42
 
43
43
  # Adapter
44
- c.use Faraday::Adapter::NetHttp
44
+ c.adapter Faraday::Adapter::NetHttp
45
45
  end
46
46
 
47
47
  # Because Her set the api on the moment module is included we need to call use_api again, after changing the configuration.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BoletoSimples
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boletosimples
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kivanio Barbosa
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-04-13 00:00:00.000000000 Z
13
+ date: 2021-04-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday-http-cache
@@ -32,14 +32,14 @@ dependencies:
32
32
  requirements:
33
33
  - - "~>"
34
34
  - !ruby/object:Gem::Version
35
- version: '0.14'
35
+ version: '1.0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - "~>"
41
41
  - !ruby/object:Gem::Version
42
- version: '0.14'
42
+ version: '1.0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: her
45
45
  requirement: !ruby/object:Gem::Requirement
@@ -110,6 +110,20 @@ dependencies:
110
110
  - - ">="
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
+ - !ruby/object:Gem::Dependency
114
+ name: rubocop-packaging
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ type: :development
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
113
127
  - !ruby/object:Gem::Dependency
114
128
  name: rubocop-performance
115
129
  requirement: !ruby/object:Gem::Requirement
@@ -231,17 +245,9 @@ executables: []
231
245
  extensions: []
232
246
  extra_rdoc_files: []
233
247
  files:
234
- - ".github/workflows/ruby.yml"
235
- - ".gitignore"
236
- - ".rspec"
237
- - ".rubocop.yml"
238
- - ".ruby-version"
239
248
  - CHANGELOG.md
240
- - Gemfile
241
249
  - LICENSE.txt
242
250
  - README.md
243
- - Rakefile
244
- - boletosimples.gemspec
245
251
  - lib/boletosimples.rb
246
252
  - lib/boletosimples/configuration.rb
247
253
  - lib/boletosimples/last_request.rb
@@ -1,34 +0,0 @@
1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
- # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6
- # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7
-
8
- name: Ruby
9
-
10
- on:
11
- push:
12
- branches: [master]
13
- pull_request:
14
- branches: [master]
15
-
16
- jobs:
17
- test:
18
- runs-on: ubuntu-latest
19
- name: Test against Ruby ${{ matrix.ruby-version }}
20
- strategy:
21
- matrix:
22
- ruby-version: [2.4, 2.5, 2.6, 2.7, 3.0]
23
-
24
- steps:
25
- - uses: actions/checkout@v2
26
-
27
- - name: Set up Ruby
28
- uses: ruby/setup-ruby@v1
29
- with:
30
- ruby-version: ${{ matrix.ruby-version }}
31
- bundler-cache: true # runs 'bundle install' and caches installed
32
-
33
- - name: Run tests
34
- run: bundle exec rake
data/.gitignore DELETED
@@ -1,19 +0,0 @@
1
- Gemfile.lock
2
- *.gem
3
- *.rbc
4
- .bundle
5
- .config
6
- .yardoc
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- test/tmp
15
- test/version_tmp
16
- tmp
17
- .tddium*
18
- .idea
19
- .DS_Store
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format Fuubar
2
- --color
3
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,9 +0,0 @@
1
- require:
2
- - rubocop-performance
3
- - "test_prof/rubocop"
4
- - rubocop-rspec
5
- - rubocop-rake
6
-
7
- AllCops:
8
- NewCops: enable
9
- TargetRubyVersion: 2.7
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 3.0.1
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in pah.gemspec
6
- gemspec
data/Rakefile DELETED
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
9
-
10
- task :console do
11
- require 'irb'
12
- require 'irb/completion'
13
-
14
- ARGV.clear
15
- IRB.start
16
- end
@@ -1,41 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path('lib', __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'boletosimples/version'
6
-
7
- Gem::Specification.new do |gem|
8
- gem.name = 'boletosimples'
9
- gem.version = BoletoSimples::VERSION
10
- gem.authors = ['Kivanio Barbosa', 'Rafael Lima', 'Thiago Belem']
11
- gem.email = ['kivanio@gmail.com', 'contato@rafael.adm.br', 'contato@thiagobelem.net']
12
- gem.description = 'Boleto Simples API wrapper.'
13
- gem.summary = 'Boleto Simples API wrapper.'
14
- gem.homepage = 'https://github.com/BoletoSimples/boletosimples-ruby'
15
-
16
- gem.files = `git ls-files -z`.split("\x0").reject do |f|
17
- f.match(%r{^(spec|features)/})
18
- end
19
-
20
- gem.test_files = `git ls-files -- {spec,features}/*`.split("\n")
21
- gem.require_paths = ['lib']
22
-
23
- # Gems that must be intalled for boletosimples to work
24
- gem.add_dependency 'faraday-http-cache', '~> 2.2.0'
25
- gem.add_dependency 'faraday_middleware', '~> 0.14'
26
- gem.add_dependency 'her', '~> 1.1'
27
-
28
- # Gems that must be installed for boletosimples to compile and build
29
- gem.add_development_dependency 'fuubar'
30
- gem.add_development_dependency 'rake'
31
- gem.add_development_dependency 'rspec'
32
- gem.add_development_dependency 'rubocop'
33
- gem.add_development_dependency 'rubocop-performance'
34
- gem.add_development_dependency 'rubocop-rake'
35
- gem.add_development_dependency 'rubocop-rspec'
36
- gem.add_development_dependency 'solargraph'
37
- gem.add_development_dependency 'stub_env'
38
- gem.add_development_dependency 'test-prof'
39
- gem.add_development_dependency 'vcr'
40
- gem.add_development_dependency 'webmock'
41
- end