OSDN Git Service

Merge branch 'encouragement-during-install' into 'master'
[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"
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 # Email validation
56 gem "email_validator", "~> 1.4.0", :require => 'email_validator/strict'
57
58 # Format dates and times
59 # based on human-friendly examples
60 gem "stamp"
61
62 # Enumeration fields
63 gem 'enumerize'
64
65 # Pagination
66 gem "kaminari", "~> 0.15.1"
67
68 # HAML
69 gem "haml-rails"
70
71 # Files attachments
72 gem "carrierwave"
73
74 # for aws storage
75 gem "fog", "~> 1.3.1", group: :aws
76
77 # Authorization
78 gem "six"
79
80 # Seed data
81 gem "seed-fu"
82
83 # Markdown to HTML
84 gem "redcarpet",     "~> 2.2.2"
85 gem "github-markup", "~> 0.7.4", require: 'github/markup', git: 'https://github.com/gitlabhq/markup.git', ref: '61ade389c1e1c159359338f570d18464a44ddbc4' 
86
87 # Asciidoc to HTML
88 gem  "asciidoctor"
89
90 # Application server
91 group :unicorn do
92   gem "unicorn", '~> 4.6.3'
93   gem 'unicorn-worker-killer'
94 end
95
96 # State machine
97 gem "state_machine"
98
99 # Issue tags
100 gem "acts-as-taggable-on"
101
102 # Background jobs
103 gem 'slim'
104 gem 'sinatra', require: nil
105 gem 'sidekiq'
106
107 # HTTP requests
108 gem "httparty"
109
110 # Colored output to console
111 gem "colored"
112
113 # GitLab settings
114 gem 'settingslogic'
115
116 # Misc
117 gem "foreman"
118
119 # Cache
120 gem "redis-rails"
121
122 # Campfire integration
123 gem 'tinder', '~> 1.9.2'
124
125 # HipChat integration
126 gem "hipchat", "~> 0.14.0"
127
128 # Flowdock integration
129 gem "gitlab-flowdock-git-hook", "~> 0.4.2"
130
131 # d3
132 gem "d3_rails", "~> 3.1.4"
133
134 # underscore-rails
135 gem "underscore-rails", "~> 1.4.4"
136
137 # Sanitize user input
138 gem "sanitize"
139
140 # Protect against bruteforcing
141 gem "rack-attack"
142
143 gem "sass-rails"
144 gem "coffee-rails"
145 gem "uglifier"
146 gem "therubyracer"
147 gem 'turbolinks'
148 gem 'jquery-turbolinks'
149
150 gem 'select2-rails'
151 gem 'jquery-atwho-rails', "~> 0.3.3"
152 gem "jquery-rails",     "2.1.3"
153 gem "jquery-ui-rails",  "2.0.2"
154 gem "modernizr",        "2.6.2"
155 gem "raphael-rails", "~> 2.1.2"
156 gem 'bootstrap-sass', '~> 3.0'
157 gem "font-awesome-rails", '~> 3.2'
158 gem "gemoji", "~> 1.3.0"
159 gem "gon", '~> 5.0.0'
160
161 group :development do
162   gem "annotate", "~> 2.6.0.beta2"
163   gem "letter_opener"
164   gem 'quiet_assets', '~> 1.0.1'
165   gem 'rack-mini-profiler'
166
167   # Better errors handler
168   gem 'better_errors'
169   gem 'binding_of_caller'
170
171   gem 'rails_best_practices'
172
173   # Docs generator
174   gem "sdoc"
175
176   # thin instead webrick
177   gem 'thin'
178 end
179
180 group :development, :test do
181   gem 'coveralls', require: false
182   # gem 'rails-dev-tweaks'
183   gem 'spinach-rails'
184   gem "rspec-rails"
185   gem "capybara"
186   gem "pry"
187   gem "awesome_print"
188   gem "database_cleaner"
189   gem "launchy"
190   gem 'factory_girl_rails'
191
192   # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
193   gem 'minitest', '~> 4.7.0'
194
195   # Generate Fake data
196   gem "ffaker"
197
198   # Guard
199   gem 'guard-rspec'
200   gem 'guard-spinach'
201
202   # Notification
203   gem 'rb-fsevent', require: darwin_only('rb-fsevent')
204   gem 'growl',      require: darwin_only('growl')
205   gem 'rb-inotify', require: linux_only('rb-inotify')
206
207   # PhantomJS driver for Capybara
208   gem 'poltergeist', '~> 1.4.1'
209
210   gem 'spork', '~> 1.0rc'
211   gem 'jasmine', '2.0.0.rc5'
212 end
213
214 group :test do
215   gem "simplecov", require: false
216   gem "shoulda-matchers", "~> 2.1.0"
217   gem 'email_spec'
218   gem "webmock"
219   gem 'test_after_commit'
220 end
221
222 group :production do
223   gem "gitlab_meta", '6.0'
224 end