blogr 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +20 -0
- data/README.md +61 -0
- data/Rakefile +21 -0
- data/app/assets/images/blogr/glyphicons-halflings-white.png +0 -0
- data/app/assets/images/blogr/glyphicons-halflings.png +0 -0
- data/app/assets/images/blogr/icons/black/add.svg +1 -0
- data/app/assets/images/blogr/icons/black/address-book-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/address-book.svg +1 -0
- data/app/assets/images/blogr/icons/black/alarm-clock.svg +1 -0
- data/app/assets/images/blogr/icons/black/align-bottom.svg +1 -0
- data/app/assets/images/blogr/icons/black/align-horizontal-centers.svg +1 -0
- data/app/assets/images/blogr/icons/black/align-left-edges.svg +1 -0
- data/app/assets/images/blogr/icons/black/align-right-edges.svg +1 -0
- data/app/assets/images/blogr/icons/black/align-top.svg +1 -0
- data/app/assets/images/blogr/icons/black/align-vertical-centers.svg +1 -0
- data/app/assets/images/blogr/icons/black/anchor.svg +1 -0
- data/app/assets/images/blogr/icons/black/arrow-down.svg +1 -0
- data/app/assets/images/blogr/icons/black/arrow-left.svg +1 -0
- data/app/assets/images/blogr/icons/black/arrow-right.svg +1 -0
- data/app/assets/images/blogr/icons/black/arrow-up.svg +1 -0
- data/app/assets/images/blogr/icons/black/asterisk.svg +1 -0
- data/app/assets/images/blogr/icons/black/attachment-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/attachment.svg +1 -0
- data/app/assets/images/blogr/icons/black/audio-high.svg +1 -0
- data/app/assets/images/blogr/icons/black/audio-low.svg +1 -0
- data/app/assets/images/blogr/icons/black/audio-mid.svg +1 -0
- data/app/assets/images/blogr/icons/black/audio-mute.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-100-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-100.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-20-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-20.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-40-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-40.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-60-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-60.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-80-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-80.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-charge-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-charge.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-empty-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/battery-empty.svg +1 -0
- data/app/assets/images/blogr/icons/black/bell-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/bell-mute-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/bell-mute.svg +1 -0
- data/app/assets/images/blogr/icons/black/bell.svg +1 -0
- data/app/assets/images/blogr/icons/black/bin-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/bin-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/bin.svg +1 -0
- data/app/assets/images/blogr/icons/black/book-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/book-lines-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/book-lines.svg +1 -0
- data/app/assets/images/blogr/icons/black/book.svg +1 -0
- data/app/assets/images/blogr/icons/black/brightness-high.svg +1 -0
- data/app/assets/images/blogr/icons/black/brightness-low.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-close-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-close.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-download-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-download.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-minimize-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-minimize.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-new-window-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-new-window.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-upload-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-upload.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-windows-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser-windows.svg +1 -0
- data/app/assets/images/blogr/icons/black/browser.svg +1 -0
- data/app/assets/images/blogr/icons/black/bulb-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/bulb.svg +1 -0
- data/app/assets/images/blogr/icons/black/bullet.svg +1 -0
- data/app/assets/images/blogr/icons/black/bullhorn-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/bullhorn.svg +1 -0
- data/app/assets/images/blogr/icons/black/calendar.svg +1 -0
- data/app/assets/images/blogr/icons/black/camera-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/camera-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/camera.svg +1 -0
- data/app/assets/images/blogr/icons/black/cassette.svg +1 -0
- data/app/assets/images/blogr/icons/black/clipboard-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/clipboard.svg +1 -0
- data/app/assets/images/blogr/icons/black/clock.svg +1 -0
- data/app/assets/images/blogr/icons/black/cloud-add-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/cloud-add.svg +1 -0
- data/app/assets/images/blogr/icons/black/cloud-download.svg +1 -0
- data/app/assets/images/blogr/icons/black/cloud-remove-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/cloud-remove.svg +1 -0
- data/app/assets/images/blogr/icons/black/cloud-upload.svg +1 -0
- data/app/assets/images/blogr/icons/black/cloud.svg +1 -0
- data/app/assets/images/blogr/icons/black/cmd.svg +1 -0
- data/app/assets/images/blogr/icons/black/code.svg +1 -0
- data/app/assets/images/blogr/icons/black/commit.svg +1 -0
- data/app/assets/images/blogr/icons/black/compass.svg +1 -0
- data/app/assets/images/blogr/icons/black/compose-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/compose-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/compose-4.svg +1 -0
- data/app/assets/images/blogr/icons/black/compose.svg +1 -0
- data/app/assets/images/blogr/icons/black/contract-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/contract-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/contract.svg +1 -0
- data/app/assets/images/blogr/icons/black/contrast.svg +1 -0
- data/app/assets/images/blogr/icons/black/converge.svg +1 -0
- data/app/assets/images/blogr/icons/black/crate.svg +1 -0
- data/app/assets/images/blogr/icons/black/credit-card-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/credit-card-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/credit-card-4.svg +1 -0
- data/app/assets/images/blogr/icons/black/credit-card.svg +1 -0
- data/app/assets/images/blogr/icons/black/crop.svg +1 -0
- data/app/assets/images/blogr/icons/black/cross.svg +1 -0
- data/app/assets/images/blogr/icons/black/curlybrace-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/curlybrace.svg +1 -0
- data/app/assets/images/blogr/icons/black/database-add.svg +1 -0
- data/app/assets/images/blogr/icons/black/database-remove.svg +1 -0
- data/app/assets/images/blogr/icons/black/database.svg +1 -0
- data/app/assets/images/blogr/icons/black/delete.svg +1 -0
- data/app/assets/images/blogr/icons/black/distribute-bottom-edges.svg +1 -0
- data/app/assets/images/blogr/icons/black/distribute-horizontal-centers.svg +1 -0
- data/app/assets/images/blogr/icons/black/distribute-left-edges.svg +1 -0
- data/app/assets/images/blogr/icons/black/distribute-right-edges.svg +1 -0
- data/app/assets/images/blogr/icons/black/distribute-top-edges.svg +1 -0
- data/app/assets/images/blogr/icons/black/distribute-vertical-centers.svg +1 -0
- data/app/assets/images/blogr/icons/black/document-add.svg +1 -0
- data/app/assets/images/blogr/icons/black/document-remove.svg +1 -0
- data/app/assets/images/blogr/icons/black/document.svg +1 -0
- data/app/assets/images/blogr/icons/black/droplet.svg +1 -0
- data/app/assets/images/blogr/icons/black/ellipsis.svg +1 -0
- data/app/assets/images/blogr/icons/black/envelope.svg +1 -0
- data/app/assets/images/blogr/icons/black/exclude.svg +1 -0
- data/app/assets/images/blogr/icons/black/expand-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/expand-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/expand.svg +1 -0
- data/app/assets/images/blogr/icons/black/eye-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/eye.svg +1 -0
- data/app/assets/images/blogr/icons/black/facebook.svg +23 -0
- data/app/assets/images/blogr/icons/black/fast-forward.svg +1 -0
- data/app/assets/images/blogr/icons/black/flag-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/flag.svg +1 -0
- data/app/assets/images/blogr/icons/black/flask-empty.svg +1 -0
- data/app/assets/images/blogr/icons/black/flask-full.svg +1 -0
- data/app/assets/images/blogr/icons/black/floppy.svg +1 -0
- data/app/assets/images/blogr/icons/black/flux.svg +1 -0
- data/app/assets/images/blogr/icons/black/folder-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/folder-add-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/folder-add.svg +1 -0
- data/app/assets/images/blogr/icons/black/folder-duplicate-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/folder-duplicate.svg +1 -0
- data/app/assets/images/blogr/icons/black/folder-remove-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/folder-remove.svg +1 -0
- data/app/assets/images/blogr/icons/black/folder.svg +1 -0
- data/app/assets/images/blogr/icons/black/fork.svg +1 -0
- data/app/assets/images/blogr/icons/black/grid-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/grid.svg +1 -0
- data/app/assets/images/blogr/icons/black/headphones.svg +1 -0
- data/app/assets/images/blogr/icons/black/heart-empty.svg +1 -0
- data/app/assets/images/blogr/icons/black/heart-full.svg +1 -0
- data/app/assets/images/blogr/icons/black/heart-half.svg +1 -0
- data/app/assets/images/blogr/icons/black/home-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/home-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/home.svg +1 -0
- data/app/assets/images/blogr/icons/black/icon0.svg +1 -0
- data/app/assets/images/blogr/icons/black/image.svg +1 -0
- data/app/assets/images/blogr/icons/black/in.svg +1 -0
- data/app/assets/images/blogr/icons/black/inbox-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/inbox.svg +1 -0
- data/app/assets/images/blogr/icons/black/infinity.svg +1 -0
- data/app/assets/images/blogr/icons/black/intersect.svg +1 -0
- data/app/assets/images/blogr/icons/black/key-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/key.svg +1 -0
- data/app/assets/images/blogr/icons/black/keys.svg +1 -0
- data/app/assets/images/blogr/icons/black/layout-column-center.svg +1 -0
- data/app/assets/images/blogr/icons/black/layout-content-left-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/layout-content-left.svg +1 -0
- data/app/assets/images/blogr/icons/black/layout-content-right-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/layout-content-right.svg +1 -0
- data/app/assets/images/blogr/icons/black/layout-sidebar-left.svg +1 -0
- data/app/assets/images/blogr/icons/black/layout-sidebar-right.svg +1 -0
- data/app/assets/images/blogr/icons/black/link-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/link.svg +1 -0
- data/app/assets/images/blogr/icons/black/list-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/list.svg +1 -0
- data/app/assets/images/blogr/icons/black/locked.svg +1 -0
- data/app/assets/images/blogr/icons/black/mail-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/mail-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/mail-4.svg +1 -0
- data/app/assets/images/blogr/icons/black/mail-incoming.svg +1 -0
- data/app/assets/images/blogr/icons/black/mail-outgoing.svg +1 -0
- data/app/assets/images/blogr/icons/black/mail.svg +1 -0
- data/app/assets/images/blogr/icons/black/map-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/map.svg +1 -0
- data/app/assets/images/blogr/icons/black/marquee-download.svg +1 -0
- data/app/assets/images/blogr/icons/black/marquee-minus.svg +1 -0
- data/app/assets/images/blogr/icons/black/marquee-plus.svg +1 -0
- data/app/assets/images/blogr/icons/black/marquee-upload.svg +1 -0
- data/app/assets/images/blogr/icons/black/marquee.svg +1 -0
- data/app/assets/images/blogr/icons/black/maximise.svg +1 -0
- data/app/assets/images/blogr/icons/black/menu-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/menu-pull-down.svg +1 -0
- data/app/assets/images/blogr/icons/black/menu-pull-up.svg +1 -0
- data/app/assets/images/blogr/icons/black/menu.svg +1 -0
- data/app/assets/images/blogr/icons/black/microphone-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/microphone.svg +1 -0
- data/app/assets/images/blogr/icons/black/minus.svg +1 -0
- data/app/assets/images/blogr/icons/black/mixer.svg +1 -0
- data/app/assets/images/blogr/icons/black/newspaper-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/newspaper.svg +1 -0
- data/app/assets/images/blogr/icons/black/next.svg +1 -0
- data/app/assets/images/blogr/icons/black/nib.svg +1 -0
- data/app/assets/images/blogr/icons/black/nope.svg +1 -0
- data/app/assets/images/blogr/icons/black/notes.svg +1 -0
- data/app/assets/images/blogr/icons/black/options.svg +1 -0
- data/app/assets/images/blogr/icons/black/out.svg +1 -0
- data/app/assets/images/blogr/icons/black/outbox-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/outbox.svg +1 -0
- data/app/assets/images/blogr/icons/black/outgoing-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/outgoing.svg +1 -0
- data/app/assets/images/blogr/icons/black/paper-ripped.svg +1 -0
- data/app/assets/images/blogr/icons/black/paper-roll-ripped.svg +1 -0
- data/app/assets/images/blogr/icons/black/paper-roll.svg +1 -0
- data/app/assets/images/blogr/icons/black/paragraph-center-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/paragraph-center.svg +1 -0
- data/app/assets/images/blogr/icons/black/paragraph-justify-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/paragraph-justify.svg +1 -0
- data/app/assets/images/blogr/icons/black/paragraph-left-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/paragraph-left.svg +1 -0
- data/app/assets/images/blogr/icons/black/paragraph-right-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/paragraph-right.svg +1 -0
- data/app/assets/images/blogr/icons/black/pause.svg +1 -0
- data/app/assets/images/blogr/icons/black/pen.svg +1 -0
- data/app/assets/images/blogr/icons/black/pencil.svg +1 -0
- data/app/assets/images/blogr/icons/black/pin-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/pin.svg +1 -0
- data/app/assets/images/blogr/icons/black/play.svg +1 -0
- data/app/assets/images/blogr/icons/black/plus.svg +1 -0
- data/app/assets/images/blogr/icons/black/podcast-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/podcast.svg +1 -0
- data/app/assets/images/blogr/icons/black/polaroid-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/polaroid.svg +1 -0
- data/app/assets/images/blogr/icons/black/power.svg +1 -0
- data/app/assets/images/blogr/icons/black/previous.svg +1 -0
- data/app/assets/images/blogr/icons/black/print.svg +1 -0
- data/app/assets/images/blogr/icons/black/pull.svg +1 -0
- data/app/assets/images/blogr/icons/black/quill-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/quill.svg +1 -0
- data/app/assets/images/blogr/icons/black/refresh.svg +1 -0
- data/app/assets/images/blogr/icons/black/reminder.svg +1 -0
- data/app/assets/images/blogr/icons/black/remove.svg +1 -0
- data/app/assets/images/blogr/icons/black/repeat-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/repeat.svg +1 -0
- data/app/assets/images/blogr/icons/black/reply-all.svg +1 -0
- data/app/assets/images/blogr/icons/black/reply.svg +1 -0
- data/app/assets/images/blogr/icons/black/return.svg +1 -0
- data/app/assets/images/blogr/icons/black/revert.svg +1 -0
- data/app/assets/images/blogr/icons/black/rewind.svg +1 -0
- data/app/assets/images/blogr/icons/black/rulers.svg +1 -0
- data/app/assets/images/blogr/icons/black/safe.svg +1 -0
- data/app/assets/images/blogr/icons/black/search-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/search.svg +1 -0
- data/app/assets/images/blogr/icons/black/section.svg +1 -0
- data/app/assets/images/blogr/icons/black/settings-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/settings-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/settings-4.svg +1 -0
- data/app/assets/images/blogr/icons/black/settings.svg +1 -0
- data/app/assets/images/blogr/icons/black/shred.svg +1 -0
- data/app/assets/images/blogr/icons/black/shuffle.svg +1 -0
- data/app/assets/images/blogr/icons/black/sleep.svg +1 -0
- data/app/assets/images/blogr/icons/black/spam-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/spam.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-center-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-center-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-center.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-left-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-left-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-left-4.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-left.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-right-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-right-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-right-4.svg +1 -0
- data/app/assets/images/blogr/icons/black/speech-bubble-right.svg +1 -0
- data/app/assets/images/blogr/icons/black/spinner-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/spinner-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/spinner.svg +1 -0
- data/app/assets/images/blogr/icons/black/split-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/split.svg +1 -0
- data/app/assets/images/blogr/icons/black/spool.svg +1 -0
- data/app/assets/images/blogr/icons/black/square-brackets.svg +1 -0
- data/app/assets/images/blogr/icons/black/stamp-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/stamp.svg +1 -0
- data/app/assets/images/blogr/icons/black/star-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/star.svg +1 -0
- data/app/assets/images/blogr/icons/black/stiffy.svg +1 -0
- data/app/assets/images/blogr/icons/black/stop.svg +1 -0
- data/app/assets/images/blogr/icons/black/stopwatch.svg +1 -0
- data/app/assets/images/blogr/icons/black/store-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/store.svg +1 -0
- data/app/assets/images/blogr/icons/black/subtract.svg +1 -0
- data/app/assets/images/blogr/icons/black/support-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/support-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/support.svg +1 -0
- data/app/assets/images/blogr/icons/black/swap-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/swap.svg +1 -0
- data/app/assets/images/blogr/icons/black/swatch.svg +1 -0
- data/app/assets/images/blogr/icons/black/swatches.svg +1 -0
- data/app/assets/images/blogr/icons/black/switch-off.svg +1 -0
- data/app/assets/images/blogr/icons/black/switch-on.svg +1 -0
- data/app/assets/images/blogr/icons/black/tag-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/tag-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/tag-4.svg +1 -0
- data/app/assets/images/blogr/icons/black/tag.svg +1 -0
- data/app/assets/images/blogr/icons/black/terminal-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/terminal-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/terminal.svg +1 -0
- data/app/assets/images/blogr/icons/black/tick.svg +1 -0
- data/app/assets/images/blogr/icons/black/tilde.svg +1 -0
- data/app/assets/images/blogr/icons/black/timeline.svg +1 -0
- data/app/assets/images/blogr/icons/black/toggle-off.svg +1 -0
- data/app/assets/images/blogr/icons/black/toggle-on.svg +1 -0
- data/app/assets/images/blogr/icons/black/transfer.svg +1 -0
- data/app/assets/images/blogr/icons/black/tray.svg +1 -0
- data/app/assets/images/blogr/icons/black/twitter.svg +27 -0
- data/app/assets/images/blogr/icons/black/unite.svg +1 -0
- data/app/assets/images/blogr/icons/black/unlocked.svg +1 -0
- data/app/assets/images/blogr/icons/black/unwatch.svg +1 -0
- data/app/assets/images/blogr/icons/black/user-2-add.svg +1 -0
- data/app/assets/images/blogr/icons/black/user-2-remove.svg +1 -0
- data/app/assets/images/blogr/icons/black/user-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/user-3.svg +1 -0
- data/app/assets/images/blogr/icons/black/user-4-add.svg +1 -0
- data/app/assets/images/blogr/icons/black/user-4-remove.svg +1 -0
- data/app/assets/images/blogr/icons/black/user-4.svg +1 -0
- data/app/assets/images/blogr/icons/black/user-card.svg +1 -0
- data/app/assets/images/blogr/icons/black/user.svg +1 -0
- data/app/assets/images/blogr/icons/black/users.svg +1 -0
- data/app/assets/images/blogr/icons/black/video-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/video.svg +1 -0
- data/app/assets/images/blogr/icons/black/vinyl.svg +1 -0
- data/app/assets/images/blogr/icons/black/voicemail.svg +1 -0
- data/app/assets/images/blogr/icons/black/wallet-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/wallet.svg +1 -0
- data/app/assets/images/blogr/icons/black/watch-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/watch.svg +1 -0
- data/app/assets/images/blogr/icons/black/wave-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/wave.svg +1 -0
- data/app/assets/images/blogr/icons/black/wifi-high.svg +1 -0
- data/app/assets/images/blogr/icons/black/wifi-low.svg +1 -0
- data/app/assets/images/blogr/icons/black/wifi-mid.svg +1 -0
- data/app/assets/images/blogr/icons/black/wiggle.svg +1 -0
- data/app/assets/images/blogr/icons/black/windows.svg +1 -0
- data/app/assets/images/blogr/icons/black/zoom-in-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/zoom-in.svg +1 -0
- data/app/assets/images/blogr/icons/black/zoom-out-2.svg +1 -0
- data/app/assets/images/blogr/icons/black/zoom-out.svg +1 -0
- data/app/assets/images/blogr/icons/white/add.svg +1 -0
- data/app/assets/images/blogr/icons/white/address-book-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/address-book.svg +1 -0
- data/app/assets/images/blogr/icons/white/alarm-clock.svg +1 -0
- data/app/assets/images/blogr/icons/white/align-bottom.svg +1 -0
- data/app/assets/images/blogr/icons/white/align-horizontal-centers.svg +1 -0
- data/app/assets/images/blogr/icons/white/align-left-edges.svg +1 -0
- data/app/assets/images/blogr/icons/white/align-right-edges.svg +1 -0
- data/app/assets/images/blogr/icons/white/align-top.svg +1 -0
- data/app/assets/images/blogr/icons/white/align-vertical-centers.svg +1 -0
- data/app/assets/images/blogr/icons/white/anchor.svg +1 -0
- data/app/assets/images/blogr/icons/white/arrow-down.svg +1 -0
- data/app/assets/images/blogr/icons/white/arrow-left.svg +1 -0
- data/app/assets/images/blogr/icons/white/arrow-right.svg +1 -0
- data/app/assets/images/blogr/icons/white/arrow-up.svg +1 -0
- data/app/assets/images/blogr/icons/white/asterisk.svg +1 -0
- data/app/assets/images/blogr/icons/white/attachment-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/attachment.svg +1 -0
- data/app/assets/images/blogr/icons/white/audio-high.svg +1 -0
- data/app/assets/images/blogr/icons/white/audio-low.svg +1 -0
- data/app/assets/images/blogr/icons/white/audio-mid.svg +1 -0
- data/app/assets/images/blogr/icons/white/audio-mute.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-100-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-100.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-20-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-20.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-40-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-40.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-60-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-60.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-80-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-80.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-charge-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-charge.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-empty-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/battery-empty.svg +1 -0
- data/app/assets/images/blogr/icons/white/bell-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/bell-mute-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/bell-mute.svg +1 -0
- data/app/assets/images/blogr/icons/white/bell.svg +1 -0
- data/app/assets/images/blogr/icons/white/bin-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/bin-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/bin.svg +1 -0
- data/app/assets/images/blogr/icons/white/book-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/book-lines-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/book-lines.svg +1 -0
- data/app/assets/images/blogr/icons/white/book.svg +1 -0
- data/app/assets/images/blogr/icons/white/brightness-high.svg +1 -0
- data/app/assets/images/blogr/icons/white/brightness-low.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-close-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-close.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-download-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-download.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-minimize-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-minimize.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-new-window-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-new-window.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-upload-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-upload.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-windows-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser-windows.svg +1 -0
- data/app/assets/images/blogr/icons/white/browser.svg +1 -0
- data/app/assets/images/blogr/icons/white/bulb-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/bulb.svg +1 -0
- data/app/assets/images/blogr/icons/white/bullet.svg +1 -0
- data/app/assets/images/blogr/icons/white/bullhorn-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/bullhorn.svg +1 -0
- data/app/assets/images/blogr/icons/white/calendar.svg +1 -0
- data/app/assets/images/blogr/icons/white/camera-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/camera-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/camera.svg +1 -0
- data/app/assets/images/blogr/icons/white/cassette.svg +1 -0
- data/app/assets/images/blogr/icons/white/clipboard-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/clipboard.svg +1 -0
- data/app/assets/images/blogr/icons/white/clock.svg +1 -0
- data/app/assets/images/blogr/icons/white/cloud-add-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/cloud-add.svg +1 -0
- data/app/assets/images/blogr/icons/white/cloud-download.svg +1 -0
- data/app/assets/images/blogr/icons/white/cloud-remove-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/cloud-remove.svg +1 -0
- data/app/assets/images/blogr/icons/white/cloud-upload.svg +1 -0
- data/app/assets/images/blogr/icons/white/cloud.svg +1 -0
- data/app/assets/images/blogr/icons/white/cmd.svg +1 -0
- data/app/assets/images/blogr/icons/white/code.svg +1 -0
- data/app/assets/images/blogr/icons/white/commit.svg +1 -0
- data/app/assets/images/blogr/icons/white/compass.svg +1 -0
- data/app/assets/images/blogr/icons/white/compose-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/compose-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/compose-4.svg +1 -0
- data/app/assets/images/blogr/icons/white/compose.svg +1 -0
- data/app/assets/images/blogr/icons/white/contract-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/contract-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/contract.svg +1 -0
- data/app/assets/images/blogr/icons/white/contrast.svg +1 -0
- data/app/assets/images/blogr/icons/white/converge.svg +1 -0
- data/app/assets/images/blogr/icons/white/crate.svg +1 -0
- data/app/assets/images/blogr/icons/white/credit-card-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/credit-card-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/credit-card-4.svg +1 -0
- data/app/assets/images/blogr/icons/white/credit-card.svg +1 -0
- data/app/assets/images/blogr/icons/white/crop.svg +1 -0
- data/app/assets/images/blogr/icons/white/cross.svg +1 -0
- data/app/assets/images/blogr/icons/white/curlybrace-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/curlybrace.svg +1 -0
- data/app/assets/images/blogr/icons/white/database-add.svg +1 -0
- data/app/assets/images/blogr/icons/white/database-remove.svg +1 -0
- data/app/assets/images/blogr/icons/white/database.svg +1 -0
- data/app/assets/images/blogr/icons/white/delete.svg +1 -0
- data/app/assets/images/blogr/icons/white/distribute-bottom-edges.svg +1 -0
- data/app/assets/images/blogr/icons/white/distribute-horizontal-centers.svg +1 -0
- data/app/assets/images/blogr/icons/white/distribute-left-edges.svg +1 -0
- data/app/assets/images/blogr/icons/white/distribute-right-edges.svg +1 -0
- data/app/assets/images/blogr/icons/white/distribute-top-edges.svg +1 -0
- data/app/assets/images/blogr/icons/white/distribute-vertical-centers.svg +1 -0
- data/app/assets/images/blogr/icons/white/document-add.svg +1 -0
- data/app/assets/images/blogr/icons/white/document-remove.svg +1 -0
- data/app/assets/images/blogr/icons/white/document.svg +1 -0
- data/app/assets/images/blogr/icons/white/droplet.svg +1 -0
- data/app/assets/images/blogr/icons/white/ellipsis.svg +1 -0
- data/app/assets/images/blogr/icons/white/envelope.svg +1 -0
- data/app/assets/images/blogr/icons/white/exclude.svg +1 -0
- data/app/assets/images/blogr/icons/white/expand-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/expand-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/expand.svg +1 -0
- data/app/assets/images/blogr/icons/white/eye-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/eye.svg +1 -0
- data/app/assets/images/blogr/icons/white/fast-forward.svg +1 -0
- data/app/assets/images/blogr/icons/white/flag-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/flag.svg +1 -0
- data/app/assets/images/blogr/icons/white/flask-empty.svg +1 -0
- data/app/assets/images/blogr/icons/white/flask-full.svg +1 -0
- data/app/assets/images/blogr/icons/white/floppy.svg +1 -0
- data/app/assets/images/blogr/icons/white/flux.svg +1 -0
- data/app/assets/images/blogr/icons/white/folder-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/folder-add-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/folder-add.svg +1 -0
- data/app/assets/images/blogr/icons/white/folder-duplicate-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/folder-duplicate.svg +1 -0
- data/app/assets/images/blogr/icons/white/folder-remove-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/folder-remove.svg +1 -0
- data/app/assets/images/blogr/icons/white/folder.svg +1 -0
- data/app/assets/images/blogr/icons/white/fork.svg +1 -0
- data/app/assets/images/blogr/icons/white/grid-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/grid.svg +1 -0
- data/app/assets/images/blogr/icons/white/headphones.svg +1 -0
- data/app/assets/images/blogr/icons/white/heart-empty.svg +1 -0
- data/app/assets/images/blogr/icons/white/heart-full.svg +1 -0
- data/app/assets/images/blogr/icons/white/heart-half.svg +1 -0
- data/app/assets/images/blogr/icons/white/home-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/home-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/home.svg +1 -0
- data/app/assets/images/blogr/icons/white/icon0.svg +1 -0
- data/app/assets/images/blogr/icons/white/image.svg +1 -0
- data/app/assets/images/blogr/icons/white/in.svg +1 -0
- data/app/assets/images/blogr/icons/white/inbox-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/inbox.svg +1 -0
- data/app/assets/images/blogr/icons/white/infinity.svg +1 -0
- data/app/assets/images/blogr/icons/white/intersect.svg +1 -0
- data/app/assets/images/blogr/icons/white/key-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/key.svg +1 -0
- data/app/assets/images/blogr/icons/white/keys.svg +1 -0
- data/app/assets/images/blogr/icons/white/layout-column-center.svg +1 -0
- data/app/assets/images/blogr/icons/white/layout-content-left-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/layout-content-left.svg +1 -0
- data/app/assets/images/blogr/icons/white/layout-content-right-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/layout-content-right.svg +1 -0
- data/app/assets/images/blogr/icons/white/layout-sidebar-left.svg +1 -0
- data/app/assets/images/blogr/icons/white/layout-sidebar-right.svg +1 -0
- data/app/assets/images/blogr/icons/white/link-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/link.svg +1 -0
- data/app/assets/images/blogr/icons/white/list-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/list.svg +1 -0
- data/app/assets/images/blogr/icons/white/locked.svg +1 -0
- data/app/assets/images/blogr/icons/white/mail-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/mail-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/mail-4.svg +1 -0
- data/app/assets/images/blogr/icons/white/mail-incoming.svg +1 -0
- data/app/assets/images/blogr/icons/white/mail-outgoing.svg +1 -0
- data/app/assets/images/blogr/icons/white/mail.svg +1 -0
- data/app/assets/images/blogr/icons/white/map-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/map.svg +1 -0
- data/app/assets/images/blogr/icons/white/marquee-download.svg +1 -0
- data/app/assets/images/blogr/icons/white/marquee-minus.svg +1 -0
- data/app/assets/images/blogr/icons/white/marquee-plus.svg +1 -0
- data/app/assets/images/blogr/icons/white/marquee-upload.svg +1 -0
- data/app/assets/images/blogr/icons/white/marquee.svg +1 -0
- data/app/assets/images/blogr/icons/white/maximise.svg +1 -0
- data/app/assets/images/blogr/icons/white/menu-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/menu-pull-down.svg +1 -0
- data/app/assets/images/blogr/icons/white/menu-pull-up.svg +1 -0
- data/app/assets/images/blogr/icons/white/menu.svg +1 -0
- data/app/assets/images/blogr/icons/white/microphone-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/microphone.svg +1 -0
- data/app/assets/images/blogr/icons/white/minus.svg +1 -0
- data/app/assets/images/blogr/icons/white/mixer.svg +1 -0
- data/app/assets/images/blogr/icons/white/newspaper-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/newspaper.svg +1 -0
- data/app/assets/images/blogr/icons/white/next.svg +1 -0
- data/app/assets/images/blogr/icons/white/nib.svg +1 -0
- data/app/assets/images/blogr/icons/white/nope.svg +1 -0
- data/app/assets/images/blogr/icons/white/notes.svg +1 -0
- data/app/assets/images/blogr/icons/white/options.svg +1 -0
- data/app/assets/images/blogr/icons/white/out.svg +1 -0
- data/app/assets/images/blogr/icons/white/outbox-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/outbox.svg +1 -0
- data/app/assets/images/blogr/icons/white/outgoing-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/outgoing.svg +1 -0
- data/app/assets/images/blogr/icons/white/paper-ripped.svg +1 -0
- data/app/assets/images/blogr/icons/white/paper-roll-ripped.svg +1 -0
- data/app/assets/images/blogr/icons/white/paper-roll.svg +1 -0
- data/app/assets/images/blogr/icons/white/paragraph-center-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/paragraph-center.svg +1 -0
- data/app/assets/images/blogr/icons/white/paragraph-justify-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/paragraph-justify.svg +1 -0
- data/app/assets/images/blogr/icons/white/paragraph-left-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/paragraph-left.svg +1 -0
- data/app/assets/images/blogr/icons/white/paragraph-right-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/paragraph-right.svg +1 -0
- data/app/assets/images/blogr/icons/white/pause.svg +1 -0
- data/app/assets/images/blogr/icons/white/pen.svg +1 -0
- data/app/assets/images/blogr/icons/white/pencil.svg +1 -0
- data/app/assets/images/blogr/icons/white/pin-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/pin.svg +1 -0
- data/app/assets/images/blogr/icons/white/play.svg +1 -0
- data/app/assets/images/blogr/icons/white/plus.svg +1 -0
- data/app/assets/images/blogr/icons/white/podcast-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/podcast.svg +1 -0
- data/app/assets/images/blogr/icons/white/polaroid-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/polaroid.svg +1 -0
- data/app/assets/images/blogr/icons/white/power.svg +1 -0
- data/app/assets/images/blogr/icons/white/previous.svg +1 -0
- data/app/assets/images/blogr/icons/white/print.svg +1 -0
- data/app/assets/images/blogr/icons/white/pull.svg +1 -0
- data/app/assets/images/blogr/icons/white/quill-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/quill.svg +1 -0
- data/app/assets/images/blogr/icons/white/refresh.svg +1 -0
- data/app/assets/images/blogr/icons/white/reminder.svg +1 -0
- data/app/assets/images/blogr/icons/white/remove.svg +1 -0
- data/app/assets/images/blogr/icons/white/repeat-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/repeat.svg +1 -0
- data/app/assets/images/blogr/icons/white/reply-all.svg +1 -0
- data/app/assets/images/blogr/icons/white/reply.svg +1 -0
- data/app/assets/images/blogr/icons/white/return.svg +1 -0
- data/app/assets/images/blogr/icons/white/revert.svg +1 -0
- data/app/assets/images/blogr/icons/white/rewind.svg +1 -0
- data/app/assets/images/blogr/icons/white/rulers.svg +1 -0
- data/app/assets/images/blogr/icons/white/safe.svg +1 -0
- data/app/assets/images/blogr/icons/white/search-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/search.svg +1 -0
- data/app/assets/images/blogr/icons/white/section.svg +1 -0
- data/app/assets/images/blogr/icons/white/settings-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/settings-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/settings-4.svg +1 -0
- data/app/assets/images/blogr/icons/white/settings.svg +1 -0
- data/app/assets/images/blogr/icons/white/shred.svg +1 -0
- data/app/assets/images/blogr/icons/white/shuffle.svg +1 -0
- data/app/assets/images/blogr/icons/white/sleep.svg +1 -0
- data/app/assets/images/blogr/icons/white/spam-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/spam.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-center-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-center-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-center.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-left-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-left-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-left-4.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-left.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-right-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-right-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-right-4.svg +1 -0
- data/app/assets/images/blogr/icons/white/speech-bubble-right.svg +1 -0
- data/app/assets/images/blogr/icons/white/spinner-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/spinner-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/spinner.svg +1 -0
- data/app/assets/images/blogr/icons/white/split-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/split.svg +1 -0
- data/app/assets/images/blogr/icons/white/spool.svg +1 -0
- data/app/assets/images/blogr/icons/white/square-brackets.svg +1 -0
- data/app/assets/images/blogr/icons/white/stamp-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/stamp.svg +1 -0
- data/app/assets/images/blogr/icons/white/star-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/star.svg +1 -0
- data/app/assets/images/blogr/icons/white/stiffy.svg +1 -0
- data/app/assets/images/blogr/icons/white/stop.svg +1 -0
- data/app/assets/images/blogr/icons/white/stopwatch.svg +1 -0
- data/app/assets/images/blogr/icons/white/store-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/store.svg +1 -0
- data/app/assets/images/blogr/icons/white/subtract.svg +1 -0
- data/app/assets/images/blogr/icons/white/support-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/support-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/support.svg +1 -0
- data/app/assets/images/blogr/icons/white/swap-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/swap.svg +1 -0
- data/app/assets/images/blogr/icons/white/swatch.svg +1 -0
- data/app/assets/images/blogr/icons/white/swatches.svg +1 -0
- data/app/assets/images/blogr/icons/white/switch-off.svg +1 -0
- data/app/assets/images/blogr/icons/white/switch-on.svg +1 -0
- data/app/assets/images/blogr/icons/white/tag-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/tag-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/tag-4.svg +1 -0
- data/app/assets/images/blogr/icons/white/tag.svg +1 -0
- data/app/assets/images/blogr/icons/white/terminal-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/terminal-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/terminal.svg +1 -0
- data/app/assets/images/blogr/icons/white/tick.svg +1 -0
- data/app/assets/images/blogr/icons/white/tilde.svg +1 -0
- data/app/assets/images/blogr/icons/white/timeline.svg +1 -0
- data/app/assets/images/blogr/icons/white/toggle-off.svg +1 -0
- data/app/assets/images/blogr/icons/white/toggle-on.svg +1 -0
- data/app/assets/images/blogr/icons/white/transfer.svg +1 -0
- data/app/assets/images/blogr/icons/white/tray.svg +1 -0
- data/app/assets/images/blogr/icons/white/twitter.svg +27 -0
- data/app/assets/images/blogr/icons/white/unite.svg +1 -0
- data/app/assets/images/blogr/icons/white/unlocked.svg +1 -0
- data/app/assets/images/blogr/icons/white/unwatch.svg +1 -0
- data/app/assets/images/blogr/icons/white/user-2-add.svg +1 -0
- data/app/assets/images/blogr/icons/white/user-2-remove.svg +1 -0
- data/app/assets/images/blogr/icons/white/user-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/user-3.svg +1 -0
- data/app/assets/images/blogr/icons/white/user-4-add.svg +1 -0
- data/app/assets/images/blogr/icons/white/user-4-remove.svg +1 -0
- data/app/assets/images/blogr/icons/white/user-4.svg +1 -0
- data/app/assets/images/blogr/icons/white/user-card.svg +1 -0
- data/app/assets/images/blogr/icons/white/user.svg +1 -0
- data/app/assets/images/blogr/icons/white/users.svg +1 -0
- data/app/assets/images/blogr/icons/white/video-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/video.svg +1 -0
- data/app/assets/images/blogr/icons/white/vinyl.svg +1 -0
- data/app/assets/images/blogr/icons/white/voicemail.svg +1 -0
- data/app/assets/images/blogr/icons/white/wallet-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/wallet.svg +1 -0
- data/app/assets/images/blogr/icons/white/watch-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/watch.svg +1 -0
- data/app/assets/images/blogr/icons/white/wave-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/wave.svg +1 -0
- data/app/assets/images/blogr/icons/white/wifi-high.svg +1 -0
- data/app/assets/images/blogr/icons/white/wifi-low.svg +1 -0
- data/app/assets/images/blogr/icons/white/wifi-mid.svg +1 -0
- data/app/assets/images/blogr/icons/white/wiggle.svg +1 -0
- data/app/assets/images/blogr/icons/white/windows.svg +1 -0
- data/app/assets/images/blogr/icons/white/zoom-in-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/zoom-in.svg +1 -0
- data/app/assets/images/blogr/icons/white/zoom-out-2.svg +1 -0
- data/app/assets/images/blogr/icons/white/zoom-out.svg +1 -0
- data/app/assets/images/blogr/logo.png +0 -0
- data/app/assets/javascripts/blogr/application.js +29 -0
- data/app/assets/javascripts/blogr/bootstrap.min.js +11 -0
- data/app/assets/javascripts/blogr/posts.coffee +33 -0
- data/app/assets/javascripts/blogr/sessions.js +2 -0
- data/app/assets/javascripts/blogr/tags.js +2 -0
- data/app/assets/stylesheets/blogr/app.sass +104 -0
- data/app/assets/stylesheets/blogr/application.css.scss +19 -0
- data/app/assets/stylesheets/blogr/bootstrap.min.css +845 -0
- data/app/assets/stylesheets/blogr/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/stylesheets/blogr/fonts/glyphicons-halflings-regular.svg +228 -0
- data/app/assets/stylesheets/blogr/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/stylesheets/blogr/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/stylesheets/blogr/login.sass +37 -0
- data/app/assets/stylesheets/blogr/pygments.css.erb +1 -0
- data/app/assets/stylesheets/blogr/sessions.css +4 -0
- data/app/controllers/blogr/application_controller.rb +27 -0
- data/app/controllers/blogr/categories_controller.rb +59 -0
- data/app/controllers/blogr/comments_controller.rb +60 -0
- data/app/controllers/blogr/dashboard_controller.rb +9 -0
- data/app/controllers/blogr/posts_controller.rb +69 -0
- data/app/controllers/blogr/sessions_controller.rb +41 -0
- data/app/controllers/blogr/tags_controller.rb +60 -0
- data/app/controllers/blogr/users_controller.rb +56 -0
- data/app/helpers/blogr/application_helper.rb +4 -0
- data/app/helpers/blogr/posts_helper.rb +39 -0
- data/app/helpers/blogr/sessions_helper.rb +4 -0
- data/app/helpers/blogr/tags_helper.rb +4 -0
- data/app/helpers/blogr/user_helper.rb +16 -0
- data/app/models/blogr/categories_post.rb +5 -0
- data/app/models/blogr/category.rb +16 -0
- data/app/models/blogr/comment.rb +10 -0
- data/app/models/blogr/image.rb +11 -0
- data/app/models/blogr/post.rb +60 -0
- data/app/models/blogr/tag.rb +14 -0
- data/app/models/blogr/tagging.rb +8 -0
- data/app/models/blogr/user.rb +14 -0
- data/app/views/blogr/categories/_form.html.haml +18 -0
- data/app/views/blogr/categories/edit.html.haml +1 -0
- data/app/views/blogr/categories/index.html.haml +13 -0
- data/app/views/blogr/categories/new.html.haml +1 -0
- data/app/views/blogr/categories/show.html.haml +7 -0
- data/app/views/blogr/comments/_form.html.haml +0 -0
- data/app/views/blogr/comments/edit.html.haml +1 -0
- data/app/views/blogr/comments/index.html.haml +16 -0
- data/app/views/blogr/comments/new.html.haml +1 -0
- data/app/views/blogr/comments/show.html.haml +18 -0
- data/app/views/blogr/dashboard/index.html.haml +0 -0
- data/app/views/blogr/posts/_form.html.haml +45 -0
- data/app/views/blogr/posts/_post.html.haml +1 -0
- data/app/views/blogr/posts/edit.html.haml +5 -0
- data/app/views/blogr/posts/index.html.haml +15 -0
- data/app/views/blogr/posts/new.html.haml +1 -0
- data/app/views/blogr/posts/show.html.haml +4 -0
- data/app/views/blogr/sessions/new.html.haml +8 -0
- data/app/views/blogr/shared/_messages.html.haml +7 -0
- data/app/views/blogr/tags/_form.html.haml +14 -0
- data/app/views/blogr/tags/edit.html.haml +1 -0
- data/app/views/blogr/tags/index.html.haml +11 -0
- data/app/views/blogr/tags/new.html.haml +1 -0
- data/app/views/blogr/tags/show.html.haml +3 -0
- data/app/views/blogr/users/_form.html.haml +36 -0
- data/app/views/blogr/users/edit.html.haml +4 -0
- data/app/views/blogr/users/index.html.haml +15 -0
- data/app/views/blogr/users/new.html.haml +1 -0
- data/app/views/layouts/blogr/application.html.haml +45 -0
- data/app/views/layouts/blogr/login.html.haml +15 -0
- data/config/blogr.example.rb +5 -0
- data/config/routes.rb +19 -0
- data/db/migrate/20131016225633_create_blogr_posts.rb +13 -0
- data/db/migrate/20131018222932_create_blogr_images.rb +11 -0
- data/db/migrate/20131102201151_create_blogr_categories.rb +10 -0
- data/db/migrate/20131103162801_add_category_id_to_blogr_posts.rb +5 -0
- data/db/migrate/20131105160648_add_permalink_to_blogr_categories.rb +5 -0
- data/db/migrate/20131105161135_create_blogr_tags.rb +10 -0
- data/db/migrate/20131105161209_create_blogr_taggings.rb +10 -0
- data/db/migrate/20131120191219_create_blogr_users.rb +13 -0
- data/db/migrate/20131204185931_create_blogr_comments.rb +13 -0
- data/db/migrate/20131207215104_add_user_id_to_blogr_posts.rb +5 -0
- data/db/seeds.rb +16 -0
- data/lib/blogr.rb +15 -0
- data/lib/blogr/configuration.rb +22 -0
- data/lib/blogr/engine.rb +33 -0
- data/lib/blogr/import.rb +54 -0
- data/lib/blogr/setup_generator.rb +23 -0
- data/lib/blogr/version.rb +3 -0
- data/lib/tasks/blogr.rake +16 -0
- data/lib/tasks/simpleblog_tasks.rake +37 -0
- data/spec/controllers/blogr/posts_controller_spec.rb +0 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +8 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/db/schema.rb +88 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +286 -0
- data/spec/dummy/log/test.log +2662 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/blogr_categories.rb +8 -0
- data/spec/factories/blogr_categories_posts.rb +8 -0
- data/spec/factories/blogr_comments.rb +11 -0
- data/spec/factories/blogr_posts.rb +13 -0
- data/spec/factories/blogr_users.rb +12 -0
- data/spec/models/blogr/category_spec.rb +23 -0
- data/spec/models/blogr/comment_spec.rb +17 -0
- data/spec/models/blogr/post_spec.rb +161 -0
- data/spec/models/blogr/user_spec.rb +33 -0
- data/spec/spec_helper.rb +65 -0
- metadata +1170 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
require_dependency "blogr/application_controller"
|
2
|
+
|
3
|
+
module Blogr
|
4
|
+
class SessionsController < ApplicationController
|
5
|
+
|
6
|
+
layout "blogr/login"
|
7
|
+
|
8
|
+
before_filter :authorize, except: [:new, :create]
|
9
|
+
|
10
|
+
def index
|
11
|
+
redirect_to login_path
|
12
|
+
end
|
13
|
+
|
14
|
+
def new
|
15
|
+
if current_blogr_user
|
16
|
+
redirect_to root_path
|
17
|
+
flash[:error] = "You are already logged in"
|
18
|
+
end
|
19
|
+
|
20
|
+
@title = "Login"
|
21
|
+
session[:return_to] = params[:return_to] if params[:return_to]
|
22
|
+
end
|
23
|
+
|
24
|
+
def create
|
25
|
+
user = User.find_by_username(params[:username]) || User.find_by_email(params[:username])
|
26
|
+
if user && user.authenticate(params[:password])
|
27
|
+
session[:user_id] = user.id
|
28
|
+
redirect_to root_path, notice: "Welcome back #{user.first_name}, time to get blogging!"
|
29
|
+
else
|
30
|
+
flash[:error] = "Username or password is invalid"
|
31
|
+
render "new"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def destroy
|
36
|
+
session[:user_id] = nil
|
37
|
+
redirect_to login_path, :notice => "Logged out!"
|
38
|
+
end
|
39
|
+
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
require_dependency "blogr/application_controller"
|
2
|
+
|
3
|
+
module Blogr
|
4
|
+
class TagsController < ApplicationController
|
5
|
+
|
6
|
+
before_action :set_tag, only: [:show, :edit, :update, :destroy]
|
7
|
+
|
8
|
+
def index
|
9
|
+
@tags = Tag.all
|
10
|
+
@title = "Tags"
|
11
|
+
end
|
12
|
+
|
13
|
+
def show
|
14
|
+
@title = @tag.name
|
15
|
+
end
|
16
|
+
|
17
|
+
def new
|
18
|
+
@tag = Tag.new
|
19
|
+
@title = "New Tag"
|
20
|
+
end
|
21
|
+
|
22
|
+
def edit
|
23
|
+
@title = "Editing '#{@tag.name}'"
|
24
|
+
end
|
25
|
+
|
26
|
+
def create
|
27
|
+
@tag = Tag.new(tag_params)
|
28
|
+
|
29
|
+
if @tag.save
|
30
|
+
redirect_to tags_path, notice: 'Tag was successfully created.'
|
31
|
+
else
|
32
|
+
render action: 'new'
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
def update
|
37
|
+
if @tag.update(tag_params)
|
38
|
+
redirect_to tags_path, notice: 'Tag was successfully updated.'
|
39
|
+
else
|
40
|
+
render action: 'edit'
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def destroy
|
45
|
+
@tag.destroy
|
46
|
+
redirect_to categories_url, notice: 'Tag was successfully destroyed.'
|
47
|
+
end
|
48
|
+
|
49
|
+
private
|
50
|
+
# Use callbacks to share common setup or constraints between actions.
|
51
|
+
def set_tag
|
52
|
+
@tag = Tag.find_by(permalink: params[:id])
|
53
|
+
end
|
54
|
+
|
55
|
+
def tag_params
|
56
|
+
params.require(:tag).permit(:name, :permalink)
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
require_dependency "blogr/application_controller"
|
2
|
+
|
3
|
+
module Blogr
|
4
|
+
class UsersController < ApplicationController
|
5
|
+
|
6
|
+
before_action :set_user, only: [:edit, :update, :destroy]
|
7
|
+
|
8
|
+
def index
|
9
|
+
@title = "Users"
|
10
|
+
@users = Blogr::User.all
|
11
|
+
end
|
12
|
+
|
13
|
+
def new
|
14
|
+
@title = "New User"
|
15
|
+
@user = User.new
|
16
|
+
end
|
17
|
+
|
18
|
+
def edit
|
19
|
+
@title = "Editing '#{@user.username}'"
|
20
|
+
end
|
21
|
+
|
22
|
+
def create
|
23
|
+
@user = User.new(user_params)
|
24
|
+
|
25
|
+
if @user.save
|
26
|
+
redirect_to users_path, notice: "User was successfully created"
|
27
|
+
else
|
28
|
+
render action: "new"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def update
|
33
|
+
if @user.update(user_params)
|
34
|
+
redirect_to users_path, notice: "User was successfully updated"
|
35
|
+
else
|
36
|
+
render action: "edit"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
def destroy
|
41
|
+
@user.destroy
|
42
|
+
redirect_to users_path, notice: "User was successfully destroyed"
|
43
|
+
end
|
44
|
+
|
45
|
+
private
|
46
|
+
|
47
|
+
def set_user
|
48
|
+
@user = User.find(params[:id])
|
49
|
+
end
|
50
|
+
|
51
|
+
def user_params
|
52
|
+
params.require(:user).permit(:first_name, :last_name, :username, :email, :password, :password_confirmation)
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require "redcarpet"
|
2
|
+
require "pygments"
|
3
|
+
|
4
|
+
module Blogr
|
5
|
+
module PostsHelper
|
6
|
+
|
7
|
+
def check_category post_object, category_object
|
8
|
+
attr = {}
|
9
|
+
if post_object.categories.pluck(:id).include?(category_object.id)
|
10
|
+
attr[:checked] = 'checked'
|
11
|
+
end
|
12
|
+
|
13
|
+
return attr
|
14
|
+
end
|
15
|
+
|
16
|
+
def markdown(text)
|
17
|
+
redcarpet = Redcarpet::Markdown.new(HTMLwithPygments, :fenced_code_blocks => true, :autolink => true, :space_after_headers => true, :underline => true, :highlight => true)
|
18
|
+
redcarpet.render(text)
|
19
|
+
end
|
20
|
+
|
21
|
+
class HTMLwithPygments < Redcarpet::Render::HTML
|
22
|
+
def header(text, header_level)
|
23
|
+
"<h#{header_level + 1}>#{text}</h#{header_level + 1}>"
|
24
|
+
end
|
25
|
+
|
26
|
+
def block_code(code, language)
|
27
|
+
title = nil
|
28
|
+
code.gsub!(/\A\:\:(.*)$/) { title = $1 ; nil }
|
29
|
+
String.new.tap do |s|
|
30
|
+
s << "<p class='codeTitle'>#{title}</p>" if title
|
31
|
+
s << Pygments.highlight(code, :lexer => language)
|
32
|
+
end
|
33
|
+
rescue
|
34
|
+
"<div class='highlight'><pre>#{code}</pre></div>"
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Blogr
|
2
|
+
|
3
|
+
module UserHelper
|
4
|
+
def gravatar(email, options = {})
|
5
|
+
options[:size] ||= 35
|
6
|
+
options[:default] ||= "identicon"
|
7
|
+
options[:rating] ||= "PG"
|
8
|
+
options[:class] ||= "gravatar"
|
9
|
+
options[:secure] ||= request.ssl?
|
10
|
+
host = (options[:secure] ? "https://secure.gravatar.com" : "http://gravatar.com")
|
11
|
+
path = "/avatar?gravatar_id=#{Digest::MD5.hexdigest(email)}&rating=#{options[:rating]}&size=#{options[:size] * 2}&d=#{options[:default]}"
|
12
|
+
image_tag([host,path].join, :class => options[:class], :width => options[:size], :height => options[:size])
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Blogr
|
2
|
+
class Category < ActiveRecord::Base
|
3
|
+
|
4
|
+
has_many :posts, class_name: "Blogr::Post"
|
5
|
+
|
6
|
+
before_validation { self.permalink = self.title.parameterize if self.title }
|
7
|
+
|
8
|
+
validates_uniqueness_of :title, :permalink
|
9
|
+
validates_presence_of :title, :permalink
|
10
|
+
|
11
|
+
def to_param
|
12
|
+
permalink
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
module Blogr
|
2
|
+
class Image < ActiveRecord::Base
|
3
|
+
|
4
|
+
belongs_to :post, class_name: "Blogr::Post"
|
5
|
+
|
6
|
+
validates :file, presence: true
|
7
|
+
|
8
|
+
# has_attached_file :file, :styles => { medium: "500#", thumb: "198x160>", big: "970x" }, :default_url => "/images/:style/missing.png"
|
9
|
+
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
include Blogr::PostsHelper
|
2
|
+
|
3
|
+
module Blogr
|
4
|
+
class Post < ActiveRecord::Base
|
5
|
+
|
6
|
+
belongs_to :category, class_name: "Blogr::Category"
|
7
|
+
belongs_to :user, class_name: "Blogr::User"
|
8
|
+
has_many :taggings, class_name: "Blogr::Tagging"
|
9
|
+
has_many :tags, through: :taggings, class_name: "Blogr::Tag"
|
10
|
+
has_many :comments, class_name: "Blogr::Comment"
|
11
|
+
|
12
|
+
before_validation { self.permalink = title.parameterize if self.permalink.nil? }
|
13
|
+
|
14
|
+
validates_uniqueness_of :title, :permalink
|
15
|
+
validates_presence_of :title, :permalink, :content, :user_id
|
16
|
+
|
17
|
+
scope :published, -> { where "published = ? AND published_at <= ?", true, Time.now.to_s }
|
18
|
+
scope :draft, -> { where published: false }
|
19
|
+
|
20
|
+
def to_param
|
21
|
+
permalink
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
# The date parsed as 04 November 2013
|
26
|
+
#
|
27
|
+
# @return [String]
|
28
|
+
def date_parsed
|
29
|
+
published && published_at.present? ? published_at.strftime("%d %B %Y") : ""
|
30
|
+
end
|
31
|
+
|
32
|
+
# The Markdown content rendered to HTML
|
33
|
+
#
|
34
|
+
# @return [String]
|
35
|
+
def content_rendered
|
36
|
+
markdown(content).html_safe
|
37
|
+
end
|
38
|
+
|
39
|
+
def self.tagged_with(name)
|
40
|
+
Blogr::Tag.find_by_name!(name).posts
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.tag_counts
|
44
|
+
Blogr::Tag.select(
|
45
|
+
"#{Blogr::Tag.table_name}.*, COUNT(#{Blogr::Tagging.table_name}.tag_id) AS count"
|
46
|
+
).joins(:taggings).group("#{Blogr::Tagging.table_name}.tag_id")
|
47
|
+
end
|
48
|
+
|
49
|
+
def tag_list
|
50
|
+
tags.map(&:name).join(", ")
|
51
|
+
end
|
52
|
+
|
53
|
+
def tag_list=(names)
|
54
|
+
self.tags = names.split(",").map do |n|
|
55
|
+
Blogr::Tag.where(name: n.strip).first_or_create!
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Blogr
|
2
|
+
class Tag < ActiveRecord::Base
|
3
|
+
|
4
|
+
has_many :taggings, class_name: "Blogr::Tagging"
|
5
|
+
has_many :posts, through: :taggings, class_name: "Blogr::Post"
|
6
|
+
|
7
|
+
before_validation { self.permalink = name.parameterize }
|
8
|
+
|
9
|
+
def to_param
|
10
|
+
permalink
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Blogr
|
2
|
+
class User < ActiveRecord::Base
|
3
|
+
|
4
|
+
has_secure_password
|
5
|
+
|
6
|
+
validates_presence_of :first_name, :last_name, :username, :email, :password
|
7
|
+
has_many :posts, class_name: "Blogr::Post"
|
8
|
+
|
9
|
+
def name
|
10
|
+
[first_name, last_name].join(" ")
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
= form_for(@category) do |f|
|
2
|
+
- if @category.errors.any?
|
3
|
+
#error_explanation
|
4
|
+
%h3 #{pluralize(@category.errors.count, "error")} prohibited this category from being saved:
|
5
|
+
|
6
|
+
%ul
|
7
|
+
- @category.errors.full_messages.each do |msg|
|
8
|
+
%li= msg
|
9
|
+
|
10
|
+
.form-group
|
11
|
+
= f.label :title
|
12
|
+
= f.text_field :title, class: "form-control"
|
13
|
+
|
14
|
+
.form-group
|
15
|
+
= f.label :description
|
16
|
+
= f.text_area :description, rows: 5, style: "width:100%", class: "form-control"
|
17
|
+
|
18
|
+
= f.submit "Submit", class: 'btn btn-success'
|
@@ -0,0 +1 @@
|
|
1
|
+
= render "form"
|
@@ -0,0 +1,13 @@
|
|
1
|
+
- content_for :links do
|
2
|
+
= link_to "New Category", new_category_path, class: "btn btn-default"
|
3
|
+
|
4
|
+
%table.table.table-bordered.table-striped
|
5
|
+
%thead
|
6
|
+
%tr
|
7
|
+
%th Title
|
8
|
+
%th Date
|
9
|
+
%tbody
|
10
|
+
- @categories.each do |category|
|
11
|
+
= content_tag_for(:tr, category) do
|
12
|
+
%td= link_to category.title, category
|
13
|
+
%td= category.description
|
@@ -0,0 +1 @@
|
|
1
|
+
= render "form"
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
= render "form"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
%table.table.table-bordered.table-striped
|
2
|
+
%thead
|
3
|
+
%tr
|
4
|
+
%th #
|
5
|
+
%th Post
|
6
|
+
%th Author Name
|
7
|
+
%th Author Email
|
8
|
+
%th Content
|
9
|
+
%tbody
|
10
|
+
- @comments.each do |comment|
|
11
|
+
= content_tag_for(:tr, comment) do
|
12
|
+
%td= link_to comment.id, comment
|
13
|
+
%td= link_to comment.post.title, comment.post
|
14
|
+
%td= comment.author_name
|
15
|
+
%td= comment.author_email
|
16
|
+
%td= comment.content.truncate(150)
|