biosphere 0.2.7 → 0.2.8

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
  SHA1:
3
- metadata.gz: 1530299d3641fe3b7c3c00f274ac44ccdd0b2d46
4
- data.tar.gz: c0626adac909be4cfe32279f90ac919b071347ec
3
+ metadata.gz: 8e373f80b998cf5f1833a20208f7772d813ff7e5
4
+ data.tar.gz: a2078ac110ba457f7717353acf22920c4955ef21
5
5
  SHA512:
6
- metadata.gz: ce68248981778f66eef1de382bcd461777fdceb86c620e61516242df57a8c0a3a4309879604dbb61dc93af8d12c54ee5f11cb3a92c765cf5f25ad2954b3e8100
7
- data.tar.gz: d5372077cd2448b4dbebd8d9e87a2a8b996fe84f2d9580934c8ca2d923e68c7c8af9796ff3445b5e17324799e59b5fef78d2579c7adf6e87349a3a0b0a1ecac6
6
+ metadata.gz: c6c209289f626ca714b57a071e9799ba2a31e8cb8bb7a1235ab7da0d7fc7d56bceed84225dd365a063fc0dd630fe1bf94798b256950c2805541d607552950e87
7
+ data.tar.gz: 76d440c43416e139bce31b8c85ba27a79eb9d93a62d8bb85ec4f6c98fef6866ff765af2cf0a09109a0018b4b9411433def3a2f5b4e56f9c1372a2db82863a4a2
@@ -84,7 +84,7 @@ class Biosphere
84
84
  lines.each do |line|
85
85
  # the gsub is to strip possible ansi colors away
86
86
  # the match is to pick the TF notation about how the resource is about to change following the resource name itself
87
- m = line.gsub(/\e\[[0-9;]*m/, "").match(/^([-~+\/]+)\s(.+)$/)
87
+ m = line.gsub(/\e\[[0-9;]*m/, "").match(/^([-~+\/]+)\s(\S+)/)
88
88
  if m
89
89
  # If the resource action contains a minus ('-' or '-/+') then
90
90
  # we know that the action will be destructive.
@@ -1,3 +1,3 @@
1
1
  class Biosphere
2
- Version = "0.2.7"
2
+ Version = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biosphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juho Mäkinen