Skip to content

Commit 054b525

Browse files
committed
Use inclusive language
1 parent 2fbfaa3 commit 054b525

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. fpm-cookery documentation master file, created by
1+
.. fpm-cookery documentation main file, created by
22
sphinx-quickstart on Sat Jul 25 11:02:45 2015.
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.

docs/pages/using-hiera.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,5 +281,5 @@ Examples
281281
--------
282282

283283
See the `Redis recipe
284-
<https://github.com/bernd/fpm-cookery/tree/master/recipes/redis>`_ for an
284+
<https://github.com/bernd/fpm-cookery/tree/main/recipes/redis>`_ for an
285285
example of fpm-cookery and Hiera in action.

spec/fixtures/hiera_config/common.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: >
33
For testing purposes on %{scope("platform")} only - you've been warned ;)
44
version: 1.0.2
55
source:
6-
- http://www.dummy-url.com/archive/%{hiera("name")}-%{hiera("version")}.tar.gz
6+
- http://www.example.com/archive/%{hiera("name")}-%{hiera("version")}.tar.gz
77
- :with: :git
88

99
environment:

spec/inheritable_attr_spec.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ def dsl_klass(name = nil)
1515
extend FPM::Cookery::InheritableAttr
1616

1717
instance_eval %Q{
18-
#{attr_method} :dummy_attr
18+
#{attr_method} :example_attr
1919
}
2020
end
2121

2222
expect(klass).to respond_to(registry_method)
23-
expect(klass.send(registry_method)).to include(:dummy_attr)
23+
expect(klass.send(registry_method)).to include(:example_attr)
2424
end
2525
end
2626
end
@@ -30,7 +30,7 @@ def dsl_klass(name = nil)
3030
let(:subklass) { Class.new(superklass) }
3131
end
3232

33-
shared_examples 'attribute inheritance' do |attr_method, default_value, attr_name = :dummy_attr|
33+
shared_examples 'attribute inheritance' do |attr_method, default_value, attr_name = :example_attr|
3434
# A default implementation. Useful for +.attr_rw+, but should probably be
3535
# overridden for the other DSL methods.
3636
let(:attr_setter) {
@@ -74,7 +74,7 @@ def self.call(k, m, v)
7474
end
7575
end
7676

77-
shared_context 'inheritable attributes' do |attr_method, default_value, attr_name = :dummy_attr|
77+
shared_context 'inheritable attributes' do |attr_method, default_value, attr_name = :example_attr|
7878
include_context 'class inheritance'
7979
include_examples 'attribute inheritance', attr_method, default_value
8080

0 commit comments

Comments
 (0)