Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 15.36 KB | None | 0 0
  1. # Cross-Origin Resource Sharing
  2. gem 'rack-cors', require: 'rack/cors'
  3.  
  4. # cleans up invalid UTF8 characters in request URI and headers.
  5. gem 'rack-utf8_sanitizer'
  6.  
  7. # middleware which manages sending clients maintenance (HTTP 503) responses
  8. gem 'rack-maintenance_mode'
  9.  
  10. # платежи
  11. gem 'walletone', github: 'BrandyMint/walletone'
  12.  
  13. # upsert - обновление и вставка для MySQL, PostgreSQL
  14. gem 'upsert'
  15.  
  16. # phone number parsing, validation and formatting
  17. gem 'phone', github: 'BrandyMint/phone', branch: 'feature/russia'
  18.  
  19. # add foreign key
  20. gem 'immigrant'
  21.  
  22. # automatic incrementation for a integer or string fields Где используется?
  23. gem 'auto_increment'
  24.  
  25. # allows you to specify a list of attributes that will be converted to nil if they are blank when saving a model from a form and values are not provided by the user
  26. # gem "nilify_blanks"
  27.  
  28. #strips all attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil
  29. gem 'strip_attributes'
  30.  
  31. # wrapper to send notifications to slack web hooks. Что отправляет?
  32. gem 'slack-notifier'
  33.  
  34. # Математические операции над rgb
  35. gem 'color'
  36.  
  37. # Enumerated attributes with I18n. enumerize :sex, in: [:male, :female]
  38. gem 'enumerize'
  39.  
  40. # money and currency conversion. Нет конвертации?
  41. gem 'money'
  42. # integrate money in Rails. monetize :price_cents
  43. gem 'money-rails'
  44.  
  45. # attributes with optional information about types, reader/writer method visibility and coercion behavior
  46. gem 'virtus'
  47.  
  48. # generate Sitemaps
  49. gem 'sitemap_generator'
  50.  
  51. # ActiveRecord sessions. Зачем понадобились?
  52. gem 'activerecord-session_store'
  53.  
  54. # produce freshness (Expires, Cache-Control) and/or validation (Last-Modified, ETag) information
  55. gem 'rack-cache'
  56.  
  57. # information about the country and city where the IP address is allocated
  58. gem 'geoip'
  59. # gem 'geocoder'
  60.  
  61. # translates string between various encoding systems
  62. gem 'iconv'
  63.  
  64. # realtime service. Платный?
  65. gem 'pusher'
  66.  
  67. # push notifications services integration
  68. gem 'rpush'
  69.  # ActiveModel + Redis. Rpush dependency
  70. gem 'modis'
  71.  
  72. # json binary serialization/deserialization  
  73. # https://github.com/msgpack/msgpack-ruby/issues/30
  74. gem 'msgpack-rails'
  75.  
  76. # send custom server-side events to Google Analytics
  77. gem 'gabba'
  78.  
  79. # Logging Library
  80. gem 'yell-rails'
  81.  
  82. # yell-rails + logstash-logger
  83. gem 'yell-adapters-logstash', github: 'aupeo/yell-adapters-logstash'
  84.  
  85. # Centralize logs https://www.elastic.co/products/logstash На собственном сервере запущен?
  86. gem 'logstash-logger'
  87.  
  88. # vk.com
  89. gem 'vkontakte_api'
  90.  
  91. # facebook.com
  92. gem 'koala'
  93.  
  94.  
  95. # Feature activation/deactivation for specific users
  96. gem 'rollout'
  97. # ui on /rollout
  98. gem 'rollout_ui', github: 'jelmersnoeck/rollout_ui'
  99.  
  100. # patch to OpenURI to optionally allow redirections from HTTP to HTTPS, or from HTTPS to HTTP.
  101. gem 'open_uri_redirections'
  102.  
  103. # C client library for the Redis. Зачем используется?
  104. gem 'hiredis' # , '~> 0.4.0'
  105.  
  106. #Ruby client library for Redis.
  107. gem 'redis', '>= 3.2.1'
  108.  
  109. # namespaced subset of your redis keyspace (e.g., keys with a common beginning)
  110. gem 'redis-namespace'
  111.  
  112. # Map Redis types directly to Ruby objects. This is not an ORM
  113. gem 'redis-objects'
  114.  
  115. # class-based namespace prefixing and encapsulation for Redis. Используется redid-classy или redis-namespace
  116. gem 'redis-classy'
  117.  
  118. # pessimistic lock using Redis. It correctly handles timeouts and vanishing lock owners (such as machine failures)
  119. # Эта штука не совместима с chewy-kiqqer
  120. gem 'mlanett-redis-lock', require: 'redis-lock'
  121.  
  122. # ODM and wrapper for the official Elasticsearch client
  123. gem 'chewy'
  124.  
  125. # DSL for quickly creating web applications in Ruby. Это тут зачем?
  126. gem 'sinatra', '>= 1.3.0', require: nil
  127.  
  128. # Adds a tab to your Sidekiq dashboard to allow you to reset Sidekiq statistics
  129. gem 'sidekiq-reset_statistics'
  130.  
  131. # Keeps track of Sidekiq failed jobs and adds a tab to the Web UI
  132. gem 'sidekiq-failures'
  133.  
  134. # An extension to Sidekiq message processing to track your jobs. Web interface with a /statuses page. Почему выключен?
  135. # gem 'sidekiq-status'
  136.  
  137. # Background processing. Like resque
  138. gem 'sidekiq', '~> 3.1.3'
  139.  
  140. # adds to ActionMailer classes the ability to send mails asynchronously.
  141. gem 'sidekiq_mailer'
  142.  
  143. # adds support for running delayed jobs scheduled. Почему выключен? Почему нет whenever?
  144. # gem 'sidekiq-scheduler'
  145.  
  146. # API for defining recurring workers for Sidekiq.
  147. gem 'sidetiq', github: 'tobiassvn/sidetiq'
  148.  
  149.  
  150. # Tags. acts_as_taggable_on :skills, :interests
  151. # На замену gem 'acts_as_taggable_on_steroids'
  152. gem 'acts-as-taggable-on'
  153.  
  154. gem 'rails', '~> 4.2'
  155.  
  156. # state machine. Это зачем?
  157. gem 'finite_machine', github: 'peter-murach/finite_machine'
  158.  
  159. # authorize actions. def deletable_by?(user) … end
  160. gem 'authority'
  161.  
  162. # decorators. Где используется и почему?
  163. gem 'draper'
  164.  
  165. # get video info from Dailymotion, VK, Vimeo, Wistia and YouTube
  166. gem 'video_info'
  167.  
  168. # replacement for the URI implementation. Addressable::URI.parse(...)
  169. gem 'addressable'
  170.  
  171. # Creates classes mostly that looks like classes created using Struct or OpenStruct, but immutable and can't take fewer than the default number of arguments. Point = Value.new(:x, :y)
  172. gem 'values'
  173.  
  174. # Ruby client for accessing memcached servers
  175. gem 'dalli'
  176.  
  177. # makes it easy to generate HTML directly in Ruby. Зачем?
  178. gem 'arbre'
  179.  
  180. # blocking & throttling abusive requests
  181. gem 'rack-attack'
  182.  
  183. #  cuts off a string of HTML and takes care of closing any lingering open tags. Зачем?
  184. gem 'truncate_html'
  185.  
  186. # Random Data Generation for fixtures. Почему выключен?
  187. # gem 'forgery'
  188.  
  189. # https://www.intercom.io/ api.  new way to communicate with your customers. Где используется?
  190. gem 'intercom'
  191. gem 'intercom-rails'
  192.  
  193. # unlike page caching, every request still goes through Action Pack
  194. gem 'actionpack-action_caching', github: 'rails/actionpack-action_caching'
  195. # gem 'prototype-rails', path: 'vendor/prototype_legacy_helper' ##:github => 'dapi/prototype_legacy_helper'
  196. # gem 'prototype-rails'
  197.  
  198. # semantic versioning MAJOR.MINOR.PATCH
  199. gem 'semver2'
  200.  
  201. # gem 'sprockets_better_errors'
  202. # gem 'sprockets-commonjs', github: 'maccman/sprockets-commonjs'
  203.  
  204. # compiling and serving web assets
  205. gem 'sprockets', '~> 3.0.0'
  206.  
  207. # configuration / settings solution that uses an ERB enabled YAML file
  208. gem 'settingslogic'
  209.  
  210. # sorting and reordering a number of objects in a list
  211. gem 'acts_as_list'
  212.  
  213. # sorting
  214. gem 'ranked-model'
  215.  
  216. # gem 'mobile-fu', github: 'benlangfeld/mobile-fu'
  217. # detects mobile devices
  218. gem 'rack-mobile-detect'
  219.  
  220. # get your Rails variables in your js.
  221. gem 'gon'
  222.  
  223. # text (console) progress bar
  224. gem 'ruby-progressbar'
  225.  
  226. # whitelist-based HTML and CSS sanitizer
  227. gem 'sanitize', '~> 3.0.0'
  228.  
  229. # Turbolinks with whitelist
  230. # gem 'wiselinks'
  231.  
  232. # gem 'jquery-rails'
  233.  
  234. # react
  235. gem 'react-source', '~> 0.13'
  236. gem 'react-rails'
  237.  
  238. # gem 'react-source'#, '~> 0.11.0'
  239. # gem 'react-rails', github: 'reactjs/react-rails'#, ref: 'dd42fdd241a81c4f48f6832055b7fb8578986e9f'
  240.  
  241. # jQuery File Uploads
  242. # gem 'remotipart'
  243.  
  244. # Retrieve the binding of a method's caller in MRI or RBX. Используется MRI?
  245. gem 'binding_of_caller'
  246.  
  247. # js error tracking. https://bugsnag.com/. Зачем ждать sidekiq?
  248. # Подключаем после sidekiq
  249. gem 'bugsnag', github: 'BrandyMint/bugsnag-ruby', branch: 'delay_with_sidekiq'
  250. # gem "bugsnag", path: '../bugsnag-ruby'
  251.  
  252. # bugsnag + push notifications
  253. gem 'rpush-plugin-bugsnag'
  254.  
  255. # performance management system http://newrelic.com/. Почему не используется?
  256. # gem 'newrelic_rpm'
  257.  
  258. # NewRelic instrumentation for the Grape API DSL
  259. # gem 'newrelic-grape'
  260. #
  261. # http://errm.github.io/statsd-slides/#/10
  262. # https://signalvnoise.com/posts/3091-pssst-your-rails-application-has-a-secret-to-tell-you
  263. # http://matt.aimonetti.net/posts/2013/06/26/practical-guide-to-graphite-monitoring/
  264. # SaaS: librato
  265.  
  266. # daemon that runs on the Node.js platform and listens for statistics and sends aggregates to one or more pluggable backend services (e.g., Graphite).
  267. gem 'statsd-ruby'
  268.  
  269. # ruby client for statsd
  270. gem 'statsd-instrument'
  271.  
  272. # sidekiq + statsd
  273. gem 'sidekiq-statsd'
  274.  
  275. # statsd + application monitoring https://instrumentalapp.com/
  276. gem 'nunes'
  277.  
  278. gem 'mysql2', github: 'brianmario/mysql2'
  279.  
  280. group :production, :staging, :preproduction do
  281.   # deprecated
  282.   # gem 'rpm_contrib'
  283.  
  284.   # gem 'newrelic-redis'
  285.  
  286.   # bue tracking service https://airbrake.io/ Почему не используется?
  287.   # gem 'airbrake', :require => 'airbrake/rails'
  288.  
  289.   # deprecated
  290.   # https://github.com/henrik/resque-honeybadger
  291.  
  292.   # HTTP server
  293.   gem 'unicorn', require: false
  294.  
  295.   # monitoring framework http://godrb.com/ Как все таки устроен мониторинг?
  296.   gem 'god'
  297. end
  298.  
  299. # databases
  300.  
  301. # gem 'memcache-client', :require => 'memcache'
  302.  
  303. # client to the thumbor imaging service github.com/thumbor/thumbor, on-demand crop, resizing and flipping of images. Почему через сервис?
  304. gem 'ruby-thumbor'
  305.  
  306. # extra
  307.  
  308. # View Components Как используются?
  309. gem 'cells', git: 'git://github.com/apotonick/cells.git', branch: 'cells-3'
  310.  
  311. # information about MIME content type definitions
  312. gem 'mime-types'
  313.  
  314. gem 'rake'
  315. # gem 'rdoc'
  316.  
  317. # pagination
  318. gem 'kaminari'
  319.  
  320. # highlighting for selected languages. Это зачем?
  321. gem 'coderay'
  322.  
  323. # verifying and serving OpenID identities.
  324. gem 'ruby-openid', require: 'openid' # TODO: remove
  325.  
  326. gem 'omniauth'
  327. gem 'omniauth-vkontakte'
  328. gem 'omniauth-facebook'
  329. gem 'omniauth-openid'
  330. gem 'omniauth-twitter'
  331.  
  332. # Twitter API
  333. gem 'twitter'
  334.  
  335. # HTML parser. Он же deprecated, нужно менять на nokogiri? Зачем используется?
  336. gem 'hpricot'
  337.  
  338. # Russian language support
  339. gem 'russian'
  340.  
  341. # validates :my_email_attribute, email: true
  342. gem 'email_validator'
  343.  
  344. # ImageMagick
  345. gem 'rmagick'
  346.  
  347.  
  348. # embeddable HTML. Как используется?
  349. gem 'ruby-oembed'
  350. # gem 'oembed'
  351. # gem 'oembed_links'
  352. # gem 'oembedr'
  353. # gem 'css_parser'
  354.  
  355. # gem 'rails_autolink', github: 'brandymint/rails_autolink', ref: '1d1847ede0a6f7ef67bcf9e890c544412dcfd433'
  356.  
  357. # parses text and turns anything that remotely resembles a link into an HTML link
  358. gem 'rinku'
  359.  
  360. # json parser
  361. # gem 'oj'
  362. gem 'json'
  363.  
  364. # search
  365.  
  366. # gem 'thinking-sphinx', :require => 'thinking_sphinx'
  367. # gem 'ts-datetime-delta', '>= 1.0.0', :require => 'thinking_sphinx/deltas/datetime_delta'
  368. # Simple Object Access Protocol client
  369. # gem 'savon', '0.7.9', :require => false
  370.  
  371. # image assets
  372. gem 'mini_magick'
  373. gem 'paperclip' # , '= 2.3.9'
  374. gem 'paperclip-meta'
  375.  
  376. # Generates javascript file that defines all Rails named routes as javascript helpers. Routes.user_path(1)
  377. gem 'js-routes'
  378.  
  379.  
  380. # https://github.com/ko1/gc_tracer#rack-middleware
  381. # Trace Garbage Collector activities and output statistics information for MRI
  382. gem 'gc_tracer'
  383.  
  384. # Usage
  385. # http://www.justinweiss.com/blog/2015/04/06/how-to-debug-ruby-performance-problems-in-production/
  386. # http://blog.skylight.io/hunting-for-leaks-in-ruby/
  387. # https://github.com/tmm1/rbtrace
  388.  
  389. #  shows you method calls happening inside another ruby process in real time
  390. gem 'rbtrace'
  391.  
  392. gem 'haml'
  393. gem 'slim-rails'
  394. gem 'libv8'
  395. gem 'therubyracer'
  396.  
  397. # Admin. Что там в админке?
  398. gem 'activeadmin', github: 'activeadmin'
  399.  
  400. # several extensions to the Ruby standard classes
  401. gem 'extensions'
  402.  
  403. # Hash with case-insensitive, Symbol/String-indifferent key access.
  404. gem 'insensitive_hash'
  405.  
  406. # powerful alternative to the standard IRB shell
  407. gem 'pry-rails', github: 'rweng/pry-rails'
  408. # Teaches Pry about step, next, and continue to create a simple debugger.
  409. gem 'pry-nav'
  410.  
  411. # link_to with :active parameter
  412. gem 'active_link_to'
  413.  
  414. # Responsive embeds. https://iframely.com/
  415. gem 'iframely', github: 'BrandyMint/iframely'
  416. # gem 'iframely', path: '../iframely'
  417.  
  418. # HTTP client lib that provides an interface and embraces the concept of Rack middleware when processing the request/response cycle.
  419. gem 'faraday'
  420.  
  421. # Api
  422. gem 'grape'
  423. gem 'grape-rails-cache'
  424.  
  425. # class Status < Grape::Entity
  426. gem 'grape-entity', github: 'dapi/grape-entity'
  427.  
  428. # autogenerated documentation for your Grape API. /swagger
  429. gem 'grape-swagger-rails'
  430.  
  431. # detect the users preferred language
  432. gem 'http_accept_language'
  433.  
  434. # А как же paperclip?
  435. gem 'carrierwave'
  436.  
  437. # UUID generator. Это зачем?
  438. gem 'uuid'
  439.  
  440. group :development do
  441.   # Потихоньку перходим на postgresql
  442.   gem 'pg'
  443.  
  444.   # Альтернатива
  445.   # https://mailtrap.io/
  446.   gem 'letter_opener'
  447.  
  448.   # an interface for browsing sent emails
  449.   gem 'letter_opener_web'
  450.   gem 'sqlite3'
  451.  
  452.   # Используется Slim?
  453.   gem 'haml2slim'
  454. end
  455.  
  456. # fixtures
  457. gem 'factory_girl'
  458. gem 'factory_girl_rails'
  459. gem 'factory_girl_sequences'
  460.  
  461. group :test do
  462.   gem 'test_after_commit'
  463.  
  464.   # stubbing and setting expectations on HTTP requests
  465.   gem 'webmock'
  466.  
  467.   #  test coverage data service https://codeclimate.com
  468.   # Адаптирован под vexor
  469.   gem 'codeclimate-test-reporter', require: nil, github: 'konukhov/ruby-test-reporter', branch: 'add-vexor-ci'
  470. end
  471.  
  472.   # https://github.com/exviva/paperclip-storage-tmp
  473.  
  474. group :development, :test do
  475.   # Record your test suite's HTTP interactions and replay them during future test runs
  476.   gem 'vcr', require: false
  477.   gem 'minitest-vcr'
  478.  
  479.   #  simple assert method that takes a block. Assertion failure messages are rich in detail. assert { 2 == 1 }
  480.   gem 'wrong'
  481.  
  482.   # Code coverage
  483.   gem 'simplecov', require: false
  484.  
  485.   #  fake data generator
  486.   gem 'forgery'
  487.  
  488.   gem 'rack-minitest', git: 'git://github.com/brandonweiss/rack-minitest.git'
  489.  
  490.   # For Guard
  491.   gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  492.   gem 'growl', require: darwin_only('growl')
  493.   gem 'rb-inotify', require: linux_only('rb-inotify')
  494.   gem 'listen'
  495.   # STDOUT text formatting
  496.   gem 'formatador'
  497.  
  498.   # Rails application preloader. It speeds up development
  499.   gem 'spring'
  500.   gem 'better_errors'
  501.   gem 'pry-stack_explorer'
  502.  
  503.   # Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.
  504.   gem 'database_cleaner'
  505.  
  506.   # RSpec/MiniTest matchers and Cucumber steps for testing email
  507.   gem 'email_spec'
  508.   gem 'rspec', '~> 3.0.0'
  509.   gem 'rspec-rails', '~> 3.0'
  510.  
  511.   #  test web applications by simulating how a real user would interact with your app
  512.   gem 'capybara'
  513.  
  514.   # correct reporters for Textmate, Rubymine, and the console
  515.   gem 'minitest-reporters'
  516.  
  517.   # A Ruby library for mocking and stubbing.
  518.   gem 'mocha'
  519.  
  520.   # testing API for Rack apps
  521.   gem 'rack-test'
  522.  
  523.   gem 'pry'
  524.   gem 'spring-commands-rspec'
  525.  
  526.   # running custom rules whenever file or directories are modified.
  527.   gem 'guard', '>= 2.4.0'
  528.   gem 'guard-rails'
  529.   gem 'guard-rspec'
  530.   gem 'guard-ctags-bundler'
  531.   gem 'guard-bundler'
  532.   gem 'guard-minitest'
  533.  
  534.   # automatically check Ruby code style
  535.   gem 'guard-rubocop'
  536.   gem 'rubocop'
  537.   gem 'rubocop-rspec'
  538. end
  539.  
  540. group :deploy do
  541.   gem 'capistrano', '3.2.1', require: false
  542.   gem 'capistrano-bundler', github: 'capistrano/bundler', require: false
  543.   gem 'capistrano-rails', '~> 1.1', require: false
  544.   gem 'capistrano-rbenv', require: false
  545.   gem 'slackistrano', require: false
  546. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement