forked from BibApp/BibApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
159 lines (125 loc) · 5.05 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
source "http://rubygems.org"
source "http://gems.github.com"
#Rails itself
gem "rails", "~> 3.0.19"
#Use jquery for javascript - in Rails 3.0 this involves running a generator too
#once we get to 3.1 all that should be necessary is adding some includes
#to the application.js file in assets
gem 'jquery-rails'
gem 'rake'
#Haml - Haml plugin will fail initialization if haml gem is not installed.
gem "haml"
#Make resourceful - used by some controllers
#backports may be needed by a 1.8 ruby to make make_resourceful work
#TODO - presumably after we get to 1.9.3 backports will be redundant
gem 'backports'
gem 'make_resourceful'
#file attachment - to replace attachment_fu
#TODO Can remove version requirement after 1.9 migration
gem 'paperclip', "~>2.7.0"
#HTMLEntities - used to encode UTF-8 data so that it is valid in HTML
gem "htmlentities", "~>4.0.0"
#Daemons - needed to run delayed_job
#TODO is this needed or does delayed_job pull it in automatically?
gem "daemons", "~>1.0.10"
#LibXML Ruby - Dependency of Solr Ruby
#Bundler should take care of it then
gem "libxml-ruby", "~>0.8.3", :require => "xml/libxml"
#Namecase - converts strings to be properly cased
gem "namecase", "~>1.1.0"
#RedCloth - converts plain text or textile to HTML (also used by HAML)
gem "RedCloth", "~>4.1.9", :require => "redcloth"
#RubyZip - used to create Zip file to send via SWORD
gem "rubyzip", "~>0.9.1", :require => "zip/zip"
#Sword2Ruby - used for SWORD interaction
gem "sword2ruby", ">=0.0.6", :git => 'git://github.com/BibApp/sword2ruby.git'
#Solr-Ruby - Solr connections for ruby
gem "solr-ruby", "~>0.0.6", :require => "solr"
#Required for LDAP lookups
gem "net-ldap"
#Will Paginate - for fancy pagination
#TODO may need to update or replace as rails version goes up
gem 'will_paginate', "~> 3.0.beta", :require => 'will_paginate'
#CMess - Assists with handling parsing citations from a non-Unicode text file
# See: http://prometheus.rubyforge.org/cmess/
gem 'cmess', "~>0.1.2"
#AASM - Acts as State Machine - helps manage batch import state
gem 'aasm'
#ISBN Tools - Helps validate ISBNs
# See: http://isbn-tools.rubyforge.org/rdoc/index.html
gem 'isbn-tools', "~>0.1.0", :require => "isbn/tools"
#delayed jobs
gem 'delayed_job'
gem 'delayed_job_active_record'
#data structures
gem 'acts_as_list'
gem 'acts_as_tree_rails3'
#Rails translations
gem 'rails-i18n'
#Change this as appropriate if you are using a different database
#You can also use groups to set it differently for development and
#production, for example. Note that the appropriate database for your
#set up does need to be specified here, though, or things will fail
#pretty quickly.
gem 'pg'
#dump database in YAML form - honestly, I'm not sure why we need this, but
#while I am porting to Rails 3 I'm not going to worry about it.
gem 'yaml_db'
#authorization, replacing plugin used previously
gem 'authorization'
#authentication
gem 'authlogic'
#TODO will require some work to go to 1.0 series
gem 'omniauth', "~> 0.3"
#batch loading of authors
gem 'fastercsv'
#Adds in some things removed from Rails 3 that are used, including error_messages_for
gem 'dynamic_form'
#Sorting help for different locales.
#Note that sort_alphabetical is a bit crude. It should suffice for latin locales, though.
#If we need something more sophisticated then sort_by_alphabet may be helpful, or keep watch
#for other developments in this area
gem 'sort_alphabetical'
#allow for HTML sanitizing for fields where we want to allow some html
gem 'loofah-activerecord'
#For deployment, but can be ignored if not using capistrano
gem 'capistrano'
#include thin webserver for development
#to start it, do 'bundle exec thin start' - this is important, as
#doing simply 'thin start' may pull in unbundled gems and cause
#dependency conflicts
group :development do
gem 'thin'
#If you want to use newrelic for profiling you can uncomment the following.
#HOWEVER - generating Gemfile.lock with it uncommented can mess up deployment,
#so whenever adding new Gems or otherwise generating a new Gemfile.lock to check in
#please recomment it out!
# if File.exist?(File.join(File.dirname(__FILE__), 'config', 'newrelic.yml'))
# gem 'newrelic_rpm'
# end
#We use a custom version of tolk for three reasons:
# - some necessary requires are missing from the main version
# - we filter the personalize keys so that Tolk doesn't sync them
# - we don't generate a new migration - the migration for tolk is committed into Bibapp itself
gem 'tolk', "~> 1.0.1", :git => 'git://github.com/BibApp/tolk.git'
end
group :test, :development do
gem 'rspec'
gem 'rspec-rails'
gem 'email_spec'
gem 'ruby-debug-base'
gem 'ruby-debug'
gem 'ruby-debug-ide'
gem 'shoulda'
gem 'factory_girl'
gem 'rcov'
gem 'cucumber-rails'
gem 'database_cleaner'
#I'd prefer to add metric_fu directly here, but something it pulls
#in pulls in something else that conflicts with the Keyword class.
#So instead I've installed the metrical gem separately to see
#if I can get it to work that way.
#gem 'metric_fu
#attempt to remove excess logging caused by postgres
gem 'silent-postgres'
end