write_down 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/Gemfile +1 -1
- data/README.md +2 -2
- data/bin/write_down +42 -1
- data/lib/write_down/article.rb +64 -0
- data/lib/write_down/configuration.rb +6 -0
- data/lib/write_down/converter.rb +8 -0
- data/lib/write_down/page.rb +6 -0
- data/lib/write_down/series.rb +10 -0
- data/lib/write_down/site.rb +10 -0
- data/lib/write_down/template.rb +20 -0
- data/lib/write_down/version.rb +1 -1
- data/lib/write_down.rb +31 -1
- data/template/emacs/404.html +157 -0
- data/template/emacs/CHANGELOG.md +133 -0
- data/template/emacs/CONTRIBUTING.md +154 -0
- data/template/emacs/LICENSE.md +19 -0
- data/template/emacs/README.md +1 -0
- data/template/emacs/apple-touch-icon-precomposed.png +0 -0
- data/template/emacs/crossdomain.xml +15 -0
- data/template/emacs/css/custom.css +18 -0
- data/template/emacs/css/main.css +304 -0
- data/template/emacs/css/normalize.css +527 -0
- data/template/emacs/favicon.ico +0 -0
- data/template/emacs/humans.txt +15 -0
- data/template/emacs/img/.gitignore +0 -0
- data/template/emacs/index.html +62 -0
- data/template/emacs/js/main.js +1 -0
- data/template/emacs/js/plugins.js +24 -0
- data/template/emacs/js/vendor/jquery-1.10.2.min.js +6 -0
- data/template/emacs/js/vendor/modernizr-2.6.2.min.js +4 -0
- data/template/emacs/post.html +80 -0
- data/template/emacs/robots.txt +3 -0
- data/template/simple/404.html +157 -0
- data/template/simple/CNAME +1 -0
- data/template/simple/README.md +1 -0
- data/template/simple/_disqus.mustache +19 -0
- data/template/simple/_footer.mustache +28 -0
- data/template/simple/_header.mustache +38 -0
- data/template/simple/apple-touch-icon-precomposed.png +0 -0
- data/template/simple/crossdomain.xml +15 -0
- data/template/simple/css/layout.css +72 -0
- data/template/simple/css/main.css +304 -0
- data/template/simple/css/normalize.css +527 -0
- data/template/simple/favicon.ico +0 -0
- data/template/simple/humans.txt +15 -0
- data/template/simple/img/.gitignore +0 -0
- data/template/simple/index.html +12 -0
- data/template/simple/js/main.js +1 -0
- data/template/simple/js/plugins.js +24 -0
- data/template/simple/js/vendor/jquery-1.10.2.min.js +6 -0
- data/template/simple/js/vendor/modernizr-2.6.2.min.js +4 -0
- data/template/simple/post.html +9 -0
- data/template/simple/robots.txt +3 -0
- data/theme/ghost/assets/css/screen.css +911 -0
- data/theme/ghost/index.html +75 -0
- data/theme/ghost/post.html +112 -0
- data/theme/html5-boilerplate/.gitattributes +1 -0
- data/theme/html5-boilerplate/.gitignore +2 -0
- data/theme/html5-boilerplate/.htaccess +551 -0
- data/theme/html5-boilerplate/404.html +157 -0
- data/theme/html5-boilerplate/CHANGELOG.md +133 -0
- data/theme/html5-boilerplate/CONTRIBUTING.md +154 -0
- data/theme/html5-boilerplate/LICENSE.md +19 -0
- data/theme/html5-boilerplate/README.md +61 -0
- data/theme/html5-boilerplate/apple-touch-icon-precomposed.png +0 -0
- data/theme/html5-boilerplate/crossdomain.xml +15 -0
- data/theme/html5-boilerplate/css/main.css +297 -0
- data/theme/html5-boilerplate/css/normalize.css +527 -0
- data/theme/html5-boilerplate/favicon.ico +0 -0
- data/theme/html5-boilerplate/humans.txt +15 -0
- data/theme/html5-boilerplate/img/.gitignore +0 -0
- data/theme/html5-boilerplate/index.html +91 -0
- data/theme/html5-boilerplate/js/main.js +1 -0
- data/theme/html5-boilerplate/js/plugins.js +24 -0
- data/theme/html5-boilerplate/js/vendor/jquery-1.10.2.min.js +6 -0
- data/theme/html5-boilerplate/js/vendor/modernizr-2.6.2.min.js +4 -0
- data/theme/html5-boilerplate/post.html +70 -0
- data/theme/html5-boilerplate/robots.txt +3 -0
- data/write_down.gemspec +3 -0
- metadata +125 -11
- data/.rvmrc +0 -62
data/.rvmrc
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
#!/usr/bin/env bash
|
2
|
-
|
3
|
-
# This is an RVM Project .rvmrc file, used to automatically load the ruby
|
4
|
-
# development environment upon cd'ing into the directory
|
5
|
-
|
6
|
-
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
|
7
|
-
# Only full ruby name is supported here, for short names use:
|
8
|
-
# echo "rvm use 2.0.0" > .rvmrc
|
9
|
-
environment_id="ruby-2.0.0-p247@write_down"
|
10
|
-
|
11
|
-
# Uncomment the following lines if you want to verify rvm version per project
|
12
|
-
# rvmrc_rvm_version="1.21.3 (stable)" # 1.10.1 seams as a safe start
|
13
|
-
# eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
|
14
|
-
# echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
|
15
|
-
# return 1
|
16
|
-
# }
|
17
|
-
|
18
|
-
# First we attempt to load the desired environment directly from the environment
|
19
|
-
# file. This is very fast and efficient compared to running through the entire
|
20
|
-
# CLI and selector. If you want feedback on which environment was used then
|
21
|
-
# insert the word 'use' after --create as this triggers verbose mode.
|
22
|
-
if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
|
23
|
-
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
|
24
|
-
then
|
25
|
-
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
|
26
|
-
for __hook in "${rvm_path:-$HOME/.rvm}/hooks/after_use"*
|
27
|
-
do
|
28
|
-
if [[ -f "${__hook}" && -x "${__hook}" && -s "${__hook}" ]]
|
29
|
-
then \. "${__hook}" || true
|
30
|
-
fi
|
31
|
-
done
|
32
|
-
unset __hook
|
33
|
-
if (( ${rvm_use_flag:=1} >= 2 )) # display only when forced
|
34
|
-
then
|
35
|
-
if [[ $- == *i* ]] # check for interactive shells
|
36
|
-
then printf "%b" "Using: \E[32m$GEM_HOME\E[0m
|
37
|
-
" # show the user the ruby and gemset they are using in green
|
38
|
-
else printf "%b" "Using: $GEM_HOME
|
39
|
-
" # don't use colors in non-interactive shells
|
40
|
-
fi
|
41
|
-
fi
|
42
|
-
else
|
43
|
-
# If the environment file has not yet been created, use the RVM CLI to select.
|
44
|
-
rvm --create "$environment_id" || {
|
45
|
-
echo "Failed to create RVM environment '${environment_id}'."
|
46
|
-
return 1
|
47
|
-
}
|
48
|
-
fi
|
49
|
-
|
50
|
-
# If you use bundler, this might be useful to you:
|
51
|
-
# if [[ -s Gemfile ]] && {
|
52
|
-
# ! builtin command -v bundle >/dev/null ||
|
53
|
-
# builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
|
54
|
-
# }
|
55
|
-
# then
|
56
|
-
# printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
|
57
|
-
# gem install bundler
|
58
|
-
# fi
|
59
|
-
# if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
|
60
|
-
# then
|
61
|
-
# bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
|
62
|
-
# fi
|