Skip to content

Commit

Permalink
Merge pull request #45 from razeware/development
Browse files Browse the repository at this point in the history
v1.0.8: Hit the 🐌 on the head
  • Loading branch information
sammyd authored Sep 18, 2020
2 parents 3745f59 + a87ca07 commit 5a7dc11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/lib/parser/publish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Publish
version_description professional difficulty platform
language editor domains categories who_is_this_for_md
covered_concepts_md hide_chapter_numbers in_flux forum_url
pages short_description recommended_skus].freeze
pages short_description recommended_skus isbn amazon_url].freeze

attr_reader :book

Expand Down
4 changes: 2 additions & 2 deletions app/models/book.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Book
:platform, :language, :editor, :domains, :categories, :who_is_this_for_md,
:covered_concepts_md, :root_path, :hide_chapter_numbers, :in_flux,
:forum_url, :pages, :short_description, :recommended_skus, :contributors,
:price_band
:price_band, :isbn, :amazon_url
attr_image :cover_image_url, source: :cover_image
attr_image :gallery_image_url, source: :gallery_image
attr_image :twitter_card_image_url, source: :twitter_card_image
Expand All @@ -40,6 +40,6 @@ def attributes
professional: nil, difficulty: nil, platform: nil, language: nil, editor: nil, domains: [],
categories: [], who_is_this_for: nil, covered_concepts: nil, hide_chapter_numbers: nil,
in_flux: nil, forum_url: nil, pages: nil, short_description: nil, recommended_skus: [],
contributors: [], price_band: nil }.stringify_keys
contributors: [], price_band: nil, isbn: nil, amazon_url: nil }.stringify_keys
end
end

0 comments on commit 5a7dc11

Please sign in to comment.