fillertext 0.3.5 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e2a17035c765225113cd70e39955295f581f7fc70927f6dba1d16f39a1c2b45
4
- data.tar.gz: 8c82337dc95152006fa2f2b3729ad98cf50f78a5e0a5ade2d9c30a56e7ad591b
3
+ metadata.gz: bb101bd325a00b2482a214e2ad15c4aa83512139c4464f3f5f5e872f8f382043
4
+ data.tar.gz: f21c17fe9e609e67aa96d10fdf71acef946293e90d88b0f3d9f66485768db5c8
5
5
  SHA512:
6
- metadata.gz: 2f576cd27a968bdd9e02488dabf6a017f8fa3af467fc1af5c21e74457e14a509e18864484a5a9a829dbfd489743a4fcf50d55d36d01e98bd3b1dc1ecd720eb22
7
- data.tar.gz: c0604d8a1ee5f7bce4a9b96736e9a34651a2d98c278f98546cf31c0ffc8e4f31126fec752a3c4a9dfc194e36fce92ba7133711e9f049bc9c859bb3ea2389d6b3
6
+ metadata.gz: b2135f51bf533517cd3f27f342449fb08ecb369a5b9ac628f1fe30d77bffd8d8cb2945595deb65deec50e3bb6c8f5eb0b22ca19e6baba71db15d7736379601c7
7
+ data.tar.gz: 9975350653c63cb2f8b35721c982696afd01079a80f47baf3add121fac6670ecfc5d16d7ab226991b1e13b809c652e0a268b629d745d5875162379e836ab6cfa
@@ -0,0 +1,28 @@
1
+ repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v6.0.0
4
+ hooks:
5
+ - id: check-added-large-files
6
+ - id: check-case-conflict
7
+ - id: check-illegal-windows-names
8
+ - id: check-merge-conflict
9
+ - id: check-symlinks
10
+ - id: check-vcs-permalinks
11
+ - id: check-yaml
12
+ - id: destroyed-symlinks
13
+ - id: end-of-file-fixer
14
+ - id: fix-byte-order-marker
15
+ - id: forbid-submodules
16
+ - id: trailing-whitespace
17
+ args: [--markdown-linebreak-ext=md]
18
+ - repo: https://github.com/mattlqx/pre-commit-ruby
19
+ rev: v1.3.6
20
+ hooks:
21
+ - id: rubocop
22
+ - id: rspec
23
+
24
+ ci:
25
+ skip:
26
+ # no ruby env on pre-commit.ci
27
+ - rubocop
28
+ - rspec
data/.rubocop.yml CHANGED
@@ -1,4 +1,4 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-rake
3
3
  - rubocop-rspec
4
4
 
@@ -6,6 +6,10 @@ AllCops:
6
6
  TargetRubyVersion: 2.6
7
7
  NewCops: enable
8
8
 
9
+ Style/OneClassPerFile:
10
+ Enabled: true
11
+ AllowedClasses: ['Integer']
12
+
9
13
  Style/StringLiterals:
10
14
  Enabled: true
11
15
  EnforcedStyle: double_quotes
