paraduct 0.0.1.beta9 → 0.0.1.beta10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/paraduct/runner.rb +1 -1
- data/lib/paraduct/version.rb +1 -1
- data/spec/paraduct/runner_spec.rb +16 -0
- metadata +2 -2
data/lib/paraduct/runner.rb
CHANGED
data/lib/paraduct/version.rb
CHANGED
@@ -75,4 +75,20 @@ DATABASE=mysql
|
|
75
75
|
|
76
76
|
it{ should eq "ruby=1.9, database=mysql" }
|
77
77
|
end
|
78
|
+
|
79
|
+
describe "#job_name" do
|
80
|
+
subject{ runner.job_name }
|
81
|
+
|
82
|
+
context "basic case" do
|
83
|
+
let(:params) { { "ruby" => "1.9", "database" => "mysql" } }
|
84
|
+
|
85
|
+
it { should eq "RUBY_1.9_DATABASE_mysql" }
|
86
|
+
end
|
87
|
+
|
88
|
+
context "containing slash" do
|
89
|
+
let(:params) { { "ruby" => "1.9", "gemfile" => "gemfiles/rails3_2.gemfile" } }
|
90
|
+
|
91
|
+
it { should eq "RUBY_1.9_GEMFILE_gemfiles_rails3_2.gemfile" }
|
92
|
+
end
|
93
|
+
end
|
78
94
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paraduct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.beta10
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -369,7 +369,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
369
369
|
version: '0'
|
370
370
|
segments:
|
371
371
|
- 0
|
372
|
-
hash:
|
372
|
+
hash: -3937149399617201797
|
373
373
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
374
374
|
none: false
|
375
375
|
requirements:
|