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 +4 -4
- data/Rakefile +1 -25
- data/lib/rb2exe/version.rb +1 -1
- data/rb2exe.gemspec +2 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 047815e9610297bb9e8a616933d05f084b67e483
|
4
|
+
data.tar.gz: e6d9fe08706fe62bbf19ff34f8021c156ec02a12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/rb2exe/version.rb
CHANGED
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 = "
|
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.
|
4
|
+
version: 0.1.43
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Loureiro
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
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:
|