rb2exe 0.1.60 → 0.2.0

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: 765db85345d2bcf1bdfa33135eb753a733532f1c
4
- data.tar.gz: 68075b3c5fd3b8a46a1f9b28c941d21d706e12bf
3
+ metadata.gz: 82bf7ff6f668ad5da61f87e6e54f83ba752259e9
4
+ data.tar.gz: 34899af80ea63fe91ffd11a60668461b3890aea6
5
5
  SHA512:
6
- metadata.gz: 1034f37a13c98ceb1e8a93f8b07a8382b22060506baf41f2fa058f0dbde6e127a271b25e6bf6f2d29503855123f22a053ac9e9bd876c06316ed65aef63f0bfaf
7
- data.tar.gz: ad442d05d9bc7defab3ada1c79458ccfb29c3835dfa965428a0de975ea35ddc7506189b00986feee101858b7791d35f54a54cf5c0b18b35c2a12573677eaa10c
6
+ metadata.gz: a42f7b20c9a10b984d85d98e15fc25c0b02c3e2c444e012fdda5e6e23b0bcdffabdb1e12cbe0312e8544d4c6b321851dc55e2f93c61ddb5b322b3bae228c00cb
7
+ data.tar.gz: 5b1d87b5c04eaba78089d3879367fe436667f9f5bcef2139facc41a4c8675b15d18b6e630813a89f6820e6d8306216abe32a4061fa3ebd1735faecefdea28f16
data/README.md CHANGED
@@ -97,6 +97,9 @@ rb2exe just packages your source files (plus a stand-alone ruby) in an auto-extr
97
97
  Bug reports and pull requests are welcome on GitHub at https://github.com/loureirorg/rb2exe.
98
98
 
99
99
 
100
+ # Changelog
101
+ * 0.2.0: adding support to handle ARGV being passed to the ruby script (thanks @dabooze)
102
+
100
103
  ## TODO
101
104
 
102
105
  * Windows executable output;
@@ -1,5 +1,6 @@
1
1
  #!/bin/bash
2
2
  export TMPDIR=`mktemp -d /tmp/selfextract.XXXXXX`
3
+ export ARGV=$@
3
4
 
4
5
  ARCHIVE=`awk '/^__ARCHIVE_BELOW__/ {print NR + 1; exit 0; }' $0`
5
6
 
@@ -18,7 +18,7 @@ then
18
18
  export RAILS_ENV=production
19
19
  exec "$SELFDIR/lib/ruby/bin/ruby" -rbundler/setup "bin/rails" server
20
20
  else
21
- exec "$SELFDIR/lib/ruby/bin/ruby" -rbundler/setup "$1"
21
+ exec "$SELFDIR/lib/ruby/bin/ruby" -rbundler/setup "$1" $ARGV
22
22
  fi
23
23
  else
24
24
  exec "$SELFDIR/lib/ruby/bin/ruby" "$1"
@@ -0,0 +1 @@
1
+ libcrypto.1.0.0.dylib
@@ -0,0 +1 @@
1
+ libedit.0.dylib
@@ -0,0 +1 @@
1
+ libffi.6.dylib
@@ -0,0 +1 @@
1
+ libgmp.10.dylib
@@ -0,0 +1 @@
1
+ liblzma.5.dylib
@@ -0,0 +1 @@
1
+ libncurses.5.dylib
@@ -0,0 +1 @@
1
+ libedit.0.dylib
@@ -0,0 +1 @@
1
+ libssl.1.0.0.dylib
@@ -0,0 +1 @@
1
+ libncurses.5.dylib
@@ -0,0 +1 @@
1
+ libyaml-0.2.dylib
@@ -1,3 +1,3 @@
1
1
  module Rb2exe
2
- VERSION = "0.1.60"
2
+ VERSION = "0.2.0"
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.60
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Loureiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2017-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -4075,7 +4075,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
4075
4075
  version: '0'
4076
4076
  requirements: []
4077
4077
  rubyforge_project:
4078
- rubygems_version: 2.4.8
4078
+ rubygems_version: 2.5.1
4079
4079
  signing_key:
4080
4080
  specification_version: 4
4081
4081
  summary: Ruby to Executable