trumail 2.0.1 → 2.1.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
2
  SHA256:
3
- metadata.gz: 36a6c7daf215b674252060568cb6a7b39b764d91f2c6498c9789ba438a433d68
4
- data.tar.gz: ab8a9185bf2b0a9700b495ca92a73691cfea621bf02704471bade9ab8e9ca5ea
3
+ metadata.gz: ba07b337c9c6075b2958d260a271f3707173dabc3797f03d9281fee344e34e69
4
+ data.tar.gz: 529a2b5abeab6826ea53e126ee59d2961f0badf233b7865c8120389f6ec584f0
5
5
  SHA512:
6
- metadata.gz: a79769f82d3afbcbd73c7abfd85e5a8ef9f33e5e8f98d5eca2a34bffbe8e84a0ca6e527da656fa3638679fd73294ef4ee1d8e9a15e67aa0c42db50257f468e57
7
- data.tar.gz: f31c807a791ee56df1b6c1945fce2e5f8ff3d6e03eb60ffabf747306bf999af1a14ffcbf04e5013cd22192ceec28306312a1e9925bf180ac425d6ff3965fc2c4
6
+ metadata.gz: 63c6bc3b62054806dd1b7b54a3996f31800837cfca4d47831cc2741a0afba506a0823e91a04a19f27c572c8e360bf7a252d15fa6968b60b84587910b368bc1dc
7
+ data.tar.gz: 5eb8c2fa4b25b4dedaf2973e65bb975925c09fa760e7775a4f24a9ed19ccff14dd532c445c67abeaf12888bc3e0b1e45420dc63d6ceca71be47dd228ed8c5988
@@ -1,19 +1,19 @@
1
1
  speedups:
2
- rescue_vs_respond_to: true
3
- module_eval: true
4
- shuffle_first_vs_sample: true
5
- for_loop_vs_each: true
2
+ block_vs_symbol_to_proc: true
6
3
  each_with_index_vs_while: false
7
- map_flatten_vs_flat_map: true
8
- reverse_each_vs_reverse_each: true
9
- select_first_vs_detect: true
10
- sort_vs_sort_by: true
11
4
  fetch_with_argument_vs_block: true
12
- keys_each_vs_each_key: true
5
+ for_loop_vs_each: true
6
+ getter_vs_attr_reader: true
7
+ gsub_vs_tr: true
13
8
  hash_merge_bang_vs_hash_brackets: true
14
- block_vs_symbol_to_proc: true
9
+ keys_each_vs_each_key: true
10
+ map_flatten_vs_flat_map: true
11
+ module_eval: true
15
12
  proc_call_vs_yield: true
16
- gsub_vs_tr: true
13
+ rescue_vs_respond_to: true
14
+ reverse_each_vs_reverse_each: true
15
+ select_first_vs_detect: true
17
16
  select_last_vs_reverse_detect: true
18
- getter_vs_attr_reader: true
19
17
  setter_vs_attr_writer: true
18
+ shuffle_first_vs_sample: true
19
+ sort_vs_sort_by: true
data/.gitignore CHANGED
@@ -1,9 +1,11 @@
1
1
  /.bundle/
2
2
  /.yardoc
3
- /Gemfile.lock
4
3
  /_yardoc/
5
4
  /coverage/
6
5
  /doc/
7
6
  /pkg/
8
7
  /spec/reports/
9
8
  /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
@@ -1,22 +1,26 @@
1
+ require:
2
+ - rubocop-performance
3
+ - rubocop-rspec
1
4
  AllCops:
5
+ TargetRubyVersion: 2.6
2
6
  DisplayCopNames: true
3
7
  DisplayStyleGuide: true
4
- TargetRubyVersion: 2.4
8
+ Layout/EmptyLinesAroundBlockBody:
5
9
  Exclude:
6
10
  - 'spec/**/**/*'
7
- Gemspec/OrderedDependencies:
8
- Enabled: false
9
11
  Layout/EmptyLinesAroundClassBody:
10
- Enabled: false
12
+ EnforcedStyle: empty_lines_except_namespace
11
13
  Layout/EmptyLinesAroundModuleBody:
12
- Enabled: false
13
- LineLength:
14
+ EnforcedStyle: empty_lines_except_namespace
15
+ Metrics/BlockLength:
16
+ Exclude:
17
+ - 'spec/**/**/*'
18
+ - '*.gemspec'
19
+ Metrics/LineLength:
14
20
  Max: 100
15
- Lint/ScriptPermission:
16
- Enabled: false
17
- Security/Eval:
21
+ RSpec/MultipleExpectations:
18
22
  Enabled: false
19
23
  Style/Documentation:
20
24
  Enabled: false
21
- Style/RescueModifier:
25
+ Style/ExpandPathArguments:
22
26
  Enabled: false
@@ -1,13 +1,24 @@
1
- before_install:
2
- - sudo apt-get install libxml2-dev
3
- cache: bundler
1
+ sudo: false
4
2
  language: ruby
5
- notifications:
6
- email:
7
- recipients:
8
- - j.gomez@drexed.com
9
- on_failure: change
10
- on_success: never
3
+ cache: bundler
11
4
  rvm:
12
- - ruby-head
13
- script: 'bundle exec rake'
5
+ - 2.5
6
+ - 2.6
7
+ - ruby-head
8
+ matrix:
9
+ fast_finish: true
10
+ allow_failures:
11
+ - rvm: ruby-head
12
+ before_install:
13
+ - gem update --system
14
+ - gem install bundler
15
+ install:
16
+ - bundle install --jobs=3 --retry=3
17
+ script:
18
+ - bundle exec rspec
19
+ - bundle exec rubocop
20
+ - bundle exec fasterer
21
+ notifications:
22
+ email: false
23
+ slack:
24
+ secure: 4BWoAwrMe6DHIihi/xWoTZ2mEkkIcqKsR+vZYZVcXDWBwJU+dEZ6grGmGQLnyz4tH0X49riq62pF/YgcaE7QVODzfBGwKZavkp1VPRBiWhNf9+U4/O6r1WrTJs9BYN5TrTwrWg356RVtEciHMiq6qpm7YBHdFtn2YmcTBx2M4ZGiYtNwXLPDWGF2+uy0ur+V0/ey/mrn2u3BKZp4RY3dNuftEKEIkaCGjiZSuutnaeLh7/cMoOAqJ5JJM9Tjsx1+8Zsa8gx3lhmFwNAWMS1UWVG2SY0vqU95u9PUiP2fH/vlLozdI0DCDKciJdGwHZuzgX0pU1DGxzON/iaHda3w880t2OdgCV8UUlT2EPvF0JO3DCSsnrIUMc172GghOkezz4KmSG/lmKn43LrncFM9LJe7RXZHG/m6rC8y1ftVAnS1Mmpqtxis+n236pSjej7Yu+LKTlvkrurZ9b1Ji6vY73pYHwAwLCIYxGWmKYvabETg3noxHjAdx/uQspHty5HshBxWKRWG5Y2xGEQ2XDV/18Qubsqk38oliMf0AX9z2UrX1nvUAE0UfcEslrf6asaVWNPJB9N6zc9k2IVTMQrTR4gZ6rLMdSHPDr0XaBwvEKlogHOD3l50x8VAwkGTq234IDyMM18MNMW3DIjHT/bbbdlNYEleccL3RhcFfe6cpzM=
@@ -0,0 +1,18 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## [2.1.0] - 2019-11-17
10
+ ### Added
11
+ - Added CHANGELOG.md
12
+ ### Changed
13
+ - Swap `user_agent_db` for `agents` gem
14
+ - Refactor code to clean up lint errors
15
+
16
+ ## [2.0.1] - 2019-11-17
17
+ ### NOTE
18
+ - Previous version without CHANGELOG.md
@@ -1,13 +1,74 @@
1
- # Contributor Code of Conduct
1
+ # Contributor Covenant Code of Conduct
2
2
 
3
- As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
3
+ ## Our Pledge
4
4
 
5
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
6
11
 
7
- Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
12
+ ## Our Standards
8
13
 
9
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
10
16
 
11
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
12
22
 
13
- This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at j.gomez@drexed.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
@@ -0,0 +1,89 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ trumail (2.1.0)
5
+ agents
6
+ ox
7
+ typhoeus
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ addressable (2.7.0)
13
+ public_suffix (>= 2.0.2, < 5.0)
14
+ agents (0.1.4)
15
+ ast (2.4.0)
16
+ colorize (0.8.1)
17
+ crack (0.4.3)
18
+ safe_yaml (~> 1.0.0)
19
+ diff-lcs (1.3)
20
+ ethon (0.12.0)
21
+ ffi (>= 1.3.0)
22
+ fasterer (0.8.0)
23
+ colorize (~> 0.7)
24
+ ruby_parser (>= 3.14.1)
25
+ ffi (1.11.2)
26
+ hashdiff (1.0.0)
27
+ jaro_winkler (1.5.4)
28
+ ox (2.11.0)
29
+ parallel (1.19.0)
30
+ parser (2.6.5.0)
31
+ ast (~> 2.4.0)
32
+ public_suffix (4.0.1)
33
+ rainbow (3.0.0)
34
+ rake (13.0.1)
35
+ rspec (3.9.0)
36
+ rspec-core (~> 3.9.0)
37
+ rspec-expectations (~> 3.9.0)
38
+ rspec-mocks (~> 3.9.0)
39
+ rspec-core (3.9.0)
40
+ rspec-support (~> 3.9.0)
41
+ rspec-expectations (3.9.0)
42
+ diff-lcs (>= 1.2.0, < 2.0)
43
+ rspec-support (~> 3.9.0)
44
+ rspec-mocks (3.9.0)
45
+ diff-lcs (>= 1.2.0, < 2.0)
46
+ rspec-support (~> 3.9.0)
47
+ rspec-support (3.9.0)
48
+ rubocop (0.76.0)
49
+ jaro_winkler (~> 1.5.1)
50
+ parallel (~> 1.10)
51
+ parser (>= 2.6)
52
+ rainbow (>= 2.2.2, < 4.0)
53
+ ruby-progressbar (~> 1.7)
54
+ unicode-display_width (>= 1.4.0, < 1.7)
55
+ rubocop-performance (1.5.1)
56
+ rubocop (>= 0.71.0)
57
+ rubocop-rspec (1.36.0)
58
+ rubocop (>= 0.68.1)
59
+ ruby-progressbar (1.10.1)
60
+ ruby_parser (3.14.1)
61
+ sexp_processor (~> 4.9)
62
+ safe_yaml (1.0.5)
63
+ sexp_processor (4.13.0)
64
+ typhoeus (1.3.1)
65
+ ethon (>= 0.9.0)
66
+ unicode-display_width (1.6.0)
67
+ vcr (5.0.0)
68
+ webmock (3.7.6)
69
+ addressable (>= 2.3.6)
70
+ crack (>= 0.3.2)
71
+ hashdiff (>= 0.4.0, < 2.0.0)
72
+
73
+ PLATFORMS
74
+ ruby
75
+
76
+ DEPENDENCIES
77
+ bundler
78
+ fasterer
79
+ rake
80
+ rspec
81
+ rubocop
82
+ rubocop-performance
83
+ rubocop-rspec
84
+ trumail!
85
+ vcr
86
+ webmock
87
+
88
+ BUNDLED WITH
89
+ 1.17.3
data/README.md CHANGED
@@ -24,17 +24,21 @@ Or install it yourself as:
24
24
 
25
25
  ## Usage
26
26
 
27
- ### Lookup Verification
27
+ ### Lookup
28
28
  ```ruby
29
29
  # Basic Lookup
30
30
  lookup = Trumail::Lookup.new('test@email.com').verify
31
31
  lookup = Trumail::Lookup.verify('test@email.com')
32
32
 
33
33
  # Custom Host
34
- lookup = Trumail::Lookup.verify('test@email.com', host: 'https://verifier.com', format: :xml)
34
+ lookup = Trumail::Lookup.verify(
35
+ 'test@email.com',
36
+ host: 'https://verifier.com',
37
+ format: :xml
38
+ )
35
39
  ```
36
40
 
37
- ### Lookup Methods
41
+ ### Response
38
42
 
39
43
  ```ruby
40
44
  lookup.url => 'https://api.trumail.io/v2/lookup/json?email=test@email.com'
@@ -59,12 +63,20 @@ lookup.role? => false
59
63
  lookup.valid_format? => true
60
64
  ```
61
65
 
66
+ ## Development
67
+
68
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
69
+
70
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
71
+
62
72
  ## Contributing
63
73
 
64
- Your contribution is welcome.
74
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/trumail. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
75
+
76
+ ## License
77
+
78
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
79
+
80
+ ## Code of Conduct
65
81
 
66
- 1. Fork it
67
- 2. Create your feature branch (`git checkout -b my-new-feature`)
68
- 3. Commit your changes (`git commit -am 'Added some feature'`)
69
- 4. Push to the branch (`git push origin my-new-feature`)
70
- 5. Create new Pull Request
82
+ Everyone interacting in the Trumail project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/trumail/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile CHANGED
@@ -1,5 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
4
7
 
5
8
  task default: :spec
@@ -0,0 +1 @@
1
+ theme: jekyll-theme-leap-day
@@ -8,8 +8,8 @@ require 'trumail'
8
8
  # with your gem easier. You can also use a different console, if you like.
9
9
 
10
10
  # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require 'pry'
11
+ # require "pry"
12
12
  # Pry.start
13
13
 
14
14
  require 'irb'
15
- IRB.start
15
+ IRB.start(__FILE__)
data/bin/setup CHANGED
@@ -1,6 +1,7 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env bash
2
2
  set -euo pipefail
3
3
  IFS=$'\n\t'
4
+ set -vx
4
5
 
5
6
  bundle install
6
7
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'agents'
3
4
  require 'typhoeus'
4
- require 'user_agent_db'
5
5
 
6
6
  module Trumail
7
7
  class Lookup
@@ -28,7 +28,7 @@ module Trumail
28
28
  def verify
29
29
  return @hash unless @response.nil?
30
30
 
31
- Typhoeus::Config.user_agent = UserAgentDB.random
31
+ Typhoeus::Config.user_agent = Agents.random_user_agent(:desktop)
32
32
  @response = Typhoeus.get(url, accept_encoding: 'gzip,deflate').response_body
33
33
 
34
34
  parse_by_format
@@ -6,13 +6,19 @@ module Trumail
6
6
  module Parser
7
7
  class Xml < Trumail::Parser::Base
8
8
 
9
+ # rubocop:disable Security/Eval
9
10
  def parse
10
11
  @hash = Ox.load(@data, mode: :hash_no_attrs)
11
12
  .dig(:lookup)
12
13
  .each_with_object({}) do |(key, val), hash|
13
- hash[key.to_s] = eval(val) rescue val
14
+ hash[key.to_s] = begin
15
+ eval(val)
16
+ rescue StandardError, SyntaxError
17
+ val
18
+ end
14
19
  end
15
20
  end
21
+ # rubocop:enable Security/Eval
16
22
 
17
23
  end
18
24
  end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Trumail
4
- VERSION ||= '2.0.1'
4
+
5
+ VERSION ||= '2.1.0'
6
+
5
7
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # coding: utf-8
4
-
5
3
  lib = File.expand_path('../lib', __FILE__)
6
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
5
  require 'trumail/version'
@@ -12,26 +10,44 @@ Gem::Specification.new do |spec|
12
10
  spec.authors = ['Juan Gomez']
13
11
  spec.email = ['j.gomez@drexed.com']
14
12
 
15
- spec.summary = 'Trumail Ruby SDK.'
16
- spec.description = 'Trumail Ruby SDK for interacting with the Trumail API.'
13
+ spec.summary = 'Trumail Ruby SDK for interacting with the Trumail API.'
17
14
  spec.homepage = 'http://drexed.github.io/trumail'
18
15
  spec.license = 'MIT'
19
16
 
20
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata.merge(
21
+ 'allowed_push_host' => 'https://rubygems.org',
22
+ 'changelog_uri' => 'https://github.com/drexed/trumail/blob/master/CHANGELOG.md',
23
+ 'homepage_uri' => spec.homepage,
24
+ 'source_code_uri' => 'https://github.com/drexed/trumail'
25
+ )
26
+ else
27
+ raise 'RubyGems 2.0 or newer is required to protect against ' \
28
+ 'public gem pushes.'
29
+ end
30
+
31
+ # Specify which files should be added to the gem when it is released.
32
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
33
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
34
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
35
+ end
21
36
  spec.bindir = 'exe'
22
37
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
- spec.require_paths = %w[lib support]
38
+ spec.require_paths = %w[lib]
24
39
 
40
+ spec.add_runtime_dependency 'agents'
25
41
  spec.add_runtime_dependency 'ox'
