washcloth 0.1.0 → 0.1.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: 2f1e2f66f3caf02c93d8c9a9396208294e2180f9b53c69cebb8de39160808786
4
- data.tar.gz: 0761b52b3517c90d47afd06b37378dfc597730b92e5a323836484bdca61a8c77
3
+ metadata.gz: d81e3a965084408de079c42af84aa2718c1d04128c4364e58540e966b0afbe2b
4
+ data.tar.gz: 3ffc55435c67b594aecc22924e79996cdb618fe13ab4f5488711c86ce6f94ca4
5
5
  SHA512:
6
- metadata.gz: 331c0b9d2ab8eafe2d62086c413860cd7e0739df4556a2f3af93502828ecfa4221537eae677fdb5f27fb420dc4ec5424a88d5160141e35dd349ce9fcee02c992
7
- data.tar.gz: 1647a5a54b80ebf03a9b25a0a9cec853230b5449f659f5f6de4422d342fbda35a9270f83462b6b9d5040178688b355c0a90110a2fd0db53959f8bdaccd2da0ed
6
+ metadata.gz: d4e05c2015d1a657cd95cc51f94d1972950759c2e3ceff8d837ef28253cd91f9edc3905637a72393b579dd15d2baac011e9091145c48f63b778e41839973c3da
7
+ data.tar.gz: 819ef283921d74df10aa17e83bb2a1981999342d063980c9022e66568e85e4b6bea4932fd1333cac0833feff6d44fd16f9b85bd87d2b9fd69258a022f55da18e
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- washcloth (0.1.0)
4
+ washcloth (0.1.1)
5
5
  activesupport (>= 7.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (8.0.0)
10
+ activesupport (8.0.1)
11
11
  base64
12
12
  benchmark (>= 0.3)
13
13
  bigdecimal
@@ -23,18 +23,18 @@ GEM
23
23
  ast (2.4.2)
24
24
  base64 (0.2.0)
25
25
  benchmark (0.4.0)
26
- bigdecimal (3.1.8)
26
+ bigdecimal (3.1.9)
27
27
  concurrent-ruby (1.3.4)
28
28
  connection_pool (2.4.1)
29
29
  diff-lcs (1.5.1)
30
30
  drb (2.2.1)
31
31
  i18n (1.14.6)
32
32
  concurrent-ruby (~> 1.0)
33
- json (2.8.2)
33
+ json (2.9.1)
34
34
  language_server-protocol (3.17.0.3)
35
35
  lint_roller (1.1.0)
36
- logger (1.6.2)
37
- minitest (5.25.2)
36
+ logger (1.6.4)
37
+ minitest (5.25.4)
38
38
  parallel (1.26.3)
39
39
  parser (3.3.6.0)
40
40
  ast (~> 2.4.1)
@@ -42,7 +42,7 @@ GEM
42
42
  racc (1.8.1)
43
43
  rainbow (3.1.1)
44
44
  rake (13.2.1)
45
- regexp_parser (2.9.3)
45
+ regexp_parser (2.10.0)
46
46
  rspec (3.13.0)
47
47
  rspec-core (~> 3.13.0)
48
48
  rspec-expectations (~> 3.13.0)
@@ -55,39 +55,41 @@ GEM
55
55
  rspec-mocks (3.13.2)
56
56
  diff-lcs (>= 1.2.0, < 2.0)
57
57
  rspec-support (~> 3.13.0)
58
- rspec-support (3.13.1)
59
- rubocop (1.68.0)
58
+ rspec-support (3.13.2)
59
+ rubocop (1.69.2)
60
60
  json (~> 2.3)
61
61
  language_server-protocol (>= 3.17.0)
62
62
  parallel (~> 1.10)
63
63
  parser (>= 3.3.0.2)
64
64
  rainbow (>= 2.2.2, < 4.0)
65
- regexp_parser (>= 2.4, < 3.0)
66
- rubocop-ast (>= 1.32.2, < 2.0)
65
+ regexp_parser (>= 2.9.3, < 3.0)
66
+ rubocop-ast (>= 1.36.2, < 2.0)
67
67
  ruby-progressbar (~> 1.7)
68
- unicode-display_width (>= 2.4.0, < 3.0)
69
- rubocop-ast (1.36.2)
68
+ unicode-display_width (>= 2.4.0, < 4.0)
69
+ rubocop-ast (1.37.0)
70
70
  parser (>= 3.3.1.0)
71
- rubocop-performance (1.22.1)
71
+ rubocop-performance (1.23.1)
72
72
  rubocop (>= 1.48.1, < 2.0)
73
73
  rubocop-ast (>= 1.31.1, < 2.0)
74
74
  ruby-progressbar (1.13.0)
75
- securerandom (0.4.0)
76
- standard (1.42.1)
75
+ securerandom (0.4.1)
76
+ standard (1.43.0)
77
77
  language_server-protocol (~> 3.17.0.2)
78
78
  lint_roller (~> 1.0)
79
- rubocop (~> 1.68.0)
79
+ rubocop (~> 1.69.1)
80
80
  standard-custom (~> 1.0.0)
81
- standard-performance (~> 1.5)
81
+ standard-performance (~> 1.6)
82
82
  standard-custom (1.0.2)
83
83
  lint_roller (~> 1.0)
84
84
  rubocop (~> 1.50)
85
- standard-performance (1.5.0)
85
+ standard-performance (1.6.0)
86
86
  lint_roller (~> 1.1)
87
- rubocop-performance (~> 1.22.0)
87
+ rubocop-performance (~> 1.23.0)
88
88
  tzinfo (2.0.6)
89
89
  concurrent-ruby (~> 1.0)
90
- unicode-display_width (2.6.0)
90
+ unicode-display_width (3.1.3)
91
+ unicode-emoji (~> 4.0, >= 4.0.4)
92
+ unicode-emoji (4.0.4)
91
93
  uri (1.0.2)
92
94
 
93
95
  PLATFORMS
data/README.md CHANGED
@@ -51,7 +51,9 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
51
51
 
52
52
  ## Contributing
53
53
 
54
- Bug reports and pull requests are welcome on GitHub at <https://github.com/joshuaclayton/washcloth>. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/joshuaclayton/washcloth/blob/main/CODE_OF_CONDUCT.md).
54
+ Bug reports and pull requests are welcome on GitHub at <https://github.com/joshuaclayton/washcloth>. Please don't make adjustments to the version number in any submitted PRs, as this will be managed by project maintainers.
55
+
56
+ This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/joshuaclayton/washcloth/blob/main/CODE_OF_CONDUCT.md).
55
57
 
56
58
  ## License
57
59
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Washcloth
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/washcloth.rb CHANGED
@@ -18,7 +18,7 @@ module Washcloth
18
18
  def self.clean(value)
19
19
  Internal.configuration.filters.inject(value) do |memo, (_, filter)|
20
20
  Formatters::ActiveRecord.new(filter).run(
21
- Formatters::Xml.new(filter).run(value)
21
+ Formatters::Xml.new(filter).run(memo)
22
22
  )
23
23
  end
24
24
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: washcloth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Clayton
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-12-02 00:00:00.000000000 Z
10
+ date: 2025-01-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activesupport
@@ -24,7 +23,6 @@ dependencies:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
25
  version: '7.0'
27
- description:
28
26
  email:
29
27
  - joshua.clayton@gmail.com
30
28
  executables: []
@@ -41,14 +39,12 @@ files:
41
39
  - Rakefile
42
40
  - lib/washcloth.rb
43
41
  - lib/washcloth/version.rb
44
- - washcloth.gemspec
45
42
  homepage: https://github.com/joshuaclayton/washcloth
46
43
  licenses:
47
44
  - MIT
48
45
  metadata:
49
46
  homepage_uri: https://github.com/joshuaclayton/washcloth
50
47
  source_code_uri: https://github.com/joshuaclayton/washcloth
51
- post_install_message:
52
48
  rdoc_options: []
53
49
  require_paths:
54
50
  - lib
@@ -63,8 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
59
  - !ruby/object:Gem::Version
64
60
  version: '0'
65
61
  requirements: []
66
- rubygems_version: 3.5.18
67
- signing_key:
62
+ rubygems_version: 3.6.2
68
63
  specification_version: 4
69
64
  summary: Clean Ruby strings
70
65
  test_files: []
data/washcloth.gemspec DELETED
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/washcloth/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "washcloth"
7
- spec.version = Washcloth::VERSION
8
- spec.authors = ["Josh Clayton"]
9
- spec.email = ["joshua.clayton@gmail.com"]
10
-
11
- spec.summary = "Clean Ruby strings"
12
- spec.homepage = "https://github.com/joshuaclayton/washcloth"
13
- spec.license = "MIT"
14
- spec.required_ruby_version = ">= 3.1.0"
15
-
16
- spec.metadata["homepage_uri"] = spec.homepage
17
- spec.metadata["source_code_uri"] = "https://github.com/joshuaclayton/washcloth"
18
-
19
- # Specify which files should be added to the gem when it is released.
20
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
22
- `git ls-files -z`.split("\x0").reject do |f|
23
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
24
- end
25
- end
26
- spec.bindir = "exe"
27
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
- spec.require_paths = ["lib"]
29
-
30
- # Uncomment to register a new dependency of your gem
31
- spec.add_dependency "activesupport", ">= 7.0"
32
-
33
- # For more information and examples about making a new gem, check out our
34
- # guide at: https://bundler.io/guides/creating_gem.html
35
- end