panda_doc 0.5.3 → 0.7.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: 3e8b044f3c9707cdd0ecf3221f1384a07d4922b38fdc2090305461c28ae9d11e
4
- data.tar.gz: fa8015cd7e818ec99f2b0f384d85aaf2b7ebf52e2efa736e1ecf991337ad16a4
3
+ metadata.gz: 8849ee8f7c8311a7eb442ff4c1b059c94a6ec87fb039a23cc74b1dd06c0c6873
4
+ data.tar.gz: 4563201e0b177abf440381dc8f06ccf876603f9c9c45d34a71d54786ae615144
5
5
  SHA512:
6
- metadata.gz: 26e731f8d0000c15aca640832505f34b3c636176550508028cd397201d8aa38d58fdf30f04a85e56fca5d94b6154528155fbd376d07bdfab09b0880ce17498b2
7
- data.tar.gz: 976f8dde2e6abdf86e574140bd6f5178aa20ca5373e29e531d09bd1015a1317a8ebff10948e5d7d0fd78590b7b653ec8cf557d5c7300e92a1f8b50832a74b70b
6
+ metadata.gz: 74541a952ad1c7f327e220dd197ce0213fd2d9de697fb5e2743f46b72b5a2e1df94e7c801cf5b833406fac61751de1cbc4b2af643b7daa3b4c10f69e25cd34fa
7
+ data.tar.gz: 04ff0e440faac7e29d5f8b6bfa9ffe9f8bf31f0399eeeab18f6cc9940be1b482d74c47915c21d2b40b396328fca5bce3c1c37f172dcb13adfb1f97a55aece404
@@ -0,0 +1,11 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "bundler"
9
+ directory: "/"
10
+ schedule:
11
+ interval: "daily"
@@ -0,0 +1,53 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ specs:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: false
14
+ matrix:
15
+ ruby:
16
+ - '3.2'
17
+ - '3.1'
18
+ - '3.0'
19
+ - '2.7'
20
+ include:
21
+ - ruby: '3.2'
22
+ coverage: '1'
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ with:
26
+ submodules: true
27
+ - name: Setup Ruby
28
+ uses: ruby/setup-ruby@v1
29
+ with:
30
+ ruby-version: ${{ matrix.ruby }}
31
+ - name: Update rubygems
32
+ run: |
33
+ gem update --system
34
+ - uses: actions/cache@v3
35
+ with:
36
+ path: vendor/bundle
37
+ key: bundle-use-ruby-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
38
+ restore-keys: |
39
+ bundle-use-ruby-${{ matrix.ruby }}-
40
+ - name: Bundle install
41
+ run: |
42
+ bundle config path vendor/bundle
43
+ bundle install --jobs 4 --retry 3
44
+ - name: Run specs
45
+ env:
46
+ SIMPLECOV: ${{ matrix.coverage }}
47
+ run: |
48
+ bundle exec rake spec
49
+ - name: Publish code coverage
50
+ if: ${{ matrix.coverage == '1' && github.actor != 'dependabot[bot]' }}
51
+ uses: paambaati/codeclimate-action@v3.1.1
52
+ env:
53
+ CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
@@ -0,0 +1,72 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ main ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ main ]
20
+ schedule:
21
+ - cron: '17 0 * * 5'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'ruby' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
38
+
39
+ steps:
40
+ - name: Checkout repository
41
+ uses: actions/checkout@v3
42
+
43
+ # Initializes the CodeQL tools for scanning.
44
+ - name: Initialize CodeQL
45
+ uses: github/codeql-action/init@v2
46
+ with:
47
+ languages: ${{ matrix.language }}
48
+ # If you wish to specify custom queries, you can do so here or in a config file.
49
+ # By default, queries listed here will override any specified in a config file.
50
+ # Prefix the list here with "+" to use these queries and those in the config file.
51
+
52
+ # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53
+ # queries: security-extended,security-and-quality
54
+
55
+
56
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57
+ # If this step fails, then you should remove it and run the build manually (see below)
58
+ - name: Autobuild
59
+ uses: github/codeql-action/autobuild@v2
60
+
61
+ # ℹ️ Command-line programs to run using the OS shell.
62
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63
+
64
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
65
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
66
+
67
+ # - run: |
68
+ # echo "Run, Build Application using script"
69
+ # ./location_of_script_within_repo/buildscript.sh
70
+
71
+ - name: Perform CodeQL Analysis
72
+ uses: github/codeql-action/analyze@v2
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.2.2
data/CHANGELOG.md CHANGED
@@ -4,6 +4,35 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.7.0][] (2023-06-07)
8
+
9
+ New:
10
+
11
+ - Drop ruby 2.6
12
+ - Update to Faraday 2
13
+
14
+ ## [0.6.0][] (2022-05-04)
15
+
16
+ New:
17
+
18
+ - Add `roles`, `shared_link` and `contact_id` to the recipient in the document details response:
19
+ ```ruby
20
+ document = PandaDoc::Document.details("uuid")
21
+ document.recipients.first.roles
22
+ => ["Signer", "Reviewer"]
23
+
24
+ document.recipients.first.shared_link
25
+ => "https://app.pandadoc.com/document/b7f11ea3c09d1c11208cc122457d4f3a2829d364"
26
+
27
+ document.recipients.first.contact_id
28
+ => "7kqXgjFejB2toXxjcC5jfZ"
29
+ ```
30
+
31
+ Fixes:
32
+
33
+ - Fixes #11 - make `FailureResult#response` public
34
+ - Fixes #8 - make `Recipient` attributes optional
35
+
7
36
  ## [0.5.3][] (2021-11-03)
