-
Notifications
You must be signed in to change notification settings - Fork 7
/
Gemfile
147 lines (125 loc) · 4.55 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
def next?(next_version = nil, current_version = nil)
is_next = File.basename(__FILE__) == "Gemfile.next"
if next_version && current_version
is_next ? next_version : current_version
else
is_next
end
end
source 'https://rubygems.org'
gem 'rails', '~> 5.0.0'
gem 'globalid', '< 0.5.0' # NOTE: remove gem after upgrading to ruby 2.5
gem 'sprockets-rails', '< 3.3.0' # NOTE: remove gem after upgrading to ruby 2.5
# Databases
gem 'mysql2', '~> 0.3'
gem 'elasticsearch', '~> 1.0'
# Models
gem 'encryptor', '~> 2.0'
gem 'kaminari', '~> 0.16'
gem 'paperclip', git: 'https://github.com/instedd/paperclip', branch: 'fix/v4.3.6-no-mimemagic'
gem 'paranoia', '< 2.5.0' # last version to support ruby 2.4 / rails 5.0
gem 'premailer-rails', '< 1.10' # 1.10 requires Rails.application.assets_manifest
# Views
gem 'csv_builder', '~> 2.1'
gem 'haml-rails', '~> 0.9'
gem 'jbuilder', '~> 2.5'
gem 'view_components', git: 'https://github.com/manastech/rails-view_components.git', branch: 'master'
gem 'prawn'
gem 'prawn-svg'
gem 'prawn-table'
# Authentication
# gem 'bcrypt-ruby', '~> 3.1.2'
gem 'devise', '~> 4.0.0'
gem 'devise-security', '< 0.15.0' # last version to support ruby 2.4
gem 'devise_invitable', '~> 1.5'
gem 'doorkeeper', '~> 4.2.0'
gem 'omniauth', '~> 1.2'
gem 'omniauth-google-oauth2', '~> 0.2'
gem 'recaptcha', '~> 4.9'
# Libraries
gem 'aws-sdk', '~> 1.6'
gem 'base58', '~> 0.1'
gem 'barby', '~> 0.6'
gem 'config', '~> 1.2'
gem 'dotiw', '~> 3.0'
gem 'faker', '< 1.9.2' # NOTE: kept until we upgrade to ruby 2.5+ then we can upgrade to ffaker 2.20 to replace Faker::Number
gem 'ffaker', '< 2.12.0'
gem 'guid', '~> 0.1'
gem 'nokogiri', '~> 1.6', '< 1.11.0' # last version to support ruby 2.4
gem 'oj', '~> 2.12', '< 2.17.3' # NOTE: 2.17.3 will stringify Time as a Float then load a BigDecimal...
gem 'rails-i18n', '~> 5.0'
gem 'rchardet', '~> 1.6'
gem 'rest-client', '~> 2.1' # NOTE: only used for a single HTTP call + Nuntium (SMS) + LocationService
gem 'rubyzip', '>= 1.0.0'
gem 'rqrcode', '~> 0.10' # required by Barby::QRCode
gem 'rumale-linear_model'
gem 'cdx', path: '.'
gem 'cdx-api-elasticsearch', path: '.'
gem 'cdx-sync-server', git: 'https://github.com/instedd/cdx-sync-server.git', branch: 'master'
gem 'geojson_import', git: 'https://github.com/instedd/geojson_import', branch: 'master'
# group :doc do
# # bundle exec rake doc:rails generates the API under doc/api.
# gem 'sdoc', require: false
# end
# Services
gem 'puma', '~> 3.0'
gem 'sidekiq', '~> 4.2'
gem 'sidekiq-cron', '~> 0.3' # TODO: not maintained, consider sidekiq-scheduler instead
gem 'whenever', '~> 1.0' # TODO: replace with a sidekiq-cron job
# External services
gem 'location_service', git: 'https://github.com/instedd/ruby-location_service.git', branch: 'master'
gem 'nuntium_api', '~> 0.21'
gem 'sentry-raven', '~> 2.13'
# Assets
gem 'gon', '~> 6.0'
gem 'sass-rails', '~> 5.0', '< 5.0.8'
gem 'mini_racer'
gem 'turbolinks', '~> 2.5' # TODO: upgrade to '~> 5'
gem 'uglifier', '~> 2.7'
# TODO: externalize frontend dependencies (NPM or YARN)!
gem 'd3_rails', '~> 3.5.6'
gem 'dropzonejs-rails', '~> 0.8.4'
gem 'jquery-rails', '~> 4.0'
gem 'jquery-turbolinks', '~> 2.1.0'
gem 'leaflet-rails', '~> 0.7.4'
gem 'lodash-rails', '~> 3.10.1'
gem 'react-rails', '~> 1.3.2' # NOTE: required for JSX templates
source 'https://rails-assets.org' do
gem 'rails-assets-urijs', '~> 1.17.0'
end
group :development do
gem 'letter_opener'
gem 'listen', '~> 3.0.5'
gem 'spring'
gem 'spring-commands-parallel-tests'
gem 'spring-commands-rspec'
gem 'spring-watcher-listen', '~> 2.0.0'
gem 'web-console', '< 4.0' # last version to support ruby 2.4 / rails 5
gem "standard", require: false
gem "rubocop-rails", require: false
gem "rubocop-rspec", require: false
end
group :development, :test do
gem 'pry-byebug', '< 3.10.0' # last version to support ruby 2.4
gem 'pry-rescue'
gem 'pry-stack_explorer'
gem 'parallel_tests', '~> 3.5.1' # last version to support ruby 2.4
gem 'parallel', '~> 1.20.0' # TODO: remove after upgrading ruby and parallel_tests
end
group :test do
gem 'rspec', '~> 3.3'
gem 'rspec-collection_matchers', '~> 1.1'
gem 'rspec-rails', '~> 3.3'
gem 'database_cleaner', '~> 1.99'
gem 'machinist', '~> 2.0' # NOTE: eventually replace with FactoryBot
gem 'rails-controller-testing'
gem 'simplecov', require: false
gem 'timecop', '~> 0.8'
gem 'webmock', '~> 2.3.1', require: false
# integration tests
gem 'capybara', '~> 3.17.0'
gem 'capybara-screenshot', '~> 1.0'
gem 'cucumber-rails', '~> 1.5', require: false
gem 'selenium-webdriver', '< 4.0'
gem 'site_prism', '~> 3.0'
end