OSDN Git Service

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