##// END OF EJS Templates
Gemfile: update rbpdf version to 1.18.4 (#18629)...
Toshi MARUYAMA -
r13488:34b3376b812c
parent child
Show More
@@ -1,104 +1,104
1 1 source 'https://rubygems.org'
2 2
3 3 gem "rails", "4.1.8"
4 4 gem "jquery-rails", "~> 3.1.1"
5 5 gem "coderay", "~> 1.1.0"
6 6 gem "builder", ">= 3.0.4"
7 7 gem "request_store", "1.0.5"
8 8 gem "mime-types"
9 9 gem "protected_attributes"
10 10 gem "actionpack-action_caching"
11 11 gem "actionpack-xml_parser"
12 12
13 13 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
14 14 gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin, :jruby]
15 gem "rbpdf", "~> 1.18.3"
15 gem "rbpdf", "~> 1.18.4"
16 16
17 17 # Optional gem for LDAP authentication
18 18 group :ldap do
19 19 gem "net-ldap", "~> 0.3.1"
20 20 end
21 21
22 22 # Optional gem for OpenID authentication
23 23 group :openid do
24 24 gem "ruby-openid", "~> 2.3.0", :require => "openid"
25 25 gem "rack-openid"
26 26 end
27 27
28 28 platforms :mri, :mingw, :x64_mingw do
29 29 # Optional gem for exporting the gantt to a PNG file, not supported with jruby
30 30 group :rmagick do
31 31 gem "rmagick", ">= 2.0.0"
32 32 end
33 33
34 34 # Optional Markdown support, not for JRuby
35 35 group :markdown do
36 36 gem "redcarpet", "~> 3.1.2"
37 37 end
38 38 end
39 39
40 40 platforms :jruby do
41 41 # jruby-openssl is bundled with JRuby 1.7.0
42 42 gem "jruby-openssl" if Object.const_defined?(:JRUBY_VERSION) && JRUBY_VERSION < '1.7.0'
43 43 gem "activerecord-jdbc-adapter", "~> 1.3.2"
44 44 end
45 45
46 46 # Include database gems for the adapters found in the database
47 47 # configuration file
48 48 require 'erb'
49 49 require 'yaml'
50 50 database_file = File.join(File.dirname(__FILE__), "config/database.yml")
51 51 if File.exist?(database_file)
52 52 database_config = YAML::load(ERB.new(IO.read(database_file)).result)
53 53 adapters = database_config.values.map {|c| c['adapter']}.compact.uniq
54 54 if adapters.any?
55 55 adapters.each do |adapter|
56 56 case adapter
57 57 when 'mysql2'
58 58 gem "mysql2", "~> 0.3.11", :platforms => [:mri, :mingw, :x64_mingw]
59 59 gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
60 60 when 'mysql'
61 61 gem "activerecord-jdbcmysql-adapter", :platforms => :jruby
62 62 when /postgresql/
63 63 gem "pg", "~> 0.17.1", :platforms => [:mri, :mingw, :x64_mingw]
64 64 gem "activerecord-jdbcpostgresql-adapter", :platforms => :jruby
65 65 when /sqlite3/
66 66 gem "sqlite3", :platforms => [:mri, :mingw, :x64_mingw]
67 67 gem "activerecord-jdbcsqlite3-adapter", "1.3.11", :platforms => :jruby
68 68 when /sqlserver/
69 69 gem "tiny_tds", "~> 0.6.2", :platforms => [:mri, :mingw, :x64_mingw]
70 70 gem "activerecord-sqlserver-adapter", :platforms => [:mri, :mingw, :x64_mingw]
71 71 else
72 72 warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems")
73 73 end
74 74 end
75 75 else
76 76 warn("No adapter found in config/database.yml, please configure it first")
77 77 end
78 78 else
79 79 warn("Please configure your config/database.yml first")
80 80 end
81 81
82 82 group :development do
83 83 gem "rdoc", ">= 2.4.2"
84 84 gem "yard"
85 85 end
86 86
87 87 group :test do
88 88 gem "minitest"
89 89 gem "mocha", "~> 1.0.0", :require => 'mocha/api'
90 90 gem "simplecov", "~> 0.9.1", :require => false
91 91 # For running UI tests
92 92 gem "capybara"
93 93 gem "selenium-webdriver"
94 94 end
95 95
96 96 local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
97 97 if File.exists?(local_gemfile)
98 98 eval_gemfile local_gemfile
99 99 end
100 100
101 101 # Load plugins' Gemfiles
102 102 Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
103 103 eval_gemfile file
104 104 end
General Comments 0
You need to be logged in to leave comments. Login now