gorp 0.27.0 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +1 -0
- data/gorp.gemspec +3 -3
- data/lib/gorp/rails.rb +4 -2
- data/lib/version.rb +1 -1
- metadata +5 -5
data/Manifest
CHANGED
data/gorp.gemspec
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "gorp"
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.28.0"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Sam Ruby"]
|
9
|
-
s.date = "2011-10-
|
9
|
+
s.date = "2011-10-22"
|
10
10
|
s.description = " Enables the creation of scenarios that involve creating a rails project,\n starting and stoppping of servers, generating projects, editing files,\n issuing http requests, running of commands, etc. Output is captured as\n a single HTML file that can be viewed locally or uploaded.\n\n Additionally, there is support for verification, in the form of defining\n assertions based on selections (typically CSS) against the generated HTML.\n"
|
11
11
|
s.email = "rubys@intertwingly.net"
|
12
12
|
s.extra_rdoc_files = ["README", "lib/gorp.rb", "lib/gorp/commands.rb", "lib/gorp/edit.rb", "lib/gorp/env.rb", "lib/gorp/net.rb", "lib/gorp/output.css", "lib/gorp/output.rb", "lib/gorp/rails.env", "lib/gorp/rails.rb", "lib/gorp/test.rb", "lib/gorp/xml.rb", "lib/version.rb"]
|
13
|
-
s.files = ["Manifest", "README", "Rakefile", "lib/gorp.rb", "lib/gorp/commands.rb", "lib/gorp/edit.rb", "lib/gorp/env.rb", "lib/gorp/net.rb", "lib/gorp/output.css", "lib/gorp/output.rb", "lib/gorp/rails.env", "lib/gorp/rails.rb", "lib/gorp/test.rb", "lib/gorp/xml.rb", "lib/version.rb"
|
13
|
+
s.files = ["Manifest", "README", "Rakefile", "gorp.gemspec", "lib/gorp.rb", "lib/gorp/commands.rb", "lib/gorp/edit.rb", "lib/gorp/env.rb", "lib/gorp/net.rb", "lib/gorp/output.css", "lib/gorp/output.rb", "lib/gorp/rails.env", "lib/gorp/rails.rb", "lib/gorp/test.rb", "lib/gorp/xml.rb", "lib/version.rb"]
|
14
14
|
s.homepage = "http://github.com/rubys/gorp"
|
15
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Gorp", "--main", "README"]
|
16
16
|
s.require_paths = ["lib"]
|
data/lib/gorp/rails.rb
CHANGED
@@ -241,7 +241,6 @@ module Gorp
|
|
241
241
|
end
|
242
242
|
|
243
243
|
if $server
|
244
|
-
sleep 3
|
245
244
|
# wait for server to start
|
246
245
|
60.times do
|
247
246
|
sleep 0.5
|
@@ -252,7 +251,10 @@ module Gorp
|
|
252
251
|
end
|
253
252
|
end
|
254
253
|
else
|
255
|
-
|
254
|
+
# start a new bundler context
|
255
|
+
ENV.keys.dup.each { |key| ENV.delete key if key =~ /^BUNDLE_/ }
|
256
|
+
ENV.delete('RUBYOPT')
|
257
|
+
|
256
258
|
# For unknown reason, when run as CGI, the below produces:
|
257
259
|
# undefined method `chomp' for nil:NilClass (NoMethodError)
|
258
260
|
# from rails/actionpack/lib/action_dispatch/middleware/static.rb:13
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gorp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 111
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 28
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.28.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sam Ruby
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-22 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: builder
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- Manifest
|
112
112
|
- README
|
113
113
|
- Rakefile
|
114
|
+
- gorp.gemspec
|
114
115
|
- lib/gorp.rb
|
115
116
|
- lib/gorp/commands.rb
|
116
117
|
- lib/gorp/edit.rb
|
@@ -123,7 +124,6 @@ files:
|
|
123
124
|
- lib/gorp/test.rb
|
124
125
|
- lib/gorp/xml.rb
|
125
126
|
- lib/version.rb
|
126
|
-
- gorp.gemspec
|
127
127
|
homepage: http://github.com/rubys/gorp
|
128
128
|
licenses: []
|
129
129
|
|