oop_rails_server 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43ab12df255c63f1e4e9328abf53ac176662042d
4
- data.tar.gz: 289508d95e22c89b9987e4da2c34bc052212a695
3
+ metadata.gz: 10eca8dc5cc42c4e8284cde58858ea7b29bb2d28
4
+ data.tar.gz: a48c6facce3f1c08c289531a556c63d85f9f417d
5
5
  SHA512:
6
- metadata.gz: 0dc178aabae1031323cac4c632313a2ffa9940c0ec4b05b83aee03630af1e9f2f92171a4a694fc121a24996655b25ce9df5404a2ccf4d9a20fa2d5cc456fe836
7
- data.tar.gz: 7d20f75998003730dfebe651e53ae3e1d0508c09df369b5eb0cbfc818d9d800af26f91360bf39bedc8667255705fb2428ad16b18a0bd0ef7f8e2350adea5abfc
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2014 Andrew Geweke
1
+ Copyright (c) 2014-2016 Andrew Geweke
2
2
 
3
3
  MIT License
4
4
 
@@ -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
- # Apparently execjs released a version 2.2.0 that will happily install on Ruby 1.8.7, but which contains some
241
- # new-style hash syntax. As a result, we pin the version backwards in this one specific case.
242
- gemfile_contents << "\ngem 'execjs', '~> 2.0.0'\n" if RUBY_VERSION =~ /^1\.8\./
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"
@@ -1,3 +1,3 @@
1
1
  module OopRailsServer
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
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.15
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-02-10 00:00:00.000000000 Z
11
+ date: 2016-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json