OSDN Git Service

Update init.d script
[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.13"
12
13 # Supported DBs
14 gem "mysql2", group: :mysql
15 gem "pg", group: :postgres
16
17 # Auth
18 gem "devise"
19 gem 'omniauth', "~> 1.1.3"
20 gem 'omniauth-google-oauth2'
21 gem 'omniauth-twitter'
22 gem 'omniauth-github'
23
24 # Extracting information from a git repository
25 # We cannot use original git since some bugs
26 gem "grit", '~> 2.5.0', git: 'https://github.com/gitlabhq/grit.git', ref: '42297cdcee16284d2e4eff23d41377f52fc28b9d'
27 gem 'gitlab_git', '~> 1.0.6'
28
29 # Ruby/Rack Git Smart-HTTP Server Handler
30 gem 'gitlab-grack', '~> 1.0.0', require: 'grack'
31
32 # LDAP Auth
33 gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"
34
35 # Syntax highlighter
36 gem "gitlab-pygments.rb", '~> 0.3.2', require: 'pygments.rb'
37
38 # Language detection
39 gem "github-linguist", require: "linguist"
40
41 # API
42 gem "grape"
43 gem "grape-entity"
44
45 # Format dates and times
46 # based on human-friendly examples
47 gem "stamp"
48
49 # Enumeration fields
50 gem 'enumerize'
51
52 # Pagination
53 gem "kaminari", "~> 0.14.1"
54
55 # HAML
56 gem "haml-rails"
57
58 # Files attachments
59 gem "carrierwave"
60 # for aws storage
61 # gem "fog", "~> 1.3.1"
62
63 # Authorization
64 gem "six"
65
66 # Seed data
67 gem "seed-fu"
68
69 # Markdown to HTML
70 gem "redcarpet",     "~> 2.2.2"
71 gem "github-markup", "~> 0.7.4", require: 'github/markup'
72
73 # Servers
74 gem "puma", '~> 2.0.1'
75
76 # State machine
77 gem "state_machine"
78
79 # Issue tags
80 gem "acts-as-taggable-on"
81
82 # Background jobs
83 gem 'slim'
84 gem 'sinatra', require: nil
85 gem 'sidekiq'
86
87 # HTTP requests
88 gem "httparty"
89
90 # Colored output to console
91 gem "colored"
92
93 # GitLab settings
94 gem 'settingslogic'
95
96 # Git Wiki
97 gem "gollum-lib", "~> 1.0.0"
98
99 # Misc
100 gem "foreman"
101
102 # Cache
103 gem "redis-rails"
104
105 group :assets do
106   gem "sass-rails"
107   gem "coffee-rails"
108   gem "uglifier"
109   gem "therubyracer"
110   gem 'turbolinks'
111   gem 'jquery-turbolinks'
112
113   gem 'chosen-rails',     "0.9.8"
114   gem 'select2-rails'
115   gem 'jquery-atwho-rails', "0.3.0"
116   gem "jquery-rails",     "2.1.3"
117   gem "jquery-ui-rails",  "2.0.2"
118   gem "modernizr",        "2.6.2"
119   gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
120   gem 'bootstrap-sass',   "2.2.1.1"
121   gem "font-awesome-sass-rails", "~> 3.0.0"
122   gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
123   gem "gon"
124 end
125
126 group :development do
127   gem "annotate", git: "https://github.com/ctran/annotate_models.git"
128   gem "letter_opener"
129   gem 'quiet_assets', '~> 1.0.1'
130   gem 'rack-mini-profiler'
131   # Better errors handler
132   gem 'better_errors'
133   gem 'binding_of_caller'
134
135   gem 'rails_best_practices'
136
137   # Docs generator
138   gem "sdoc"
139
140   # thin instead webrick
141   gem 'thin'
142 end
143
144 group :development, :test do
145   gem 'coveralls', require: false
146   gem 'rails-dev-tweaks'
147   gem 'spinach-rails'
148   gem "rspec-rails"
149   gem "capybara"
150   gem "pry"
151   gem "awesome_print"
152   gem "database_cleaner"
153   gem "launchy"
154   gem 'factory_girl_rails'
155
156   # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
157   gem 'minitest'
158   
159   # Generate Fake data
160   gem "ffaker"
161
162   # Guard
163   gem 'guard-rspec'
164   gem 'guard-spinach'
165
166   # Notification
167   gem 'rb-fsevent', require: darwin_only('rb-fsevent')
168   gem 'growl',      require: darwin_only('growl')
169   gem 'rb-inotify', require: linux_only('rb-inotify')
170
171   # PhantomJS driver for Capybara
172   gem 'poltergeist', git: 'https://github.com/jonleighton/poltergeist.git', ref: '9645b52009e258921b860d3b7601d00008b22c45'
173
174   gem 'spork', '~> 1.0rc'
175 end
176
177 group :test do
178   gem "simplecov", require: false
179   gem "shoulda-matchers", "1.3.0"
180   gem 'email_spec'
181   gem "webmock"
182   gem 'test_after_commit'
183 end
184
185 group :production do
186   gem "gitlab_meta", '5.0'
187 end