fillertext 0.3.4 → 0.3.5

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: 1a7a91b5be2408816b02278c14f589cc3f19c3e3392b5d0450d0cce389d1c1e9
4
- data.tar.gz: a710779bec825496e0bd1a73deef0a8afe92dca62776609d5656544087d36d91
3
+ metadata.gz: 1e2a17035c765225113cd70e39955295f581f7fc70927f6dba1d16f39a1c2b45
4
+ data.tar.gz: 8c82337dc95152006fa2f2b3729ad98cf50f78a5e0a5ade2d9c30a56e7ad591b
5
5
  SHA512:
6
- metadata.gz: 2890a5dcf4d30ffa3182ecb71ae9065d5abe9a1688ee5fa35d5465dcb8e42cd8d714465cdb4a3f95acf2ae0ceff77a3fe38d912c4399fca312f869e782f77a9d
7
- data.tar.gz: 077c9d02a4ca66a9f28f3fb7698aa407cdadf7b2a9f3c87871573e22792a8e5069a8a8705131688b0e07786ff81657c2354743f2ea0b0306a64f88830f443e43
6
+ metadata.gz: 2f576cd27a968bdd9e02488dabf6a017f8fa3af467fc1af5c21e74457e14a509e18864484a5a9a829dbfd489743a4fcf50d55d36d01e98bd3b1dc1ecd720eb22
7
+ data.tar.gz: c0604d8a1ee5f7bce4a9b96736e9a34651a2d98c278f98546cf31c0ffc8e4f31126fec752a3c4a9dfc194e36fce92ba7133711e9f049bc9c859bb3ea2389d6b3
data/.rubocop.yml CHANGED
@@ -1,3 +1,7 @@
1
+ require:
2
+ - rubocop-rake
3
+ - rubocop-rspec
4
+
1
5
  AllCops:
2
6
  TargetRubyVersion: 2.6
3
7
  NewCops: enable
@@ -15,157 +19,157 @@ Layout/LineLength:
15
19
  Exclude:
16
20
  - 'lib/fillertext/styles/*.rb'
17
21
 
18
- Gemspec/DateAssignment:
22
+ Gemspec/DeprecatedAttributeAssignment:
19
23
  Enabled: true
20
24
 
21
- Gemspec/RequireMFA:
25
+ Gemspec/RequireMFA:
22
26
  Enabled: true
23
27
 
24
- Layout/LineEndStringConcatenationIndentation:
28
+ Layout/LineEndStringConcatenationIndentation:
25
29
  Enabled: true
26
30
 
27
- Layout/SpaceBeforeBrackets:
31
+ Layout/SpaceBeforeBrackets:
28
32
  Enabled: true
29
33
 
30
- Lint/AmbiguousAssignment:
34
+ Lint/AmbiguousAssignment:
31
35
  Enabled: true
32
36
 
33
- Lint/AmbiguousOperatorPrecedence:
37
+ Lint/AmbiguousOperatorPrecedence:
34
38
  Enabled: true
35
39
 
36
- Lint/AmbiguousRange:
40
+ Lint/AmbiguousRange:
37
41
  Enabled: true
38
42
 
39
- Lint/DeprecatedConstants:
43
+ Lint/DeprecatedConstants:
40
44
  Enabled: true
41
45
 
42
- Lint/DuplicateBranch:
46
+ Lint/DuplicateBranch:
43
47
  Enabled: true
44
48
 
45
- Lint/DuplicateRegexpCharacterClassElement:
49
+ Lint/DuplicateRegexpCharacterClassElement:
46
50
  Enabled: true
47
51
 
48
- Lint/EmptyBlock:
52
+ Lint/EmptyBlock:
49
53
  Enabled: true
50
54
 
51
- Lint/EmptyClass:
55
+ Lint/EmptyClass:
52
56
  Enabled: true
53
57
 
54
- Lint/EmptyInPattern:
58
+ Lint/EmptyInPattern:
55
59
  Enabled: true
56
60
 
57
- Lint/IncompatibleIoSelectWithFiberScheduler:
61
+ Lint/IncompatibleIoSelectWithFiberScheduler:
58
62
  Enabled: true
