rb2exe 0.1.14 → 0.1.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -3
  3. data/Rakefile +27 -10
  4. data/lib/rb2exe/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2a479bd0363fd9b4471af4bd114911818422017
4
- data.tar.gz: c4058c62a7be55dfc8a0662efe2cbfc6dc741213
3
+ metadata.gz: 3b307be6e79df9696af577f2852f231bd4a8383a
4
+ data.tar.gz: 626dffcf93164fe43f8c1214fc766dc40449bf68
5
5
  SHA512:
6
- metadata.gz: 11de8c9636452c93217d26ae93f763d9bcc54f20bb90c87cd91eba543cdcb2451368ba486ba5fc2d18504c05f5ddf8bb7d35c9dcd751db470164c917c676a953
7
- data.tar.gz: dc906c889a847a85610ad8762a915e7d9faf568b075c45bc2913da69a89094f4588d5651e20f333660ee869f728f6cc8b0533b0374c4cdbc2b93ff9572115d35
6
+ metadata.gz: e274d3727871915c53d94e98435cdb66f2668a6746679fb8dba56a76decd6652c18f8c9c66476d883e5db89903fc0fe82c546bc5ee292f5d0d78cea8108a5983
7
+ data.tar.gz: d1c40a9a8907cd5cbcc18b2cc2f598d0d4dea2029ec8ed19884541b042ec24303e08b26afca31538c5dca7d15d6d85d5ac666d3ad212db4caddc4ff8e6cb3592
data/Gemfile.lock CHANGED
@@ -1,13 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rb2exe (0.1.14)
4
+ rb2exe (0.1.15)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  rake (10.4.2)
10
- sudo (0.1.1)
11
10
 
12
11
  PLATFORMS
13
12
  ruby
@@ -16,7 +15,6 @@ DEPENDENCIES
16
15
  bundler (~> 1.12)
17
16
  rake (~> 10.0)
18
17
  rb2exe!
19
- sudo (~> 0.1)
20
18
 
21
19
  BUNDLED WITH
22
20
  1.12.5
data/Rakefile CHANGED
@@ -2,16 +2,33 @@ 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
- sh_with_code("sudo ln -sf #{Dir.pwd}/bin/rb2exe /usr/local/bin/")
10
-
11
- built_gem_path ||= build_gem
12
- out, _ = sh_with_code("gem install '#{built_gem_path}'#{" --local" if local}")
13
- raise "Couldn't install gem, run `gem install #{built_gem_path}' for more detailed output" unless out[/Successfully installed/]
14
- Bundler.ui.confirm "#{name} (#{version}) installed."
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
15
27
  end
16
28
  end
17
29
  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.14"
2
+ VERSION = "0.1.29"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb2exe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Loureiro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-24 00:00:00.000000000 Z
11
+ date: 2016-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler