travis_dedup 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: 04603ba6cc68114fb41abe32e6a7f13d17891d1e
4
- data.tar.gz: 7efca7ec8c3752a5ed4db4801c8c0508cfbf740e
3
+ metadata.gz: 039587d09851fbdca25e7e78d8c939601c9d24e7
4
+ data.tar.gz: 78c2d77d5c524e52c87bdbe8536d9f9e9f39937f
5
5
  SHA512:
6
- metadata.gz: 5860acfa91d3c46a7e44bf7b5b97fda4a096cfc87991c57e019c51f22c389c0d004df4f0d4484d5ef7026a93bd7ed30bf53c15c1a76470810e069c61ba6a71bb
7
- data.tar.gz: efef33df8b0cc3c3ebbd8f00dca972cd9941de7b240210a6e2579e64a504ad2326a469adb38043f4f24fa4013c5a00fd19b0a2628cabb41f642fae7ce76ce529
6
+ metadata.gz: 29d07aefdeda665bd54b72f74fd663465c8ff5bc6de7a16a5e50fcf1efee9ca54916ab37238fb80cf776c65c87d47636a6c199ec92fd0611459a59bb6f3bb6ff
7
+ data.tar.gz: 8e03712d95c75f22bda0b556cf8cbd4694378fa957db202caf6ad1bf15172c8c1a6ccfb706bd03f3d76ed11c8f7ddc95eaed1b55df461e7b889cc42f0b94cd3a
@@ -1,3 +1,3 @@
1
1
  module TravisDedup
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
data/lib/travis_dedup.rb CHANGED
@@ -45,7 +45,7 @@ module TravisDedup
45
45
  end
46
46
 
47
47
  def access_token(github_token)
48
- request(:post, "auth/github", github_token: github_token).fetch("access_token")
48
+ request(:post, "auth/github", {github_token: github_token}, 'User-Agent' => 'Travis/1.0').fetch("access_token")
49
49
  end
50
50
 
51
51
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis_dedup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-25 00:00:00.000000000 Z
11
+ date: 2016-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday