boletosimples 0.4.2 → 0.5.0

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
- SHA1:
3
- metadata.gz: c76fb6e8155355e8695d78ee37756aa0cc2dc5cc
4
- data.tar.gz: bddd7d242f6f1cc0b759397bceaf8ad5d8927deb
2
+ SHA256:
3
+ metadata.gz: 2bda4dfdfe9405d5a756c87bbc0352ae7a59e0fe3f0ca89bb04448dc91294225
4
+ data.tar.gz: 9c039d58c2aa2aa375a7c0a334ffd20dffa53f07aa8d5ebe01d1feb736e361e2
5
5
  SHA512:
6
- metadata.gz: 3b647a784cfe93ff534a75dce7298f51ccfee3ab72a2d070656ffd9d25476ed347c679733fc8a7960cef68195f6661cbbe9fabe14af20eac46eab40d10007b82
7
- data.tar.gz: dbf082c46a21758f78e447a86dc580bd665cdb3f994c5f8d24edb40c561d3d39abb68f88a25ac3f8ed44fb897c3b4efa8adb31daf045e1e708b7f3ee9df4701d
6
+ metadata.gz: 1acbbbf44db9635e0933501ad71d620ad884ecda0a8e338aaba6fa04874fcd729cf4fbdcc367e8b17b2fccd8433ce95e590e433cdad6fd7517bc31b5917a5f21
7
+ data.tar.gz: 2eac329307a6becbede25032d3c9481d56f1c688652e6832e9afb7775d439ed15efdfebd58e4d8b1dc9fa8578f97fd0235ab919fbf60fd9f86cf4053ba3da449
@@ -1 +1 @@
1
- 2.4.2
1
+ 2.5.0
@@ -1,9 +1,43 @@
1
1
  language: ruby
2
+ cache: bundler
3
+ before_install:
4
+ - gem update --system # use the very latest Rubygems
5
+ - gem install bundler # use the very latest Bundler
6
+ dist: trusty
7
+ before_script:
8
+ - unset _JAVA_OPTIONS
2
9
  rvm:
3
- - '2.4.1'
10
+ - '2.5.0'
11
+ - '2.4.3'
4
12
  - '2.3.4'
5
13
  - '2.2.7'
6
14
  - '2.1.10'
15
+ - jruby-9.1.16.0
16
+
17
+ gemfile:
18
+ - gemfiles/rails_42.gemfile
19
+ - gemfiles/rails_50.gemfile
20
+ - gemfiles/rails_51.gemfile
21
+ - gemfiles/rails_52.gemfile
22
+
23
+ env:
24
+ global:
25
+ - JRUBY_OPTS="-J-Xmx1024m --dev --debug"
26
+ - COVERAGE=true
27
+
28
+ matrix:
29
+ fast_finish: true
30
+
31
+ allow_failures:
32
+ - rvm: jruby-9.1.16.0
33
+ gemfile: gemfiles/rails_52.gemfile
34
+ - rvm: 2.1.10
35
+ gemfile: gemfiles/rails_50.gemfile
36
+ - rvm: 2.1.10
37
+ gemfile: gemfiles/rails_51.gemfile
38
+ - rvm: 2.1.10
39
+ gemfile: gemfiles/rails_52.gemfile
40
+
7
41
  branches:
8
42
  only:
9
43
  - master
data/Rakefile CHANGED
@@ -4,3 +4,11 @@ require 'rspec/core/rake_task'
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task default: :spec
7
+
8
+ task :console do
9
+ require 'irb'
10
+ require 'irb/completion'
11
+
12
+ ARGV.clear
13
+ IRB.start
14
+ end
@@ -13,15 +13,15 @@ Gem::Specification.new do |gem|
13
13
  gem.summary = 'Boleto Simples API wrapper.'
14
14
  gem.homepage = 'https://github.com/BoletoSimples/boletosimples-ruby'
15
15
 
