Permalink
Browse files

Initial commit

  • Loading branch information...
Gargron committed Feb 20, 2016
0 parents commit 9c4856bdb11fc9311ab30a97224cee3dfaec492f
Showing with 1,393 additions and 0 deletions.
  1. +17 −0 .gitignore
  2. +1 −0 .ruby-version
  3. +45 −0 Gemfile
  4. +319 −0 Gemfile.lock
  5. +28 −0 README.rdoc
  6. +6 −0 Rakefile
  7. +8 −0 app/api/mastodon/api.rb
  8. +21 −0 app/api/mastodon/entities.rb
  9. +63 −0 app/api/mastodon/ostatus.rb
  10. +13 −0 app/api/mastodon/rest.rb
  11. 0 app/assets/images/.keep
  12. +16 −0 app/assets/javascripts/application.js
  13. +15 −0 app/assets/stylesheets/application.css
  14. +5 −0 app/controllers/application_controller.rb
  15. 0 app/controllers/concerns/.keep
  16. +2 −0 app/helpers/application_helper.rb
  17. 0 app/mailers/.keep
  18. 0 app/models/.keep
  19. +7 −0 app/models/account.rb
  20. 0 app/models/concerns/.keep
  21. +3 −0 app/models/status.rb
  22. +5 −0 app/services/fetch_feed_service.rb
  23. +60 −0 app/services/follow_remote_user_service.rb
  24. +20 −0 app/services/process_feed_update_service.rb
  25. +14 −0 app/views/layouts/application.html.erb
  26. +3 −0 bin/bundle
  27. +9 −0 bin/rails
  28. +9 −0 bin/rake
  29. +29 −0 bin/setup
  30. +15 −0 bin/spring
  31. +4 −0 config.ru
  32. +29 −0 config/application.rb
  33. +3 −0 config/boot.rb
  34. +19 −0 config/database.yml
  35. +5 −0 config/environment.rb
  36. +41 −0 config/environments/development.rb
  37. +79 −0 config/environments/production.rb
  38. +42 −0 config/environments/test.rb
  39. +11 −0 config/initializers/assets.rb
  40. +7 −0 config/initializers/backtrace_silencers.rb
  41. +3 −0 config/initializers/cookies_serializer.rb
  42. +4 −0 config/initializers/filter_parameter_logging.rb
  43. +16 −0 config/initializers/inflections.rb
  44. +4 −0 config/initializers/mime_types.rb
  45. +13 −0 config/initializers/reload_api.rb
  46. +3 −0 config/initializers/session_store.rb
  47. +14 −0 config/initializers/wrap_parameters.rb
  48. +23 −0 config/locales/en.yml
  49. +3 −0 config/routes.rb
  50. +22 −0 config/secrets.yml
  51. +25 −0 db/migrate/20160220174730_create_accounts.rb
  52. +13 −0 db/migrate/20160220211917_create_statuses.rb
  53. +45 −0 db/schema.rb
  54. +7 −0 db/seeds.rb
  55. 0 lib/assets/.keep
  56. 0 lib/tasks/.keep
  57. 0 log/.keep
  58. +67 −0 public/404.html
  59. +67 −0 public/422.html
  60. +66 −0 public/500.html
  61. 0 public/favicon.ico
  62. +5 −0 public/robots.txt
  63. +5 −0 spec/models/account_spec.rb
  64. +5 −0 spec/models/status_spec.rb
  65. 0 test/controllers/.keep
  66. 0 test/fixtures/.keep
  67. 0 test/helpers/.keep
  68. 0 test/integration/.keep
  69. 0 test/mailers/.keep
  70. 0 test/models/.keep
  71. +10 −0 test/test_helper.rb
  72. 0 vendor/assets/javascripts/.keep
  73. 0 vendor/assets/stylesheets/.keep
