oop_rails_server 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGES.md +4 -0
- data/lib/oop_rails_server/rails_server.rb +7 -1
- data/lib/oop_rails_server/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
SHA512:
|
3
|
-
metadata.gz: 05d0340f530048422bff8972352bc83f36b909c9a208b039c4c04ec3713a11c46d887eaa6e1950af9cbd4d31bd6914702f5ad056ff6943a3d57957d7b4124dac
|
4
|
-
data.tar.gz: f71482c95e6469bde51a6725354622c7535aa7cd23612968c7157ada4bc517bc62c6b81d6eb8c37e94eae3876845a0fa3ab7cd9f30e950ec5e098d0e1c709d30
|
5
2
|
SHA1:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84afb8fd45ac3c486c2a4ac5437cf49053f210e7
|
4
|
+
data.tar.gz: dc945d5c3630894bf4577d74cae750af674bdf3f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 513409b059ea373c7f83b9c3749b7b5205287c2c869019e434f3565ce8f68b435259e3d2515a464a6032cf480309182abb24bb3a7b366744e2fbbcfae9cfc223
|
7
|
+
data.tar.gz: d3433fb5c40f94877cfb20a8aca1ee0011b50c2d9c2885b540d3db322a4e12d9e276261b07fa49a19f05c862492c5b596d4fd26abf71c60e6ed0129b53a15cdc
|
data/CHANGES.md
CHANGED
@@ -161,7 +161,13 @@ EOS
|
|
161
161
|
# Since Rails 3.0.20 was released, a new version of the I18n gem, 0.5.2, was released that moves a constant
|
162
162
|
# into a different namespace. (See https://github.com/mislav/will_paginate/issues/347 for more details.)
|
163
163
|
# So, if we're running Rails 3.0.x, we lock the 'i18n' gem to an earlier version.
|
164
|
-
|
164
|
+
if rails_version && rails_version =~ /^3\.0\./
|
165
|
+
gemfile_contents << "\ngem 'i18n', '= 0.5.0'\n"
|
166
|
+
elsif RUBY_VERSION =~ /^1\.8\./
|
167
|
+
# Since Rails 3.x was released, a new version of the I18n gem, 0.7.0, was released that is incompatible
|
168
|
+
# with Ruby 1.8.7. So, if we're running with Ruby 1.8.7, we lock the 'i18n' gem to an earlier version.
|
169
|
+
gemfile_contents << "\ngem 'i18n', '< 0.7.0'\n"
|
170
|
+
end
|
165
171
|
|
166
172
|
# Apparently execjs released a version 2.2.0 that will happily install on Ruby 1.8.7, but which contains some
|
167
173
|
# new-style hash syntax. As a result, we pin the version backwards in this one specific case.
|