fillertext
A filler text generation gem with an intuitive interface
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
Keywords from Contributors
Repository
A filler text generation gem with an intuitive interface
Basic Info
- Host: GitHub
- Owner: colindean
- License: other
- Language: Ruby
- Default Branch: main
- Homepage: https://rubygems.org/gems/fillertext
- Size: 161 KB
Statistics
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 1
- Releases: 7
Topics
Metadata Files
README.md
FillerText
by @colindean
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
- Create a fork of the GitHub project repo.
git clonethe forked repository to your local system.- Make sure that the version of Ruby you're using meets the minimum requirement in the gemspec.
- Run
bundle installto install dependencies. It should tell you at this point if you don't have an adequate Ruby version installed. - Check basic sanity by running
bundle exec raketo run tests and checks before you make any changes. - Make your changes and commit them to a feature branch. If you're picking a particular GitHub issue, please put
gh-##-topicin the branch where##is the ticket number andtopicis a few words about it. - 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.
- Make sure that the project is set up properly (see Setting up the project)
2.
- Run
rspecto run all the tests by default - To run only a selected few tests, run
rspec spec/<test_you're_interested_in>_spec.rb
- Run
- To access code coverage details, run
xdg-open coverage/index.html(on Linux) oropen 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
- Website: https://cad.cx
- Repositories: 301
- Profile: https://github.com/colindean
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
Top Committers
| Name | 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
Pull Request Labels
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
- Homepage: http://github.com/colindean/fillertext
- Documentation: http://www.rubydoc.info/gems/fillertext/
- License: MIT
-
Latest release: 0.3.5
published over 3 years ago
Rankings
Maintainers (1)
Dependencies
- rake ~> 13.0
- rspec ~> 3.0
- rubocop ~> 1.21
- rubocop-rake ~> 0.5.1
- rubocop-rspec ~> 1.3, >= 1.3.1
- rdoc ~> 6.4 development
- simplecov ~> 0.21.2 development
- actions/checkout v2 composite
- google-github-actions/release-please-action v3 composite
- ruby/setup-ruby v1 composite
- actions/checkout v2 composite
- ruby/setup-ruby v1 composite