omniauth-humanid 1.0.1 → 1.0.4

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: bb8078978d79517bc3f4b8e5b522f5621c4fcda3547d803bffc9a4b8bf31547b
4
- data.tar.gz: d62b52824684055d6753f8469908782bb05bddcd9c83c98d7ce2b8dd838cac27
3
+ metadata.gz: 96612ee5868ebc835645882988abc5b2889729ce1aab219f70558712db5abd04
4
+ data.tar.gz: c4aad51db364f82c8d473069d9a437510337c610ff7e1d1bbfd7186b26bd780a
5
5
  SHA512:
6
- metadata.gz: 2b78d3148657e41df5f73ff8be8a28145e51d2607339810da1ae38bbe10111b03fba852f49de88d60a58f2d18ee98e2b9fc84c39aae1e23eeb4747eb4b0eccd5
7
- data.tar.gz: 4de067e6ce7d3aa17e3bc82302f7aee3bdbd40fb7a31bb4e4761192f0c696f12b835153a56c9adc1812a0fe0c32320a91601a05f6530243aaceb66f6a629bffa
6
+ metadata.gz: 5c55e613323c7689638e302cf58eeb3118c069d7abc0893f0586890077daa458e329b86b21bf0a42a2031397ecf5a5f3d339478bdbe6872d85709d6bcaee6781
7
+ data.tar.gz: 17e574f50a7a7146b4adedac90fbb2f877dbca3da1b22a3b5ee0429373abb51d550dc0cc426b349752cdfda54517bd790d6fdac79a6ca2a0091398b2de2bfe6d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- omniauth-humanid (1.0.1)
4
+ omniauth-humanid (1.0.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
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 = eval(x[0])
15
- puts "version: #{version}"
16
- puts "_______________________________________________"
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
- puts "version_new: #{version_new}"
21
- puts "_______________________________________________"
22
- x[0] = "version = '#{version_new}'"
23
- puts "x[0] => #{x[0]}"
24
- puts "_______________________________________________"
25
- x = x.join("\n")
26
- puts x
27
- File.write('./omniauth-humanid.gemspec', x)
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`
@@ -0,0 +1,5 @@
1
+
2
+ module OmniauthHumanid
3
+ VERSION = "1.0.4"
4
+ end
5
+ #this file gets overwritten automatically on minor updates, major ones need to be manually changed
@@ -1,9 +1,8 @@
1
- version = '1.0.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 = 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.1
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-09-08 00:00:00.000000000 Z
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: