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 +4 -4
- data/lib/boletosimples/configuration.rb +1 -1
- data/lib/boletosimples/version.rb +1 -1
- metadata +18 -12
- data/.github/workflows/ruby.yml +0 -34
- data/.gitignore +0 -19
- data/.rspec +0 -3
- data/.rubocop.yml +0 -9
- data/.ruby-version +0 -1
- data/Gemfile +0 -6
- data/Rakefile +0 -16
- data/boletosimples.gemspec +0 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a50336e111c9ed876ff2fd2c6821a2b358c47b77d1cd9fc536d37127f82f0b31
|
4
|
+
data.tar.gz: bda195f137e393e9e9fa4dcb0c937d72ee4bc2cae0b46fbb3cc3559532852500
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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
|
+
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
|
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
|
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
|
data/.github/workflows/ruby.yml
DELETED
@@ -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
data/.rspec
DELETED
data/.rubocop.yml
DELETED
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
3.0.1
|
data/Gemfile
DELETED
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
|
data/boletosimples.gemspec
DELETED
@@ -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
|