travis 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +4 -2
- data/example/org_overview.rb +3 -0
- data/lib/travis/cacert.pem +69 -3895
- data/lib/travis/version.rb +1 -1
- data/spec/cli/encrypt_spec.rb +2 -2
- data/spec/cli/endpoint_spec.rb +1 -1
- data/spec/cli/login_spec.rb +2 -2
- data/spec/cli/whoami_spec.rb +1 -1
- data/spec/spec_helper.rb +11 -1
- data/travis.gemspec +2 -1
- metadata +2 -1
data/Rakefile
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
3
|
+
windows = RUBY_PLATFORM =~ /mswin|mingw/
|
3
4
|
|
4
5
|
desc "run specs"
|
5
|
-
task(:spec) { ruby
|
6
|
+
task(:spec) { ruby "-S rspec spec#{" -c" unless windows}" }
|
6
7
|
|
7
8
|
desc "generate gemspec"
|
8
9
|
task 'travis.gemspec' do
|
@@ -34,5 +35,6 @@ task 'travis.gemspec' do
|
|
34
35
|
end
|
35
36
|
|
36
37
|
task :gemspec => 'travis.gemspec'
|
37
|
-
task :default =>
|
38
|
+
task :default => :spec
|
39
|
+
task :default => :gemspec unless windows
|
38
40
|
task :test => :spec
|