16
- gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
17
- gem.executables = gem.files.grep(/^bin\//).map { |f| File.basename(f) }
18
- gem.test_files = gem.files.grep(/^(test|spec|features)\//)
19
- gem.require_paths = ['lib']
16
+ gem.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(spec|features)/})
18
+ end
20
19
 
21
- gem.required_ruby_version = '>= 2.0'
20
+ gem.test_files = `git ls-files -- {spec,features}/*`.split("\n")
21
+ gem.require_paths = ['lib']
22
22
 
23
23
  # Gems that must be intalled for boletosimples to work
24
- gem.add_dependency 'her', '~> 0.10'
24
+ gem.add_dependency 'her', '~> 1.0'
25
25
  gem.add_dependency 'faraday_middleware', '~> 0.12'
26
26
  gem.add_dependency 'faraday-http-cache', '~> 2.0.0'
27
27
 
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ eval_gemfile(File.expand_path(File.join("..", "Gemfile"), __dir__))
4
+
5
+ gem "rails", "4.2.10"
6
+ gem "activerecord-jdbcsqlite3-adapter", "~> 1.3", platforms: :jruby
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ eval_gemfile(File.expand_path(File.join("..", "Gemfile"), __dir__))
4
+
5
+ gem "rails", "5.0.6"
6
+ gem "activerecord-jdbcsqlite3-adapter", "~> 50.0", platforms: :jruby
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ eval_gemfile(File.expand_path(File.join("..", "Gemfile"), __dir__))
4
+
5
+ gem "rails", "5.1.4"
6
+ gem "activerecord-jdbcsqlite3-adapter", "~> 51.0", platforms: :jruby
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ source "https://rubygems.org"
2
+
3
+ eval_gemfile(File.expand_path(File.join("..", "Gemfile"), __dir__))
4
+
5
+ gem "rails", "~> 5.2.0"
6
+ gem "bootsnap"
7
+ gem "activerecord-jdbcsqlite3-adapter", "~> 51.0", platforms: :jruby
8
+
9
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module BoletoSimples
2
- VERSION = '0.4.2'
2
+ VERSION = '0.5.0'
3
3
  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: 0.4.2
4
+ version: 0.5.0
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: 2018-02-22 00:00:00.000000000 Z
13
+ date: 2018-04-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: her
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '0.10'
21
+ version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '0.10'
28
+ version: '1.0'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: faraday_middleware
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -191,7 +191,6 @@ extra_rdoc_files: []
191
191
  files:
192
192
  - ".coveralls.yml"
193
193
  - ".gitignore"
194
- - ".ruby-gemset"
195
194
  - ".ruby-version"
196
195
  - ".travis.yml"
197
196
  - CHANGELOG.md
@@ -200,6 +199,10 @@ files:
200
199
  - README.md
201
200
  - Rakefile
202
201
  - boletosimples.gemspec
202
+ - gemfiles/rails_42.gemfile
203
+ - gemfiles/rails_50.gemfile
204
+ - gemfiles/rails_51.gemfile
205
+ - gemfiles/rails_52.gemfile
203
206
  - lib/boletosimples.rb
204
207
  - lib/boletosimples/configuration.rb
205
208
  - lib/boletosimples/extra.rb
@@ -309,7 +312,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
309
312
  requirements:
310
313
  - - ">="
311
314
  - !ruby/object:Gem::Version
312
- version: '2.0'
315
+ version: '0'
313
316
  required_rubygems_version: !ruby/object:Gem::Requirement
314
317
  requirements:
315
318
  - - ">="
@@ -317,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
320
  version: '0'
318
321
  requirements: []
319
322
  rubyforge_project:
320
- rubygems_version: 2.6.13
323
+ rubygems_version: 2.7.3
321
324
  signing_key:
322
325
  specification_version: 4
323
326
  summary: Boleto Simples API wrapper.
@@ -1 +0,0 @@
1
- boletosimples-ruby