OSDN Git Service

Merge pull request #5645 from sajanp/enhancement/install-guide
[wvm/gitlab.git] / Gemfile
1 source "https://rubygems.org"
2
3 def darwin_only(require_as)
4   RUBY_PLATFORM.include?('darwin') && require_as
5 end
6
7 def linux_only(require_as)
8   RUBY_PLATFORM.include?('linux') && require_as
9 end
10
11 gem "rails", "~> 4.0.0"
12
13 gem "protected_attributes"
14 gem 'rails-observers'
15 gem 'actionpack-page_caching'
16 gem 'actionpack-action_caching'
17 gem 'activerecord-deprecated_finders'
18
19 # Supported DBs
20 gem "mysql2", group: :mysql
21 gem "pg", group: :postgres
22
23 # Auth
24 gem "devise", '3.0.4'
25 gem "devise-async", '0.8.0'
26 gem 'omniauth', "~> 1.1.3"
27 gem 'omniauth-google-oauth2'
28 gem 'omniauth-twitter'
29 gem 'omniauth-github'
30
31 # Extracting information from a git repository
32 # Provide access to Gitlab::Git library
33 gem "gitlab_git", "~> 4.0.0.pre"
34
35 # Ruby/Rack Git Smart-HTTP Server Handler
36 gem 'gitlab-grack', '~> 2.0.0.pre', require: 'grack'
37
38 # LDAP Auth
39 gem 'gitlab_omniauth-ldap', '1.0.3', require: "omniauth-ldap"
40
41 # Syntax highlighter
42 gem "gitlab-pygments.rb", '~> 0.5.4', require: 'pygments.rb'
43
44 # Git Wiki
45 gem "gitlab-gollum-lib", "~> 1.0.2", require: 'gollum-lib'
46
47 # Language detection
48 gem "gitlab-linguist", "~> 2.9.6", require: "linguist"
49
50 # API
51 gem "grape", "~> 0.6.1"
52 gem "grape-entity", "~> 0.3.0"
53 gem 'rack-cors', require: 'rack/cors'
54
55 # Format dates and times
56 # based on human-friendly examples
57 gem "stamp"
58
59 # Enumeration fields
60 gem 'enumerize'
61
62 # Pagination
63 gem "kaminari", "~> 0.14.1"
64
65 # HAML
66 gem "haml-rails"
67
68 # Files attachments
69 gem "carrierwave"
70
71 # for aws storage
72 gem "fog", "~> 1.3.1", group: :aws
73
74 # Authorization
75 gem "six"
76
77 # Seed data
78 gem "seed-fu"
79
80 # Markdown to HTML
81 gem "redcarpet",     "~> 2.2.2"
82 gem "github-markup", "~> 0.7.4", require: 'github/markup'
83
84 # Asciidoc to HTML
85 gem  "asciidoctor"
86
87 # Application server
88 gem "unicorn", '~> 4.6.3', group: :unicorn
89
90 # State machine
91 gem "state_machine"
92
93 # Issue tags
94 gem "acts-as-taggable-on"
95
96 # Background jobs
97 gem 'slim'
98 gem 'sinatra', require: nil
99 gem 'sidekiq'
100
101 # HTTP requests
102 gem "httparty"
103
104 # Colored output to console
105 gem "colored"
106
107 # GitLab settings
108 gem 'settingslogic'
109
110 # Misc
111 gem "foreman"
112
113 # Cache
114 gem "redis-rails"
115
116 # Campfire integration
117 gem 'tinder', '~> 1.9.2'
118
119 # HipChat integration
120 gem "hipchat", "~> 0.9.0"
121
122 # Flowdock integration
123 gem "gitlab-flowdock-git-hook", "~> 0.4.2"
124
125 # d3
126 gem "d3_rails", "~> 3.1.4"
127
128 # underscore-rails
129 gem "underscore-rails", "~> 1.4.4"
130
131 # Sanitize user input
132 gem "sanitize"
133
134 # Protect against bruteforcing
135 gem "rack-attack"
136
137 gem "sass-rails"
138 gem "coffee-rails"
139 gem "uglifier"
140 gem "therubyracer"
141 gem 'turbolinks'
142 gem 'jquery-turbolinks'
143
144 gem 'chosen-rails',     "1.0.1"
145 gem 'select2-rails'
146 gem 'jquery-atwho-rails', "~> 0.3.3"
147 gem "jquery-rails",     "2.1.3"
148 gem "jquery-ui-rails",  "2.0.2"
149 gem "modernizr",        "2.6.2"
150 gem "raphael-rails", "~> 2.1.2"
151 gem 'bootstrap-sass', '~> 2.3'
152 gem "font-awesome-rails", '~> 3.2'
153 gem "gemoji", "~> 1.3.0"
154 gem "gon", git: "https://github.com/gitlabhq/gon.git", ref: '58ca8e17273051cb370182cabd3602d1da6783ab'
155
156 group :development do
157   gem "annotate", "~> 2.6.0.beta2"
158   gem "letter_opener"
159   gem 'quiet_assets', '~> 1.0.1'
160   gem 'rack-mini-profiler'
161
162   # Better errors handler
163   gem 'better_errors'
164   gem 'binding_of_caller'
165
166   gem 'rails_best_practices'
167
168   # Docs generator
169   gem "sdoc"
170
171   # thin instead webrick
172   gem 'thin'
173 end
174
175 group :development, :test do
176   gem 'coveralls', require: false
177   # gem 'rails-dev-tweaks'
178   gem 'spinach-rails'
179   gem "rspec-rails"
180   gem "capybara"
181   gem "pry"
182   gem "awesome_print"
183   gem "database_cleaner"
184   gem "launchy"
185   gem 'factory_girl_rails'
186
187   # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
188   gem 'minitest', '~> 4.7.0'
189
190   # Generate Fake data
191   gem "ffaker"
192
193   # Guard
194   gem 'guard-rspec'
195   gem 'guard-spinach'
196
197   # Notification
198   gem 'rb-fsevent', require: darwin_only('rb-fsevent')
199   gem 'growl',      require: darwin_only('growl')
200   gem 'rb-inotify', require: linux_only('rb-inotify')
201
202   # PhantomJS driver for Capybara
203   gem 'poltergeist', '~> 1.4.1'
204
205   gem 'spork', '~> 1.0rc'
206   gem 'jasmine', '2.0.0.rc5'
207 end
208
209 group :test do
210   gem "simplecov", require: false
211   gem "shoulda-matchers", "~> 2.1.0"
212   gem 'email_spec'
213   gem "webmock"
214   gem 'test_after_commit'
215 end
216
217 group :production do
218   gem "gitlab_meta", '6.0'
219 end