omniauth-humanid 1.0.1 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/bin/update +25 -18
- data/lib/omniauth-humanid/version.rb +5 -0
- data/omniauth-humanid.gemspec +2 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96612ee5868ebc835645882988abc5b2889729ce1aab219f70558712db5abd04
|
4
|
+
data.tar.gz: c4aad51db364f82c8d473069d9a437510337c610ff7e1d1bbfd7186b26bd780a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c55e613323c7689638e302cf58eeb3118c069d7abc0893f0586890077daa458e329b86b21bf0a42a2031397ecf5a5f3d339478bdbe6872d85709d6bcaee6781
|
7
|
+
data.tar.gz: 17e574f50a7a7146b4adedac90fbb2f877dbca3da1b22a3b5ee0429373abb51d550dc0cc426b349752cdfda54517bd790d6fdac79a6ca2a0091398b2de2bfe6d
|
data/Gemfile.lock
CHANGED
data/bin/update
CHANGED
@@ -5,26 +5,33 @@
|
|
5
5
|
# you can one-line that with './bin/bundle update && ../bin rails s' though. Just
|
6
6
|
# make sure you use ~> in the gemfile and your first 2 version numbers are correct.
|
7
7
|
|
8
|
-
x = File.read('./omniauth-humanid.gemspec')
|
9
|
-
x = x.split("\n")
|
10
|
-
puts x.class
|
11
|
-
puts x.length
|
12
|
-
puts x
|
13
|
-
puts "_______________________________________________"
|
14
|
-
version
|
15
|
-
|
16
|
-
|
17
|
-
version = version.split('.')
|
8
|
+
#x = File.read('./omniauth-humanid.gemspec')
|
9
|
+
#x = x.split("\n")
|
10
|
+
#puts x.class
|
11
|
+
#puts x.length
|
12
|
+
#puts x
|
13
|
+
puts "_______________________________________________"
|
14
|
+
require_relative '../lib/omniauth-humanid/version.rb'
|
15
|
+
old_version = OmniauthHumanid::VERSION
|
16
|
+
version = old_version.split('.')
|
18
17
|
version[-1] = ((version[-1].to_i) + 1).to_s
|
19
18
|
version_new = version.join('.')
|
20
|
-
|
21
|
-
puts
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
puts
|
27
|
-
|
19
|
+
|
20
|
+
puts File.dirname(__FILE__)
|
21
|
+
puts "old version: #{old_version}"
|
22
|
+
|
23
|
+
write_to = "#{File.dirname(__FILE__)}/../lib/omniauth-humanid/version.rb"
|
24
|
+
|
25
|
+
puts "updating #{write_to} to new version #{version_new}"
|
26
|
+
|
27
|
+
|
28
|
+
File.write(write_to, %Q{
|
29
|
+
module OmniauthHumanid
|
30
|
+
VERSION = "#{version_new}"
|
31
|
+
end
|
32
|
+
#this file gets overwritten automatically on minor updates, major ones need to be manually changed
|
33
|
+
})
|
34
|
+
|
28
35
|
puts "_______________________________________________"
|
29
36
|
puts "BUNDLE UPDATE"
|
30
37
|
puts `bundle update`
|
data/omniauth-humanid.gemspec
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
|
2
|
-
#version must be on the first line for the update script
|
1
|
+
require_relative 'lib/omniauth-humanid/version'
|
3
2
|
|
4
3
|
Gem::Specification.new do |spec|
|
5
4
|
spec.name = "omniauth-humanid"
|
6
|
-
spec.version =
|
5
|
+
spec.version = OmniauthHumanid::VERSION
|
7
6
|
spec.authors = ["Luke Clancy"]
|
8
7
|
spec.email = ["lukeclancy@hotmail.com"]
|
9
8
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-humanid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Clancy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -29,6 +29,7 @@ files:
|
|
29
29
|
- bin/update
|
30
30
|
- changelog.md
|
31
31
|
- lib/omniauth-humanid.rb
|
32
|
+
- lib/omniauth-humanid/version.rb
|
32
33
|
- omniauth-humanid.gemspec
|
33
34
|
homepage: https://github.com/LukeClancy/omniauth-humanid/blob/master/README.md
|
34
35
|
licenses:
|