writefully 0.4.8 → 0.4.10

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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/writefully/post.rb +1 -1
  3. data/app/models/writefully/tag.rb +1 -1
  4. data/lib/writefully/asset.rb +1 -1
  5. data/lib/writefully/storage.rb +1 -1
  6. data/lib/writefully/version.rb +1 -1
  7. data/spec/dummy/log/test.log +1545 -0
  8. data/spec/dummy/tmp/cache/assets/test/sprockets/064b3076e29f54ea572ca43d6c5950cc +0 -0
  9. data/spec/dummy/tmp/cache/assets/test/sprockets/078f453f056a4ed2fd66501dfd9f39ab +0 -0
  10. data/spec/dummy/tmp/cache/assets/test/sprockets/0cffae26d19cc03e51c306588e958ebe +0 -0
  11. data/spec/dummy/tmp/cache/assets/test/sprockets/135a69536b47551350adcbc08ec41a1e +0 -0
  12. data/spec/dummy/tmp/cache/assets/test/sprockets/293a5a934ba2a14e597e47d6241ec451 +0 -0
  13. data/spec/dummy/tmp/cache/assets/test/sprockets/2fa420ac509f80395b0b4b3bc99b8e38 +0 -0
  14. data/spec/dummy/tmp/cache/assets/test/sprockets/39bedb1ace9a0be939fe501130fcd194 +0 -0
  15. data/spec/dummy/tmp/cache/assets/test/sprockets/3b0360c69b189f9577b9e285cac58242 +0 -0
  16. data/spec/dummy/tmp/cache/assets/test/sprockets/444ce6c9a675d7ec23a955fc5f3f0439 +0 -0
  17. data/spec/dummy/tmp/cache/assets/test/sprockets/4cde0f040415498ca23f35374243b850 +0 -0
  18. data/spec/dummy/tmp/cache/assets/test/sprockets/680ae35528dae019b2b6ebe493135a16 +0 -0
  19. data/spec/dummy/tmp/cache/assets/test/sprockets/7a5f4e7eb3df0eac6f46d5fd3d8677b5 +0 -0
  20. data/spec/dummy/tmp/cache/assets/test/sprockets/8353c2ac910d8928153a3ec842aaf4a3 +0 -0
  21. data/spec/dummy/tmp/cache/assets/test/sprockets/8888c75405e6dc5ccf6b8541617d5c31 +0 -0
  22. data/spec/dummy/tmp/cache/assets/test/sprockets/9b9ee2a899dd8b3bfa592fba44ebf8d2 +0 -0
  23. data/spec/dummy/tmp/cache/assets/test/sprockets/b3a4db4a02e8faa22904a115e87492c0 +0 -0
  24. data/spec/dummy/tmp/cache/assets/test/sprockets/b83537e814e13cf03642ccc3d90fda13 +0 -0
  25. data/spec/dummy/tmp/cache/assets/test/sprockets/b9a1ab6fd5fd852a70849d81a5c3a8ec +0 -0
  26. data/spec/dummy/tmp/cache/assets/test/sprockets/ba0c2bad70f281871a7977b74f2d7a4c +0 -0
  27. data/spec/dummy/tmp/cache/assets/test/sprockets/d8e5cf4c7c2d872d9c5be244c4f127d1 +0 -0
  28. data/spec/dummy/tmp/cache/assets/test/sprockets/de2872f03106a22a3c87792e37a5786a +0 -0
  29. data/spec/dummy/tmp/cache/assets/test/sprockets/e683e3ddff327856b35dd8e62845ca66 +0 -0
  30. data/spec/dummy/tmp/cache/assets/test/sprockets/e690be50b969c85af53e39393347f335 +0 -0
  31. data/spec/dummy/tmp/cache/assets/test/sprockets/f72d17e470c42490e586b315879fbe16 +0 -0
  32. data/spec/dummy/tmp/cache/assets/test/sprockets/fd4947e22c21d0d9a08b2cc26d48a46d +0 -0
  33. metadata +45 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9661cb0c43baeaae6e93d73d5436a600cc2f638f
4
- data.tar.gz: 8f7eab972b8cd354ec2a3104e883a5a41a8f1cbb
3
+ metadata.gz: ea727086bde7ed0d78dd3e7958a1fb03e97a81d2
4
+ data.tar.gz: a918d1b2a13efcebd964644d9c7cd6026815d5f2
5
5
  SHA512:
6
- metadata.gz: 09f1d87342b80eb48fc61393d92282b0efbf41f14ec1f39c6acb7eebe508014faa0444e105c4376acff144c63d5d5db683ad7a2d8c029d6b12e5af508a690949
7
- data.tar.gz: f1b26afaea6b69d8772d9981aff37d48377827eb9a365d8041ff7a7534d76793e91076cd8b10502a03eaeb7addc38c4f9e91fdb9b70cb008ac628eafbaa533ae
6
+ metadata.gz: e320662c11c6f99e2daafd18095130c6bfc3979b5c0e4612b6a09d1b117bd70583c5c281b1b73d66eb3e132ee2598ff9703972ed33d07debf7cabe8924ac944d
7
+ data.tar.gz: 96c3d3cac5e7eb62d7b28cee033ff1c53b9f12e217bead0f7e9fb18e9f08c10f90dfaf05ff48c5699b9bd4a6a029bef5affa5fd390a45fadbab2dd515999f4b8
@@ -7,7 +7,7 @@ module Writefully
7
7
 
8
8
  friendly_id :title, use: :slugged
9
9
 
10
- has_many :taggings
10
+ has_many :taggings, dependent: :destroy
11
11
  wf_taxonomize :tags, -> { where(type: nil) }, through: :taggings
12
12
 
13
13
  belongs_to :authorship
@@ -2,7 +2,7 @@ module Writefully
2
2
  class Tag < ActiveRecord::Base
3
3
  self.table_name = "writefully_tags"
4
4
 
5
- has_many :taggings
5
+ has_many :taggings, dependent: :destroy
6
6
  has_many :posts, through: :taggings
7
7
 
8
8
  class << self
@@ -17,7 +17,7 @@ module Writefully
17
17
  end
18
18
 
19
19
  def url storage_endpoint
20
- Writefully.options[:assets_host] || File.join(storage_endpoint, endpoint, '/')
20
+ File.join(storage_endpoint, endpoint, '/')
21
21
  end
22
22
 
23
23
  def convert_for content
@@ -14,7 +14,7 @@ module Writefully
14
14
  end
15
15
 
16
16
  def endpoint
17
- provider_endpoints[Writefully.options[:storage_provider].downcase.to_sym]
17
+ Writefully.options[:assets_host] || provider_endpoints[Writefully.options[:storage_provider].downcase.to_sym]
18
18
  end
19
19
 
20
20
  def provider_endpoints
@@ -1,3 +1,3 @@
1
1
  module Writefully
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.10"
3
3
  end