oop_rails_server 0.0.8 → 0.0.9

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: 26ef5c7bd3dcc6dc6bf29ad377c4397b510193d6
4
- data.tar.gz: 230c9d20af081ce7885dc1300d6056ccbff7fba2
3
+ metadata.gz: baeae98e1c1927a4cb6ba88a7ee9b82f003c7a1c
4
+ data.tar.gz: 2cb51f544a8dfada43b1df36337df4751fb87334
5
5
  SHA512:
6
- metadata.gz: 05c44883c4416fed68f128d239059d28e05b2ccc596ab3b1364a6220144cbe1c62af9f4c5754b565baddabb6a52fba75a0297ce2a1ef6b15624b4d68c37c8577
7
- data.tar.gz: 178c4199b58ea6e0eebb41f850be0716ecfea1df09e212785bd7adbc1650bd1c904155bd4b8c7ae13187666a0af6d1d5a2957a3dab81145eb47a4018dbf4dd77
6
+ metadata.gz: 0970040e07086c8d3b94daefc922f2ff70a7e6a203b3a84eda4c5091581dfa475ce1ad99ce6b459a790d31c892bc19c528cb7ea1b2de2a7934ef32e0e9f9d6a5
7
+ data.tar.gz: 9c03e04f07c0919541d890be7394244a8127c236574390001f56de002a2d2d556cb07d7208babd7b8aa23735084fc43bc9682500054713a2a7953f386f7774f4
data/CHANGES.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # `oop_rails_server` Releases
2
2
 
3
+ ## 0.0.9,
4
+
5
+ * Fix issue with Ruby 1.8.x caused by trying to reference RUBY_ENGINE, which isn't defined in 1.8.x.
6
+ * Tweak regexp we use to detect "need remote access" error on "bundle install --local", since it apparently
7
+ changed with a recent release of Bundler.
8
+
3
9
  ## 0.0.8, 3 April 2015
4
10
 
5
11
  * Much better error reporting if the server fails to start up.
@@ -476,7 +476,7 @@ and output:
476
476
 
477
477
  def is_remote_flag_required_error?(command_failed_error)
478
478
  command_failed_error.output =~ /could\s+not\s+find.*in\s+the\s+gems\s+available\s+on\s+this\s+machine/i ||
479
- command_failed_error.output =~ /could\s+not\s+find.*in\s+any\s+of\s+the\s+sources/i
479
+ command_failed_error.output =~ /could\s+not\s+find.*in\s+any\s+of\s+the.*\s+sources/i
480
480
  end
481
481
 
482
482
  def do_bundle_install!(name, allow_remote)
@@ -1,3 +1,3 @@
1
1
  module OopRailsServer
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  class WorkingController < ApplicationController
2
2
  def rails_is_working
3
- render :text => "Rails version: #{Rails.version}\nRuby version: #{RUBY_VERSION}\nRuby engine: #{RUBY_ENGINE}\n"
3
+ engine = if defined?(RUBY_ENGINE) then RUBY_ENGINE else nil end
4
+ render :text => "Rails version: #{Rails.version}\nRuby version: #{RUBY_VERSION}\nRuby engine: #{engine}\n"
4
5
  end
5
6
  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.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Geweke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-03 00:00:00.000000000 Z
11
+ date: 2015-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  version: '0'
110
110
  requirements: []
111
111
  rubyforge_project:
112
- rubygems_version: 2.4.5
112
+ rubygems_version: 2.4.5.1
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Reliably runs a Rails server in a separate process, for use in tests, utilities,