data/CHANGELOG.md CHANGED
@@ -5,6 +5,34 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.4.1](https://github.com/colindean/fillertext/compare/v0.4.0...v0.4.1) (2026-03-12)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Add release-please config ([4834d06](https://github.com/colindean/fillertext/commit/4834d06fa90f545609c391caab625809c3f5bf65))
14
+ * Add release-please config and fix workflow ([127ac46](https://github.com/colindean/fillertext/commit/127ac4683e4453a914543307284416f7ce61066d))
15
+ * Downgrade manifest version from 0.4.1 to 0.4.0 ([eac7850](https://github.com/colindean/fillertext/commit/eac7850a5acb5bf04508f65cf123a58ed8a3985f))
16
+ * Populate release-please manifest manually ([d47cc74](https://github.com/colindean/fillertext/commit/d47cc74d4704cd0bd9430ec72b6017db7d1c2781))
17
+ * Set include-component-in-tag to avoid component-vtag ([64d64b6](https://github.com/colindean/fillertext/commit/64d64b6bc5af6ff823ea2886f4a90b0bb22010ae))
18
+ * Use config file in release-please-action ([daf626b](https://github.com/colindean/fillertext/commit/daf626b92b51eaa1521e9c93363e7b2bb6a8d087))
19
+
20
+ ## [0.4.0](https://github.com/colindean/fillertext/compare/v0.3.5...v0.4.0) (2026-03-12)
21
+
22
+ ### Features
23
+
24
+ * Added `ScotsWordOfTheDay` style
25
+ * Dev: testing on Ruby 4.0
26
+ * Dev: adds pre-commit config, Dependabot, and zizmor GitHub Actions security scans
27
+
28
+ ### Bug Fixes
29
+
30
+ * Recognize that Mike Lange died
31
+
32
+ ### Deprecations
33
+
34
+ * No longer testing on Ruby older than 3.3 (but Ruby 2.6 continues to be the baseline)
35
+
8
36
  ## [0.3.5](https://github.com/colindean/fillertext/compare/v0.3.4...v0.3.5) (2022-10-21)
9
37
 
10
38
 
data/CITATION.cff CHANGED
@@ -8,6 +8,6 @@ authors:
8
8
  given-names: "Colin"
9
9
  orcid: "https://orcid.org/0000-0002-3374-6891"
10
10
  title: "fillertext"
11
- version: 0.2.2
12
- date-released: 2022-01-26
11
+ version: 0.4.0
12
+ date-released: 2026-03-12
13
13
  url: "https://github.com/colindean/fillertext"
data/Gemfile CHANGED
@@ -14,3 +14,7 @@ gem "rubocop"
14
14
  gem "rubocop-rake"
15
15
 
16
16
  gem "rubocop-rspec"
17
+
18
+ gem "rdoc"
19
+
20
+ gem "simplecov"
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  FillerText is licensed under the MIT license.
2
2
 
3
- Copyright (C) 2011-2022 by Colin Dean
3
+ Copyright (C) 2011-2026 by Colin Dean
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -60,8 +60,10 @@ FillerText::FillerText.style = FillerText::Style::LoremIpsum
60
60
  FillerText::FillerText.style = FillerText::Style::HipsterIpsum
61
61
  # handmade just like grandma's pierogies
62
62
  FillerText::FillerText.style = FillerText::Style::YinzerIpsum
63
- # homage to the great Pittsburgh Penguins announcer
64
- FillerTest::FillerText.style = FillerText::Style::MikeLange
63
+ # homage to the late, great Pittsburgh Penguins announcer
64
+ FillerText::FillerText.style = FillerText::Style::MikeLange
65
+ # homage to Len Pennie's Scots Word of the Day
66
+ FillerText::FillerText.style = FillerText::Style::ScotsWordOfTheDay
65
67
  ```
66
68
 
67
69
  Contributing to FillerText
@@ -69,7 +71,7 @@ Contributing to FillerText
69
71
  ### Setting up the project
70
72
  1. [Create a fork](https://github.com/colindean/fillertext/fork) of the GitHub project repo.
71
73
  2. `git clone` the forked repository to your local system.
72
- 3. Make sure that the version of Ruby you're using meets the [minimum requirement in the gemspec](https://github.com/colindean/fillertext/blob/master/fillertext.gemspec#L15).
74
+ 3. Make sure that the version of Ruby you're using meets the [minimum requirement in the gemspec](fillertext.gemspec#L15).
73
75
  4. Run `bundle install` to install dependencies. It should tell you at this point if you don't have an adequate Ruby version installed.
74
76
  5. Check basic sanity by running `bundle exec rake` to run tests and checks _before_ you make any changes.
75
77
  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.
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ $LOAD_PATH.unshift File.expand_path("lib", __dir__)
4
+ require "fillertext/version"
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "fillertext"
8
+ s.version = FillerText::VERSION
9
+ s.authors = ["Colin Dean"]
10
+ s.email = "git+gems@cad.cx"
11
+
12
+ s.summary = "Generates filler/placeholder text in a Rubyistic way"
13
+ s.description = "Generates filler text through a direct interface or by monkeypatching Fixnum"
14
+ s.homepage = "http://github.com/colindean/fillertext"
15
+ s.required_rubygems_version = ">= 2.6.0"
16
+
17
+ s.files = Dir.chdir(File.expand_path(__dir__)) do
18
+ `git ls-files -z`.split("\x0").reject do |f|
19
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
20
+ end
21
+ end
22
+ s.bindir = "exe"
23
+ s.executables = s.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
24
+ s.require_paths = ["lib"]
25
+
26
+ s.extra_rdoc_files = [
27
+ "LICENSE.txt",
28
+ "README.md"
29
+ ]
30
+ s.licenses = ["MIT"]
31
+
32
+ s.required_ruby_version = ">= 2.6.0"
33
+ s.metadata["rubygems_mfa_required"] = "true"
34
+ end
@@ -5,6 +5,7 @@ module FillerText
5
5
  # Style: MikeLange
6
6
  class MikeLange
7
7
  # https://en.wikipedia.org/wiki/Mike_Lange
8
+ # 3 March 1948 – 19 February 2025
8
9
  #
9
10
  # sourced from:
10
11
  # https://en.wikiquote.org/wiki/Mike_Lange
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FillerText
4
+ module Style
5
+ # Style: ScotsWordOfTheDay
6
+ class ScotsWordOfTheDay
7
+ # https://www.instagram.com/misspunnypennie/
8
+ # https://www.youtube.com/@misspunnypennie/shorts
9
+ def self.text
10
+ "Thon tumshie/baigie/neep gied him a fleg.
11
+ Dinnae ye gang oot aifter the mirkenin.
12
+ She's ma neebour.
13
+ A'm aff the morra.
14
+ Whaur ye gaun?
15
+ Och, hameldaeme.
16
+ She's aye hail at the hert.
17
+ Dinnae loss the heid wae me!
18
+ Thon lassie had muckle powstie.
19
+ He's a bauld-dar laddie.
20
+ The wean's maw telt him, 'Yer tea's oot.'
21
+ A'm no havin children, A’m gonnae hae weans.
22
+ Thon yin's aye awfy pirlie."
23
+ end
24
+ end
25
+ end
26
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FillerText
4
- VERSION = "0.3.5"
4
+ VERSION = "0.4.1"
5
5
  end
metadata CHANGED
@@ -1,43 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fillertext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Dean
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2022-10-21 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rdoc
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '6.4'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '6.4'
27
- - !ruby/object:Gem::Dependency
28
- name: simplecov
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 0.21.2
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 0.21.2
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
41
12
  description: Generates filler text through a direct interface or by monkeypatching
42
13
  Fixnum
43
14
  email: git+gems@cad.cx
@@ -47,6 +18,7 @@ extra_rdoc_files:
47
18
  - LICENSE.txt
48
19
  - README.md
49
20
  files:
21
+ - ".pre-commit-config.yaml"
50
22
  - ".rspec"
51
23
  - ".rubocop.yml"
52
24
  - CHANGELOG.md
@@ -57,12 +29,14 @@ files:
57
29
  - Rakefile
58
30
  - bin/console
59
31
  - bin/setup
32
+ - fillertext.gemspec
60
33
  - lib/fillertext.rb
61
34
  - lib/fillertext/fillertext.rb
62
35
  - lib/fillertext/integer.rb
63
36
  - lib/fillertext/styles/hipster.rb
64
37
  - lib/fillertext/styles/lorem.rb
65
38
  - lib/fillertext/styles/mike_lange.rb
39
+ - lib/fillertext/styles/scots_word_of_the_day.rb
66
40
  - lib/fillertext/styles/yinzer.rb
67
41
  - lib/fillertext/version.rb
68
42
  homepage: http://github.com/colindean/fillertext
@@ -70,7 +44,6 @@ licenses:
70
44
  - MIT
71
45
  metadata:
72
46
  rubygems_mfa_required: 'true'
73
- post_install_message:
74
47
  rdoc_options: []
75
48
  require_paths:
76
49
  - lib
@@ -85,8 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
58
  - !ruby/object:Gem::Version
86
59
  version: 2.6.0
87
60
  requirements: []
88
- rubygems_version: 3.0.1
89
- signing_key:
61
+ rubygems_version: 3.6.9
90
62
  specification_version: 4
91
63
  summary: Generates filler/placeholder text in a Rubyistic way
92
64
  test_files: []