blogg 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +5 -13
  2. data/app/assets/images/blogg/fallback/about-bg.jpg +0 -0
  3. data/app/assets/images/blogg/fallback/contact-bg.jpg +0 -0
  4. data/app/assets/images/blogg/fallback/default-image-header.jpg +0 -0
  5. data/app/assets/images/blogg/fallback/post-bg.jpg +0 -0
  6. data/app/assets/images/blogg/fallback/post-sample-image.jpg +0 -0
  7. data/app/assets/javascripts/blogg/application.js +2 -13
  8. data/app/assets/javascripts/blogg/bootstrap.js +2363 -0
  9. data/app/assets/javascripts/blogg/scripts.js.coffee +23 -0
  10. data/app/assets/stylesheets/blogg/application.sass +3 -0
  11. data/app/assets/stylesheets/blogg/bootstrap.css +6760 -0
  12. data/app/assets/stylesheets/blogg/style.sass +345 -0
  13. data/app/controllers/blogg/application_controller.rb +12 -0
  14. data/app/controllers/blogg/posts_controller.rb +21 -75
  15. data/app/helpers/blogg/application_helper.rb +29 -0
  16. data/app/models/blogg/post.rb +42 -1
  17. data/app/models/user_ability.rb +37 -0
  18. data/app/uploaders/blogg/image_uploader.rb +26 -0
  19. data/app/views/blogg/posts/_form.html.haml +46 -0
  20. data/app/views/blogg/posts/edit.html.haml +6 -0
  21. data/app/views/blogg/posts/index.html.haml +30 -0
  22. data/app/views/blogg/posts/new.html.haml +6 -0
  23. data/app/views/blogg/posts/show.html.haml +38 -0
  24. data/app/views/blogg/shared/_disqus_thread.html.haml +17 -0
  25. data/app/views/blogg/shared/_flash_messages.html.haml +5 -0
  26. data/app/views/blogg/shared/_footer.html.haml +6 -0
  27. data/app/views/blogg/shared/_header.html.haml +11 -0
  28. data/app/views/blogg/shared/_nav.html.haml +15 -0
  29. data/app/views/blogg/shared/_posted_by.html.haml +1 -0
  30. data/app/views/blogg/shared/_social.html.haml +7 -0
  31. data/app/views/layouts/blogg/application.haml +34 -0
  32. data/config/blogg/initializers/meta_tags.rb +6 -0
  33. data/config/locales/blogg.en.yml +21 -0
  34. data/config/locales/blogg.ru.yml +21 -0
  35. data/config/locales/blogg.uk.yml +21 -0
  36. data/db/migrate/20151127175927_add_author_id_to_blogg_posts.rb +5 -0
  37. data/db/migrate/20151128104131_add_subtitle_to_blogg_posts.rb +5 -0
  38. data/db/migrate/20151130232512_add_image_to_blogg_posts.rb +5 -0
  39. data/db/migrate/20151204181631_add_slug_to_blogg_post.rb +6 -0
  40. data/db/migrate/20151206194451_add_static_to_blogg_posts.rb +5 -0
  41. data/lib/blogg/engine.rb +1 -0
  42. data/lib/blogg/version.rb +1 -1
  43. data/lib/blogg.rb +40 -0
  44. metadata +229 -24
  45. data/app/assets/javascripts/blogg/posts.js +0 -2
  46. data/app/assets/stylesheets/blogg/application.css +0 -13
  47. data/app/assets/stylesheets/blogg/posts.css +0 -4
  48. data/app/assets/stylesheets/scaffold.css +0 -56
  49. data/app/views/blogg/posts/_form.html.erb +0 -25
  50. data/app/views/blogg/posts/edit.html.erb +0 -6
  51. data/app/views/blogg/posts/index.html.erb +0 -25
  52. data/app/views/blogg/posts/new.html.erb +0 -5
  53. data/app/views/blogg/posts/show.html.erb +0 -15
  54. data/app/views/layouts/blogg/application.html.erb +0 -14
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZmY0Zjc0Mzg1YTlkZDQ4YWFmODRkYzE4ODg3NWQyNzFkYTdmMWNlNw==
5
- data.tar.gz: !binary |-
6
- MmZmYTZkMDgxMDRmZmM4NGY5MzUwZDI0MzgzYTAzM2Y1MzAwYjQ4Mw==
2
+ SHA1:
3
+ metadata.gz: 3bd72dd9f00ed7137160a1f2112efc1881ebbcb8
4
+ data.tar.gz: d339b6c7fd125861ca0600828deac09db44c466a
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- ZWQ4NDZkOTNlMTJjZDM0NTExZDM3ZjgyYTM3YjY5OTBjOGRmOTA2MzFjNmQ2
10
- ZGVmNjFhMjJjZmM5ZTMxYTJmMjBhOGNkM2ExNmZkMGRhODZkY2FlZjQ1MGM4
11
- ZmVkMjk0MTg4NmQxMTEwZWRlMzYzN2E1NGMzNzFmZDc3MjVlYzQ=
12
- data.tar.gz: !binary |-
13
- MGI5MWQxMGJmZWM1NWRlZDdlMGEyOTE3ZDkxMWI5NTc1MjkzMmFhOGMwYjU3
14
- OTE1NjRlYTdhNzQwMDg4Y2JmNDdlNjdjMjFmYzhiM2FiMTNkNTE1NDU4MDNi
15
- MzEwMDc0YzJjM2E3MWVlMTAzNDNhZjdiOWJmOTI2Zjc0N2NlYzg=
6
+ metadata.gz: 6cb43bd8481c1533103ac2fcbb3fa4a7320d962265b632b64d93e758b71c017aca4c7bebefc624bd960ce39b320e0d3c7690ccff4427feb0630c262ae40951b5
7
+ data.tar.gz: d0db0b46d373a2dca142e67669f420d68a63b93d03c0f393019998ba5247882ea2b78ee6d96579e579d674009ecb913d15a884c78228900403a64be677d81f41
@@ -1,15 +1,4 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // the compiled file.
9
- //
10
- // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
11
- // GO AFTER THE REQUIRES BELOW.
12
- //
13
1
  //= require jquery
14
2
  //= require jquery_ujs
15
- //= require_tree .
3
+ //= require blogg/bootstrap
4
+ //= require blogg/scripts