rufo 0.6.0 → 0.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa747d46eb2f8eaa95accca56c9bf814ef98d4c25552d5085e762ba33b5cdb8d
4
- data.tar.gz: bc673bd377a04373a6e9bc9d6aee18abacea6bf9f5c478e0b5100cf91f7dcb24
3
+ metadata.gz: 6ac44f22208635f26f7ba5e61ef3a2b8d1b545a1d9d5c9f467f7ca81103d769e
4
+ data.tar.gz: 020f099699c5f3274179abe580a05fc971becd4528f354388102ffed6ee45301
5
5
  SHA512:
6
- metadata.gz: d767e3d5061c3076b7cb976335a838816fba1eb0c7815145fc286479acbd978dadf203b0c59b62957dab27d41a0ab171f8dbb5d9f5aa20a60bdcf95c40beece1
7
- data.tar.gz: df23b0d9cf4ac9d72fa17d5daeaaabf5fec0ac581dc53eabb5991f18a330e93b4f79b66e7f4ef59e8e34f8503bdfe81bf23dedd328cf517ff307d49556921d3f
6
+ metadata.gz: c2332c7d55b1ac87ecaab7eaa01a27ef962cdd93bd3a6a697c1cc34afd5a104ca59b443d3a3d158cea72eccabad49e73b7a8e8e2f5954474258acebb73de3ced
7
+ data.tar.gz: 78ecfe030356e77f2ad2d3d7b04899714d2028d5cd63c8788cd3150ec9897c209b55896a3c90971ffd2c5c4a1de03b405dbec46a6fc5b8c9bb08c48bf08996b6
@@ -50,6 +50,14 @@
50
50
 
51
51
  version: 2
52
52
  jobs:
53
+ build-2-6-3:
54
+ <<: *dockerbuild
55
+ docker:
56
+ - image: circleci/ruby:2.6.3
57
+ environment:
58
+ BUNDLE_JOBS: "3"
59
+ BUNDLE_RETRY: "3"
60
+ BUNDLE_PATH: vendor/bundle
53
61
  build-2-6-1:
54
62
  <<: *dockerbuild
55
63
  docker:
@@ -78,6 +86,7 @@ workflows:
78
86
  version: 2
79
87
  test:
80
88
  jobs:
89
+ - build-2-6-3
81
90
  - build-2-6-1
82
91
  - build-2-5-3
83
92
  - build-2-4-5
@@ -12,6 +12,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
12
12
 
13
13
  ### Changed
14
14
 
15
+ ## [0.6.1] - 2019-04-27
16
+
17
+ ### Fixed
18
+ - Fix bug: symbol literal like `:"foo"` in ruby 2.6.3 (issue [168](https://github.com/ruby-formatter/rufo/issues/168))
19
+
15
20
  ## [0.6.0] - 2019-03-04
16
21
 
17
22
  ### Fixed
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Rufo
2
2
 
3
- [![Build Status](https://api.travis-ci.org/ruby-formatter/rufo.svg?branch=master)](https://travis-ci.org/ruby-formatter/rufo)
3
+ [![CircleCI](https://circleci.com/gh/ruby-formatter/rufo.svg?style=svg)](https://circleci.com/gh/ruby-formatter/rufo)
4
4
  [![Gem](https://img.shields.io/gem/v/rufo.svg)](https://rubygems.org/gems/rufo)
5
5
 
6
6
  **Ru**by **fo**rmatter
@@ -12,7 +12,7 @@ Unlike the best known Ruby formatter [RuboCop](https://github.com/bbatsov/ruboco
12
12
 
13
13
  RuboCop does much more than just format code though, so feel free to run them both!
14
14
 
15
- Rufo supports all Ruby versions >= 2.3.**5** / >= 2.4.**2**, due to a bug in Ruby's Ripper parser.
15
+ Rufo supports all Ruby versions >= 2.4.**5**, due to a bug in Ruby's Ripper parser.
16
16
 
17
17
  ## Installation
18
18
 
@@ -494,6 +494,8 @@ class Rufo::Formatter
494
494
  line_before_endline = nil
495
495
 
496
496
  exps.each_with_index do |exp, i|
497
+ next if exp == :string_content
498
+
497
499
  exp_kind = exp[0]
498
500
 
499
501
  # Skip voids to avoid extra indentation
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rufo
4
- VERSION = "0.6.0"
4
+ VERSION = "0.6.1"
5
5
  end
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ary Borenszweig
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-04 00:00:00.000000000 Z
11
+ date: 2019-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler