rails-settings-cached.gemspec 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # frozen_string_literal: true
  2. $LOAD_PATH.push File.expand_path("lib", __dir__)
  3. require "rails-settings/version"
  4. Gem::Specification.new do |s|
  5. s.name = "rails-settings-cached"
  6. s.version = RailsSettings.version
  7. s.authors = ["Jason Lee"]
  8. s.email = "huacnlee@gmail.com"
  9. s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
  10. s.homepage = "https://github.com/huacnlee/rails-settings-cached"
  11. s.require_paths = ["lib"]
  12. s.license = "MIT"
  13. s.required_ruby_version = ">= 2.5"
  14. s.summary = "The best solution for store global settings in Rails applications."
  15. s.description = "
  16. The best solution for store global settings in Rails applications.
  17. This gem will managing a table of а global key, value pairs easy. Think of it like a
  18. global Hash stored in your database, that uses simple ActiveRecord like methods for manipulation.
  19. Keep track of any global setting that you dont want to hard code into your rails app.
  20. You can store any kind of object. Strings, numbers, arrays, or any object.
  21. "
  22. s.add_dependency "rails", ">= 5.0.0"
  23. s.add_development_dependency "pg"
  24. s.add_development_dependency "minitest"
  25. s.add_development_dependency "rubocop"
  26. s.add_development_dependency "sqlite3"
  27. end