OSDN Git Service

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