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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +0 -1
- data/Rakefile +24 -3
- data/lib/signet/version.rb +1 -1
- data/signet.gemspec +1 -1
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9084ee8ad4899f25a76ea5d139b4c27b06ff2062f2f06abf84d4138de65964da
|
4
|
+
data.tar.gz: 07ac86bd2c18766abb1b0467350c7f6597fd066eede7b4ad202fe5d5fa6bb705
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a6dc75b39f87b5327fe1c828bb3ce0e2b33260f621c3c91249b7dbdf3536c6928ba2eeaa796877702c3b88ee362457446f299b8855a635ab2d87eb0163f645f
|
7
|
+
data.tar.gz: 4ea29e16f2d9edb69c29f312f50134dd03d2e258cbb3eaf7d38a76624478afd33f644a9b8dded8d971c54a8d06ddddc64e12b74cb7a28d686a21016d399e1d7f
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
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
|
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 "
|
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
|
|
data/lib/signet/version.rb
CHANGED
data/signet.gemspec
CHANGED
@@ -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", "
|
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.
|
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:
|
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:
|
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:
|
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
|
-
|
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.
|