8
37
 
9
38
  Fixes:
@@ -175,7 +204,9 @@ Fixes:
175
204
 
176
205
  - Initial release
177
206
 
178
- [Unreleased]: https://github.com/opti/panda_doc/compare/v0.5.3...HEAD
207
+ [Unreleased]: https://github.com/opti/panda_doc/compare/v0.7.0...HEAD
208
+ [0.7.0]: https://github.com/opti/panda_doc/compare/v0.6.0...v0.7.0
209
+ [0.6.0]: https://github.com/opti/panda_doc/compare/v0.5.3...v0.6.0
179
210
  [0.5.3]: https://github.com/opti/panda_doc/compare/v0.5.2...v0.5.3
180
211
  [0.5.2]: https://github.com/opti/panda_doc/compare/v0.5.1...v0.5.2
181
212
  [0.5.1]: https://github.com/opti/panda_doc/compare/v0.5.0...v0.5.1
data/Gemfile CHANGED
@@ -5,9 +5,9 @@ gemspec
5
5
 
6
6
  gem "bundler"
7
7
  gem "rake", ">= 10.0"
8
- gem "rspec", "~> 3.4"
8
+ gem "rspec", "~> 3.12"
9
9
  gem "byebug"
10
10
 
11
11
  group :test do
12
- gem "simplecov", require: false
12
+ gem "simplecov", "~> 0.22.0", require: false
13
13
  end
data/Gemfile.lock CHANGED
@@ -1,85 +1,71 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- panda_doc (0.5.3)
4
+ panda_doc (0.7.0)
5
5
  dry-configurable
6
6
  dry-struct
