[WIP] Post Roulette feed where it sends you random posts by users you follow, unbiased by post age.
at main 39 lines 1.7 kB view raw
1# frozen_string_literal: true 2 3require_relative "lib/bskypostroulettefeed/version" 4 5Gem::Specification.new do |spec| 6 spec.name = "bskypostroulettefeed" 7 spec.version = PostRouletteFeed::VERSION 8 spec.authors = ["ansxor"] 9 spec.email = ["me@ansxor.ca"] 10 11 spec.summary = "TODO: Write a short summary, because RubyGems requires one." 12 spec.description = "TODO: Write a longer description or delete this line." 13 spec.homepage = "TODO: Put your gem's website or public repo URL here." 14 spec.required_ruby_version = ">= 3.2.0" 15 16 spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'" 17 spec.metadata["homepage_uri"] = spec.homepage 18 spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here." 19 spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here." 20 21 # Specify which files should be added to the gem when it is released. 22 # The `git ls-files -z` loads the files in the RubyGem that have been added into git. 23 gemspec = File.basename(__FILE__) 24 spec.files = IO.popen(%w[git ls-files -z], chdir: __dir__, err: IO::NULL) do |ls| 25 ls.readlines("\x0", chomp: true).reject do |f| 26 (f == gemspec) || 27 f.start_with?(*%w[bin/ Gemfile .gitignore test/ .github/ .standard.yml]) 28 end 29 end 30 spec.bindir = "exe" 31 spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } 32 spec.require_paths = ["lib"] 33 34 # Uncomment to register a new dependency of your gem 35 # spec.add_dependency "example-gem", "~> 1.0" 36 37 # For more information and examples about making a new gem, check out our 38 # guide at: https://bundler.io/guides/creating_gem.html 39end