panda_doc 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/CHANGELOG.md +8 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +96 -0
- data/lib/panda_doc/api_client.rb +2 -2
- data/lib/panda_doc/configuration.rb +1 -1
- data/lib/panda_doc/objects/field.rb +1 -1
- data/lib/panda_doc/version.rb +1 -1
- data/panda_doc.gemspec +2 -2
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e8b044f3c9707cdd0ecf3221f1384a07d4922b38fdc2090305461c28ae9d11e
|
4
|
+
data.tar.gz: fa8015cd7e818ec99f2b0f384d85aaf2b7ebf52e2efa736e1ecf991337ad16a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26e731f8d0000c15aca640832505f34b3c636176550508028cd397201d8aa38d58fdf30f04a85e56fca5d94b6154528155fbd376d07bdfab09b0880ce17498b2
|
7
|
+
data.tar.gz: 976f8dde2e6abdf86e574140bd6f5178aa20ca5373e29e531d09bd1015a1317a8ebff10948e5d7d0fd78590b7b653ec8cf557d5c7300e92a1f8b50832a74b70b
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
|
5
5
|
## [Unreleased]
|
6
6
|
|
7
|
+
## [0.5.3][] (2021-11-03)
|
8
|
+
|
9
|
+
Fixes:
|
10
|
+
|
11
|
+
- Fixes #5 - make `placeholder` attribute optional (@acuster77)
|
12
|
+
|
7
13
|
## [0.5.2][] (2021-03-08)
|
8
14
|
|
9
15
|
Fixes:
|
@@ -169,7 +175,8 @@ Fixes:
|
|
169
175
|
|
170
176
|
- Initial release
|
171
177
|
|
172
|
-
[Unreleased]: https://github.com/opti/panda_doc/compare/v0.5.
|
178
|
+
[Unreleased]: https://github.com/opti/panda_doc/compare/v0.5.3...HEAD
|
179
|
+
[0.5.3]: https://github.com/opti/panda_doc/compare/v0.5.2...v0.5.3
|
173
180
|
[0.5.2]: https://github.com/opti/panda_doc/compare/v0.5.1...v0.5.2
|
174
181
|
[0.5.1]: https://github.com/opti/panda_doc/compare/v0.5.0...v0.5.1
|
175
182
|
[0.5.0]: https://github.com/opti/panda_doc/compare/v0.4.3...v0.5.0
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
panda_doc (0.5.3)
|
5
|
+
dry-configurable
|
6
|
+
dry-struct
|
7
|
+
faraday (>= 0.9.2, < 2.0)
|
8
|
+
faraday_middleware (>= 0.10.0, < 2.0)
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
byebug (11.1.3)
|
14
|
+
concurrent-ruby (1.1.9)
|
15
|
+
diff-lcs (1.4.4)
|
16
|
+
docile (1.4.0)
|
17
|
+
dry-configurable (0.13.0)
|
18
|
+
concurrent-ruby (~> 1.0)
|
19
|
+
dry-core (~> 0.6)
|
20
|
+
dry-container (0.9.0)
|
21
|
+
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)
|
32
|
+
ice_nine (~> 0.11)
|
33
|
+
dry-types (1.5.1)
|
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)
|
49
|
+
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)
|
60
|
+
ice_nine (0.11.2)
|
61
|
+
multipart-post (2.1.1)
|
62
|
+
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)
|
70
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
71
|
+
rspec-support (~> 3.10.0)
|
72
|
+
rspec-mocks (3.10.2)
|
73
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
74
|
+
rspec-support (~> 3.10.0)
|
75
|
+
rspec-support (3.10.3)
|
76
|
+
ruby2_keywords (0.0.5)
|
77
|
+
simplecov (0.21.2)
|
78
|
+
docile (~> 1.1)
|
79
|
+
simplecov-html (~> 0.11)
|
80
|
+
simplecov_json_formatter (~> 0.1)
|
81
|
+
simplecov-html (0.12.3)
|
82
|
+
simplecov_json_formatter (0.1.3)
|
83
|
+
|
84
|
+
PLATFORMS
|
85
|
+
ruby
|
86
|
+
|
87
|
+
DEPENDENCIES
|
88
|
+
bundler
|
89
|
+
byebug
|
90
|
+
panda_doc!
|
91
|
+
rake (>= 10.0)
|
92
|
+
rspec (~> 3.4)
|
93
|
+
simplecov
|
94
|
+
|
95
|
+
BUNDLED WITH
|
96
|
+
2.2.30
|
data/lib/panda_doc/api_client.rb
CHANGED
@@ -22,9 +22,9 @@ module PandaDoc
|
|
22
22
|
@url_prefix = "/public/v1"
|
23
23
|
@connection = Faraday.new(PandaDoc.configuration.endpoint) do |conn|
|
24
24
|
if PandaDoc.configuration.api_key
|
25
|
-
conn.authorization "API-Key", PandaDoc.configuration.api_key
|
25
|
+
conn.request :authorization, "API-Key", PandaDoc.configuration.api_key
|
26
26
|
else
|
27
|
-
conn.authorization :Bearer, PandaDoc.configuration.access_token
|
27
|
+
conn.request :authorization, :Bearer, PandaDoc.configuration.access_token
|
28
28
|
end
|
29
29
|
|
30
30
|
if multipart
|
@@ -6,7 +6,7 @@ module PandaDoc
|
|
6
6
|
attribute :uuid, Types::Coercible::String
|
7
7
|
attribute :name, Types::Coercible::String.optional
|
8
8
|
attribute :title, Types::Coercible::String.optional
|
9
|
-
attribute :placeholder, Types::Coercible::String.optional
|
9
|
+
attribute? :placeholder, Types::Coercible::String.optional
|
10
10
|
attribute :value, Types::Nil | Types::Hash | Types::Coercible::String
|
11
11
|
attribute? :assigned_to, PandaDoc::Objects::Recipient
|
12
12
|
end
|
data/lib/panda_doc/version.rb
CHANGED
data/panda_doc.gemspec
CHANGED
@@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.required_ruby_version = ">= 2.5"
|
23
23
|
spec.add_dependency "faraday", ">= 0.9.2", "< 2.0"
|
24
24
|
spec.add_dependency "faraday_middleware", ">= 0.10.0", "< 2.0"
|
25
|
-
spec.add_dependency "dry-configurable"
|
26
|
-
spec.add_dependency "dry-struct"
|
25
|
+
spec.add_dependency "dry-configurable"
|
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.
|
4
|
+
version: 0.5.3
|
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-03
|
11
|
+
date: 2021-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -54,30 +54,30 @@ dependencies:
|
|
54
54
|
name: dry-configurable
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "
|
57
|
+
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
|
-
version: '0
|
59
|
+
version: '0'
|
60
60
|
type: :runtime
|
61
61
|
prerelease: false
|
62
62
|
version_requirements: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- - "
|
64
|
+
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '0
|
66
|
+
version: '0'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: dry-struct
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
|
-
- - "
|
71
|
+
- - ">="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '
|
73
|
+
version: '0'
|
74
74
|
type: :runtime
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - "
|
78
|
+
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
80
|
+
version: '0'
|
81
81
|
description: Ruby wrapper for PandaDoc.com API
|
82
82
|
email:
|
83
83
|
- igor.pstyga@gmail.com
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- ".travis.yml"
|
91
91
|
- CHANGELOG.md
|
92
92
|
- Gemfile
|
93
|
+
- Gemfile.lock
|
93
94
|
- LICENSE.txt
|
94
95
|
- README.md
|
95
96
|
- Rakefile
|
@@ -134,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
135
|
- !ruby/object:Gem::Version
|
135
136
|
version: '0'
|
136
137
|
requirements: []
|
137
|
-
rubygems_version: 3.2.
|
138
|
+
rubygems_version: 3.2.30
|
138
139
|
signing_key:
|
139
140
|
specification_version: 4
|
140
141
|
summary: Ruby wrapper for PandaDoc.com API
|