59
63
 
60
- Lint/LambdaWithoutLiteralBlock:
64
+ Lint/LambdaWithoutLiteralBlock:
61
65
  Enabled: true
62
66
 
63
- Lint/NoReturnInBeginEndBlocks:
67
+ Lint/NoReturnInBeginEndBlocks:
64
68
  Enabled: true
65
69
 
66
- Lint/NumberedParameterAssignment:
70
+ Lint/NumberedParameterAssignment:
67
71
  Enabled: true
68
72
 
69
- Lint/OrAssignmentToConstant:
73
+ Lint/OrAssignmentToConstant:
70
74
  Enabled: true
71
75
 
72
- Lint/RedundantDirGlobSort:
76
+ Lint/RedundantDirGlobSort:
73
77
  Enabled: true
74
78
 
75
- Lint/RequireRelativeSelfPath:
79
+ Lint/RequireRelativeSelfPath:
76
80
  Enabled: true
77
81
 
78
- Lint/SymbolConversion:
82
+ Lint/SymbolConversion:
79
83
  Enabled: true
80
84
 
81
- Lint/ToEnumArguments:
85
+ Lint/ToEnumArguments:
82
86
  Enabled: true
83
87
 
84
- Lint/TripleQuotes:
88
+ Lint/TripleQuotes:
85
89
  Enabled: true
86
90
 
87
- Lint/UnexpectedBlockArity:
91
+ Lint/UnexpectedBlockArity:
88
92
  Enabled: true
89
93
 
90
- Lint/UnmodifiedReduceAccumulator:
94
+ Lint/UnmodifiedReduceAccumulator:
91
95
  Enabled: true
92
96
 
93
- Lint/UselessRuby2Keywords:
97
+ Lint/UselessRuby2Keywords:
94
98
  Enabled: true
95
99
 
96
- Naming/BlockForwarding:
100
+ Naming/BlockForwarding:
97
101
  Enabled: true
98
102
 
99
- Security/IoMethods:
103
+ Security/IoMethods:
100
104
  Enabled: true
101
105
 
102
- Style/ArgumentsForwarding:
106
+ Style/ArgumentsForwarding:
103
107
  Enabled: true
104
108
 
105
- Style/CollectionCompact:
109
+ Style/CollectionCompact:
106
110
  Enabled: true
107
111
 
108
- Style/DocumentDynamicEvalDefinition:
112
+ Style/DocumentDynamicEvalDefinition:
109
113
  Enabled: true
110
114
 
111
- Style/EndlessMethod:
115
+ Style/EndlessMethod:
112
116
  Enabled: true
113
117
 
114
- Style/FileRead:
118
+ Style/FileRead:
115
119
  Enabled: true
116
120
 
117
- Style/FileWrite:
121
+ Style/FileWrite:
118
122
  Enabled: true
119
123
 
120
- Style/HashConversion:
124
+ Style/HashConversion:
121
125
  Enabled: true
122
126
 
123
- Style/HashExcept:
127
+ Style/HashExcept:
124
128
  Enabled: true
125
129
 
126
- Style/IfWithBooleanLiteralBranches:
130
+ Style/IfWithBooleanLiteralBranches:
127
131
  Enabled: true
128
132
 
129
- Style/InPatternThen:
133
+ Style/InPatternThen:
130
134
  Enabled: true
131
135
 
132
- Style/MapToHash:
136
+ Style/MapToHash:
133
137
  Enabled: true
134
138
 
135
- Style/MultilineInPatternThen:
139
+ Style/MultilineInPatternThen:
136
140
  Enabled: true
137
141
 
138
- Style/NegatedIfElseCondition:
142
+ Style/NegatedIfElseCondition:
139
143
  Enabled: true
140
144
 
141
- Style/NilLambda:
145
+ Style/NilLambda:
142
146
  Enabled: true
143
147
 
144
- Style/NumberedParameters:
148
+ Style/NumberedParameters:
145
149
  Enabled: true
146
150
 
147
- Style/NumberedParametersLimit:
151
+ Style/NumberedParametersLimit:
148
152
  Enabled: true
149
153
 
150
- Style/OpenStructUse:
154
+ Style/OpenStructUse:
151
155
  Enabled: true
152
156
 
153
- Style/QuotedSymbols:
157
+ Style/QuotedSymbols:
154
158
  Enabled: true
155
159
 
156
- Style/RedundantArgument:
160
+ Style/RedundantArgument:
157
161
  Enabled: true
158
162
 
159
- Style/RedundantSelfAssignmentBranch:
163
+ Style/RedundantSelfAssignmentBranch:
160
164
  Enabled: true
161
165
 
162
- Style/SelectByRegexp:
166
+ Style/SelectByRegexp:
163
167
  Enabled: true
164
168
 
165
- Style/StringChars:
169
+ Style/StringChars:
166
170
  Enabled: true
167
171
 
168
- Style/SwapValues:
172
+ Style/SwapValues:
169
173
  Enabled: true
170
174
 
171
175
  Metrics/MethodLength:
@@ -176,4 +180,4 @@ Metrics/MethodLength:
176
180
  Metrics/BlockLength:
177
181
  Enabled: true
178
182
  Exclude:
179
- - 'spec/*_spec.rb'
183
+ - 'spec/*_spec.rb'
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ 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.3.5](https://github.com/colindean/fillertext/compare/v0.3.4...v0.3.5) (2022-10-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Update README.md, add instructions for: ([61e8e6f](https://github.com/colindean/fillertext/commit/61e8e6fa26f410badac701cdd3b064f29b0f222a))
14
+
8
15
  ### [0.3.4](https://github.com/colindean/fillertext/compare/v0.3.3...v0.3.4) (2022-02-07)
9
16
 
10
17
 
data/Gemfile CHANGED
@@ -5,12 +5,12 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in fillertext.gemspec
6
6
  gemspec
7
7
 
8
- gem "rake", "~> 13.0"
8
+ gem "rake"
9
9
 
10
- gem "rspec", "~> 3.0"
10
+ gem "rspec"
11
11
 
12
- gem "rubocop", "~> 1.21"
12
+ gem "rubocop"
13
13
 
14
- gem "rubocop-rake", "~> 0.5.1"
14
+ gem "rubocop-rake"
15
15
 
16
- gem "rubocop-rspec", "~> 1.3", ">= 1.3.1"
16
+ gem "rubocop-rspec"
data/README.md CHANGED
@@ -66,6 +66,23 @@ FillerTest::FillerText.style = FillerText::Style::MikeLange
66
66
 
67
67
  Contributing to FillerText
68
68
  --------------------------
69
+ ### Setting up the project
70
+ 1. [Create a fork](https://github.com/colindean/fillertext/fork) of the GitHub project repo.
71
+ 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).
73
+ 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
+ 5. Check basic sanity by running `bundle exec rake` to run tests and checks _before_ you make any changes.
75
+ 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.
76
+ 7. Push to your own repo and then submit a pull request to this one!
77
+
78
+ ### Testing the project
79
+ FillerText uses [RSpec](https://github.com/rspec/rspec-core) for unit testing and [SimpleCov](https://github.com/simplecov-ruby/simplecov) for code coverage. New specifications can be added inside the `spec/` directory.
80
+
81
+ 1. Make sure that the project is set up properly (see [Setting up the project](#setting-up-the-project))
82
+ 2.
83
+ 1. Run `rspec` to run all the tests by default
84
+ 2. To run only a selected few tests, run `rspec spec/<test_you're_interested_in>_spec.rb`
85
+ 3. To access code coverage details, run `xdg-open coverage/index.html` (on Linux) or `open coverage/index.html` (on Mac)
69
86
 
70
87
  Patches welcome. Please file using Github issues.
71
88
 
@@ -98,4 +115,3 @@ License
98
115
  FillerText is licensed under the MIT license.
99
116
  Copyright (C) 2011-2022 by Colin Dean.
100
117
  See [LICENSE.txt](LICENSE.txt) for more.
101
-
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FillerText
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fillertext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colin Dean
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-07 00:00:00.000000000 Z
11
+ date: 2022-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc