fillertext

A filler text generation gem with an intuitive interface

https://github.com/colindean/fillertext

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.3%) to scientific vocabulary

Keywords

hacktoberfest

Keywords from Contributors

hacking sequences yolov5 interpretability standardization mesh ranking interactive pde distribution
Last synced: 7 months ago · JSON representation ·

Repository

A filler text generation gem with an intuitive interface

Basic Info
Statistics
  • Stars: 7
  • Watchers: 2
  • Forks: 4
  • Open Issues: 1
  • Releases: 7
Topics
hacktoberfest
Created over 14 years ago · Last pushed 8 months ago
Metadata Files
Readme Changelog Funding License Citation

README.md

FillerText

by @colindean

Testing Build Status Release Build Status Gem Version

Introduction

FillerText is a gem useful for generating, well, filler text. It can do the standard "lorem ipsum" text or a variety of other clever substitute texts.

Installing FillerText

Install using:

sh gem install fillertext

or add the gem to your project's Gemfile:

ruby gem 'fillertext'

Using FillerText

Here's how you use FillerText.

There are two main ways. One is cleaner because it keeps FillerText within its own namespace. The other method will add Fixnum#filler to keep some tasty syntactical sugar.

ruby FillerText::FillerText.sentences 5 FillerText::FillerText.words 2 FillerText::FillerText.characters 5 FillerText::FillerText.bytes 4 FillerText::FillerText.paragraphs 1

or the much easier and intended method:

ruby 2.filler.sentences 1.filler.paragraphs

You can also change the style from the default "lorem ipsum" to something else.

```ruby

the old favorite

FillerText::FillerText.style = FillerText::Style::LoremIpsum

a mash of words

FillerText::FillerText.style = FillerText::Style::HipsterIpsum

handmade just like grandma's pierogies

FillerText::FillerText.style = FillerText::Style::YinzerIpsum

homage to the late, great Pittsburgh Penguins announcer

FillerTest::FillerText.style = FillerText::Style::MikeLange ```

Contributing to FillerText

Setting up the project

  1. Create a fork of the GitHub project repo.
  2. git clone the forked repository to your local system.
  3. Make sure that the version of Ruby you're using meets the minimum requirement in the gemspec.
  4. Run bundle install to install dependencies. It should tell you at this point if you don't have an adequate Ruby version installed.
  5. Check basic sanity by running bundle exec rake to run tests and checks before you make any changes.
  6. Make your changes and commit them to a feature branch. If you're picking a particular GitHub issue, please put gh-##-topic in the branch where ## is the ticket number and topic is a few words about it.
  7. Push to your own repo and then submit a pull request to this one!

Testing the project

FillerText uses RSpec for unit testing and SimpleCov for code coverage. New specifications can be added inside the spec/ directory.

  1. Make sure that the project is set up properly (see Setting up the project) 2.
    1. Run rspec to run all the tests by default
    2. To run only a selected few tests, run rspec spec/<test_you're_interested_in>_spec.rb
  2. To access code coverage details, run xdg-open coverage/index.html (on Linux) or open coverage/index.html (on Mac)

Patches welcome. Please file using Github issues.

I sincerely thank Ashvith Shetty for modernizing the build system for this software in 2022. Things are a lot easier to handle now than they were in 2011!

Releases

As of 0.2.3, FillerText uses release-please along with release-please-action for release automation in GitHub Actions.

Following Conventional Commits v1.0 standard, prefix a commit with fix: to increment the patch version in a future release, prefix with feat: to increment the minor version, and prefix with feat!: or fix!: or refactor!: to mark a breaking change and a major version increment.

For more information, read the release-please-action documentation on releasing.

License

FillerText is licensed under the MIT license. Copyright (C) 2011-2022 by Colin Dean. See LICENSE.txt for more.

Owner

  • Name: Colin Dean
  • Login: colindean
  • Kind: user
  • Location: Pittsburgh, PA, USA
  • Company: @codeandsupply; @target; @Homebrew

Scholar, bon vivant, champion of the oppressed.

Citation (CITATION.cff)

cff-version: 1.2.0
message: >
  If you use this software in research or other work
  wherein you are citing references and tools,
  please consider citing fillertext as indicated below.
authors:
- family-names: "Dean"
  given-names: "Colin"
  orcid: "https://orcid.org/0000-0002-3374-6891"
title: "fillertext"
version: 0.3.5
date-released: 2022-10-22
url: "https://github.com/colindean/fillertext"

GitHub Events

Total
  • Delete event: 19
  • Issue comment event: 5
  • Push event: 20
  • Pull request review comment event: 4
  • Pull request review event: 6
  • Pull request event: 25
  • Fork event: 1
  • Create event: 15
Last Year
  • Delete event: 19
  • Issue comment event: 5
  • Push event: 20
  • Pull request review comment event: 4
  • Pull request review event: 6
  • Pull request event: 25
  • Fork event: 1
  • Create event: 15

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 149
  • Total Committers: 9
  • Avg Commits per committer: 16.556
  • Development Distribution Score (DDS): 0.497
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Colin Dean g****t@c****x 75
Ashvith a****0@g****m 55
github-actions[bot] 4****] 8
snyk-bot s****t@s****o 5
dependabot[bot] 4****] 2
m3xq z****q@p****m 1
snyk-test s****t@s****o 1
snyk-bot a****t@s****o 1
Ashvith Shetty 1****h@u****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 11
  • Total pull requests: 70
  • Average time to close issues: 8 months
  • Average time to close pull requests: 28 days
  • Total issue authors: 3
  • Total pull request authors: 10
  • Average comments per issue: 2.73
  • Average comments per pull request: 0.49
  • Merged pull requests: 50
  • Bot issues: 0
  • Bot pull requests: 25
Past Year
  • Issues: 0
  • Pull requests: 28
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 days
  • Issue authors: 0
  • Pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.36
  • Merged pull requests: 18
  • Bot issues: 0
  • Bot pull requests: 14
Top Authors
Issue Authors
  • colindean (8)
  • Ashvith10 (2)
  • jacksonpires (1)
Pull Request Authors
  • colindean (24)
  • dependabot[bot] (18)
  • snyk-bot (9)
  • github-actions[bot] (7)
  • ghost (5)
  • yifeiwu (2)
  • timparenti (2)
  • Ashvith10 (1)
  • jacksonpires (1)
  • m3xq (1)
Top Labels
Issue Labels
hacktoberfest (2)
Pull Request Labels
dependencies (18) github_actions (10) autorelease: tagged (7)

Packages

  • Total packages: 1
  • Total downloads:
    • rubygems 12,752 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
rubygems.org: fillertext

Generates filler text through a direct interface or by monkeypatching Fixnum

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 12,752 Total
Rankings
Forks count: 12.4%
Dependent packages count: 15.7%
Stargazers count: 17.2%
Average: 26.5%
Downloads: 40.2%
Dependent repos count: 46.8%
Maintainers (1)
Last synced: 8 months ago

Dependencies

Gemfile rubygems
  • rake ~> 13.0
  • rspec ~> 3.0
  • rubocop ~> 1.21
  • rubocop-rake ~> 0.5.1
  • rubocop-rspec ~> 1.3, >= 1.3.1
fillertext.gemspec rubygems
  • rdoc ~> 6.4 development
  • simplecov ~> 0.21.2 development
.github/workflows/release.yml actions
  • actions/checkout v2 composite
  • google-github-actions/release-please-action v3 composite
  • ruby/setup-ruby v1 composite
.github/workflows/testing.yml actions
  • actions/checkout v2 composite
  • ruby/setup-ruby v1 composite