travis 1.8.14.travis.1156.9 → 1.8.14.travis.1160.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7984e28bbe58b10d57d2ebfb60b94e8bcf549ef57e001858a17d715ccccd4b5
4
- data.tar.gz: f2d2b67d641a46bb6bd19473115ff3720e519563ae73d01bc08626fa1766db05
3
+ metadata.gz: 86e6bd2b0edf9f23837c3e3184ff627ad8eb4ea34d697abca94d2dc7bf0df40b
4
+ data.tar.gz: 797434b3efd2a0c6cc0fe05852c920b3e2120f5c5ca48936fedea351b27ec2dc
5
5
  SHA512:
6
- metadata.gz: 288ead0f0da6281cfc7028948de5afc919ae6fef927459162ec244e66186ca268321a5097d9d1c7426a831c054424fda8b12bbb1186b4911f2c1fcba7b8a4165
7
- data.tar.gz: a2dd779deb3ad13d0c2de074091b0fee6c3bed0a27134ff0bb771726248e4613a20e495f3947c68dde0798dc077e030f50cb642631f7db059959bdaaa2c4edb1
6
+ metadata.gz: 3d5d65e2a0980a3a6d542f32397cfb4aaa8479279a54ea0d67255d7a503e6eb0dee94874566d1ec277ebae13324efd59d8584555a26f0d4d0f13b59c4676fb4a
7
+ data.tar.gz: 9c38b3eac1ed6e61f6983bcd321e6ccb7a8ca7cd6e21c6f4bfc88bb3c7ba094e7ac5b884f3e563ec64da732be98993af20a7309263d5eebaf70cae9b075639a7
@@ -9,6 +9,7 @@ module Travis
9
9
 
10
10
  on('-r', '--repo SLUG', 'monitor given repository (can be used more than once)') do |c, slug|
11
11
  c.repos << slug
12
+ c.send(:error, "SLUG should be of the form OWNER/REPO") unless slug.split('/').compact.size == 2
12
13
  end
13
14
 
14
15
  types = Tools::Notification::DEFAULT.map(&:to_s).join(", ")
@@ -6,7 +6,10 @@ module Travis
6
6
  class RepoCommand < ApiCommand
7
7
  GIT_REGEX = %r{/?(.*/.+?)(\.git)?$}
8
8
  TRAVIS = %r{^https://(staging-)?api\.travis-ci\.(org|com)}
9
- on('-r', '--repo SLUG', 'repository to use (will try to detect from current git clone)') { |c, slug| c.slug = slug }
9
+ on('-r', '--repo SLUG', 'repository to use (will try to detect from current git clone)') do |c, slug|
10
+ c.slug = slug
11
+ c.error "SLUG should be of the form OWNER/REPO" unless slug.split('/').compact.size == 2
12
+ end
10
13
  on('-R', '--store-repo SLUG', 'like --repo, but remembers value for current directory') do |c, slug|
11
14
  c.slug = slug
12
15
  c.send(:store_slug, slug)
@@ -30,21 +30,19 @@ Gem::Specification.new do |s|
30
30
  "Alpha",
31
31
  "Beau Bouchard",
32
32
  "Corinna Wiesner",
33
- "David Rodr\xC3\xADguez",
34
33
  "Eugene",
35
34
  "Eugene Shubin",
36
35
  "Igor Wiedler",
37
36
  "Joep van Delft",
38
37
  "Stefan Nordhausen",
39
38
  "Tobias Bieniek",
40
- "Basarat Ali Syed",
39
+ "David Rodr\xC3\xADguez",
41
40
  "Dominic Jodoin",
42
41
  "Harald Nordgren",
43
42
  "HaraldNordgren",
44
43
  "Igor",
45
44
  "Jacob Atzen",
46
45
  "James Nylen",
47
- "Joe Rafaniello",
48
46
  "Jonas Chromik",
49
47
  "Matt",
50
48
  "Matteo Sumberaz",
@@ -77,20 +75,18 @@ Gem::Specification.new do |s|
77
75
  "AlphaWong@users.noreply.github.com",
78
76
  "127320+BeauBouchard@users.noreply.github.com",
79
77
  "wiesner@avarteq.de",
80
- "deivid.rodriguez@gmail.com",
81
78
  "eugene@travis-ci.org",
82
79
  "51701929+eugene-travis@users.noreply.github.com",
83
80
  "igor@travis-ci.org",
84
81
  "stefan.nordhausen@immobilienscout24.de",
85
82
  "tobias.bieniek@gmail.com",
86
- "basaratali@gmail.com",
83
+ "deivid.rodriguez@gmail.com",
87
84
  "dominic@travis-ci.com",
88
85
  "haraldnordgren@gmail.com",
89
86
  "haraldnordgren@gmail.com",
90
87
  "igorwwwwwwwwwwwwwwwwwwww@users.noreply.github.com",
91
88
  "jatzen@gmail.com",
92
89
  "jnylen@gmail.com",
93
- "jrafanie@users.noreply.github.com",
94
90
  "joep@travis-ci.org",
95
91
  "joepvd@users.noreply.github.com",
96
92
  "Jonas.Chromik@student.hpi.uni-potsdam.de",
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.8.14.travis.1156.9
4
+ version: 1.8.14.travis.1160.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiro Asari
@@ -23,21 +23,19 @@ authors:
23
23
  - Alpha
24
24
  - Beau Bouchard
25
25
  - Corinna Wiesner
26
- - David Rodríguez
27
26
  - Eugene
28
27
  - Eugene Shubin
29
28
  - Igor Wiedler
30
29
  - Joep van Delft
31
30
  - Stefan Nordhausen
32
31
  - Tobias Bieniek
33
- - Basarat Ali Syed
32
+ - David Rodríguez
34
33
  - Dominic Jodoin
35
34
  - Harald Nordgren
36
35
  - HaraldNordgren
37
36
  - Igor
38
37
  - Jacob Atzen
39
38
  - James Nylen
40
- - Joe Rafaniello
41
39
  - Jonas Chromik
42
40
  - Matt
43
41
  - Matteo Sumberaz
@@ -253,20 +251,18 @@ email:
253
251
  - AlphaWong@users.noreply.github.com
254
252
  - 127320+BeauBouchard@users.noreply.github.com
255
253
  - wiesner@avarteq.de
256
- - deivid.rodriguez@gmail.com
257
254
  - eugene@travis-ci.org
258
255
  - 51701929+eugene-travis@users.noreply.github.com
259
256
  - igor@travis-ci.org
260
257
  - stefan.nordhausen@immobilienscout24.de
261
258
  - tobias.bieniek@gmail.com
262
- - basaratali@gmail.com
259
+ - deivid.rodriguez@gmail.com
263
260
  - dominic@travis-ci.com
264
261
  - haraldnordgren@gmail.com
265
262
  - haraldnordgren@gmail.com
266
263
  - igorwwwwwwwwwwwwwwwwwwww@users.noreply.github.com
267
264
  - jatzen@gmail.com
268
265
  - jnylen@gmail.com
269
- - jrafanie@users.noreply.github.com
270
266
  - joep@travis-ci.org
271
267
  - joepvd@users.noreply.github.com
272
268
  - Jonas.Chromik@student.hpi.uni-potsdam.de