OSDN Git Service

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