OSDN Git Service

style network graph form a bit
[wvm/gitlab.git] / Gemfile
1 source "http://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.12"
12
13 # Supported DBs
14 gem "mysql2", group: :mysql
15 gem "pg", group: :postgres
16
17 # Auth
18 gem "devise", "~> 2.1.0"
19 gem 'omniauth', "~> 1.1.1"
20 gem 'omniauth-google-oauth2'
21 gem 'omniauth-twitter'
22 gem 'omniauth-github'
23
24 # GITLAB patched libs
25 gem "grit",          git: "https://github.com/gitlabhq/grit.git",           ref: '7f35cb98ff17d534a07e3ce6ec3d580f67402837'
26 gem 'grack',         git: "https://github.com/gitlabhq/grack.git",          ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8'
27 gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",       ref: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e'
28
29 # LDAP Auth
30 gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"
31
32 # Dump db to yml file. Mostly used to migrate from sqlite to mysql
33 gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db"
34
35 # Syntax highlighter
36 gem "pygments.rb",  git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master"
37
38 # Language detection
39 gem "github-linguist", "~> 2.3.4" , require: "linguist"
40
41 # API
42 gem "grape", "~> 0.2.1"
43
44 # Format dates and times
45 # based on human-friendly examples
46 gem "stamp"
47
48 # Pagination
49 gem "kaminari", "~> 0.14.1"
50
51 # HAML
52 gem "haml-rails", "~> 0.3.5"
53
54 # Files attachments
55 gem "carrierwave", "~> 0.7.1"
56
57 # Authorization
58 gem "six"
59
60 # Generate Fake data
61 gem "ffaker"
62
63 # Seed data
64 gem "seed-fu"
65
66 # Markdown to HTML
67 gem "redcarpet",     "~> 2.2.2"
68 gem "github-markup", "~> 0.7.4", require: 'github/markup'
69
70 # Servers
71 gem "unicorn", "~> 4.4.0"
72
73 # Issue tags
74 gem "acts-as-taggable-on", "2.3.3"
75
76 # Decorators
77 gem "draper", "~> 0.18.0"
78
79 # Background jobs
80 gem 'slim'
81 gem 'sinatra', :require => nil
82 gem 'sidekiq', '2.6.4'
83
84 # HTTP requests
85 gem "httparty"
86
87 # Colored output to console
88 gem "colored"
89
90 # GitLab settings
91 gem 'settingslogic'
92
93 # Misc
94 gem "foreman"
95 gem "git"
96
97 group :assets do
98   gem "sass-rails",   "~> 3.2.5"
99   gem "coffee-rails", "~> 3.2.2"
100   gem "uglifier",     "~> 1.3.0"
101   gem "therubyracer"
102
103   gem 'chosen-rails',     "0.9.8"
104   gem 'jquery-atwho-rails', "0.1.7"
105   gem "jquery-rails",     "2.1.3"
106   gem "jquery-ui-rails",  "2.0.2"
107   gem "modernizr",        "2.6.2"
108   gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
109   gem 'bootstrap-sass',   "2.2.1.1"
110   gem "font-awesome-sass-rails", "~> 3.0.0"
111   gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
112 end
113
114 group :development do
115   gem "annotate", git: "https://github.com/ctran/annotate_models.git"
116   gem "letter_opener"
117   gem 'quiet_assets', '~> 1.0.1'
118   gem 'rack-mini-profiler'
119   # Better errors handler
120   gem 'better_errors'
121   gem 'binding_of_caller'
122
123   gem 'rails_best_practices'
124
125   # Docs generator
126   gem "sdoc"
127
128   # thin instead webrick
129   gem 'thin'
130 end
131
132 group :development, :test do
133   gem 'rails-dev-tweaks'
134   gem 'spinach-rails'
135   gem "rspec-rails"
136   gem "capybara"
137   gem "pry"
138   gem "awesome_print"
139   gem "database_cleaner", ref: "f89c34300e114be99532f14c115b2799a3380ac6", git: "https://github.com/bmabey/database_cleaner.git"
140   gem "launchy"
141   gem 'factory_girl_rails'
142
143   # Guard
144   gem 'guard-rspec'
145   gem 'guard-spinach'
146
147   # Notification
148   gem 'rb-fsevent', require: darwin_only('rb-fsevent')
149   gem 'growl',      require: darwin_only('growl')
150   gem 'rb-inotify', require: linux_only('rb-inotify')
151
152   # PhantomJS driver for Capybara
153   gem 'poltergeist', git: 'https://github.com/jonleighton/poltergeist.git', ref: '5c2e092001074a8cf09f332d3714e9ba150bc8ca'
154 end
155
156 group :test do
157   gem "simplecov", require: false
158   gem "shoulda-matchers", "1.3.0"
159   gem 'email_spec'
160   gem "webmock"
161   gem 'test_after_commit'
162 end
163
164 group :production do
165   gem "gitlab_meta", '5.0'
166 end