tealrb 0.10.0 → 0.10.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tealrb/contract.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96c56f8bbc18ac1b7fa42f8ad6b553f72296c30a89973d1e95a663f6776c559c
4
- data.tar.gz: c7cd2a73fa00da112e0d420224955dc5a9b1a41a0ec23978250f48ac49a2fc59
3
+ metadata.gz: 901c0ceb42462821200254c78055b4953f680c46507ede5f09d751e13194e8ae
4
+ data.tar.gz: 2e24af5fa78eb16bc19fe298c047ed712d3536183e533b614a4474a9af89712d
5
5
  SHA512:
6
- metadata.gz: b93a01c924cefb65075160e306436b54a560f2ac5a40465a28dac436a589b252f71d2130dfe39f0f4cf127136223392a0fab9f013acc01c5c4161099732b8bfe
7
- data.tar.gz: 1316ccad828bf8a1682f55987dbffaa9dee942f3e11dfe04d54c31432143732b93de31d6c4bed596509a92e3744a667716acc4cae8b326793efd263d6c1e9354
6
+ metadata.gz: b8886b2142000d91603f835032058982a50bc0fddaa81cd00e00957fb1b1c5c74ba87484deb7598a660183fa810193491cb0e7c14811b830c454befd6fd4c87b
7
+ data.tar.gz: b2e282ef718646af4413f6dad9a72ca70ba23d54d97108e5c34047ca5804eafecbcbe6ec822f9520b75ae18dc7fcbc57b60b33e0d4db93f5843bf580a37657f0
@@ -100,7 +100,7 @@ module TEALrb
100
100
  @teal.each_with_index do |line, i|
101
101
  ln = line.strip
102
102
 
103
- teal_lines << '' if VOID_OPS.include? @teal[i - 1][/\S+/]
103
+ teal_lines << '' if i != 0 && VOID_OPS.include?(@teal[i - 1][/\S+/])
104
104
 
105
105
  if (ln[%r{\S+:($| //)}] && !ln[/^if\d+/]) || ln == 'b main' || ln[/^#/]
106
106
  teal_lines << ln
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tealrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joe Polny