oop_rails_server 0.0.5 → 0.0.6

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
- ---
2
- SHA1:
3
- metadata.gz: 2e1a47e69c9c08c79485ce20abcbd45b4dcbf90d
4
- data.tar.gz: 860c2d6fb55eef8feefac791d564e696dc75c017
5
- SHA512:
6
- metadata.gz: 70a2ac9e215a7c3a938f739249373417e88d8945c5e1e73f4ee75b9825138726b495594b538be1434081014343cee3e10d7e1df91b738f0104f31e46d08d4f3b
7
- data.tar.gz: ec639daaff0273e73e1f491eec0e154417cb97242ae32504550dc4c5e92452b8449c9e650a805aeaa2a6fca7323a260f07480b0defcb1809f946198e2c8f1560
1
+ ---
2
+ SHA512:
3
+ metadata.gz: 05d0340f530048422bff8972352bc83f36b909c9a208b039c4c04ec3713a11c46d887eaa6e1950af9cbd4d31bd6914702f5ad056ff6943a3d57957d7b4124dac
4
+ data.tar.gz: f71482c95e6469bde51a6725354622c7535aa7cd23612968c7157ada4bc517bc62c6b81d6eb8c37e94eae3876845a0fa3ab7cd9f30e950ec5e098d0e1c709d30
5
+ SHA1:
6
+ metadata.gz: eab5f156b7123d5700851e32d8174c2be14c196f
7
+ data.tar.gz: f8b68fff116efbf689420d5ad9342ded1c8a88c2
data/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # `oop_rails_server` Releases
2
2
 
3
+ ## 0.0.6, 21 January 2015
4
+
5
+ * Fix to compensate for the `i18n` gem, which released a version `0.7.0` that is incompatible with
6
+ Ruby 1.8.7.
7
+
3
8
  ## 0.0.5, 14 December 2014
4
9
 
5
10
  * Added `json` as a dependency, since, under Ruby 1.8.7, it is not necessarily installed otherwise.
@@ -139,6 +139,8 @@ source 'https://rubygems.org'
139
139
 
140
140
  gem 'rails'#{rails_version_spec}
141
141
  EOS
142
+
143
+ f.puts "gem 'i18n', '< 0.7.0'" if RUBY_VERSION =~ /^1\.8\./
142
144
  end
143
145
 
144
146
  run_bundle_install!(:bootstrap)
@@ -251,16 +253,17 @@ EOS
251
253
  end
252
254
  result = data.body.strip
253
255
 
254
- unless result =~ /^Rails\s+version\s*:\s*(\d+\.\d+\.\d+)$/
256
+ unless result =~ /^Rails\s+version\s*:\s*(\d+\.\d+\.\d+)\n+Ruby\s+version\s*:\s*(\d+\..*?)\s*$/
255
257
  raise "'#{server_verify_url}' returned: #{result.inspect}"
256
258
  end
257
259
  actual_version = $1
260
+ ruby_version = $2
258
261
 
259
262
  if rails_version != :default && (actual_version != rails_version)
260
263
  raise "We seem to have spawned the wrong version of Rails; wanted: #{rails_version.inspect} but got: #{actual_version.inspect}"
261
264
  end
262
265
 
263
- say "Successfully spawned a server running Rails #{actual_version} on port #{port}."
266
+ say "Successfully spawned a server running Rails #{actual_version} (Ruby #{ruby_version}) on port #{port}."
264
267
  end
265
268
 
266
269
  def is_alive?(pid)
@@ -1,3 +1,3 @@
1
1
  module OopRailsServer
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  class WorkingController < ApplicationController
2
2
  def rails_is_working
3
- render :text => "Rails version: #{Rails.version}"
3
+ render :text => "Rails version: #{Rails.version}\nRuby version: #{RUBY_VERSION}"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,65 +1,58 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: oop_rails_server
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.5
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Andrew Geweke
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-14 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2015-01-22 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: json
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
16
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - &id004
20
+ - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "0"
23
+ type: :runtime
24
+ version_requirements: *id001
25
+ - !ruby/object:Gem::Dependency
28
26
  name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.6'
34
- type: :development
35
27
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.6'
41
- - !ruby/object:Gem::Dependency
42
- name: rake
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '10.0'
28
+ requirement: &id002 !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: "1.6"
48
33
  type: :development
34
+ version_requirements: *id002
35
+ - !ruby/object:Gem::Dependency
36
+ name: rake
49
37
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '10.0'
38
+ requirement: &id003 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ~>
41
+ - !ruby/object:Gem::Version
42
+ version: "10.0"
43
+ type: :development
44
+ version_requirements: *id003
55
45
  description:
56
- email:
46
+ email:
57
47
  - andrew@geweke.org
58
48
  executables: []
49
+
59
50
  extensions: []
51
+
60
52
  extra_rdoc_files: []
61
- files:
62
- - ".gitignore"
53
+
54
+ files:
55
+ - .gitignore
63
56
  - CHANGES.md
64
57
  - Gemfile
65
58
  - LICENSE.txt
@@ -76,28 +69,27 @@ files:
76
69
  - templates/oop_rails_server_base/config/routes.rb
77
70
  - templates/oop_rails_server_base/config/secrets.yml
78
71
  homepage: https://github.com/ageweke/oop_rails_server
79
- licenses:
72
+ licenses:
80
73
  - MIT
81
74
  metadata: {}
75
+
82
76
  post_install_message:
83
77
  rdoc_options: []
84
- require_paths:
78
+
79
+ require_paths:
85
80
  - lib
86
- required_ruby_version: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: '0'
91
- required_rubygems_version: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- version: '0'
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - *id004
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - *id004
96
87
  requirements: []
88
+
97
89
  rubyforge_project:
98
- rubygems_version: 2.2.2
90
+ rubygems_version: 2.4.5
99
91
  signing_key:
100
92
  specification_version: 4
101
- summary: Reliably runs a Rails server in a separate process, for use in tests, utilities,
102
- etc.
93
+ summary: Reliably runs a Rails server in a separate process, for use in tests, utilities, etc.
103
94
  test_files: []
95
+