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 +4 -4
- data/.github/dependabot.yml +11 -0
- data/.github/workflows/ci.yml +53 -0
- data/.github/workflows/codeql-analysis.yml +72 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +32 -1
- data/Gemfile +2 -2
- data/Gemfile.lock +46 -60
- data/README.md +3 -3
- data/lib/panda_doc/document.rb +3 -3
- data/lib/panda_doc/failure_result.rb +0 -1
- data/lib/panda_doc/objects/recipient.rb +8 -5
- data/lib/panda_doc/version.rb +1 -1
- data/lib/panda_doc.rb +1 -1
- data/panda_doc.gemspec +3 -3
- metadata +15 -12
- data/.travis.yml +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8849ee8f7c8311a7eb442ff4c1b059c94a6ec87fb039a23cc74b1dd06c0c6873
|
4
|
+
data.tar.gz: 4563201e0b177abf440381dc8f06ccf876603f9c9c45d34a71d54786ae615144
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
data/Gemfile.lock
CHANGED
@@ -1,85 +1,71 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
panda_doc (0.
|
4
|
+
panda_doc (0.7.0)
|
5
5
|
dry-configurable
|
6
6
|
dry-struct
|
7
|
-
faraday (>= 0.
|
8
|
-
|
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.
|
15
|
-
diff-lcs (1.
|
14
|
+
concurrent-ruby (1.2.2)
|
15
|
+
diff-lcs (1.5.0)
|
16
16
|
docile (1.4.0)
|
17
|
-
dry-configurable (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
|
-
|
20
|
-
dry-
|
22
|
+
zeitwerk (~> 2.6)
|
23
|
+
dry-inflector (1.0.0)
|
24
|
+
dry-logic (1.5.0)
|
21
25
|
concurrent-ruby (~> 1.0)
|
22
|
-
dry-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
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
|
-
|
32
|
+
zeitwerk (~> 2.6)
|
33
|
+
dry-types (1.7.1)
|
34
34
|
concurrent-ruby (~> 1.0)
|
35
|
-
dry-
|
36
|
-
dry-
|
37
|
-
dry-
|
38
|
-
|
39
|
-
faraday (
|
40
|
-
faraday-
|
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-
|
51
|
-
|
52
|
-
faraday-
|
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.
|
46
|
+
multipart-post (2.3.0)
|
62
47
|
rake (13.0.6)
|
63
|
-
rspec (3.
|
64
|
-
rspec-core (~> 3.
|
65
|
-
rspec-expectations (~> 3.
|
66
|
-
rspec-mocks (~> 3.
|
67
|
-
rspec-core (3.
|
68
|
-
rspec-support (~> 3.
|
69
|
-
rspec-expectations (3.
|
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.
|
72
|
-
rspec-mocks (3.
|
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.
|
75
|
-
rspec-support (3.
|
59
|
+
rspec-support (~> 3.12.0)
|
60
|
+
rspec-support (3.12.0)
|
76
61
|
ruby2_keywords (0.0.5)
|
77
|
-
simplecov (0.
|
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.
|
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.
|
93
|
-
simplecov
|
78
|
+
rspec (~> 3.12)
|
79
|
+
simplecov (~> 0.22.0)
|
94
80
|
|
95
81
|
BUNDLED WITH
|
96
|
-
2.
|
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://
|
7
|
-
[![
|
8
|
-
[![Test Coverage](https://codeclimate.com/
|
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
|
|
data/lib/panda_doc/document.rb
CHANGED
@@ -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
|
@@ -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
|
data/lib/panda_doc/version.rb
CHANGED
data/lib/panda_doc.rb
CHANGED
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.
|
23
|
-
spec.add_dependency "faraday", ">= 0.
|
24
|
-
spec.add_dependency "
|
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.
|
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:
|
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.
|
19
|
+
version: 2.0.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
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.
|
29
|
+
version: 2.0.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '3.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
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.
|
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.
|
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
|
-
- ".
|
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.
|
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.
|
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
|