panda_doc 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/README.md +1 -1
- data/bin/rspec +12 -0
- data/lib/panda_doc.rb +1 -0
- data/lib/panda_doc/objects/document.rb +1 -1
- data/lib/panda_doc/objects/status.rb +9 -0
- data/lib/panda_doc/version.rb +1 -1
- data/panda_doc.gemspec +0 -1
- metadata +4 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f79bfe87f9b1002e04d90715171cd7713a42628d
|
4
|
+
data.tar.gz: 55c1bab3587f8f1537fe4c402dd3c847daa660f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4c1b8f6a883971c0ea41e5d91104249a26304f9388d5b4651134a633a1c1b0c3e3c7c2fc04201c1a3cdfc4b96f17fb8fc3c77dbbf4e218a76234a484bf9266a
|
7
|
+
data.tar.gz: f94b427a99f225d797ec0dca8bba982e4398231bb6d0ca1d24a8f43fef980c963b07fe03d065d79130fcc05f12637a1534123fd4542c5a7564834ac72525be68
|
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.2.0][] (2016-02-18)
|
8
|
+
|
9
|
+
New:
|
10
|
+
|
11
|
+
- Add status coercion. It is now converted from `document.uploaded` to `uploaded`.
|
12
|
+
|
7
13
|
## [0.1.0][] (2016-02-17)
|
8
14
|
|
9
15
|
New:
|
@@ -37,6 +43,7 @@ Fixes:
|
|
37
43
|
|
38
44
|
- Initial release
|
39
45
|
|
40
|
-
[Unreleased]: https://github.com/opti/panda_doc/compare/v0.
|
46
|
+
[Unreleased]: https://github.com/opti/panda_doc/compare/v0.2.0...HEAD
|
47
|
+
[0.2.0]: https://github.com/opti/panda_doc/compare/v0.1.0...v0.2.0
|
41
48
|
[0.1.0]: https://github.com/opti/panda_doc/compare/v0.0.2...v0.1.0
|
42
49
|
[0.0.2]: https://github.com/opti/panda_doc/compare/v0.0.1...v0.0.2
|
data/README.md
CHANGED
@@ -62,7 +62,7 @@ PandaDoc::Document.create(
|
|
62
62
|
|
63
63
|
document.uuid # => "oovHPtkwDqEAvaKmdud"
|
64
64
|
document.name # => "Sample Document"
|
65
|
-
document.status # => "
|
65
|
+
document.status # => "uploaded"
|
66
66
|
document.created_at # => #<DateTime: 2016-02-03T14:56:21-08:00>
|
67
67
|
document.updated_at # => #<DateTime: 2016-02-03T14:56:21-08:00>
|
68
68
|
```
|
data/bin/rspec
CHANGED
@@ -1,4 +1,16 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
#
|
3
|
+
# This file was generated by Bundler.
|
4
|
+
#
|
5
|
+
# The application 'rspec' is installed as part of a gem, and
|
6
|
+
# this file is here to facilitate running it.
|
7
|
+
#
|
2
8
|
|
9
|
+
require "pathname"
|
10
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
11
|
+
Pathname.new(__FILE__).realpath)
|
12
|
+
|
13
|
+
require "rubygems"
|
3
14
|
require "bundler/setup"
|
15
|
+
|
4
16
|
load Gem.bin_path("rspec-core", "rspec")
|
data/lib/panda_doc.rb
CHANGED
@@ -11,6 +11,7 @@ require "panda_doc/failure_result"
|
|
11
11
|
require "panda_doc/success_result"
|
12
12
|
require "panda_doc/document"
|
13
13
|
require "panda_doc/response_factory"
|
14
|
+
require "panda_doc/objects/status"
|
14
15
|
require "panda_doc/objects/recipient"
|
15
16
|
require "panda_doc/objects/document"
|
16
17
|
require "panda_doc/objects/error"
|
data/lib/panda_doc/version.rb
CHANGED
data/panda_doc.gemspec
CHANGED
@@ -17,7 +17,6 @@ Gem::Specification.new do |spec|
|
|
17
17
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
19
|
spec.bindir = "bin"
|
20
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
20
|
spec.require_paths = ["lib"]
|
22
21
|
|
23
22
|
spec.required_ruby_version = "~> 2.2"
|
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.2.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: 2016-02-
|
11
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -75,10 +75,7 @@ dependencies:
|
|
75
75
|
description: Ruby wrapper for PandaDoc.com API
|
76
76
|
email:
|
77
77
|
- igor.pstyga@gmail.com
|
78
|
-
executables:
|
79
|
-
- console
|
80
|
-
- rspec
|
81
|
-
- setup
|
78
|
+
executables: []
|
82
79
|
extensions: []
|
83
80
|
extra_rdoc_files: []
|
84
81
|
files:
|
@@ -102,6 +99,7 @@ files:
|
|
102
99
|
- lib/panda_doc/objects/error.rb
|
103
100
|
- lib/panda_doc/objects/recipient.rb
|
104
101
|
- lib/panda_doc/objects/session.rb
|
102
|
+
- lib/panda_doc/objects/status.rb
|
105
103
|
- lib/panda_doc/response_factory.rb
|
106
104
|
- lib/panda_doc/responses/document.rb
|
107
105
|
- lib/panda_doc/responses/error.rb
|