gorp 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -1
- data/gorp.gemspec +3 -6
- data/lib/gorp.rb +6 -5
- data/lib/version.rb +1 -1
- metadata +3 -13
data/Rakefile
CHANGED
data/gorp.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{gorp}
|
5
|
-
s.version = "0.7.
|
5
|
+
s.version = "0.7.2"
|
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 = %q{2009-10-
|
9
|
+
s.date = %q{2009-10-28}
|
10
10
|
s.description = %q{ Enables the creation of scenarios that involve creating a rails project,
|
11
11
|
starting and stoppping of servers, generating projects, editing files,
|
12
12
|
issuing http requests, running of commands, etc. Output is captured as
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Gorp", "--main", "README"]
|
23
23
|
s.require_paths = ["lib"]
|
24
24
|
s.rubyforge_project = %q{gorp}
|
25
|
-
s.rubygems_version = %q{1.3.
|
25
|
+
s.rubygems_version = %q{1.3.5}
|
26
26
|
s.summary = %q{Rails scenario testing support library}
|
27
27
|
|
28
28
|
if s.respond_to? :specification_version then
|
@@ -30,7 +30,6 @@ Gem::Specification.new do |s|
|
|
30
30
|
s.specification_version = 3
|
31
31
|
|
32
32
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
33
|
-
s.add_runtime_dependency(%q<arel>, [">= 0"])
|
34
33
|
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
35
34
|
s.add_runtime_dependency(%q<erubis>, [">= 0"])
|
36
35
|
s.add_runtime_dependency(%q<rack>, [">= 0"])
|
@@ -39,7 +38,6 @@ Gem::Specification.new do |s|
|
|
39
38
|
s.add_runtime_dependency(%q<sqlite3-ruby>, [">= 0"])
|
40
39
|
s.add_runtime_dependency(%q<tzinfo>, [">= 0"])
|
41
40
|
else
|
42
|
-
s.add_dependency(%q<arel>, [">= 0"])
|
43
41
|
s.add_dependency(%q<builder>, [">= 0"])
|
44
42
|
s.add_dependency(%q<erubis>, [">= 0"])
|
45
43
|
s.add_dependency(%q<rack>, [">= 0"])
|
@@ -49,7 +47,6 @@ Gem::Specification.new do |s|
|
|
49
47
|
s.add_dependency(%q<tzinfo>, [">= 0"])
|
50
48
|
end
|
51
49
|
else
|
52
|
-
s.add_dependency(%q<arel>, [">= 0"])
|
53
50
|
s.add_dependency(%q<builder>, [">= 0"])
|
54
51
|
s.add_dependency(%q<erubis>, [">= 0"])
|
55
52
|
s.add_dependency(%q<rack>, [">= 0"])
|
data/lib/gorp.rb
CHANGED
@@ -495,11 +495,12 @@ def rails name, app=nil
|
|
495
495
|
$x.pre "#{rails} #{name}", :class=>'stdin'
|
496
496
|
popen3 "#{rails} #{name}"
|
497
497
|
|
498
|
-
#
|
499
|
-
Dir["#{name}/
|
500
|
-
|
501
|
-
code
|
502
|
-
|
498
|
+
# canonicalize the reference to Ruby
|
499
|
+
Dir["#{name}/script/**/*"].each do |script|
|
500
|
+
next if File.directory? script
|
501
|
+
code = open(script) {|file| file.read}
|
502
|
+
code.sub! /^#!.*/, '#!/usr/bin/env ruby'
|
503
|
+
open(script,'w') {|file| file.write code}
|
503
504
|
end
|
504
505
|
|
505
506
|
Dir.chdir(name)
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gorp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Ruby
|
@@ -9,19 +9,9 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-28 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
16
|
-
name: arel
|
17
|
-
type: :runtime
|
18
|
-
version_requirement:
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: "0"
|
24
|
-
version:
|
25
15
|
- !ruby/object:Gem::Dependency
|
26
16
|
name: builder
|
27
17
|
type: :runtime
|
@@ -140,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
130
|
requirements: []
|
141
131
|
|
142
132
|
rubyforge_project: gorp
|
143
|
-
rubygems_version: 1.3.
|
133
|
+
rubygems_version: 1.3.5
|
144
134
|
signing_key:
|
145
135
|
specification_version: 3
|
146
136
|
summary: Rails scenario testing support library
|