torquespec 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/torquespec/daemon.rb +1 -0
- data/lib/torquespec/deployment_descriptor.rb +1 -1
- data/lib/torquespec/torquespec.rb +1 -1
- data/lib/torquespec/version.rb +1 -1
- metadata +68 -85
data/lib/torquespec/daemon.rb
CHANGED
@@ -13,6 +13,7 @@ module TorqueSpec
|
|
13
13
|
dir = opts['pwd'].to_s
|
14
14
|
raise "The 'pwd' option must contain a valid directory name" if dir.empty? || !File.exist?(dir)
|
15
15
|
@analyzer = inject( 'runtime-injection-analyzer' )
|
16
|
+
$: << opts['spec_dir'] if opts['spec_dir']
|
16
17
|
Dir.chdir( dir ) do
|
17
18
|
RSpec::Core::Runner.disable_autorun! # avoid a bunch of at_exit finalizer errors
|
18
19
|
@options = RSpec::Core::ConfigurationOptions.new( opts['argv'].to_a )
|
@@ -46,7 +46,7 @@ module TorqueSpec
|
|
46
46
|
yaml['application'] ||= {}
|
47
47
|
yaml['application']['root'] ||= TorqueSpec.app_root
|
48
48
|
yaml['services'] ||= {}
|
49
|
-
yaml['services'].update( 'TorqueSpec::Daemon' => { 'argv' => TorqueSpec.argv, 'pwd' => Dir.pwd } )
|
49
|
+
yaml['services'].update( 'TorqueSpec::Daemon' => { 'argv' => TorqueSpec.argv, 'pwd' => Dir.pwd, 'spec_dir' => TorqueSpec.spec_dir } )
|
50
50
|
yaml['environment'] ||= {}
|
51
51
|
env = { 'RUBYLIB' => TorqueSpec.rubylib }
|
52
52
|
yaml['environment'].update(env) {|k,oldval,newval| "#{oldval}:#{newval}"}
|
data/lib/torquespec/version.rb
CHANGED
metadata
CHANGED
@@ -1,52 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torquespec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 2
|
10
|
-
version: 0.4.2
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.3
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
|
-
- Jim Crossley
|
14
|
-
- Bob McWhirter
|
8
|
+
- Jim Crossley
|
9
|
+
- Bob McWhirter
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
13
|
|
19
|
-
date: 2011-
|
14
|
+
date: 2011-10-25 00:00:00 -04:00
|
20
15
|
default_executable:
|
21
16
|
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
hash: 3
|
45
|
-
segments:
|
46
|
-
- 0
|
47
|
-
version: "0"
|
48
|
-
type: :runtime
|
49
|
-
version_requirements: *id002
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: rspec
|
19
|
+
prerelease: false
|
20
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
+
none: false
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: "0"
|
26
|
+
type: :runtime
|
27
|
+
version_requirements: *id001
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: json
|
30
|
+
prerelease: false
|
31
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
32
|
+
none: false
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: "0"
|
37
|
+
type: :runtime
|
38
|
+
version_requirements: *id002
|
50
39
|
description: Write integration tests around the deployment of your app to a real JBoss app server
|
51
40
|
email: team@projectodd.org
|
52
41
|
executables: []
|
@@ -56,32 +45,32 @@ extensions: []
|
|
56
45
|
extra_rdoc_files: []
|
57
46
|
|
58
47
|
files:
|
59
|
-
- .gitignore
|
60
|
-
- Gemfile
|
61
|
-
- README.org
|
62
|
-
- Rakefile
|
63
|
-
- apps/empty/torquebox.yml
|
64
|
-
- apps/node-info.war
|
65
|
-
- apps/simple.knob
|
66
|
-
- apps/simple/config.ru
|
67
|
-
- lib/rspec/core/torquespec-extensions.rb
|
68
|
-
- lib/torque_spec/daemon.rb
|
69
|
-
- lib/torquespec.rb
|
70
|
-
- lib/torquespec/as6.rb
|
71
|
-
- lib/torquespec/as7.rb
|
72
|
-
- lib/torquespec/daemon.rb
|
73
|
-
- lib/torquespec/deployment_descriptor.rb
|
74
|
-
- lib/torquespec/server.rb
|
75
|
-
- lib/torquespec/torquespec.rb
|
76
|
-
- lib/torquespec/version.rb
|
77
|
-
- spec/empty_spec.rb
|
78
|
-
- spec/failure.rb
|
79
|
-
- spec/guard_spec.rb
|
80
|
-
- spec/hello_world_spec.rb
|
81
|
-
- spec/injection_spec.rb
|
82
|
-
- spec/nested_remote_spec.rb
|
83
|
-
- spec/remote_spec.rb
|
84
|
-
- torquespec.gemspec
|
48
|
+
- .gitignore
|
49
|
+
- Gemfile
|
50
|
+
- README.org
|
51
|
+
- Rakefile
|
52
|
+
- apps/empty/torquebox.yml
|
53
|
+
- apps/node-info.war
|
54
|
+
- apps/simple.knob
|
55
|
+
- apps/simple/config.ru
|
56
|
+
- lib/rspec/core/torquespec-extensions.rb
|
57
|
+
- lib/torque_spec/daemon.rb
|
58
|
+
- lib/torquespec.rb
|
59
|
+
- lib/torquespec/as6.rb
|
60
|
+
- lib/torquespec/as7.rb
|
61
|
+
- lib/torquespec/daemon.rb
|
62
|
+
- lib/torquespec/deployment_descriptor.rb
|
63
|
+
- lib/torquespec/server.rb
|
64
|
+
- lib/torquespec/torquespec.rb
|
65
|
+
- lib/torquespec/version.rb
|
66
|
+
- spec/empty_spec.rb
|
67
|
+
- spec/failure.rb
|
68
|
+
- spec/guard_spec.rb
|
69
|
+
- spec/hello_world_spec.rb
|
70
|
+
- spec/injection_spec.rb
|
71
|
+
- spec/nested_remote_spec.rb
|
72
|
+
- spec/remote_spec.rb
|
73
|
+
- torquespec.gemspec
|
85
74
|
has_rdoc: true
|
86
75
|
homepage: http://github.com/torquebox/torquespec
|
87
76
|
licenses: []
|
@@ -90,37 +79,31 @@ post_install_message:
|
|
90
79
|
rdoc_options: []
|
91
80
|
|
92
81
|
require_paths:
|
93
|
-
- lib
|
82
|
+
- lib
|
94
83
|
required_ruby_version: !ruby/object:Gem::Requirement
|
95
84
|
none: false
|
96
85
|
requirements:
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
segments:
|
101
|
-
- 0
|
102
|
-
version: "0"
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: "0"
|
103
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
90
|
none: false
|
105
91
|
requirements:
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
segments:
|
110
|
-
- 0
|
111
|
-
version: "0"
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: "0"
|
112
95
|
requirements: []
|
113
96
|
|
114
97
|
rubyforge_project: torquespec
|
115
|
-
rubygems_version: 1.
|
98
|
+
rubygems_version: 1.5.1
|
116
99
|
signing_key:
|
117
100
|
specification_version: 3
|
118
101
|
summary: Deploy TorqueBox knobs to a running JBoss instance
|
119
102
|
test_files:
|
120
|
-
- spec/empty_spec.rb
|
121
|
-
- spec/failure.rb
|
122
|
-
- spec/guard_spec.rb
|
123
|
-
- spec/hello_world_spec.rb
|
124
|
-
- spec/injection_spec.rb
|
125
|
-
- spec/nested_remote_spec.rb
|
126
|
-
- spec/remote_spec.rb
|
103
|
+
- spec/empty_spec.rb
|
104
|
+
- spec/failure.rb
|
105
|
+
- spec/guard_spec.rb
|
106
|
+
- spec/hello_world_spec.rb
|
107
|
+
- spec/injection_spec.rb
|
108
|
+
- spec/nested_remote_spec.rb
|
109
|
+
- spec/remote_spec.rb
|