signet 0.12.0 → 0.13.0

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: c80485d96774a5d31447471f38ed3f976ed3cbc751f26d9758798adee4e3fced
4
- data.tar.gz: 70a563487e412a15c01799c09ec1fed027152e024053272c15858743cf4a58ca
3
+ metadata.gz: 9084ee8ad4899f25a76ea5d139b4c27b06ff2062f2f06abf84d4138de65964da
4
+ data.tar.gz: 07ac86bd2c18766abb1b0467350c7f6597fd066eede7b4ad202fe5d5fa6bb705
5
5
  SHA512:
6
- metadata.gz: e004219f1e71c272772bb4892574d8bcc2725fc8f3fb0b474612839661f0a272400ffff50149499b27f91d6287aaeb41fe1065d7bd2652a0f58cdd9f2f12e1da
7
- data.tar.gz: 046c9e719091f1f8d17fc324762558b2e6cb00d9b74c0ad66ec4da5bda5d8ba2a2ba6f2e070baacd6af2853d2ca30c1ea198c8ec59bb6fcdf9f63ac11929df9c
6
+ metadata.gz: 4a6dc75b39f87b5327fe1c828bb3ce0e2b33260f621c3c91249b7dbdf3536c6928ba2eeaa796877702c3b88ee362457446f299b8855a635ab2d87eb0163f645f
7
+ data.tar.gz: 4ea29e16f2d9edb69c29f312f50134dd03d2e258cbb3eaf7d38a76624478afd33f644a9b8dded8d971c54a8d06ddddc64e12b74cb7a28d686a21016d399e1d7f
@@ -1,3 +1,7 @@
1
+ ### 0.13.0 / 2020-02-24
2
+
3
+ * Support Faraday 1.x
4
+
1
5
  ### 0.12.0 / 2019-10-08
2
6
 
3
7
  * This version now requires Ruby 2.4.
data/README.md CHANGED
@@ -8,7 +8,6 @@
8
8
  </dl>
9
9
 
10
10
  [![Gem Version](https://badge.fury.io/rb/signet.svg)](https://badge.fury.io/rb/signet)
11
- [![Build Status](https://secure.travis-ci.org/google/signet.png)](http://travis-ci.org/google/signet)
12
11
 
13
12
  ## Description
14
13
 
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ task :release_gem, :tag do |_t, args|
8
8
  raise "You must provide a tag to release." if tag.nil?
9
9
 
10
10
  # Verify the tag format "vVERSION"
11
- m = tag.match(/signet\/v(?<version>\S*)/)
11
+ m = tag.match /v(?<version>\S*)/
12
12
  raise "Tag #{tag} does not match the expected format." if m.nil?
13
13
 
14
14
  version = m[:version]
@@ -30,16 +30,23 @@ task :release_gem, :tag do |_t, args|
30
30
  end
31
31
 
32
32
  path_to_be_pushed = "pkg/signet-#{version}.gem"
33
+ gem_was_published = nil
33
34
  if File.file? path_to_be_pushed
34
35
  begin
35
- ::Gems.push File.new(path_to_be_pushed)
36
+ response = ::Gems.push File.new(path_to_be_pushed)
37
+ puts response
38
+ raise unless response.include? "Successfully registered gem:"
39
+ gem_was_published = true
36
40
  puts "Successfully built and pushed signet for version #{version}"
37
41
  rescue StandardError => e
42
+ gem_was_published = false
38
43
  puts "Error while releasing signet version #{version}: #{e.message}"
39
44
  end
40
45
  else
41
46
  raise "Cannot build signet for version #{version}"
42
47
  end
48
+
49
+ Rake::Task["kokoro:publish_docs"].invoke if gem_was_published
43
50
  end
44
51
 
45
52
  task :ci do
@@ -77,7 +84,21 @@ namespace :kokoro do
77
84
  .first.split("(").last.split(")").first || "0.1.0"
78
85
  end
79
86
  Rake::Task["kokoro:load_env_vars"].invoke
80
- Rake::Task["release_gem"].invoke "signet/v#{version}"
87
+ Rake::Task["release_gem"].invoke "v#{version}"
88
+ end
89
+
90
+ task :post do
91
+ require_relative "rakelib/link_checker.rb"
92
+
93
+ link_checker = LinkChecker.new
94
+ link_checker.run
95
+ exit link_checker.exit_status
96
+ end
97
+
98
+ task :publish_docs do
99
+ require_relative "rakelib/devsite_builder.rb"
100
+
101
+ DevsiteBuilder.new(__dir__).publish
81
102
  end
82
103
  end
83
104
 
@@ -13,5 +13,5 @@
13
13
  # limitations under the License.
14
14
 
15
15
  module Signet
16
- VERSION = "0.12.0".freeze
16
+ VERSION = "0.13.0".freeze
17
17
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |gem|
24
24
  gem.required_ruby_version = ">= 2.4.0"
25
25
 
26
26
  gem.add_runtime_dependency "addressable", "~> 2.3"
27
- gem.add_runtime_dependency "faraday", "~> 0.9"
27
+ gem.add_runtime_dependency "faraday", ">= 0.17.3", "< 2.0"
28
28
  gem.add_runtime_dependency "jwt", ">= 1.5", "< 3.0"
29
29
  gem.add_runtime_dependency "multi_json", "~> 1.10"
30
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: signet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Aman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-10-09 00:00:00.000000000 Z
12
+ date: 2020-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: addressable
@@ -29,16 +29,22 @@ dependencies:
29
29
  name: faraday
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - "~>"
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: '0.9'
34
+ version: 0.17.3
35
+ - - "<"
36
+ - !ruby/object:Gem::Version
37
+ version: '2.0'
35
38
  type: :runtime
36
39
  prerelease: false
37
40
  version_requirements: !ruby/object:Gem::Requirement
38
41
  requirements:
39
- - - "~>"
42
+ - - ">="
40
43
  - !ruby/object:Gem::Version
41
- version: '0.9'
44
+ version: 0.17.3
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
42
48
  - !ruby/object:Gem::Dependency
43
49
  name: jwt
44
50
  requirement: !ruby/object:Gem::Requirement
@@ -242,8 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
248
  - !ruby/object:Gem::Version
243
249
  version: 1.3.5
244
250
  requirements: []
245
- rubyforge_project:
246
- rubygems_version: 2.7.6
251
+ rubygems_version: 3.0.6
247
252
  signing_key:
248
253
  specification_version: 4
249
254
  summary: Signet is an OAuth 1.0 / OAuth 2.0 implementation.