busser-mamba 0.2.1 → 0.2.2

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: c64131c184915fe9d0897120ed0fb8de1b61d0f5
4
- data.tar.gz: 0dec865aa0f75c6d89e4addf72ed0eae8e955863
3
+ metadata.gz: 94a18a171d1a890b904b18f270ed254caca33769
4
+ data.tar.gz: 441d4d460869ba0537c28cd939c943f75b5a46e6
5
5
  SHA512:
6
- metadata.gz: 43a9922bd181b9bcf05568e7cc7bd167ab9764760e334c9637aced0e93bff453a52c535d3f95d03a1726ff3e8044782090ba992e4d89e04fbc2d7bcd5827cb49
7
- data.tar.gz: 7744c1cf7e43f4ec98253dd80d87bd64f2d4e14d7e5541a28cc4c43d71c2ae28658266a8e273da45af8463b9a50a6294a3b1dda48d2be719da0dbf5810f29a13
6
+ metadata.gz: ce137d9c1dab529ad4f2e1364ed28f8666effc8bd66fb2014d16a4b282ed589a439bcf4c91216f8b942e8963b900ceed7d0909a35aedada04887a013e2d291d9
7
+ data.tar.gz: 93ce7bb37c3220fe3c7227799257feb7707172a5677638f448a0744343d1e669e5aad54c8a0e051de36b027efec4757ebef7e7d139057967252cc96908e43a6a
@@ -8,12 +8,12 @@ rvm:
8
8
  - ruby-head
9
9
 
10
10
  before_install:
11
- - sudo apt-get install python-virtualenv
11
+ - sudo pip uninstall -y pip
12
+ - mkdir -p ~/.pip
13
+ - echo -e '[install]\nuser = true' > ~/.pip/pip.conf
12
14
 
13
15
  script:
14
- - virtualenv .venv
15
- - . .venv/bin/activate
16
- - bundle exec rake
16
+ - PATH=~/.local/bin:$PATH bundle exec rake
17
17
 
18
18
  matrix:
19
19
  allow_failures:
@@ -1,3 +1,7 @@
1
+ ## 0.2.2 / 2014-09-12
2
+
3
+ * Bugfix installing pip in ruby 1.9.x
4
+
1
5
  ## 0.2.1 / 2014-09-12
2
6
 
3
7
  * Improved busser/mamba/pip module console feedback
@@ -13,7 +13,7 @@ module Busser
13
13
  if !pip_installed?
14
14
  info '`pip` is not installed, installing ...'
15
15
  f = Tempfile.new('busser-mamba', Dir.tmpdir, 'wb+')
16
- f.write(Net::HTTP.get(URI('https://bootstrap.pypa.io/get-pip.py')))
16
+ f.write(pip_install_script)
17
17
  f.flush
18
18
  run!("python #{f.path}")
19
19
  f.close!
@@ -21,6 +21,14 @@ module Busser
21
21
  end
22
22
  end
23
23
 
24
+ def pip_install_script
25
+ uri = URI('https://bootstrap.pypa.io/get-pip.py')
26
+ conn = Net::HTTP.new(uri.host, uri.port)
27
+ conn.use_ssl = true
28
+ conn.start
29
+ conn.get(uri.request_uri).body
30
+ end
31
+
24
32
  def pip_installed?
25
33
  system('pip --version')
26
34
  $?.exitstatus == 0
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Busser
4
4
  module Mamba
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
6
6
  end
7
7
  end
@@ -19,7 +19,7 @@ module Busser
19
19
  postinstall do
20
20
  ensure_pip
21
21
  pip_install(
22
- '-e git+git://github.com/nestorsalceda/mamba.git#egg=mamba')
22
+ 'https://github.com/nestorsalceda/mamba/archive/master.zip')
23
23
  end
24
24
 
25
25
  def test
@@ -30,6 +30,7 @@ module Busser
30
30
  pip_install("-r #{requirements_file}")
31
31
  end
32
32
 
33
+ info 'Running mamba ...'
33
34
  run!("mamba #{suite_path}")
34
35
  end
35
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: busser-mamba
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 Gil de Sagredo Luna