Skip to content

Commit b47aed9

Browse files
committed
➕ stone_checksums
- binstubs
1 parent 8baf6b8 commit b47aed9

File tree

6 files changed

+87
-67
lines changed

6 files changed

+87
-67
lines changed

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ GEM
361361
standard-custom (>= 1.0.2, < 2)
362362
standard-performance (>= 1.3.1, < 2)
363363
version_gem (>= 1.1.4, < 3)
364+
stone_checksums (1.0.0)
365+
version_gem (>= 1.1.5, < 3)
364366
stringio (3.1.7)
365367
symbol_decoration (1.1.0)
366368
terminal-table (4.0.0)
@@ -429,6 +431,7 @@ DEPENDENCIES
429431
sequel (~> 5.86)
430432
sqlite3 (>= 1)
431433
standard (>= 1.35.1, != 1.42.0, != 1.41.1)
434+
stone_checksums (~> 1.0)
432435
stringio (~> 3.1, >= 3.1.2)
433436
test-unit (>= 3.0)
434437
yard (~> 0.9, >= 0.9.37)

bin/bundle-audit

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'bundle-audit' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12+
13+
bundle_binstub = File.expand_path("bundle", __dir__)
14+
15+
if File.file?(bundle_binstub)
16+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
17+
load(bundle_binstub)
18+
else
19+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21+
end
22+
end
23+
24+
require "rubygems"
25+
require "bundler/setup"
26+
27+
load Gem.bin_path("bundler-audit", "bundle-audit")

bin/bundler-audit

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'bundler-audit' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12+
13+
bundle_binstub = File.expand_path("bundle", __dir__)
14+
15+
if File.file?(bundle_binstub)
16+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
17+
load(bundle_binstub)
18+
else
19+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21+
end
22+
end
23+
24+
require "rubygems"
25+
require "bundler/setup"
26+
27+
load Gem.bin_path("bundler-audit", "bundler-audit")

bin/checksums

Lines changed: 0 additions & 67 deletions
This file was deleted.

bin/gem_checksums

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'gem_checksums' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12+
13+
bundle_binstub = File.expand_path("bundle", __dir__)
14+
15+
if File.file?(bundle_binstub)
16+
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
17+
load(bundle_binstub)
18+
else
19+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21+
end
22+
end
23+
24+
require "rubygems"
25+
require "bundler/setup"
26+
27+
load Gem.bin_path("stone_checksums", "gem_checksums")

omniauth-identity.gemspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,7 @@ Gem::Specification.new do |spec|
9191
spec.add_development_dependency("rake", "~> 13")
9292
spec.add_development_dependency("rspec", "~> 3")
9393
spec.add_development_dependency("rspec-block_is_expected", "~> 1.0", ">= 1.0.6")
94+
95+
### Releasing
96+
spec.add_development_dependency("stone_checksums", "~> 1.0") # ruby >= 2.2
9497
end

0 commit comments

Comments
 (0)