7
- faraday (>= 0.9.2, < 2.0)
8
- faraday_middleware (>= 0.10.0, < 2.0)
7
+ faraday (>= 2.0.1, < 3.0)
8
+ faraday-multipart (>= 1.0.0, < 2.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
13
  byebug (11.1.3)
14
- concurrent-ruby (1.1.9)
15
- diff-lcs (1.4.4)
14
+ concurrent-ruby (1.2.2)
15
+ diff-lcs (1.5.0)
16
16
  docile (1.4.0)
17
- dry-configurable (0.13.0)
17
+ dry-configurable (1.0.1)
18
+ dry-core (~> 1.0, < 2)
19
+ zeitwerk (~> 2.6)
20
+ dry-core (1.0.0)
18
21
  concurrent-ruby (~> 1.0)
19
- dry-core (~> 0.6)
20
- dry-container (0.9.0)
22
+ zeitwerk (~> 2.6)
23
+ dry-inflector (1.0.0)
24
+ dry-logic (1.5.0)
21
25
  concurrent-ruby (~> 1.0)
22
- dry-configurable (~> 0.13, >= 0.13.0)
23
- dry-core (0.7.1)
24
- concurrent-ruby (~> 1.0)
25
- dry-inflector (0.2.1)
26
- dry-logic (1.2.0)
27
- concurrent-ruby (~> 1.0)
28
- dry-core (~> 0.5, >= 0.5)
29
- dry-struct (1.4.0)
30
- dry-core (~> 0.5, >= 0.5)
31
- dry-types (~> 1.5)
26
+ dry-core (~> 1.0, < 2)
27
+ zeitwerk (~> 2.6)
28
+ dry-struct (1.6.0)
29
+ dry-core (~> 1.0, < 2)
30
+ dry-types (>= 1.7, < 2)
32
31
  ice_nine (~> 0.11)
33
- dry-types (1.5.1)
32
+ zeitwerk (~> 2.6)
33
+ dry-types (1.7.1)
34
34
  concurrent-ruby (~> 1.0)
35
- dry-container (~> 0.3)
36
- dry-core (~> 0.5, >= 0.5)
37
- dry-inflector (~> 0.1, >= 0.1.2)
38
- dry-logic (~> 1.0, >= 1.0.2)
39
- faraday (1.8.0)
40
- faraday-em_http (~> 1.0)
41
- faraday-em_synchrony (~> 1.0)
42
- faraday-excon (~> 1.1)
43
- faraday-httpclient (~> 1.0.1)
44
- faraday-net_http (~> 1.0)
45
- faraday-net_http_persistent (~> 1.1)
46
- faraday-patron (~> 1.0)
47
- faraday-rack (~> 1.0)
48
- multipart-post (>= 1.2, < 3)
35
+ dry-core (~> 1.0)
36
+ dry-inflector (~> 1.0)
37
+ dry-logic (~> 1.4)
38
+ zeitwerk (~> 2.6)
39
+ faraday (2.7.6)
40
+ faraday-net_http (>= 2.0, < 3.1)
49
41
  ruby2_keywords (>= 0.0.4)
50
- faraday-em_http (1.0.0)
51
- faraday-em_synchrony (1.0.0)
52
- faraday-excon (1.1.0)
53
- faraday-httpclient (1.0.1)
54
- faraday-net_http (1.0.1)
55
- faraday-net_http_persistent (1.2.0)
56
- faraday-patron (1.0.0)
57
- faraday-rack (1.0.0)
58
- faraday_middleware (1.2.0)
59
- faraday (~> 1.0)
42
+ faraday-multipart (1.0.4)
43
+ multipart-post (~> 2)
44
+ faraday-net_http (3.0.2)
60
45
  ice_nine (0.11.2)
61
- multipart-post (2.1.1)
46
+ multipart-post (2.3.0)
62
47
  rake (13.0.6)
63
- rspec (3.10.0)
64
- rspec-core (~> 3.10.0)
65
- rspec-expectations (~> 3.10.0)
66
- rspec-mocks (~> 3.10.0)
67
- rspec-core (3.10.1)
68
- rspec-support (~> 3.10.0)
69
- rspec-expectations (3.10.1)
48
+ rspec (3.12.0)
49
+ rspec-core (~> 3.12.0)
50
+ rspec-expectations (~> 3.12.0)
51
+ rspec-mocks (~> 3.12.0)
52
+ rspec-core (3.12.2)
53
+ rspec-support (~> 3.12.0)
54
+ rspec-expectations (3.12.3)
70
55
  diff-lcs (>= 1.2.0, < 2.0)
71
- rspec-support (~> 3.10.0)
72
- rspec-mocks (3.10.2)
56
+ rspec-support (~> 3.12.0)
57
+ rspec-mocks (3.12.5)
73
58
  diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.10.0)
75
- rspec-support (3.10.3)
59
+ rspec-support (~> 3.12.0)
60
+ rspec-support (3.12.0)
76
61
  ruby2_keywords (0.0.5)
