immunio 2.0.2 → 2.0.3

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
  SHA1:
3
- metadata.gz: da07fbf1f7440e6caa434a0d95fcd8ca2e7fa4ad
4
- data.tar.gz: ffee645f3187c4de239f8f7fce89bef8d694a470
3
+ metadata.gz: 993e57dba4e7715f5c0dee11ed55f883810dd7d5
4
+ data.tar.gz: 8f1f6f6cad127307bd6ea31c591d4f31fb836e76
5
5
  SHA512:
6
- metadata.gz: f3501e1052eac74b3ee4fe9b5195c75aa3c66af4c52edacec1213ffd0571469ed57cc18a020bab19037ae2212229a727dc6fd8aa148c1487f66ed821ea7cdafd
7
- data.tar.gz: 9cc18368c5e8474726307049e3ffdab11940ba328166e8e1a562d01e17bbb98d910f2e677eaa497d215c9bd8fcecd5b7f648d470f460e23754721fde957df3c7
6
+ metadata.gz: 68256e36c7fc57d2358f69adb74a2cc1c112c9da4c1423401863bb7b2e533c543c1ac4007d708a13b10cc4a16253eaf0ddf02e4edec8b3dedba90d456fd46b0f
7
+ data.tar.gz: 60507902a61f595c378ad8817b2b27c6ea546fb51378a5f934232ea4fef85dfb5b9a2e6b93e29104b7db07133873d75e8a625e70fb4070470c252d00894e5e75
@@ -290,9 +290,7 @@ module Immunio
290
290
  end
291
291
 
292
292
  def remove_comment(code)
293
- *, last_line = code.rpartition("\n")
294
-
295
- comment = Ripper.slice(last_line, "comment")
293
+ comment = Ripper.slice(code, "comment")
296
294
 
297
295
  if comment
298
296
  code = code.sub(Regexp.new(Regexp.escape(comment) + "\\Z"), "")
@@ -1,5 +1,5 @@
1
1
  module Immunio
2
2
  AGENT_TYPE = "agent-ruby"
3
- VERSION = "2.0.2"
3
+ VERSION = "2.0.3"
4
4
  VM_VERSION = "2.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: immunio
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Immunio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-16 00:00:00.000000000 Z
11
+ date: 2018-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails