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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b4bd6f366db8087d288d4fc3e9d9c3e338f33b7
4
- data.tar.gz: 62d0d34268ee450e4c512bf029853a4511ffeb8f
3
+ metadata.gz: 62c44182adee2b8134834df3d99e82d38d23050f
4
+ data.tar.gz: c48a368afcbe24dc37cc856e6b592142c34de8e6
5
5
  SHA512:
6
- metadata.gz: 12023ec6ca9e1e888a91e9958c3d627e15726408c419232fc6d5fad3eed53975848c9f8e72e717eac74e1d2094896fdae245e2b4c1a4610dd9835cec7736f0b8
7
- data.tar.gz: 8940fdf713203c15ee133cc7d776a736d18b0dc34d17cbebf41619310b7e0b8f9b509cce38bb6dfac8787422ff65feba5464ddf227bb6e6960177677a4104fbc
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
 
@@ -12,7 +12,7 @@ module Pragmater
12
12
  end
13
13
 
14
14
  def self.version
15
- "3.0.0"
15
+ "3.1.0"
16
16
  end
17
17
 
18
18
  def self.version_label
@@ -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).to_a
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.0.0
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.0'
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.0'
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.5'
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.5'
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.5'
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.5'
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.5'
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.5'
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.47'
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.47'
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.9
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
@@ -1,2 +0,0 @@
1
- o ��+����5��!O��A�0b7�MM޺���T4�t %��%2Z�$�x�+K���j�Zj����,j{��w���&NY,�|��T�j�iL�C2�Jq(&�o�EI�1�s�\��c)R�)�S+j�!̦ �k`��^*�A
2
- �Z�3](�L.�L��n��쿄\Hnـ��?��#�h�ۍ��Q�pS'5y�8��J�i/@r�w�z�=A�ڣ ������R�U7������AR���g�&