gemsmith 14.5.0 → 14.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/bin/gemsmith +3 -0
- data/lib/gemsmith/generators/pragma.rb +12 -5
- data/lib/gemsmith/identity.rb +1 -1
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98fb4ce6f597b5aad5295c7300ea5412e92e69497b002ddb3bf80ae0d3790bd5
|
4
|
+
data.tar.gz: 82b1a0cf8088618969ef027ade045627f30f3f7b1837dfadfc84b57eb79291ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e593555d2f9296a560934b2653bbc5548ff1a3c674fffa033c08e5c7025b9153a7f02bd253fef18be727a55a87cc3c780f4614ef2e482a2a1357610e504e173
|
7
|
+
data.tar.gz: 033dc6607506ee4ec2780f1301ca14ecf3d7d40bf83e8bcec9c9f2cd99a6629daa7ac25cc4eb79468c3dae83867126742b00e7645e2f2dc6c313055bf243bba2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/bin/gemsmith
CHANGED
@@ -10,11 +10,7 @@ module Gemsmith
|
|
10
10
|
DEFAULT_COMMENTS = ["# frozen_string_literal: true"].freeze
|
11
11
|
|
12
12
|
def run
|
13
|
-
Pragmater::Runner.
|
14
|
-
gem_root,
|
15
|
-
comments: DEFAULT_COMMENTS,
|
16
|
-
includes: includes
|
17
|
-
).run action: :add
|
13
|
+
Pragmater::Runner.for(**attributes).call
|
18
14
|
end
|
19
15
|
|
20
16
|
# rubocop:disable Metrics/MethodLength
|
@@ -37,6 +33,17 @@ module Gemsmith
|
|
37
33
|
]
|
38
34
|
end
|
39
35
|
# rubocop:enable Metrics/MethodLength
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def attributes
|
40
|
+
{
|
41
|
+
action: :insert,
|
42
|
+
root_dir: gem_root,
|
43
|
+
comments: DEFAULT_COMMENTS,
|
44
|
+
includes: includes
|
45
|
+
}
|
46
|
+
end
|
40
47
|
end
|
41
48
|
end
|
42
49
|
end
|
data/lib/gemsmith/identity.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemsmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.
|
4
|
+
version: 14.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -28,7 +28,7 @@ cert_chain:
|
|
28
28
|
2XV8FRa7/JimI07sPLC13eLY3xd/aYTi85Z782KIA4j0G8XEEWAX0ouBhlXPocZv
|
29
29
|
QWc=
|
30
30
|
-----END CERTIFICATE-----
|
31
|
-
date: 2020-08-
|
31
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
32
32
|
dependencies:
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: milestoner
|
@@ -50,14 +50,14 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '8.0'
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
60
|
+
version: '8.0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: refinements
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
Binary file
|