pragmater 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/pragmater/identity.rb +1 -1
- data/lib/pragmater/writer.rb +1 -1
- metadata +28 -36
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62c44182adee2b8134834df3d99e82d38d23050f
|
4
|
+
data.tar.gz: c48a368afcbe24dc37cc856e6b592142c34de8e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d76f35dde56bd129ae3b77d02298ed4aa62f7fee367f5b0def0646c5ed46a23e2bfc21e17d4b835f2c8d37206d09f9eb96d1dc9a9a46904b978a8624e07179a
|
7
|
+
data.tar.gz: ec4e072e9334c86f0cf7aa5784a4f7c4c667f5926e955d9f30911bcf4e4b3f147022c1c6d417a040fa1b3ce35d8e20543dcdb2fc121103af60f6dd195ff90b2e
|
data/README.md
CHANGED
@@ -172,9 +172,9 @@ To test, run:
|
|
172
172
|
|
173
173
|
Read [Semantic Versioning](http://semver.org) for details. Briefly, it means:
|
174
174
|
|
175
|
-
- Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
|
176
|
-
- Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
|
177
175
|
- Major (X.y.z) - Incremented for any backwards incompatible public API changes.
|
176
|
+
- Minor (x.Y.z) - Incremented for new, backwards compatible, public API enhancements/fixes.
|
177
|
+
- Patch (x.y.Z) - Incremented for small, backwards compatible, bug fixes.
|
178
178
|
|
179
179
|
# Code of Conduct
|
180
180
|
|
data/lib/pragmater/identity.rb
CHANGED
data/lib/pragmater/writer.rb
CHANGED
@@ -6,7 +6,7 @@ module Pragmater
|
|
6
6
|
# rubocop:disable Metrics/ParameterLists
|
7
7
|
def initialize file_path, new_comments, formatter: Formatter, commenter: Commenter
|
8
8
|
@file_path = file_path
|
9
|
-
@file_lines = File.open(file_path)
|
9
|
+
@file_lines = File.open(file_path, &:to_a)
|
10
10
|
@formatter = formatter
|
11
11
|
@commenter = commenter
|
12
12
|
@old_comments = file_comments
|
metadata
CHANGED
@@ -1,36 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pragmater
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDeDCCAmCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBBMQ8wDQYDVQQDDAZicm9v
|
14
|
-
a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
|
15
|
-
aW8wHhcNMTYxMDE5MTY0NDEzWhcNMTcxMDE5MTY0NDEzWjBBMQ8wDQYDVQQDDAZi
|
16
|
-
cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQB
|
17
|
-
GRYCaW8wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCgryPL4/IbWDcL
|
18
|
-
fnqpnoJALqj+ega7hSsvvD8sac57HPNLeKcOmSafFiQLAnTmmE132ZlFc8kyZRVn
|
19
|
-
zmqSESowO5jd+ggFuy1ySqQJXhwgik04KedKRUjpIDZePrjw+M5UJT1qzKCKL2xI
|
20
|
-
nx5cOKP1fSWJ1RRu8JhaDeSloGtYMdw2c28wnKPNIsWDood4xhbLcY9IqeISft2e
|
21
|
-
oTAHTHandHbvt24X3/n67ceNjLBbsVZPXCC1C8C8ccjHjA4Tm2uiFoDwThMcPggg
|
22
|
-
90H6fh0vLFcNAobdPEchbge8tWtfmMPz2+C4yklANn81GA+ANsBS1uwx6mxJoMQU
|
23
|
-
BNVp0aLvAgMBAAGjezB5MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
24
|
-
BBRS85Rn1BaqeIONByw4t46DMDMzHDAfBgNVHREEGDAWgRRicm9va2VAYWxjaGVt
|
25
|
-
aXN0cy5pbzAfBgNVHRIEGDAWgRRicm9va2VAYWxjaGVtaXN0cy5pbzANBgkqhkiG
|
26
|
-
9w0BAQUFAAOCAQEAZMb57Y4wdpbX8XxTukEO7VC1pndccUsxdbziGsAOiuHET3Aq
|
27
|
-
ygLvrfdYrN88/w+qxncW5bxbO3a6UGkuhIFUPM8zRSE/rh6bCcJljTJrExVt42eV
|
28
|
-
aYCb7WJNsx3eNXHn3uQodq3tD+lmNJzz2bFeT3smGSKEnALBjqorO/2mpDh4FJ3S
|
29
|
-
4CcDYsJ1ywep8LDJDBBGdKz9moL+axryzpeTpgTT/fFYFzRzWrURPyDvPOikh9TX
|
30
|
-
n/LUZ1dKhIHzfKx1B4+TEIefArObGfkLIDM8+Dq1RX7TF1k81Men7iu4MgE9bYBn
|
31
|
-
3dE+xI3FdB5gWcdWxdtgRCmWjtXeYYyb4z6NQQ==
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2017-01-22 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-06 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: thor
|
@@ -52,28 +30,28 @@ dependencies:
|
|
52
30
|
requirements:
|
53
31
|
- - "~>"
|
54
32
|
- !ruby/object:Gem::Version
|
55
|
-
version: '5.
|
33
|
+
version: '5.1'
|
56
34
|
type: :runtime
|
57
35
|
prerelease: false
|
58
36
|
version_requirements: !ruby/object:Gem::Requirement
|
59
37
|
requirements:
|
60
38
|
- - "~>"
|
61
39
|
- !ruby/object:Gem::Version
|
62
|
-
version: '5.
|
40
|
+
version: '5.1'
|
63
41
|
- !ruby/object:Gem::Dependency
|
64
42
|
name: runcom
|
65
43
|
requirement: !ruby/object:Gem::Requirement
|
66
44
|
requirements:
|
67
45
|
- - "~>"
|
68
46
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0.
|
47
|
+
version: '0.6'
|
70
48
|
type: :runtime
|
71
49
|
prerelease: false
|
72
50
|
version_requirements: !ruby/object:Gem::Requirement
|
73
51
|
requirements:
|
74
52
|
- - "~>"
|
75
53
|
- !ruby/object:Gem::Version
|
76
|
-
version: '0.
|
54
|
+
version: '0.6'
|
77
55
|
- !ruby/object:Gem::Dependency
|
78
56
|
name: rake
|
79
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,6 +66,20 @@ dependencies:
|
|
88
66
|
- - "~>"
|
89
67
|
- !ruby/object:Gem::Version
|
90
68
|
version: '12.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: gemsmith
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '9.4'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '9.4'
|
91
83
|
- !ruby/object:Gem::Dependency
|
92
84
|
name: pry
|
93
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -192,14 +184,14 @@ dependencies:
|
|
192
184
|
requirements:
|
193
185
|
- - "~>"
|
194
186
|
- !ruby/object:Gem::Version
|
195
|
-
version: '3.
|
187
|
+
version: '3.6'
|
196
188
|
type: :development
|
197
189
|
prerelease: false
|
198
190
|
version_requirements: !ruby/object:Gem::Requirement
|
199
191
|
requirements:
|
200
192
|
- - "~>"
|
201
193
|
- !ruby/object:Gem::Version
|
202
|
-
version: '3.
|
194
|
+
version: '3.6'
|
203
195
|
- !ruby/object:Gem::Dependency
|
204
196
|
name: guard-rspec
|
205
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,28 +212,28 @@ dependencies:
|
|
220
212
|
requirements:
|
221
213
|
- - "~>"
|
222
214
|
- !ruby/object:Gem::Version
|
223
|
-
version: '4.
|
215
|
+
version: '4.6'
|
224
216
|
type: :development
|
225
217
|
prerelease: false
|
226
218
|
version_requirements: !ruby/object:Gem::Requirement
|
227
219
|
requirements:
|
228
220
|
- - "~>"
|
229
221
|
- !ruby/object:Gem::Version
|
230
|
-
version: '4.
|
222
|
+
version: '4.6'
|
231
223
|
- !ruby/object:Gem::Dependency
|
232
224
|
name: rubocop
|
233
225
|
requirement: !ruby/object:Gem::Requirement
|
234
226
|
requirements:
|
235
227
|
- - "~>"
|
236
228
|
- !ruby/object:Gem::Version
|
237
|
-
version: '0.
|
229
|
+
version: '0.48'
|
238
230
|
type: :development
|
239
231
|
prerelease: false
|
240
232
|
version_requirements: !ruby/object:Gem::Requirement
|
241
233
|
requirements:
|
242
234
|
- - "~>"
|
243
235
|
- !ruby/object:Gem::Version
|
244
|
-
version: '0.
|
236
|
+
version: '0.48'
|
245
237
|
- !ruby/object:Gem::Dependency
|
246
238
|
name: codeclimate-test-reporter
|
247
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -295,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
287
|
version: '0'
|
296
288
|
requirements: []
|
297
289
|
rubyforge_project:
|
298
|
-
rubygems_version: 2.6.
|
290
|
+
rubygems_version: 2.6.12
|
299
291
|
signing_key:
|
300
292
|
specification_version: 4
|
301
293
|
summary: A command line interface for managing/formatting source file pragma comments.
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED