rb2exe 0.1.53 → 0.1.54

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/bin/rb2exe +2 -2
  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: 7514934e6aafcd94c546bed5e4c2f07015f492e3
4
- data.tar.gz: 44af662d5e97fe0ec0c7de279e77d9aaaecb9d98
3
+ metadata.gz: 13f33678bf0b344ddcbe1e0803726859d1b29cb1
4
+ data.tar.gz: 303221a6fc9dbf38a43932a4ac1ebe255c75c92d
5
5
  SHA512:
6
- metadata.gz: ea357fdff2778172d5730784555509f1af7b2c28548eb237a5278675991817ca682e8948960de09a863125cfae67dd98ba65b4cb7a829a3869bc22aae0733617
7
- data.tar.gz: 9a7e3ad2595eec5f11a9833ac412f913a7bcf0d5f09dc1c435f2cd49c50d8582b56fc723dacc1edd70a67a2801cd8c92566ec0eaac509e886ad387005dc6d4b7
6
+ metadata.gz: 7c05dbc25a292d393385235f20b7a45f68556033afdcaf2ff47781ed21200da2af34bec3aa4716b1a8f83fa415bfe6dea1e1c9201a571ea0205fd910cbd05bad
7
+ data.tar.gz: 8fe616d326382fe7f4f5a6addb58045fd8fe283cbe0737460f47625f452ceb8d993f370875a1c2466402df7b3f679daaea45176655736bfb572e3ede4dd89591
data/bin/rb2exe CHANGED
@@ -81,7 +81,7 @@ Dir.mktmpdir do |tmp_dir|
81
81
  puts "Gemfile detected. Loading gems." unless options[:quiet]
82
82
  FileUtils.mkdir_p("#{tmp_dir}/payload/lib/tmp") # Create a "tmp" folder on ".package/payload/lib"
83
83
  FileUtils.cp("#{tmp_dir}/payload/lib/app/Gemfile", "#{tmp_dir}/payload/lib/tmp/") # Copy the project Gemfile to tmp
84
- FileUtils.cp("#{tmp_dir}/payload/lib/app/Gemfile.lock", "#{tmp_dir}/payload/lib/tmp/")
84
+ FileUtils.cp_rf("#{tmp_dir}/payload/lib/app/Gemfile.lock", "#{tmp_dir}/payload/lib/tmp/")
85
85
  # Download gems into the "lib/vendor" folder
86
86
  Bundler.with_clean_env do
87
87
  Dir.chdir("#{tmp_dir}/payload/lib/app") do
@@ -91,7 +91,7 @@ Dir.mktmpdir do |tmp_dir|
91
91
  FileUtils.rm_rf("#{tmp_dir}/payload/lib/tmp/") # Delete tmp folder
92
92
  %x[cd #{tmp_dir}/payload/lib/ && rm -f vendor/*/*/cache/*] # Delete gem's cache in the vendor folder
93
93
  FileUtils.cp("#{tmp_dir}/payload/lib/app/Gemfile", "#{tmp_dir}/payload/lib/vendor/") # Copy the Gemfile to the vendor folder
94
- FileUtils.cp("#{tmp_dir}/payload/lib/app/Gemfile.lock", "#{tmp_dir}/payload/lib/vendor/")
94
+ FileUtils.cp_rf("#{tmp_dir}/payload/lib/app/Gemfile.lock", "#{tmp_dir}/payload/lib/vendor/")
95
95
  # Create a bundler config
96
96
  FileUtils.mkdir_p("#{tmp_dir}/payload/lib/vendor/.bundle")
97
97
  FileUtils.cp("#{gem_dir}/lib/bundler-config", "#{tmp_dir}/payload/lib/vendor/.bundle/config")
@@ -1,3 +1,3 @@
1
1
  module Rb2exe
2
- VERSION = "0.1.53"
2
+ VERSION = "0.1.54"
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.53
4
+ version: 0.1.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Loureiro