writefully 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/lib/writefully/postable.rb +2 -2
  3. data/lib/writefully/version.rb +1 -1
  4. data/spec/dummy/log/test.log +1942 -0
  5. data/spec/dummy/tmp/cache/assets/test/sprockets/040113a4f223c497017bb4be3b82e021 +0 -0
  6. data/spec/dummy/tmp/cache/assets/test/sprockets/064b3076e29f54ea572ca43d6c5950cc +0 -0
  7. data/spec/dummy/tmp/cache/assets/test/sprockets/078f453f056a4ed2fd66501dfd9f39ab +0 -0
  8. data/spec/dummy/tmp/cache/assets/test/sprockets/0cffae26d19cc03e51c306588e958ebe +0 -0
  9. data/spec/dummy/tmp/cache/assets/test/sprockets/135a69536b47551350adcbc08ec41a1e +0 -0
  10. data/spec/dummy/tmp/cache/assets/test/sprockets/1a3fcbed92c68def394cf6a580f32a9e +0 -0
  11. data/spec/dummy/tmp/cache/assets/test/sprockets/293a5a934ba2a14e597e47d6241ec451 +0 -0
  12. data/spec/dummy/tmp/cache/assets/test/sprockets/2fa420ac509f80395b0b4b3bc99b8e38 +0 -0
  13. data/spec/dummy/tmp/cache/assets/test/sprockets/3063f229c5edc0e8a3d82d7bf78024de +0 -0
  14. data/spec/dummy/tmp/cache/assets/test/sprockets/31c84f37a0c92c38be6459f19997c981 +0 -0
  15. data/spec/dummy/tmp/cache/assets/test/sprockets/39bedb1ace9a0be939fe501130fcd194 +0 -0
  16. data/spec/dummy/tmp/cache/assets/test/sprockets/3a28a4c0ada636941e8b309e5b38f07e +0 -0
  17. data/spec/dummy/tmp/cache/assets/test/sprockets/3b0360c69b189f9577b9e285cac58242 +0 -0
  18. data/spec/dummy/tmp/cache/assets/test/sprockets/444ce6c9a675d7ec23a955fc5f3f0439 +0 -0
  19. data/spec/dummy/tmp/cache/assets/test/sprockets/4684201e9a7b66017ea250f0d7fd06e2 +0 -0
  20. data/spec/dummy/tmp/cache/assets/test/sprockets/4712cb80224f27e318997ba47c0d2d7f +0 -0
  21. data/spec/dummy/tmp/cache/assets/test/sprockets/4cde0f040415498ca23f35374243b850 +0 -0
  22. data/spec/dummy/tmp/cache/assets/test/sprockets/5f4fda37c612e3ec07abacd6b59111ec +0 -0
  23. data/spec/dummy/tmp/cache/assets/test/sprockets/61a6ba1d08afe99176917fbd634e22ad +0 -0
  24. data/spec/dummy/tmp/cache/assets/test/sprockets/680ae35528dae019b2b6ebe493135a16 +0 -0
  25. data/spec/dummy/tmp/cache/assets/test/sprockets/7a5f4e7eb3df0eac6f46d5fd3d8677b5 +0 -0
  26. data/spec/dummy/tmp/cache/assets/test/sprockets/80ea171dde773f5ee1692fbc2a4155b1 +0 -0
  27. data/spec/dummy/tmp/cache/assets/test/sprockets/81e4a723953d063ec006596c9f2fb1ef +0 -0
  28. data/spec/dummy/tmp/cache/assets/test/sprockets/82b92bb7c88523dc617b3c0c877aeade +0 -0
  29. data/spec/dummy/tmp/cache/assets/test/sprockets/8353c2ac910d8928153a3ec842aaf4a3 +0 -0
  30. data/spec/dummy/tmp/cache/assets/test/sprockets/8888c75405e6dc5ccf6b8541617d5c31 +0 -0
  31. data/spec/dummy/tmp/cache/assets/test/sprockets/8d225befd9f2c5c3ef1ff73591bea154 +0 -0
  32. data/spec/dummy/tmp/cache/assets/test/sprockets/93b8eea5dae7aa340ca4486326b48ddb +0 -0
  33. data/spec/dummy/tmp/cache/assets/test/sprockets/98223bde155ccb586e710444611aabb4 +0 -0
  34. data/spec/dummy/tmp/cache/assets/test/sprockets/9b9ee2a899dd8b3bfa592fba44ebf8d2 +0 -0
  35. data/spec/dummy/tmp/cache/assets/test/sprockets/9f9f72b9edf89242aada0d52dbc57635 +0 -0
  36. data/spec/dummy/tmp/cache/assets/test/sprockets/a6f512c3896db4453834bf567772c3c8 +0 -0
  37. data/spec/dummy/tmp/cache/assets/test/sprockets/a8b93e1f061f64547b92633c5bde6b13 +0 -0
  38. data/spec/dummy/tmp/cache/assets/test/sprockets/abf4fd7235880434a75a35635e4fb67a +0 -0
  39. data/spec/dummy/tmp/cache/assets/test/sprockets/adae8faa21b116471ec4285998d3f3cf +0 -0
  40. data/spec/dummy/tmp/cache/assets/test/sprockets/b31d1f65a5efb5c38ea94bd1e155bd9a +0 -0
  41. data/spec/dummy/tmp/cache/assets/test/sprockets/b34daf452b8fb34e815a3b12fbc40947 +0 -0
  42. data/spec/dummy/tmp/cache/assets/test/sprockets/b3a4db4a02e8faa22904a115e87492c0 +0 -0
  43. data/spec/dummy/tmp/cache/assets/test/sprockets/b4b68a0d13e585befad55f4aa24f4388 +0 -0
  44. data/spec/dummy/tmp/cache/assets/test/sprockets/b83537e814e13cf03642ccc3d90fda13 +0 -0
  45. data/spec/dummy/tmp/cache/assets/test/sprockets/b9a1ab6fd5fd852a70849d81a5c3a8ec +0 -0
  46. data/spec/dummy/tmp/cache/assets/test/sprockets/ba0c2bad70f281871a7977b74f2d7a4c +0 -0
  47. data/spec/dummy/tmp/cache/assets/test/sprockets/bee852db0d6a53e243f6a73ce07be67a +0 -0
  48. data/spec/dummy/tmp/cache/assets/test/sprockets/c1208bf8d0e9714161d8e6ae61781efc +0 -0
  49. data/spec/dummy/tmp/cache/assets/test/sprockets/cb921e1b2d251c469a904c0284f4abcd +0 -0
  50. data/spec/dummy/tmp/cache/assets/test/sprockets/d10e06dee94ddaa562f7df319407bf18 +0 -0
  51. data/spec/dummy/tmp/cache/assets/test/sprockets/d1238ae38ca7b9522d86d67ee367223e +0 -0
  52. data/spec/dummy/tmp/cache/assets/test/sprockets/d2c2fff5893ce8979ca48bab1c6f1c3a +0 -0
  53. data/spec/dummy/tmp/cache/assets/test/sprockets/d70cdda3055dc0a1d8b8e40baa559146 +0 -0
  54. data/spec/dummy/tmp/cache/assets/test/sprockets/d8e5cf4c7c2d872d9c5be244c4f127d1 +0 -0
  55. data/spec/dummy/tmp/cache/assets/test/sprockets/d9930581c13e892e69359a33854d7af4 +0 -0
  56. data/spec/dummy/tmp/cache/assets/test/sprockets/db2af7d81565ca51539fb92284858e98 +0 -0
  57. data/spec/dummy/tmp/cache/assets/test/sprockets/de2872f03106a22a3c87792e37a5786a +0 -0
  58. data/spec/dummy/tmp/cache/assets/test/sprockets/e683e3ddff327856b35dd8e62845ca66 +0 -0
  59. data/spec/dummy/tmp/cache/assets/test/sprockets/e690be50b969c85af53e39393347f335 +0 -0
  60. data/spec/dummy/tmp/cache/assets/test/sprockets/e784991cbb1dab2f65db11cc0381b11d +0 -0
  61. data/spec/dummy/tmp/cache/assets/test/sprockets/e8fafe37de58ddbf16ebaf5cdc988320 +0 -0
  62. data/spec/dummy/tmp/cache/assets/test/sprockets/ef7e301c986a6b6c4d1fa94a2927ac4a +0 -0
  63. data/spec/dummy/tmp/cache/assets/test/sprockets/ef7f7e0d5a22d0bfd796c91094f77e51 +0 -0
  64. data/spec/dummy/tmp/cache/assets/test/sprockets/f0a75c2a6107e52634313f33b1f4063b +0 -0
  65. data/spec/dummy/tmp/cache/assets/test/sprockets/f72d17e470c42490e586b315879fbe16 +0 -0
  66. data/spec/dummy/tmp/cache/assets/test/sprockets/fa5450a1b974fa78e64d78b2a2c706a4 +0 -0
  67. data/spec/dummy/tmp/cache/assets/test/sprockets/fd4947e22c21d0d9a08b2cc26d48a46d +0 -0
  68. data/spec/dummy/tmp/cache/assets/test/sprockets/fde989841d114c97d3e7d4d0c33f055d +0 -0
  69. metadata +42 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 149f326e3911550cb5ef5cac21138f9129eaf526
4
- data.tar.gz: aae249683286ce662929eaf6334565719f5957cb
3
+ metadata.gz: 5b128b2eb034568554e540cf97bd82790c0c7fbf
4
+ data.tar.gz: f48f6d8a1e854cc216583085c57df34485075f30
5
5
  SHA512:
6
- metadata.gz: 3670fca4f1caa0f244503c7bdcc11d7154b2f30a6698e863bd4ff61a17bad28ad8ec87692083e6d2dff443d5300f7ca3a8f3f2e308ece6417e96d9ee2c199079
7
- data.tar.gz: 7994231c1257090ee029832060471dec9dd58c14f0d1b1fc6b2d87a01c05f04d1d63389971c64c9e5c2c5b7969c4f41c24d1bfa7aa95bd3b66084a77ff8da72d
6
+ metadata.gz: 27213c0cb9f6bb00251428862d87d2c7d802dac5b4044065ee0b0110dac4b4a5d376503484bebcbb4e45debfbdc793e4d66907d9ae5af25204ac86f376bb247b
7
+ data.tar.gz: f5d8af924e0ca1c76f9a5843900ed3dfddfbba3a673e10fe474591bb7d2a0f6d62dec860388e313f044f65fcd869c989fdf9bd242cef1385bcc26daba4f80ea5
@@ -25,8 +25,8 @@ module Writefully
25
25
  end
26
26
 
27
27
  def publish_resource
28
- if publish and published_at.nil?
29
- self.published_at = Time.now
28
+ if publish
29
+ self.published_at = Time.now unless published_at.present?
30
30
  else
31
31
  self.published_at = nil
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module Writefully
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end