syntax_tree 1.1.0 → 2.0.0

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.
@@ -113,8 +113,10 @@ class PrettyPrint
113
113
  def pretty_print(q)
114
114
  q.text("breakable")
115
115
 
116
- attributes =
117
- [("force=true" if force?), ("indent=false" unless indent?)].compact
116
+ attributes = [
117
+ ("force=true" if force?),
118
+ ("indent=false" unless indent?)
119
+ ].compact
118
120
 
119
121
  if attributes.any?
120
122
  q.text("(")
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "ripper"
4
-
5
- class SyntaxTree < Ripper
6
- VERSION = "1.1.0"
3
+ module SyntaxTree
4
+ VERSION = "2.0.0"
7
5
  end