-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimmutable_struct_ex.gemspec
64 lines (51 loc) · 2.43 KB
/
immutable_struct_ex.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'immutable_struct_ex/version'
Gem::Specification.new do |spec|
spec.name = 'immutable_struct_ex'
spec.version = ImmutableStructEx::VERSION
spec.authors = ['Gene M. Angelo, Jr.']
spec.email = ['public.gma@gmail.com']
spec.summary = 'Creates an immutable struct in one step.'
spec.description = 'Creates an immutable struct in one step.'
spec.homepage = 'https://github.com/gangelo/immutable_struct_ex'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.1", "< 4.0")
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
# if spec.respond_to?(:metadata)
# spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
# else
# raise 'RubyGems 2.0 or newer is required to protect against ' \
# 'public gem pushes.'
# end
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.post_install_message = <<~POST_INSTALL
Thank you for installing immutable_struct_ex.
View the immutable_struct_ex README.md here: https://github.com/gangelo/immutable_struct_ex
View the immutable_struct_ex CHANGELOG.md: https://github.com/gangelo/immutable_struct_ex/blob/main/CHANGELOG.md
*
***
*******
*********
***********************
*****************
*************
******* *******
***** *****
*** ***
** **
Using immutable_struct_ex? immutable_struct_ex is made available free of charge. Please consider giving this gem a STAR on GitHub as well as sharing it with your fellow developers on social media.
Knowing that immutable_struct_ex is being used and appreciated is a great motivator to continue developing and improving immutable_struct_ex.
>>> Star it on github: https://github.com/gangelo/immutable_struct_ex
>>> Share on social media: https://rubygems.org/gems/immutable_struct_ex
Thank you!
<3 Gene
POST_INSTALL
end