rb2exe 0.1.29 → 0.1.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +12 -27
  3. data/lib/rb2exe/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b307be6e79df9696af577f2852f231bd4a8383a
4
- data.tar.gz: 626dffcf93164fe43f8c1214fc766dc40449bf68
3
+ metadata.gz: 62dd1e7fde3babb4f6ba0ed3bed081725055c03e
4
+ data.tar.gz: 5333332ce4bcba162c5dabfc65651146d0ac71dd
5
5
  SHA512:
6
- metadata.gz: e274d3727871915c53d94e98435cdb66f2668a6746679fb8dba56a76decd6652c18f8c9c66476d883e5db89903fc0fe82c546bc5ee292f5d0d78cea8108a5983
7
- data.tar.gz: d1c40a9a8907cd5cbcc18b2cc2f598d0d4dea2029ec8ed19884541b042ec24303e08b26afca31538c5dca7d15d6d85d5ac666d3ad212db4caddc4ff8e6cb3592
6
+ metadata.gz: aaf3344a11bb3c68c9bdef15dd6cdd2dd9c572a77eb7c7ef65e08dc65e116ac956302866d6237f287cc68f67381e4f42a2fff1340733a00d68b3d14be05c7588
7
+ data.tar.gz: 6d4720d8f81e0a26fae51b2e15a2d447f6c9cd9592847c3a01408936eddfa6d25ec2ca85db0b4b7c8ddb48e3f22f4a16115f717f7de61fb7ac7a952b93501b2d
data/Rakefile CHANGED
@@ -2,33 +2,18 @@ require "bundler/gem_tasks"
2
2
 
3
3
  module Bundler
4
4
  class GemHelper
5
- # def install_gem(built_gem_path = nil, local = false)
6
- # path = File.expand_path(File.dirname(__FILE__))
7
- # path = path.gsub('/', '\/').strip
8
- # `sed -i -e "s/__RB2EXE_GEM_PATH__/#{path}/g" #{Dir.pwd}/bin/rb2exe`
9
- # out, err, code = sh_with_code("sudo ln -s #{Dir.pwd}/bin/rb2exe /usr/local/bin/")
10
- # # if err[/ERROR/]
11
- # Bundler.ui.error err
12
- # raise err
13
- # # end
14
- #
15
- # built_gem_path ||= build_gem
16
- # out, _ = sh_with_code("gem install '#{built_gem_path}'#{" --local" if local}")
17
- # raise "Couldn't install gem, run `gem install #{built_gem_path}' for more detailed output" unless out[/Successfully installed/]
18
- # Bundler.ui.confirm "#{name} (#{version}) installed."
19
- # end
20
- #
21
- # def install_tasks
22
- # end
23
- def install_tasks(opts = {})
24
- Bundler.ui.error 'bp'
25
- raise 'bp'
26
- new(opts[:dir], opts[:name]).install
5
+ def install_gem(built_gem_path = nil, local = false)
6
+ path = File.expand_path(File.dirname(__FILE__))
7
+ path = path.gsub('/', '\/').strip
8
+ `sed -i -e "s/__RB2EXE_GEM_PATH__/#{path}/g" #{Dir.pwd}/bin/rb2exe`
9
+ `ln -s #{Dir.pwd}/bin/rb2exe #{Dir.pwd}/../../../bin/rb2exe`
10
+ `ln -s #{Dir.pwd}/bin/rb2exe /usr/local/bin/`
11
+ # `sudo ln -s #{Dir.pwd}/bin/rb2exe /usr/local/bin/`
12
+
13
+ built_gem_path ||= build_gem
14
+ out, _ = sh_with_code("gem install '#{built_gem_path}'#{" --local" if local}")
15
+ raise "Couldn't install gem, run `gem install #{built_gem_path}' for more detailed output" unless out[/Successfully installed/]
16
+ Bundler.ui.confirm "#{name} (#{version}) installed."
27
17
  end
28
18
  end
29
19
  end
30
-
31
- # task :default => :spec do
32
- # Bundler.ui.error 'bp'
33
- # raise 'bp'
34
- # end
@@ -1,3 +1,3 @@
1
1
  module Rb2exe
2
- VERSION = "0.1.29"
2
+ VERSION = "0.1.38"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb2exe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.29
4
+ version: 0.1.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Loureiro