datadog-sdk-testing 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tasks/ci/default.rb +13 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: abe4a20f52c51cc46f5f94c91f20e6f6e0307ab2
4
- data.tar.gz: 3bf716fc0d7164e1c6cea263395d9c100f7579ec
3
+ metadata.gz: 8a5e778a7c72e505f4b955419d51b86b1e46b331
4
+ data.tar.gz: 472674321283a3a475b7a79cd2780feb4ba3a970
5
5
  SHA512:
6
- metadata.gz: 0a32eacb945e95cbe3a3dc2cdda15af90d788951904fa512641ad1a2fee1719d4f1300ec8d616565bdd4d3bf4ace17f08cccf2f28a0cc114fff6cc1477d2ccbb
7
- data.tar.gz: 28deefe2fc135e323d5677c4decca755f325bbdfe808ec7ddc56f9696de49a44950da50ef087c1c10d242cfe4165f716a8bcda22f6f9d7f8ed2492689899a8c4
6
+ metadata.gz: 7bd029a224dbd0d79c438d0bdd94bf389394149a460b8e25a028ac5d1ade601125099d4cb0c2f42adfcd4669f448eaa4637ff965076e749416b8f3b7b99d2225
7
+ data.tar.gz: 239610171877a7fc21786ff4546f46c405cf5f35d953b8a1770feb250c04e8b3519d7dd67263f6c884ff907ae8a63ff5e12e0701d8c31722fad96bbd6421da4a
@@ -19,7 +19,19 @@ namespace :ci do
19
19
  end
20
20
  end
21
21
 
22
- task install: ['ci:common:install']
22
+ task install: ['ci:common:install'] do
23
+ sdk_dir = ENV['SDK_HOME'] || Dir.pwd
24
+ reqs = Dir.glob(File.join(sdk_dir, '**/requirements.txt')).reject do |path|
25
+ !%r{#{sdk_dir}/embedded/.*$}.match(path).nil? || !%r{#{sdk_dir}\/venv\/.*$}.match(path).nil?
26
+ end
27
+
28
+ use_venv = in_venv
29
+ reqs.each do |req|
30
+ install_requirements(req,
31
+ "--cache-dir #{ENV['PIP_CACHE']}",
32
+ "#{ENV['VOLATILE_DIR']}/ci.log", use_venv)
33
+ end
34
+ end
23
35
 
24
36
  task before_script: ['ci:common:before_script']
25
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: datadog-sdk-testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Fullaondo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-25 00:00:00.000000000 Z
11
+ date: 2016-07-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Datadog Integration SDK testing/scaffolding gem
14
14
  email: jaime.fullaondo@datadoghq.com