datadog-sdk-testing 0.8.1 → 0.8.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
  SHA1:
3
- metadata.gz: 4d5fb9131a59cf0f46c24ec874687e493b3adf80
4
- data.tar.gz: b5edb377bc7798f41f7bb3d8b20f83d4dd894f27
3
+ metadata.gz: 371cb72459d26349c8e06f7ebc9db0be8edd87ee
4
+ data.tar.gz: 28a8cd39817105f08e6c5756b098bf2e83004334
5
5
  SHA512:
6
- metadata.gz: 909ed09e03c03d968bc8d4291538be1b867e0519d169b5c68a1e339dad3f7346863088581e10fe9c0fa4cac8d1b56833d46c577038f330c9a1e745622a0b510d
7
- data.tar.gz: ce7b5004d266cabd19c1fd4a9cc103cb2d7d01f07a2bd3c2671a51bc5dbdee4a0cf1c4090a31249a659aa77571ee10cd93c1cc9495d0776d6dd5eecfc36d76cb
6
+ metadata.gz: f6c05f8135efa41c870ddac29956f8c95f5c6546bc51ae35c0ddb974d06c2418d15855dfef5039f31423e0d1af8a6e1d38aab3597097baed4a2f744543f67d70
7
+ data.tar.gz: a6e03ad8e47538ef30c9d959489b2c96ce0d743762e526a181849470425ebfd4489bed655d96a4c05d17572b58415b43c738c84ac576f8c1a05524159c4d59de
@@ -33,6 +33,7 @@ class RequirementsAnalyzer(object):
33
33
  SPECIFIERS = ['==', '!=' '<=', '>=', '<', '>']
34
34
  COMMENT = '#'
35
35
  HASH_SWITCH = '--hash'
36
+ LINEBREAK = '\\'
36
37
 
37
38
  def __init__(self, remote, local, patterns=['requirements.txt'],
38
39
  ignorable=[], verbose=False):
@@ -163,6 +164,11 @@ class RequirementsAnalyzer(object):
163
164
  if not line:
164
165
  continue
165
166
 
167
+ # remove any "linebreak"
168
+ break_idx = line.find(self.LINEBREAK)
169
+ if break_idx >= 0:
170
+ line = line[:break_idx]
171
+
166
172
  line = "".join(line.split())
167
173
  comment_idx = line.find(self.COMMENT)
168
174
  if comment_idx >= 0:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datadog-sdk-testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Fullaondo