softcover 0.8.2 → 0.8.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bd82e12c0b07e112e945a1212f79970902eee3a
4
- data.tar.gz: 04fb45a304ab644e06a234840dfaa8caa0e3107c
3
+ metadata.gz: 8517d20ed35112c9a9cb2bc96f20e238d01d8693
4
+ data.tar.gz: 065d1b1c0f0bbec15eac9c36b6eb8dfc74f208cb
5
5
  SHA512:
6
- metadata.gz: 3dd07e05a1c7638487e29faddfb309bb0d0225689ae5789bc095a38a4c0be2c9f0a6a5a6261d463a96429ff44da8ca7d08e9d3c28b98d471f2deb910f69e6fed
7
- data.tar.gz: a2390d61e74872e4a493d6c24952551e5176d1b2a7f6c08db2c4d821e9ea476e21551694506cc6fc42d0da8dd62fdbc58c6bc97717599a348cdf91764e9b1fd3
6
+ metadata.gz: 3b149d52b4f0f4686035d75aaec4718a21013ecaa4f3ca9c1502ccb37bf1e83d1d7549f06c5112dc93a3421521736ed459ff46bd8b4cf86777a9e358b9183653
7
+ data.tar.gz: 27cc1180736a28e52a952d578fbad1f6516f110ca4a7f98b12ad78583beb08526c97542758af33329eda325567892c049e75a44220137a5360701fac021d352b
@@ -110,7 +110,8 @@ class Softcover::Book
110
110
  marketing_content: marketing_content,
111
111
  contact_email: contact_email,
112
112
  hide_custom_domain_footer:
113
- hide_custom_domain_footer
113
+ hide_custom_domain_footer,
114
+ authors: authors
114
115
 
115
116
  if res['errors']
116
117
  @errors = res['errors']
@@ -46,6 +46,15 @@ prices:
46
46
  price: 12500
47
47
  regular_price: 19900
48
48
 
49
+ authors:
50
+ -
51
+ name: "The Author"
52
+ image: /images/testimonial_1.png
53
+ contact_email: "info@softcover.io"
54
+ bio:
55
+ |
56
+ Author bio [link](https://www.softcover.io)
57
+
49
58
  faq:
50
59
  -
51
60
  question: "Question 1 text"
@@ -1,3 +1,3 @@
1
1
  module Softcover
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.3"
3
3
  end
@@ -65,7 +65,8 @@ module WebmockHelpers
65
65
  testimonials: book.testimonials,
66
66
  marketing_content: '',
67
67
  contact_email: book.contact_email,
68
- hide_custom_domain_footer: book.hide_custom_domain_footer
68
+ hide_custom_domain_footer: book.hide_custom_domain_footer,
69
+ authors: book.authors
69
70
  }.to_json,
70
71
  :headers => headers).
71
72
  to_return(:status => 200, :body => return_body, :headers => {})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: softcover
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hartl