@@ -0,0 +1,17 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'
# Ignore bundler config.
/.bundle
# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal
# Ignore all logfiles and tempfiles.
/log/*
!/log/.keep
/tmp
@@ -0,0 +1 @@
ruby-2.2.4
45 Gemfile
@@ -0,0 +1,45 @@
source 'https://rubygems.org'
gem 'rails', '4.2.5.1'
gem 'sqlite3'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.1.0'
gem 'therubyracer', platforms: :ruby
gem 'jquery-rails'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'puma'
gem 'haml-rails'
gem 'pg'
gem 'dotenv-rails'
gem 'grape'
gem 'grape-route-helpers'
gem 'grape-entity'
gem 'hashie-forbidden_attributes'
gem 'http'
gem 'addressable'
gem 'nokogiri'
gem 'ostatus2'
gem 'goldfinger'
group :development, :test do
gem 'byebug'
gem 'rspec-rails'
gem 'quiet_assets'
gem 'nyan-cat-formatter'
gem 'pry-rails'
end
group :development do
gem 'web-console', '~> 2.0'
gem 'spring'
gem 'rubocop', require: false
end
group :production do
gem 'rails_12factor'
end
@@ -0,0 +1,319 @@
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.5.1)
actionpack (= 4.2.5.1)
actionview (= 4.2.5.1)
activejob (= 4.2.5.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.5.1)
actionview (= 4.2.5.1)
activesupport (= 4.2.5.1)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.5.1)
activesupport (= 4.2.5.1)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.5.1)
activesupport (= 4.2.5.1)
globalid (>= 0.3.0)
activemodel (4.2.5.1)
activesupport (= 4.2.5.1)
builder (~> 3.1)
activerecord (4.2.5.1)
activemodel (= 4.2.5.1)
activesupport (= 4.2.5.1)
arel (~> 6.0)
activesupport (4.2.5.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.4.0)
arel (6.0.3)
ast (2.2.0)
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (8.2.2)
coderay (1.1.1)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
concurrent-ruby (1.0.0)
debug_inspector (0.0.2)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
diff-lcs (1.2.5)
domain_name (0.5.20160128)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.1.0)
dotenv-rails (2.1.0)
dotenv (= 2.1.0)
railties (>= 4.0, < 5.1)
equalizer (0.0.11)
erubis (2.7.0)
execjs (2.6.0)
globalid (0.3.6)
activesupport (>= 4.1.0)
goldfinger (1.0.1)
addressable (~> 2.4)
http (~> 1.0)
nokogiri (~> 1.6)
grape (0.14.0)
activesupport
builder
hashie (>= 2.1.0)
multi_json (>= 1.3.2)
multi_xml (>= 0.5.2)
rack (>= 1.3.0)
rack-accept
rack-mount
virtus (>= 1.0.0)
grape-entity (0.5.0)
activesupport
multi_json (>= 1.3.2)
grape-route-helpers (1.2.1)
activesupport
grape
rake
haml (4.0.7)
tilt
haml-rails (0.9.0)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 4.0.6, < 5.0)
html2haml (>= 1.0.1)
railties (>= 4.0.1)
hashie (3.4.3)
hashie-forbidden_attributes (0.1.1)
hashie (>= 3.0)
html2haml (2.0.0)
erubis (~> 2.7.0)
haml (~> 4.0.0)
nokogiri (~> 1.6.0)
ruby_parser (~> 3.5)
http (1.0.2)
addressable (~> 2.3)
http-cookie (~> 1.0)
http-form_data (~> 1.0.1)
http_parser.rb (~> 0.6.0)
http-cookie (1.0.2)
domain_name (~> 0.5)
http-form_data (1.0.1)
http_parser.rb (0.6.0)
i18n (0.7.0)
ice_nine (0.11.2)
jbuilder (2.4.1)
activesupport (>= 3.0.0, < 5.1)
multi_json (~> 1.2)
jquery-rails (4.1.0)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.3)
libv8 (3.16.14.13)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
method_source (0.8.2)
mime-types (2.99)
mini_portile2 (2.0.0)
minitest (5.8.4)
multi_json (1.11.2)
multi_xml (0.5.5)
nokogiri (1.6.7.2)
mini_portile2 (~> 2.0.0.rc2)
nyan-cat-formatter (0.11)
rspec (>= 2.99, >= 2.14.2, < 4)
ostatus2 (0.1.1)
addressable (~> 2.4)
http (~> 1.0)
nokogiri (~> 1.6)
parser (2.3.0.6)
ast (~> 2.2)
pg (0.18.4)
powerpack (0.1.1)
pry (0.10.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-rails (0.3.4)
pry (>= 0.9.10)
puma (2.16.0)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.6.4)
rack-accept (0.4.5)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.5.1)
actionmailer (= 4.2.5.1)
actionpack (= 4.2.5.1)
actionview (= 4.2.5.1)
activejob (= 4.2.5.1)
activemodel (= 4.2.5.1)
activerecord (= 4.2.5.1)
activesupport (= 4.2.5.1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.5.1)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.4)
railties (4.2.5.1)
actionpack (= 4.2.5.1)
activesupport (= 4.2.5.1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (2.1.0)
rake (10.5.0)
rdoc (4.2.2)
json (~> 1.4)
ref (2.0.0)
rspec (3.4.0)
rspec-core (~> 3.4.0)
rspec-expectations (~> 3.4.0)
rspec-mocks (~> 3.4.0)
rspec-core (3.4.3)
rspec-support (~> 3.4.0)
rspec-expectations (3.4.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.4.0)
rspec-mocks (3.4.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.4.0)
rspec-rails (3.4.2)
actionpack (>= 3.0, < 4.3)
activesupport (>= 3.0, < 4.3)
railties (>= 3.0, < 4.3)
rspec-core (~> 3.4.0)
rspec-expectations (~> 3.4.0)
rspec-mocks (~> 3.4.0)
rspec-support (~> 3.4.0)
rspec-support (3.4.1)
rubocop (0.37.2)
parser (>= 2.3.0.4, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 0.3)
ruby-progressbar (1.7.5)
ruby_parser (3.8.1)
sexp_processor (~> 4.1)
sass (3.4.21)
sass-rails (5.0.4)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
sexp_processor (4.7.0)
slop (3.6.0)
spring (1.6.3)
sprockets (3.5.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.0.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.11)
therubyracer (0.12.2)
libv8 (~> 3.16.14.0)
ref
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.2)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.2)
execjs (>= 0.3.0)
json (>= 1.8.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)
unicode-display_width (0.3.1)
virtus (1.0.5)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
web-console (2.3.0)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)
PLATFORMS
ruby
DEPENDENCIES
addressable
byebug
coffee-rails (~> 4.1.0)
dotenv-rails
goldfinger
grape
grape-entity
grape-route-helpers
haml-rails
hashie-forbidden_attributes
http
jbuilder (~> 2.0)
jquery-rails
nokogiri
nyan-cat-formatter
ostatus2
pg
pry-rails
puma
quiet_assets
rails (= 4.2.5.1)
rails_12factor
rspec-rails
rubocop
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
spring
sqlite3
therubyracer
uglifier (>= 1.3.0)
web-console (~> 2.0)
BUNDLED WITH
1.11.2
Oops, something went wrong.

0 comments on commit 9c4856b

Please sign in to comment.