├── .gitignore ├── Gemfile ├── Gemfile.lock ├── README.md ├── Rakefile ├── app ├── channels │ └── application_cable │ │ ├── channel.rb │ │ └── connection.rb ├── controllers │ ├── application_controller.rb │ ├── concerns │ │ └── .keep │ └── posts_controller.rb ├── jobs │ └── application_job.rb └── models │ ├── application_record.rb │ ├── comment.rb │ ├── concerns │ └── .keep │ └── post.rb ├── bin ├── bundle ├── rails ├── rake ├── setup └── update ├── config.ru ├── config ├── application.rb ├── boot.rb ├── database.yml ├── environment.rb ├── environments │ ├── development.rb │ ├── production.rb │ └── test.rb ├── initializers │ ├── active_record_belongs_to_required_by_default.rb │ ├── application_controller_renderer.rb │ ├── backtrace_silencers.rb │ ├── callback_terminator.rb │ ├── cors.rb │ ├── filter_parameter_logging.rb │ ├── inflections.rb │ ├── mime_types.rb │ └── wrap_parameters.rb ├── locales │ └── en.yml ├── routes.rb └── secrets.yml ├── db ├── migrate │ ├── 20160404103554_create_posts.rb │ ├── 20160404105755_add_compound_unique_index.rb │ └── 20160407054125_create_comments.rb ├── schema.rb └── seeds.rb ├── lib └── tasks │ └── .keep ├── log └── .keep ├── public ├── 404.html ├── 422.html ├── 500.html ├── favicon.ico └── robots.txt ├── script └── generate.rb ├── test ├── controllers │ ├── .keep │ └── posts_controller_test.rb ├── fixtures │ ├── .keep │ ├── comments.yml │ ├── files │ │ └── .keep │ └── posts.yml ├── integration │ └── .keep ├── mailers │ └── .keep ├── models │ ├── .keep │ ├── comment_test.rb │ └── post_test.rb └── test_helper.rb └── tmp └── .keep /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/.gitignore -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/Rakefile -------------------------------------------------------------------------------- /app/channels/application_cable/channel.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/app/channels/application_cable/channel.rb -------------------------------------------------------------------------------- /app/channels/application_cable/connection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/app/channels/application_cable/connection.rb -------------------------------------------------------------------------------- /app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/controllers/posts_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/app/controllers/posts_controller.rb -------------------------------------------------------------------------------- /app/jobs/application_job.rb: -------------------------------------------------------------------------------- 1 | class ApplicationJob < ActiveJob::Base 2 | end 3 | -------------------------------------------------------------------------------- /app/models/application_record.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/app/models/application_record.rb -------------------------------------------------------------------------------- /app/models/comment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/app/models/comment.rb -------------------------------------------------------------------------------- /app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/models/post.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/app/models/post.rb -------------------------------------------------------------------------------- /bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/bin/bundle -------------------------------------------------------------------------------- /bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/bin/rails -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/update: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/bin/update -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config.ru -------------------------------------------------------------------------------- /config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/application.rb -------------------------------------------------------------------------------- /config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/boot.rb -------------------------------------------------------------------------------- /config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/database.yml -------------------------------------------------------------------------------- /config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/environment.rb -------------------------------------------------------------------------------- /config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/environments/development.rb -------------------------------------------------------------------------------- /config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/environments/production.rb -------------------------------------------------------------------------------- /config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/environments/test.rb -------------------------------------------------------------------------------- /config/initializers/active_record_belongs_to_required_by_default.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/initializers/active_record_belongs_to_required_by_default.rb -------------------------------------------------------------------------------- /config/initializers/application_controller_renderer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/initializers/application_controller_renderer.rb -------------------------------------------------------------------------------- /config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /config/initializers/callback_terminator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/initializers/callback_terminator.rb -------------------------------------------------------------------------------- /config/initializers/cors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/initializers/cors.rb -------------------------------------------------------------------------------- /config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/initializers/inflections.rb -------------------------------------------------------------------------------- /config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/locales/en.yml -------------------------------------------------------------------------------- /config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/routes.rb -------------------------------------------------------------------------------- /config/secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/config/secrets.yml -------------------------------------------------------------------------------- /db/migrate/20160404103554_create_posts.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/db/migrate/20160404103554_create_posts.rb -------------------------------------------------------------------------------- /db/migrate/20160404105755_add_compound_unique_index.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/db/migrate/20160404105755_add_compound_unique_index.rb -------------------------------------------------------------------------------- /db/migrate/20160407054125_create_comments.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/db/migrate/20160407054125_create_comments.rb -------------------------------------------------------------------------------- /db/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/db/schema.rb -------------------------------------------------------------------------------- /db/seeds.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/db/seeds.rb -------------------------------------------------------------------------------- /lib/tasks/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/public/404.html -------------------------------------------------------------------------------- /public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/public/422.html -------------------------------------------------------------------------------- /public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/public/500.html -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/public/robots.txt -------------------------------------------------------------------------------- /script/generate.rb: -------------------------------------------------------------------------------- 1 | #! ruby 2 | require_relative '../config/environment' 3 | puts Post.to_md 4 | -------------------------------------------------------------------------------- /test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/controllers/posts_controller_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/test/controllers/posts_controller_test.rb -------------------------------------------------------------------------------- /test/fixtures/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/comments.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/test/fixtures/comments.yml -------------------------------------------------------------------------------- /test/fixtures/files/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/posts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/test/fixtures/posts.yml -------------------------------------------------------------------------------- /test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/models/comment_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/test/models/comment_test.rb -------------------------------------------------------------------------------- /test/models/post_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/test/models/post_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shyouhei/esa-hotentry/HEAD/test/test_helper.rb -------------------------------------------------------------------------------- /tmp/.keep: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------