rufo 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/docs/settings.md +4 -4
- data/lib/rufo/erb_formatter.rb +1 -1
- data/lib/rufo/formatter.rb +1 -0
- data/lib/rufo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8880f0f88e4def3cc19a1fa8a54b7fe7f5393e6cdb93f47a19c1565a7564ed2f
|
4
|
+
data.tar.gz: 74f522f20caa7d57bc9607d3dc6100b1a48758cc72a18dcaf85c0ab5e1c66e9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6de4f9c31d85b4bbcc39c8873c7fc677da69b07c1600620811253d44fa8e67e51a1ecdbd7156c81523f6b2285bccb038e5dbf99a3b09104a48ab253edf43da5
|
7
|
+
data.tar.gz: a7d27577fcedab3672924b89aeb15ddd117ed31802fda6e8b987c0bcaa8449adce45f573ce2c74c381ef39fba7c97d0d9efefc8de5f321d87d9cbeccdd245672
|
data/CHANGELOG.md
CHANGED
@@ -12,6 +12,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
12
12
|
|
13
13
|
### Added
|
14
14
|
|
15
|
+
## [0.11.0] - 2020-02-09
|
16
|
+
|
17
|
+
### Fixed
|
18
|
+
- Documentation for `trailing_commas`
|
19
|
+
- Handle empty string symbol for key in hash.
|
20
|
+
|
21
|
+
### Added
|
22
|
+
- Support for escaped ERB template tags. For example `<%%%%= format :name %>`.
|
23
|
+
|
15
24
|
## [0.10.0] - 2020-01-16
|
16
25
|
|
17
26
|
### Fixed
|
data/docs/settings.md
CHANGED
@@ -116,8 +116,8 @@ With `:dynamic` it won't modify it.
|
|
116
116
|
|
117
117
|
Use trailing commas in array and hash literals, and keyword arguments?
|
118
118
|
|
119
|
-
- `:
|
120
|
-
- `:
|
119
|
+
- `true`: (default) always put a trailing comma
|
120
|
+
- `false`: never put a trailing comma
|
121
121
|
|
122
122
|
Given this code:
|
123
123
|
|
@@ -153,7 +153,7 @@ foo(
|
|
153
153
|
)
|
154
154
|
```
|
155
155
|
|
156
|
-
With
|
156
|
+
With `true`, the formatter will change it to:
|
157
157
|
|
158
158
|
```ruby
|
159
159
|
[
|
@@ -187,7 +187,7 @@ foo(
|
|
187
187
|
)
|
188
188
|
```
|
189
189
|
|
190
|
-
With
|
190
|
+
With `false`, the formatter will change it to:
|
191
191
|
|
192
192
|
```ruby
|
193
193
|
[
|
data/lib/rufo/erb_formatter.rb
CHANGED
data/lib/rufo/formatter.rb
CHANGED
data/lib/rufo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rufo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ary Borenszweig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
166
166
|
- !ruby/object:Gem::Version
|
167
167
|
version: '0'
|
168
168
|
requirements: []
|
169
|
-
rubygems_version: 3.
|
169
|
+
rubygems_version: 3.0.3
|
170
170
|
signing_key:
|
171
171
|
specification_version: 4
|
172
172
|
summary: Ruby code formatter
|