rb2exe 0.1.40 → 0.1.43

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: 9513d047aeb5839b64284bef9ad64315452fdbae
4
- data.tar.gz: 5b8571f2753d7d3d9a28bde36b55b5a9a320b445
3
+ metadata.gz: 047815e9610297bb9e8a616933d05f084b67e483
4
+ data.tar.gz: e6d9fe08706fe62bbf19ff34f8021c156ec02a12
5
5
  SHA512:
6
- metadata.gz: 08c3f1f94e68c79dbb5bed59f8c4703dd1d01d03464df9a2c2fb1ab9bc0d4103cc0c23a39410bd5194e5d8405c1d4a1e0e0886479e0ee4b0e30317ec4b6944b4
7
- data.tar.gz: 528103f68a5504f1992d4ea0036edb547f4d5ae0b263da6a53f1fce7e96e6af41532bdb937a9ac1b695ad144a304d78bdd2ebec233ed434e5aad681449530ef0
6
+ metadata.gz: 1aac2c3a1c33d770c6b7dfeb1983ae2694020269a84efbfe613e7a38b91a3191c104469139e418701776e4eb175cd70641ccbaac423cab0f20fd53668ec6efcc
7
+ data.tar.gz: 52dc9c1e1b630613aa7e80657d0bfce8fda52424bb04895048e01b1e1bb8d7f330a820a174f92171a87a5d1bd227be7ad55fa75d325d02bb7c320ee2e5929ae9
data/Rakefile CHANGED
@@ -1,27 +1,3 @@
1
1
  require "bundler/gem_tasks"
2
2
 
3
- module Bundler
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
- `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."
17
- end
18
- end
19
- end
20
-
21
- task :default => :spec do
22
- `sed -i -e "s/__RB2EXE_GEM_PATH__/HEHEHE/g" #{Dir.pwd}/bin/rb2exe`
23
- end
24
-
25
- Gem.post_install do |installer|
26
- `sed -i -e "s/__RB2EXE_GEM_PATH__/HEHEHE/g" #{Dir.pwd}/bin/rb2exe`
27
- end
3
+ task :default => :spec
@@ -1,3 +1,3 @@
1
1
  module Rb2exe
2
- VERSION = "0.1.40"
2
+ VERSION = "0.1.43"
3
3
  end
data/rb2exe.gemspec CHANGED
@@ -14,9 +14,10 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "http://www.learnwithdaniel.com/2016/08/ruby-to-portable-exe-app/"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
- spec.bindir = "exe"
17
+ spec.bindir = "bin"
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
+ spec.executables << 'rb2exe.rb'
20
21
 
21
22
  spec.add_development_dependency "bundler", "~> 1.12"
22
23
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb2exe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.40
4
+ version: 0.1.43
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Loureiro
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2016-09-25 00:00:00.000000000 Z
12
12
  dependencies:
@@ -41,7 +41,8 @@ dependencies:
41
41
  description: Ruby to EXE - Turn ruby scripts into portable executable apps.
42
42
  email:
43
43
  - loureirorg@gmail.com
44
- executables: []
44
+ executables:
45
+ - rb2exe.rb
45
46
  extensions: []
46
47
  extra_rdoc_files: []
47
48
  files: