capitalize_attributes 0.1.1 → 0.2
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 +4 -4
- data/Gemfile.lock +16 -17
- data/README.md +1 -1
- data/capitalize_attributes.gemspec +1 -1
- data/lib/capitalize_attributes/version.rb +1 -1
- metadata +3 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 37da64671ee2649ea46a20264ceac6a4d8b816639fd3b44967efaeb453e29f8c
|
|
4
|
+
data.tar.gz: fb892ab69244dc678f69aefeea4027544fbbbac1f175c02819d1d0655e4fb488
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 333936f4234b0f8c6b9adc72688dc51d8f8bca55503836e8104a70f7a85a1a8c5adc4a544d5d782f3a7bd9fbd33f015950e3ffdab4dffb73a3f455de48174209
|
|
7
|
+
data.tar.gz: 2ceac2037d314b4598c2cad7dd14bcaed3a25ee78847612a863ec7945702add8d4323b8b062f9dc29f0a81a7f69f3de29a1943330811b949770bd522129ed29c
|
data/Gemfile.lock
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
capitalize_attributes (0.
|
|
5
|
-
activemodel (>= 5.0
|
|
4
|
+
capitalize_attributes (0.2)
|
|
5
|
+
activemodel (>= 5.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activemodel (6.
|
|
11
|
-
activesupport (= 6.
|
|
12
|
-
activesupport (6.
|
|
10
|
+
activemodel (6.1.4.4)
|
|
11
|
+
activesupport (= 6.1.4.4)
|
|
12
|
+
activesupport (6.1.4.4)
|
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
14
|
-
i18n (>=
|
|
15
|
-
minitest (
|
|
16
|
-
tzinfo (~>
|
|
17
|
-
zeitwerk (~> 2.
|
|
18
|
-
concurrent-ruby (1.1.
|
|
14
|
+
i18n (>= 1.6, < 2)
|
|
15
|
+
minitest (>= 5.1)
|
|
16
|
+
tzinfo (~> 2.0)
|
|
17
|
+
zeitwerk (~> 2.3)
|
|
18
|
+
concurrent-ruby (1.1.9)
|
|
19
19
|
diff-lcs (1.3)
|
|
20
|
-
i18n (1.
|
|
20
|
+
i18n (1.9.1)
|
|
21
21
|
concurrent-ruby (~> 1.0)
|
|
22
|
-
minitest (5.
|
|
22
|
+
minitest (5.15.0)
|
|
23
23
|
rake (12.3.3)
|
|
24
24
|
rspec (3.8.0)
|
|
25
25
|
rspec-core (~> 3.8.0)
|
|
@@ -34,10 +34,9 @@ GEM
|
|
|
34
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
35
35
|
rspec-support (~> 3.8.0)
|
|
36
36
|
rspec-support (3.8.2)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
zeitwerk (2.4.0)
|
|
37
|
+
tzinfo (2.0.4)
|
|
38
|
+
concurrent-ruby (~> 1.0)
|
|
39
|
+
zeitwerk (2.5.4)
|
|
41
40
|
|
|
42
41
|
PLATFORMS
|
|
43
42
|
ruby
|
|
@@ -48,4 +47,4 @@ DEPENDENCIES
|
|
|
48
47
|
rspec (~> 3.0)
|
|
49
48
|
|
|
50
49
|
BUNDLED WITH
|
|
51
|
-
2.
|
|
50
|
+
2.3.5
|
data/README.md
CHANGED
|
@@ -76,7 +76,7 @@ problems, you can monkey-patch the matchers by placing the following inside your
|
|
|
76
76
|
```ruby
|
|
77
77
|
# spec/support/matchers/strip_attributes.rb
|
|
78
78
|
|
|
79
|
-
# Monkey patch to get StripAttributes working with
|
|
79
|
+
# Monkey patch to get StripAttributes working with CapitalizeAttributes module
|
|
80
80
|
module StripAttributes
|
|
81
81
|
module Matchers
|
|
82
82
|
class StripAttributeMatcher
|
|
@@ -25,6 +25,6 @@ Gem::Specification.new do |spec|
|
|
|
25
25
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
26
26
|
spec.require_paths = ["lib"]
|
|
27
27
|
|
|
28
|
-
spec.add_dependency "activemodel", ">= 5.0"
|
|
28
|
+
spec.add_dependency "activemodel", ">= 5.0"
|
|
29
29
|
spec.add_development_dependency "rspec", "~> 3.9"
|
|
30
30
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capitalize_attributes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: '0.2'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mark Oveson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|
|
@@ -17,9 +17,6 @@ dependencies:
|
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '5.0'
|
|
20
|
-
- - "<"
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: '7.0'
|
|
23
20
|
type: :runtime
|
|
24
21
|
prerelease: false
|
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -27,9 +24,6 @@ dependencies:
|
|
|
27
24
|
- - ">="
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: '5.0'
|
|
30
|
-
- - "<"
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '7.0'
|
|
33
27
|
- !ruby/object:Gem::Dependency
|
|
34
28
|
name: rspec
|
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -90,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
90
84
|
- !ruby/object:Gem::Version
|
|
91
85
|
version: '0'
|
|
92
86
|
requirements: []
|
|
93
|
-
rubygems_version: 3.1.
|
|
87
|
+
rubygems_version: 3.1.6
|
|
94
88
|
signing_key:
|
|
95
89
|
specification_version: 4
|
|
96
90
|
summary: Automatically capitalizes names and place-names.
|