travis 1.6.15.travis.557.6 → 1.6.15.travis.558.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/spec/client_spec.rb +12 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODRiOTJmY2Q2ZDAxMjZkYzc5ZTVlYTk1NWYyZjEwNTM0NzM2ZWRkMA==
4
+ MjY0YjVhNDJjYjA3MDA5MzY4NDY2MTUwODM0MTU1ZGY1YzQ5YzQ2MQ==
5
5
  data.tar.gz: !binary |-
6
- YTUzYWJhYWFiNTBiZDI1Y2Y1NjJiZmFlNGZjNGE3ODQxYzcxNDExMw==
6
+ OGRlNzM4MmQyMjYxNDYzMzA5Y2I2NmJmZjJjMTEzODg3NDdiYjJmYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MWEzZTA2ZjIwNDlhNDhlYjJhNzZhNGM3OGEzNzMxOThlMzRmOGFlZjdmZGNj
10
- ZjQ5Nzk3NWNmMTY3MDkzMzQ3NWM3ZDhmZGMyMDE4NGYyMTkzNGExYmNlYjk3
11
- M2Y1MWZmYThlOGFhNTdmOWVkNTUzZGM3OTFjODliMzY3Y2FjODA=
9
+ MTFmMmRlM2M0MTM0NjdhMDM3Y2M1N2ZhMTEzNWFlOWMzYTdjNTczZWE0OGIx
10
+ YTAxMmQwMzZjZGYwNTUyNjQxNGZlYzU5NDhlYThkZWRmNzAzOGJmYTY1Y2Y2
11
+ YzIzMDJhYzcyMjc0OTQyY2FlOTA5ZDI4MmI5NDA4ZDcwZGM0MTE=
12
12
  data.tar.gz: !binary |-
13
- NGVjZjBjMzIyOTJhMGQ5M2RjYmM5ZmYyY2FkOWRlZmEzNWFhYjUzOWY4MmRj
14
- NGZmZjZiZmI1ZTM0MzhmMzg2ZDU4YTQ0ZTZmMWFlYWYzNGZjOWFlYmU0ZmUw
15
- NzY2ZWMwMjU3ODFmYzlhY2JkYjU4NGYyNDQ5MzA3Yzc2MmU1ZTM=
13
+ ODNiZmJjNzIyNDM3OTdmZjg3ZTRhMjQwYmNmZWZkY2ViZjcwYWM3OTFkNDEz
14
+ NDhjMjBlNzhiMGUyMTEzNDNiM2NlNzdlYTdkYjYyZjIwNDU3MGNkOTEyNWY4
15
+ ZDA1MzQyNjlhNTM0OTFiNzM4YjNkZTE0NTI4ODg1MWY5ODVjMjc=
data/spec/client_spec.rb CHANGED
@@ -2,4 +2,16 @@ require 'spec_helper'
2
2
 
3
3
  describe Travis::Client do
4
4
  its(:new) { should be_a(Travis::Client::Session) }
5
+
6
+ it 'accepts string argument' do
7
+ Travis::Client.new('http://foo/').uri.should be == 'http://foo/'
8
+ end
9
+
10
+ it 'accepts options hash with string keys' do
11
+ Travis::Client.new('uri' => 'http://foo/').uri.should be == 'http://foo/'
12
+ end
13
+
14
+ it 'accepts options hash with symbol keys' do
15
+ Travis::Client.new(:uri => 'http://foo/').uri.should be == 'http://foo/'
16
+ end
5
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.15.travis.557.6
4
+ version: 1.6.15.travis.558.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase