squasher 0.7.1 → 0.7.2

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
  SHA256:
3
- metadata.gz: 1c3cc21150f68603733fa84c85d9a50c6d9b08ea34f7c5724341c3b116db2274
4
- data.tar.gz: 13d90d21f1d5770b31ed3d334535e94334e1939cb78ca48d61482aa4d312a65c
3
+ metadata.gz: d58b6246f12c84f3e639e620a90d461314bf5d0b8e452d812b4e3ed2e845baae
4
+ data.tar.gz: 720447fa89a2a8c64f12ab1d0c73b21a71e5e920ad95f6656aa3dd193fc59399
5
5
  SHA512:
6
- metadata.gz: 49013a339324ae6f10fcc30e39c140d989b7fa9a7a208442f46ba70cea1be57792c990972fd9cd9448b33d35b8cbd17a37945276d7472e9c5da86d1868ceed8b
7
- data.tar.gz: 14727bb5d71d889d728fee2458479d50a5a1a4a000b4e8b7eabe6cdfca1a672251f6cfd026ad8e52666d2fe066cf80e8ba567274df697927e0847ec090e74548
6
+ metadata.gz: 0bac4b5782dfd94e7f008321f4473b5e7d7bfdf90bf16afbbc777c892223df991d6b9e4cc6a571cf9b6b05203407b395baa217f214a0a20ba04dc6a85ab8d5dd
7
+ data.tar.gz: 6bd32f9b1fde3da1a34cfdada1898813f0ce3a5db191dcbdf5e48189fe7e86ba3907df40c500be087266226147cb66e6bd58f62a6e60b616ae750143c5aa24e0
data/.travis.yml CHANGED
@@ -4,9 +4,10 @@ cache: bundler
4
4
  language: ruby
5
5
  rvm:
6
6
  - ruby-head
7
- - 2.3
8
- - 2.2
9
- - 2.1
10
- - 2.0
7
+ - 3.1
8
+ - 3.0
9
+ - 2.7
10
+ - 2.6
11
+ - 2.5
11
12
  notifications:
12
13
  email: false
@@ -9,8 +9,9 @@ module Squasher
9
9
 
10
10
  def process(path)
11
11
  @error = false
12
-
13
- str = YAML.load(ERB.new(File.read(path)).result(binding))
12
+ # Support for Psych 4 (the default yaml parser for Ruby 3.1)
13
+ opts = Gem::Version.new(Psych::VERSION).segments.first < 4 ? {} : { aliases: true }
14
+ str = YAML.load(ERB.new(File.read(path)).result(binding), **opts)
14
15
  [str, @error]
15
16
  end
16
17
 
@@ -1,3 +1,3 @@
1
1
  module Squasher
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: squasher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Pchelintsev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-22 00:00:00.000000000 Z
11
+ date: 2023-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubygems_version: 3.2.32
114
+ rubygems_version: 3.3.7
115
115
  signing_key:
116
116
  specification_version: 4
117
117
  summary: Squash your old migrations