26
42
  spec.add_runtime_dependency 'typhoeus'
27
- spec.add_runtime_dependency 'user_agent_db'
28
43
 
29
44
  spec.add_development_dependency 'bundler'
45
+ spec.add_development_dependency 'fasterer'
30
46
  spec.add_development_dependency 'rake'
31
47
  spec.add_development_dependency 'rspec'
32
- spec.add_development_dependency 'fasterer'
33
- spec.add_development_dependency 'reek'
34
48
  spec.add_development_dependency 'rubocop'
49
+ spec.add_development_dependency 'rubocop-performance'
50
+ spec.add_development_dependency 'rubocop-rspec'
35
51
  spec.add_development_dependency 'vcr'
36
52
  spec.add_development_dependency 'webmock'
37
53
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trumail
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-30 00:00:00.000000000 Z
11
+ date: 2019-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: ox
14
+ name: agents
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: typhoeus
28
+ name: ox
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: user_agent_db
42
+ name: typhoeus
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: fasterer
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rake
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -95,7 +109,7 @@ dependencies:
95
109
  - !ruby/object:Gem::Version
96
110
  version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
- name: fasterer
112
+ name: rubocop
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
115
  - - ">="
@@ -109,7 +123,7 @@ dependencies:
109
123
  - !ruby/object:Gem::Version
110
124
  version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
- name: reek
126
+ name: rubocop-performance
113
127
  requirement: !ruby/object:Gem::Requirement
114
128
  requirements:
115
129
  - - ">="
@@ -123,7 +137,7 @@ dependencies:
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
- name: rubocop
140
+ name: rubocop-rspec
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
143
  - - ">="
@@ -164,7 +178,7 @@ dependencies:
164
178
  - - ">="
165
179
  - !ruby/object:Gem::Version
166
180
  version: '0'
167
- description: Trumail Ruby SDK for interacting with the Trumail API.
181
+ description:
168
182
  email:
169
183
  - j.gomez@drexed.com
170
184
  executables: []
@@ -173,16 +187,17 @@ extra_rdoc_files: []
173
187
  files:
174
188
  - ".fasterer.yml"
175
189
  - ".gitignore"
176
- - ".reek"
177
190
  - ".rspec"
178
191
  - ".rubocop.yml"
179
192
  - ".travis.yml"
193
+ - CHANGELOG.md
180
194
  - CODE_OF_CONDUCT.md
181
195
  - Gemfile
196
+ - Gemfile.lock
182
197
  - README.md
183
198
  - Rakefile
199
+ - _config.yml
184
200
  - bin/console
185
- - bin/rake
186
201
  - bin/setup
187
202
  - lib/trumail.rb
188
203
  - lib/trumail/lookup.rb
@@ -199,7 +214,6 @@ post_install_message:
199
214
  rdoc_options: []
200
215
  require_paths:
201
216
  - lib
202
- - support
203
217
  required_ruby_version: !ruby/object:Gem::Requirement
204
218
  requirements:
205
219
  - - ">="
@@ -211,9 +225,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
225
  - !ruby/object:Gem::Version
212
226
  version: '0'
213
227
  requirements: []
214
- rubyforge_project:
215
- rubygems_version: 2.7.7
228
+ rubygems_version: 3.0.6
216
229
  signing_key:
217
230
  specification_version: 4
218
- summary: Trumail Ruby SDK.
231
+ summary: Trumail Ruby SDK for interacting with the Trumail API.
219
232
  test_files: []
data/.reek DELETED
@@ -1,11 +0,0 @@
1
- ---
2
- InstanceVariableAssumption:
3
- enabled: false
4
- IrresponsibleModule:
5
- enabled: false
6
- NilCheck:
7
- enabled: false
8
- TooManyInstanceVariables:
9
- enabled: false
10
- UtilityFunction:
11
- enabled: false
data/bin/rake DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- # This file was generated by Bundler.
5
- #
6
- # The application 'rake' is installed as part of a gem, and
7
- # this file is here to facilitate running it.
8
-
9
- require 'pathname'
10
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', Pathname.new(__FILE__).realpath)
11
-
12
- require 'rubygems'
13
- require 'bundler/setup'
14
-
15
- load Gem.bin_path('rake', 'rake')