fountain 0.0.11 → 0.0.14

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: 210b37df4117b80bcc00d37ac66c619c4227fbdb
4
- data.tar.gz: 475ccfc2c690b58b360a5cbd02fc8d8e4432149d
2
+ SHA256:
3
+ metadata.gz: d776c086bfff984cadcc66f4ea7898dc434dbeb239be346d88e50b2e9b969d79
4
+ data.tar.gz: f38a2ff38e7f0805519013ac3d4808200451b449e3874eb101f3658c40b6f077
5
5
  SHA512:
6
- metadata.gz: 10134e36f75790ff739e2a1508be084ff103db70b237916e8a7d8c8cf974d25c3271c5793669bcd4ef0624a8d659c0dc2f22ddcbb16184df93cb77f1d7e406ef
7
- data.tar.gz: 3144aac5bf2f21223ebbd4ca81e8ac458f690e7cd43094cc9f15a118cf169b502dfb58b365ad98d849cba3af3c796d4907539d234294206b23738fbbda920dfa
6
+ metadata.gz: e82ba7e512bfa3892c54d127f4de4e02b0beb9388bc1c43b305d07d99798f57f5c4527dd8c2a80171482730b0914d79780c2b09c32527c5752ec4df0bc53017f
7
+ data.tar.gz: ad10b59cf556f5224e4d641cece6ea3404394d4468281cd492292b5ff6c59951f1856dc7c4e042ba42065e38d07203d699510090a546bfd60c9dcb5902f07a9a
@@ -0,0 +1,34 @@
1
+ name: Test Fountain Ruby gem
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ ruby-version: ['2.6', '2.7', '3.0', '3.1']
15
+
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+
19
+ - name: Set up Ruby
20
+ uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby-version }}
23
+ bundler-cache: true
24
+
25
+ - name: Lint code - Rubocop
26
+ run: bundle exec rubocop
27
+
28
+ - name: Run tests
29
+ run: bundle exec rspec
30
+
31
+ - name: Test & publish code coverage
32
+ uses: paambaati/codeclimate-action@v3.0.0
33
+ env:
34
+ CC_TEST_REPORTER_ID: ced551cb55b574bb553181cb1c7abae8452a4f7f6e92df83633984a03693e284
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  Gemfile.lock
2
2
  *.gem
3
+ coverage/
data/.rubocop.yml CHANGED
@@ -1,11 +1,25 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+
5
+ AllCops:
6
+ NewCops: enable
7
+ TargetRubyVersion: 2.5
8
+
9
+ Layout/LineLength:
10
+ Max: 120
11
+
1
12
  Metrics/BlockLength:
2
13
  Exclude:
3
14
  - "**/*_spec.rb"
4
15
 
5
- Metrics/LineLength:
6
- Max: 120
7
-
8
16
  Metrics/MethodLength:
9
17
  Max: 15
10
18
  Exclude:
11
19
  - "**/*_spec.rb"
20
+
21
+ RSpec/ExampleLength:
22
+ Max: 15
23
+
24
+ RSpec/MultipleExpectations:
25
+ Max: 5
data/CHANGELOG.md ADDED
@@ -0,0 +1,67 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+ - None
5
+
6
+ ## [0.0.14](releases/tag/v0.0.14) - 2022-06-12
7
+ ### Fixed
8
+ - [#5] Add get funnel and get stage to API ([@noahkconley][])
9
+
10
+ ## [0.0.13](releases/tag/v0.0.13) - 2021-09-24
11
+ ### Fixed
12
+ - [#3] Update applicants and notes APIs to use *new* expected return statuses from create actions
13
+
14
+ ## [0.0.12](releases/tag/v0.0.12) - 2020-03-01
15
+ ### Fixed
16
+ - Address CVE-2020-8130 - `rake` OS command injection vulnerability
17
+
18
+ ## [0.0.11](releases/tag/v0.0.11) - 2018-06-02
19
+ ### Fixed
20
+ - Update applicants and notes APIs to check correct return status for create actions
21
+
22
+ ## [0.0.10](releases/tag/v0.0.10) - 2018-03-24
23
+ ### Added
24
+ - Funnel management API support
25
+
26
+ ## [0.0.9](releases/tag/v0.0.9) - 2018-03-24
27
+ ### Added
28
+ - Session/slot management API support
29
+
30
+ ## [0.0.8](releases/tag/v0.0.8) - 2018-03-24
31
+ ### Added
32
+ - Note management API support
33
+ ### Fixed
34
+ - Replace deprecated URI.encode with CGI.escape
35
+
36
+ ## [0.0.7](releases/tag/v0.0.7) - 2018-03-24
37
+ ### Added
38
+ - Label management API support
39
+
40
+ ## [0.0.6](releases/tag/v0.0.6) - 2018-03-22
41
+ ### Added
42
+ - Create applicant support
43
+ - Delete applicant support
44
+ - Get applicant support
45
+ - get_secure_documents applicant support
46
+ - Secure document type
47
+ - Advance applicant support
48
+ - Interview sessions for applicant support
49
+ - Transition history for applicant support
50
+
51
+ ## [0.0.5](releases/tag/v0.0.5) - 2018-03-20
52
+ ### Fixed
53
+ - Applicants inspect method
54
+
55
+ ## [0.0.4](releases/tag/v0.0.4) - 2018-03-20
56
+ ### Added
57
+ - Applicants inspect method
58
+
59
+ ## [0.0.3](releases/tag/v0.0.3) - 2018-03-20
60
+ ### Added
61
+ - Applicants wrapper to contain pagination cursors
62
+
63
+ ## [0.0.2](releases/tag/v0.0.2) - 2018-03-19
64
+ ### Added
65
+ - Support for applicant list and update
66
+
67
+ [@noahkconley]: https://github.com/noahkconley
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in fountain.gemspec
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
2
4
  require 'rspec/core/rake_task'
3
5
 
data/bin/console CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
4
  require 'bundler/setup'
4
5
  require 'fountain'
data/fountain.gemspec CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  lib = File.expand_path('lib', __dir__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
 
@@ -13,15 +15,18 @@ Gem::Specification.new do |spec|
13
15
  spec.description = 'Fountain REST API v2 wrapper for Ruby'
14
16
  spec.homepage = 'https://github.com/Studiosity/fountain-ruby'
15
17
  spec.license = 'MIT'
18
+ spec.required_ruby_version = ['>= 2.5.0', '< 3.2.0']
16
19
 
17
20
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec|docs)/}) }
18
21
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
22
  spec.require_paths = ['lib']
23
+ spec.metadata['rubygems_mfa_required'] = 'true'
20
24
 
21
- spec.add_development_dependency 'bundler', '~> 1.11'
22
- spec.add_development_dependency 'rake', '~> 10.0'
25
+ spec.add_development_dependency 'rake', '~> 12.3', '>= 12.3.3'
23
26
  spec.add_development_dependency 'rspec', '~> 3.0'
24
- spec.add_development_dependency 'rubocop', '~> 0.53'
25
- spec.add_development_dependency 'simplecov', '~> 0.16'
27
+ spec.add_development_dependency 'rubocop', '~> 1.21'
28
+ spec.add_development_dependency 'rubocop-rake', '~> 0.6'
29
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.5'
30
+ spec.add_development_dependency 'simplecov', '~> 0.16', '< 0.18'
26
31
  spec.add_development_dependency 'webmock', '~> 2.3'
27
32
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  module Api
3
5
  #
