oop_rails_server 0.0.15 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/LICENSE.txt +1 -1
- data/lib/oop_rails_server/rails_server.rb +12 -3
- data/lib/oop_rails_server/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10eca8dc5cc42c4e8284cde58858ea7b29bb2d28
|
|
4
|
+
data.tar.gz: a48c6facce3f1c08c289531a556c63d85f9f417d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fda371e58a2597d4bebbfd63e2ab49e60205629233338cc89a2e54532d0c91d953fcdf1c676d397cb103ed8237f1fde6f4f1728ab702220b5f43fb2717968952
|
|
7
|
+
data.tar.gz: 53bbe9da7d1c2fc0644123678b282326b30cd4a4b5e6dc726667a27bb7176aefd9f7b35acbca6bfc7454f8c52127cda96a292e039b80b41d2103a32ff989de1a
|
data/CHANGES.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# `oop_rails_server` Releases
|
|
2
2
|
|
|
3
|
+
## 0.0.16, 19 September 2016
|
|
4
|
+
|
|
5
|
+
* Add workarounds for newer versions of `rake` and `uglifier` that cause problems with Ruby 1.8.7.
|
|
6
|
+
|
|
3
7
|
## 0.0.15, 10 February 2016
|
|
4
8
|
|
|
5
9
|
* Fix a small regular-expression issue preventing `oop_rails_server` from working on a Rails version that had four
|
data/LICENSE.txt
CHANGED
|
@@ -202,6 +202,7 @@ EOS
|
|
|
202
202
|
|
|
203
203
|
f.puts "gem 'i18n', '< 0.7.0'" if RUBY_VERSION =~ /^1\.8\./
|
|
204
204
|
f.puts "gem 'rack-cache', '< 1.3.0'" if RUBY_VERSION =~ /^1\./
|
|
205
|
+
f.puts "gem 'rake', '< 11.0.0'" if RUBY_VERSION =~ /^1\.8\./
|
|
205
206
|
end
|
|
206
207
|
|
|
207
208
|
run_bundle_install!(:bootstrap)
|
|
@@ -237,9 +238,17 @@ EOS
|
|
|
237
238
|
gemfile_contents << "\ngem 'rack-cache', '< 1.3.0'\n"
|
|
238
239
|
end
|
|
239
240
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
if RUBY_VERSION =~ /^1\.8\./
|
|
242
|
+
# Apparently execjs released a version 2.2.0 that will happily install on Ruby 1.8.7, but which contains some
|
|
243
|
+
# new-style hash syntax. As a result, we pin the version backwards in this one specific case.
|
|
244
|
+
gemfile_contents << "\ngem 'execjs', '~> 2.0.0'\n"
|
|
245
|
+
|
|
246
|
+
# Rake 11 is incompatible with Ruby 1.8
|
|
247
|
+
gemfile_contents << "\ngem 'rake', '< 11.0.0'\n"
|
|
248
|
+
|
|
249
|
+
# Uglifier 3 is incompatible with Ruby 1.8
|
|
250
|
+
gemfile_contents.gsub!(/^(.*['"]uglifier['"].*)$/, "\\1, '< 3.0.0'")
|
|
251
|
+
end
|
|
243
252
|
|
|
244
253
|
gemfile_contents << additional_gemfile_lines.join("\n")
|
|
245
254
|
gemfile_contents << "\n"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oop_rails_server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Geweke
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|