77
- simplecov (0.21.2)
62
+ simplecov (0.22.0)
78
63
  docile (~> 1.1)
79
64
  simplecov-html (~> 0.11)
80
65
  simplecov_json_formatter (~> 0.1)
81
66
  simplecov-html (0.12.3)
82
- simplecov_json_formatter (0.1.3)
67
+ simplecov_json_formatter (0.1.4)
68
+ zeitwerk (2.6.8)
83
69
 
84
70
  PLATFORMS
85
71
  ruby
@@ -89,8 +75,8 @@ DEPENDENCIES
89
75
  byebug
90
76
  panda_doc!
91
77
  rake (>= 10.0)
92
- rspec (~> 3.4)
93
- simplecov
78
+ rspec (~> 3.12)
79
+ simplecov (~> 0.22.0)
94
80
 
95
81
  BUNDLED WITH
96
- 2.2.30
82
+ 2.4.13
data/README.md CHANGED
@@ -3,9 +3,9 @@
3
3
  PandaDoc gem is a simple wrapper for PandaDoc.com API. Please check the official
4
4
  API [documenation](https://developers.pandadoc.com) for more details.
5
5
 
6
- [![Build Status](https://travis-ci.org/opti/panda_doc.svg?branch=master)](http://travis-ci.org/opti/panda_doc)
7
- [![Code Climate](https://codeclimate.com/github/opti/panda_doc/badges/gpa.svg)](https://codeclimate.com/github/opti/panda_doc)
8
- [![Test Coverage](https://codeclimate.com/github/opti/panda_doc/badges/coverage.svg)](https://codeclimate.com/github/opti/panda_doc/coverage)
6
+ [![Build Status](https://github.com/opti/panda_doc/actions/workflows/ci.yml/badge.svg)](https://github.com/opti/panda_doc/actions/workflows/ci.yml)
7
+ [![Maintainability](https://api.codeclimate.com/v1/badges/ab0b236ae2c499659214/maintainability)](https://codeclimate.com/github/opti/panda_doc/maintainability)
8
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/ab0b236ae2c499659214/test_coverage)](https://codeclimate.com/github/opti/panda_doc/test_coverage)
9
9
 
10
10
  ## Installation
11
11
 
@@ -5,11 +5,11 @@ module PandaDoc
5
5
  extend self
6
6
 
7
7
  def create(data)
8
- respond(ApiClient.request(:post, "/documents", data))
8
+ respond(ApiClient.request(:post, "/documents", **data))
9
9
  end
10
10
 
11
11
  def send(uuid, **data)
12
- respond(ApiClient.request(:post, "/documents/#{uuid}/send", data))
12
+ respond(ApiClient.request(:post, "/documents/#{uuid}/send", **data))
13
13
  end
14
14
 
15
15
  def find(uuid)
@@ -22,7 +22,7 @@ module PandaDoc
22
22
 
23
23
  def session(uuid, **data)
24
24
  respond(
25
- ApiClient.request(:post, "/documents/#{uuid}/session", data),
25
+ ApiClient.request(:post, "/documents/#{uuid}/session", **data),
26
26
  type: :session
27
27
  )
28
28
  end
@@ -9,7 +9,6 @@ module PandaDoc
9
9
  attr_reader :error
10
10
 
11
11
  attr_reader :response
12
- private :response
13
12
 
14
13
  def initialize(response)
15
14
  @response = response
@@ -4,13 +4,16 @@ module PandaDoc
4
4
  module Objects
5
5
  class Recipient < Base
6
6
  attribute? :id, Types::Coercible::String.optional
7
- attribute :email, Types::Coercible::String
8
- attribute :first_name, Types::Coercible::String.optional
9
- attribute :last_name, Types::Coercible::String.optional
10
- attribute :recipient_type, Types::Coercible::String
11
- attribute :has_completed, Types::Params::Bool
7
+ attribute? :email, Types::Coercible::String
8
+ attribute? :first_name, Types::Coercible::String.optional
9
+ attribute? :last_name, Types::Coercible::String.optional
10
+ attribute? :recipient_type, Types::Coercible::String
11
+ attribute? :has_completed, Types::Params::Bool
12
12
  attribute? :role, Types::Coercible::String.optional
13
13
  attribute? :type, Types::Coercible::String.optional
14
+ attribute? :roles, Types::Array.of(Types::Coercible::String)
15
+ attribute? :contact_id, Types::Coercible::String.optional
16
+ attribute? :shared_link, Types::Coercible::String.optional
14
17
  end
15
18
  end
16
19
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PandaDoc
4
- VERSION = "0.5.3"
4
+ VERSION = "0.7.0"
5
5
  end
data/lib/panda_doc.rb CHANGED
@@ -4,7 +4,7 @@ require "forwardable"
4
4
  require "json"
5
5
 
6
6
  require "faraday"
7
- require "faraday_middleware"
7
+ require "faraday/multipart"
8
8
  require "dry-struct"
9
9
  require "dry-configurable"
10
10
 
data/panda_doc.gemspec CHANGED
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = []
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.required_ruby_version = ">= 2.5"
23
- spec.add_dependency "faraday", ">= 0.9.2", "< 2.0"
24
- spec.add_dependency "faraday_middleware", ">= 0.10.0", "< 2.0"
22
+ spec.required_ruby_version = ">= 2.7"
23
+ spec.add_dependency "faraday", ">= 2.0.1", "< 3.0"
24
+ spec.add_dependency "faraday-multipart", ">= 1.0.0", "< 2.0"
25
25
  spec.add_dependency "dry-configurable"
26
26
  spec.add_dependency "dry-struct"
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panda_doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Pstyga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-03 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,27 +16,27 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.2
19
+ version: 2.0.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '2.0'
22
+ version: '3.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.9.2
29
+ version: 2.0.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '2.0'
32
+ version: '3.0'
33
33
  - !ruby/object:Gem::Dependency
34
- name: faraday_middleware
34
+ name: faraday-multipart
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 0.10.0
39
+ version: 1.0.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '2.0'
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 0.10.0
49
+ version: 1.0.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '2.0'
@@ -85,9 +85,12 @@ executables: []
85
85
  extensions: []
86
86
  extra_rdoc_files: []
87
87
  files:
88
+ - ".github/dependabot.yml"
89
+ - ".github/workflows/ci.yml"
90
+ - ".github/workflows/codeql-analysis.yml"
88
91
  - ".gitignore"
89
92
  - ".rspec"
90
- - ".travis.yml"
93
+ - ".ruby-version"
91
94
  - CHANGELOG.md
92
95
  - Gemfile
93
96
  - Gemfile.lock
@@ -128,14 +131,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
128
131
  requirements:
129
132
  - - ">="
130
133
  - !ruby/object:Gem::Version
131
- version: '2.5'
134
+ version: '2.7'
132
135
  required_rubygems_version: !ruby/object:Gem::Requirement
133
136
  requirements:
134
137
  - - ">="
135
138
  - !ruby/object:Gem::Version
136
139
  version: '0'
137
140
  requirements: []
138
- rubygems_version: 3.2.30
141
+ rubygems_version: 3.4.13
139
142
  signing_key:
140
143
  specification_version: 4
141
144
  summary: Ruby wrapper for PandaDoc.com API
data/.travis.yml DELETED
@@ -1,32 +0,0 @@
1
- language: ruby
2
- os: linux
3
- dist: xenial
4
-
5
- cache:
6
- - bundler
7
-
8
- rvm:
9
- - 2.5
10
- - 2.6
11
- - 2.7
12
- - 3.0
13
-
14
- env:
15
- global:
16
- - CC_TEST_REPORTER_ID=d1d9c0636042863489880dbdf1c8865721b9b70f4199d612d77ee2dcfc803704
17
-
18
- before_install:
19
- - gem update --system
20
- - gem install bundler
21
-
22
- before_script:
23
- - bundle update
24
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
25
- - chmod +x ./cc-test-reporter
26
- - ./cc-test-reporter before-build
27
-
28
- script:
29
- - bin/rake
30
-
31
- after_script:
32
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT