forked from sapcc/elektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGemfile
157 lines (122 loc) · 4.09 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
148
149
150
151
152
153
154
155
156
157
source 'https://rubygems.org'
# Note: check Dockerfile for Version dependencies!
# Because we install gems with native extension before running bundle install
# This avoids recompiling them everytime the Gemfile.lock changes.
# The versions need to be kept in sync with the Gemfile.lock
# Avoid g++ dependency https://github.com/knu/ruby-domain_name/issues/3
# # unf is pulled in by the ruby-arc-client
gem 'unf', '>= 0.2.0beta2'
gem 'rails', '~> 5.2.3' # Don't use 5.1.3 because of redirect errors in tests (scriptr vs. script name in ActionPack)
gem 'webpacker', '~> 4.0'
# Views and Assets
gem 'compass-rails'
gem 'sass-rails'
gem 'bootstrap-sass'
gem 'uglifier'
gem 'coffee-rails'
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'haml-rails'
gem 'simple_form'
gem 'redcarpet'
gem 'spinners'
gem 'sass_inline_svg'
gem 'friendly_id'
gem 'high_voltage'
gem 'simple-navigation' # Navigation menu builder
gem 'font-awesome-sass'
gem 'responders'
# make it fancy with react
gem 'react-rails' # , "1.8.2"
# Database
gem 'pg'
gem 'activerecord-session_store'
# Openstack
gem 'net-ssh'
gem 'netaddr', '2.0.4'
gem 'monsoon-openstack-auth', git: 'https://github.com/sapcc/monsoon-openstack-auth.git'
# gem 'monsoon-openstack-auth', path: '../monsoon-openstack-auth'
gem 'colorize'
gem 'ruby-radius'
# Extras
gem 'config'
# Prometheus instrumentation
gem 'prometheus-client'
# Sentry client
gem 'sentry-raven'
gem 'httpclient' # The only faraday backend that handled no_proxy :|
# Automation
gem 'lyra-client', git: 'https://github.com/sapcc/lyra-client.git'
gem 'arc-client', git: 'https://github.com/sapcc/arc-client.git'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
# gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 1.0.0', group: :doc
gem 'puma', require: false
###################### PLUGINS #####################
# backlist plugins (global)
black_list = %w[bare_metal_hana] # e.g. ['compute']
if ENV.key?('BLACK_LIST_PLUGINS')
ENV['BLACK_LIST_PLUGINS'].split(',').each { |plugin_name| black_list << plugin_name.strip }
end
# load all plugins except blacklisted plugins
Dir.glob('plugins/*').each do |plugin_path|
unless black_list.include?(plugin_path.gsub('plugins/', ''))
gemspec path: plugin_path
end
end
######################## END #######################
group :api_client do
gem 'elektron', git: 'https://github.com/sapcc/elektron', tag: 'v2.2.0'
# gem 'elektron', path: '../elektron'
end
# Avoid double log lines in development
# See: https://github.com/heroku/rails_stdout_logging/issues/1
group :production do
# We are not using the railtie because it comes to late,
# we are setting the logger in production.rb
gem 'rails_stdout_logging', require: 'rails_stdout_logging/rails'
end
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 3.0'
group :development, :test do
# load .env.bak needed for cucumber tests!
gem 'dotenv-rails'
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'foreman'
# Testing
gem 'rspec-rails'
gem 'factory_girl_rails', '~> 4.0'
gem 'database_cleaner'
gem 'pry-rails'
end
group :development, :test, :integration_tests do
gem 'rspec'
gem 'colorize'
end
group :integration_tests do
gem 'capybara'
gem 'capybara-screenshot'
gem 'cucumber-rails', require: false
gem 'phantomjs', require: false
gem 'poltergeist'
end
group :test do
gem 'guard-rspec'
gem 'rails-controller-testing'
end
# load dotenv to get ENV for extension retrieval if needed
begin
require 'dotenv'
Dotenv.load
rescue Exception => e
end
# load SAP specific extension for fonts, ....
if ENV['ELEKTRA_EXTENSION'].to_s == 'true'
gem 'elektra-extension', git: 'https://github.wdf.sap.corp/monsoon/elektra-extension.git', branch: :master
end