@@ -48,7 +50,7 @@ module Fountain
48
50
  response = request_json(
49
51
  '/v2/applicants',
50
52
  method: :post,
51
- expected_response: Net::HTTPCreated,
53
+ expected_response: [Net::HTTPCreated, Net::HTTPOK],
52
54
  body: {
53
55
  name: name, email: email, phone_number: phone_number
54
56
  }.merge(filtered_params)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  module Api
3
5
  #
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  module Api
3
5
  #
@@ -16,6 +18,15 @@ module Fountain
16
18
  Fountain::Funnels.new response
17
19
  end
18
20
 
21
+ #
22
+ # Get Funnel Info
23
+ # @param [String] funnel_id ID of the Fountain funnel
24
+ # @return [Fountain::Funnel]
25
+ def self.get(funnel_id)
26
+ response = request_json("/v2/funnels/#{funnel_id}")
27
+ Fountain::Funnel.new response
28
+ end
29
+
19
30
  #
20
31
  # Update Funnel
21
32
  # @param [String] funnel_id ID of the Fountain funnel
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'date'
2
4
  require 'cgi'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  module Api
3
5
  #
@@ -24,7 +26,7 @@ module Fountain
24
26
  response = request_json(
25
27
  "/v2/applicants/#{applicant_id}/notes",
26
28
  method: :post,
27
- expected_response: Net::HTTPCreated,
29
+ expected_response: [Net::HTTPCreated, Net::HTTPOK],
28
30
  body: { content: content }
29
31
  )
30
32
  Fountain::Note.new response
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'uri'
2
4
  require 'openssl'
3
5
  require 'net/http'
@@ -38,7 +40,7 @@ module Fountain
38
40
  def check_response(response, expected_response = nil)
39
41
  expected_response ||= Net::HTTPOK
40
42
  case response
41
- when expected_response then nil
43
+ when *[expected_response].flatten then nil
42
44
  when Net::HTTPUnauthorized then raise Fountain::AuthenticationError
43
45
  when Net::HTTPNotFound then raise Fountain::NotFoundError
44
46
  else raise HTTPError, "Invalid http response code: #{response.code}"
@@ -93,7 +95,7 @@ module Fountain
93
95
  end
94
96
 
95
97
  def create_get_request(path, headers, body)
96
- path += '?' + body.map { |k, v| "#{k}=#{v}" }.join('&') if body
98
+ path += "?#{body.map { |k, v| "#{k}=#{v}" }.join('&')}" if body
97
99
  Net::HTTP::Get.new(path, headers)
98
100
  end
99
101
 
@@ -101,6 +103,7 @@ module Fountain
101
103
  headers = options[:headers]
102
104
  headers ||= {}
103
105
  raise Fountain::MissingApiKeyError if Fountain.api_token.nil?
106
+
104
107
  headers['X-ACCESS-TOKEN'] = Fountain.api_token
105
108
  headers
106
109
  end
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Fountain
4
+ module Api
5
+ #
6
+ # Fountain Stage Management API
7
+ #
8
+ class Stages
9
+ extend RequestHelper
10
+
11
+ #
12
+ # Get Stage Info
13
+ # @param [String] stage_id ID of the Fountain stage
14
+ # @return [Fountain::Stage]
15
+ def self.get(stage_id)
16
+ response = request_json("/v2/stages/#{stage_id}")
17
+ Fountain::Stage.new response
18
+ end
19
+ end
20
+ end
21
+ end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Applicant
@@ -56,12 +58,14 @@ module Fountain
56
58
  # Background checks
57
59
  def background_checks
58
60
  return [] unless raw_data['background_checks'].is_a? Array
61
+
59
62
  raw_data['background_checks'].map { |check| BackgroundCheck.new check }
60
63
  end
61
64
 
62
65
  # Document signatures
63
66
  def document_signatures
64
67
  return [] unless raw_data['document_signatures'].is_a? Array
68
+
65
69
  raw_data['document_signatures'].map { |signature| DocumentSignature.new signature }
66
70
  end
67
71
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Applicant collection
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Background Check
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  #
2
4
  # Fountain configuration
3
5
  #
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Document Signature
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Field
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Funnel
@@ -51,12 +53,14 @@ module Fountain
51
53
  # Fields
52
54
  def fields
53
55
  return [] unless raw_data['fields'].is_a? Array
56
+
54
57
  raw_data['fields'].map { |hash| Field.new hash }
55
58
  end
56
59
 
57
60
  # Stages
58
61
  def stages
59
62
  return [] unless raw_data['stages'].is_a? Array
63
+
60
64
  raw_data['stages'].map { |hash| Stage.new hash }
61
65
  end
62
66
 
@@ -73,6 +77,7 @@ module Fountain
73
77
  # Location
74
78
  def location
75
79
  return unless raw_data['location'].is_a? Hash
80
+
76
81
  Location.new raw_data['location']
77
82
  end
78
83
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Funnel collection
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
- VERSION = '0.0.11'.freeze
4
+ VERSION = '0.0.14'
3
5
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Label
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Location
data/lib/fountain/note.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Note
@@ -36,6 +38,7 @@ module Fountain
36
38
  # User
37
39
  def user
38
40
  return unless raw_data['user'].is_a? Hash
41
+
39
42
  User.new raw_data['user']
40
43
  end
41
44
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Secure Document
data/lib/fountain/slot.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Slot
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Slot collection
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Stage
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain Transition
data/lib/fountain/user.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain User
data/lib/fountain/util.rb CHANGED
@@ -1,8 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fountain
2
4
  #
3
5
  # Fountain generic utility functions
4
6
  #
5
7
  module Util
8
+ module_function
9
+
6
10
  #
7
11
  # Stringify symbolized hash keys
8
12
  # @param [Hash] hash A string/symbol keyed hash
@@ -20,7 +24,6 @@ module Fountain
20
24
  end
21
25
  new_hash
22
26
  end
23
- module_function :stringify_hash_keys
24
27
 
25
28
  #
26
29
  # Slice keys from hash
@@ -37,6 +40,5 @@ module Fountain
37
40
  end
38
41
  new_hash
39
42
  end
40
- module_function :slice_hash
41
43
  end
42
44
  end
data/lib/fountain.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'fountain/gem_version'
2
4
 
3
5
  require 'json'
@@ -7,12 +9,19 @@ require 'fountain/util'
7
9
 
8
10
  module Fountain
9
11
  class Error < StandardError; end
12
+
10
13
  class HTTPError < Error; end
14
+
11
15
  class NotFoundError < HTTPError; end
16
+
12
17
  class AuthenticationError < HTTPError; end
18
+
13
19
  class InvalidMethodError < HTTPError; end
20
+
14
21
  class JsonParseError < Error; end
22
+
15
23
  class MissingApiKeyError < Error; end
24
+
16
25
  class StatusError < Error; end
17
26
  end
18
27
 
@@ -39,3 +48,4 @@ require 'fountain/api/available_slots'
39
48
  require 'fountain/api/funnels'
40
49
  require 'fountain/api/labels'
41
50
  require 'fountain/api/notes'
51
+ require 'fountain/api/stages'
metadata CHANGED
@@ -1,71 +1,91 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fountain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - abrom
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-02 00:00:00.000000000 Z
11
+ date: 2022-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.11'
19
+ version: '12.3'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 12.3.3
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '1.11'
29
+ version: '12.3'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 12.3.3
27
33
  - !ruby/object:Gem::Dependency
28
- name: rake
34
+ name: rspec
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: '10.0'
39
+ version: '3.0'
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
- version: '10.0'
46
+ version: '3.0'
41
47
  - !ruby/object:Gem::Dependency
42
- name: rspec
48
+ name: rubocop
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
51
  - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '3.0'
53
+ version: '1.21'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
58
  - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '3.0'
60
+ version: '1.21'
55
61
  - !ruby/object:Gem::Dependency
56
- name: rubocop
62
+ name: rubocop-rake
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - "~>"
60
66
  - !ruby/object:Gem::Version
61
- version: '0.53'
67
+ version: '0.6'
62
68
  type: :development
63
69
  prerelease: false
64
70
  version_requirements: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - "~>"
67
73
  - !ruby/object:Gem::Version
68
- version: '0.53'
74
+ version: '0.6'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rubocop-rspec
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '2.5'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '2.5'
69
89
  - !ruby/object:Gem::Dependency
70
90
  name: simplecov
71
91
  requirement: !ruby/object:Gem::Requirement
@@ -73,6 +93,9 @@ dependencies:
73
93
  - - "~>"
74
94
  - !ruby/object:Gem::Version
75
95
  version: '0.16'
96
+ - - "<"
97
+ - !ruby/object:Gem::Version
98
+ version: '0.18'
76
99
  type: :development
77
100
  prerelease: false
78
101
  version_requirements: !ruby/object:Gem::Requirement
@@ -80,6 +103,9 @@ dependencies:
80
103
  - - "~>"
81
104
  - !ruby/object:Gem::Version
82
105
  version: '0.16'
106
+ - - "<"
107
+ - !ruby/object:Gem::Version
108
+ version: '0.18'
83
109
  - !ruby/object:Gem::Dependency
84
110
  name: webmock
85
111
  requirement: !ruby/object:Gem::Requirement
@@ -102,9 +128,10 @@ executables:
102
128
  extensions: []
103
129
  extra_rdoc_files: []
104
130
  files:
131
+ - ".github/workflows/test.yml"
105
132
  - ".gitignore"
106
133
  - ".rubocop.yml"
107
- - ".travis.yml"
134
+ - CHANGELOG.md
108
135
  - Gemfile
109
136
  - LICENSE
110
137
  - README.md
@@ -118,6 +145,7 @@ files:
118
145
  - lib/fountain/api/labels.rb
119
146
  - lib/fountain/api/notes.rb
120
147
  - lib/fountain/api/request_helper.rb
148
+ - lib/fountain/api/stages.rb
121
149
  - lib/fountain/applicant.rb
122
150
  - lib/fountain/applicants.rb
123
151
  - lib/fountain/background_check.rb
@@ -140,8 +168,9 @@ files:
140
168
  homepage: https://github.com/Studiosity/fountain-ruby
141
169
  licenses:
142
170
  - MIT
143
- metadata: {}
144
- post_install_message:
171
+ metadata:
172
+ rubygems_mfa_required: 'true'
173
+ post_install_message:
145
174
  rdoc_options: []
146
175
  require_paths:
147
176
  - lib
@@ -149,16 +178,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
149
178
  requirements:
150
179
  - - ">="
151
180
  - !ruby/object:Gem::Version
152
- version: '0'
181
+ version: 2.5.0
182
+ - - "<"
183
+ - !ruby/object:Gem::Version
184
+ version: 3.2.0
153
185
  required_rubygems_version: !ruby/object:Gem::Requirement
154
186
  requirements:
155
187
  - - ">="
156
188
  - !ruby/object:Gem::Version
157
189
  version: '0'
158
190
  requirements: []
159
- rubyforge_project:
160
- rubygems_version: 2.6.14.1
161
- signing_key:
191
+ rubygems_version: 3.0.9
192
+ signing_key:
162
193
  specification_version: 4
163
194
  summary: Fountain REST API v2 wrapper for Ruby
164
195
  test_files: []
data/.travis.yml DELETED
@@ -1,31 +0,0 @@
1
- env:
2
- global:
3
- - CC_TEST_REPORTER_ID=ced551cb55b574bb553181cb1c7abae8452a4f7f6e92df83633984a03693e284
4
-
5
- language: ruby
6
-
7
- rvm:
8
- - 2.1
9
- - 2.2
10
- - 2.3
11
- - 2.4
12
- - 2.5
13
-
14
- before_install:
15
- - gem update bundler
16
-
17
- install:
18
- - bundle install --jobs=3 --retry=3
19
- - gem install rubocop
20
-
21
- before_script:
22
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
23
- - chmod +x ./cc-test-reporter
24
- - ./cc-test-reporter before-build
25
-
26
- script:
27
- - rubocop
28
- - bundle exec rake
29
-
30
- after_script:
31
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT