OSDN Git Service

Rails 4 and other gems update
[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", "~> 3.1.0", path: '../gitlab_git'
34
35 # Ruby/Rack Git Smart-HTTP Server Handler
36 gem 'gitlab-grack', '~> 1.1.0', require: 'grack', path: '../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.4.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 group :assets do
138   gem "sass-rails"
139   gem "coffee-rails"
140   gem "uglifier"
141   gem "therubyracer"
142   gem 'turbolinks'
143   gem 'jquery-turbolinks'
144
145   gem 'chosen-rails',     "1.0.1"
146   gem 'select2-rails'
147   gem 'jquery-atwho-rails', "0.3.0"
148   gem "jquery-rails",     "2.1.3"
149   gem "jquery-ui-rails",  "2.0.2"
150   gem "modernizr",        "2.6.2"
151   gem "raphael-rails", "~> 2.1.2"
152   gem 'bootstrap-sass', '~> 2.3'
153   gem "font-awesome-rails", '~> 3.2'
154   gem "gemoji", "~> 1.3.0"
155   gem "gon"
156 end
157
158 group :development do
159   gem "annotate", "~> 2.6.0.beta2"
160   gem "letter_opener"
161   gem 'quiet_assets', '~> 1.0.1'
162   gem 'rack-mini-profiler'
163
164   # Better errors handler
165   gem 'better_errors'
166   gem 'binding_of_caller'
167
168   gem 'rails_best_practices'
169
170   # Docs generator
171   gem "sdoc"
172
173   # thin instead webrick
174   gem 'thin'
175 end
176
177 group :development, :test do
178   gem 'coveralls', require: false
179   # gem 'rails-dev-tweaks'
180   gem 'spinach-rails'
181   gem "rspec-rails"
182   gem "capybara"
183   gem "pry"
184   gem "awesome_print"
185   gem "database_cleaner"
186   gem "launchy"
187   gem 'factory_girl_rails'
188
189   # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
190   gem 'minitest', '~> 4.7.0'
191
192   # Generate Fake data
193   gem "ffaker"
194
195   # Guard
196   gem 'guard-rspec'
197   gem 'guard-spinach'
198
199   # Notification
200   gem 'rb-fsevent', require: darwin_only('rb-fsevent')
201   gem 'growl',      require: darwin_only('growl')
202   gem 'rb-inotify', require: linux_only('rb-inotify')
203
204   # PhantomJS driver for Capybara
205   gem 'poltergeist', '~> 1.4.1'
206
207   gem 'spork', '~> 1.0rc'
208   gem 'jasmine'
209 end
210
211 group :test do
212   gem "simplecov", require: false
213   gem "shoulda-matchers", "~> 2.1.0"
214   gem 'email_spec'
215   gem "webmock"
216   gem 'test_after_commit'
217 end
218
219 group :production do
220   gem "gitlab_meta", '6.0'
221 end