gnarails.gemspec in gnarails-3.0.0 vs gnarails.gemspec in gnarails-3.0.1
- old
+ new
@@ -1,6 +1,6 @@
-lib = File.expand_path("../lib", __FILE__)
+lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "gnarails/version"
Gem::Specification.new do |spec|
spec.name = "gnarails"
@@ -17,17 +17,28 @@
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- spec.required_ruby_version = ">= 2.6.3"
+ spec.required_ruby_version = ">= 2.7.4"
- spec.add_dependency "rails", "~> 6.0.0"
+ spec.add_dependency "rails", "~> 7.0.0"
spec.add_dependency "thor"
spec.add_development_dependency "bundler", ">= 1.16", "< 3.0"
spec.add_development_dependency "gnar-style"
spec.add_development_dependency "pronto"
spec.add_development_dependency "pronto-rubocop"
- spec.add_development_dependency "rake", "~> 10.0"
+ spec.add_development_dependency "rake", "~> 13.0"
spec.add_development_dependency "rspec", "~> 3.0"
+ spec.metadata["rubygems_mfa_required"] = "true"
+ spec.post_install_message = %(
+ ==============================
+ THIS GEM HAS BEEN DEPRECATED!
+ ==============================
+ If you are looking to initialize
+ Rails apps with Gnarly Opinions,
+ check out Gnar-CLI:
+
+ https://www.github.com/theGnarCo/gnar-cli
+ )
end