ocra 1.1.5.pre1 → 1.1.5.pre2

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.
data/bin/ocra CHANGED
@@ -11,7 +11,7 @@ module Ocra
11
11
  OP_SETENV = 5
12
12
  OP_POST_CREATE_PROCESS = 6
13
13
 
14
- VERSION = "1.1.5.pre1"
14
+ VERSION = "1.1.5.pre2"
15
15
 
16
16
  IGNORE_MODULES = /^enumerator.so$/
17
17
 
@@ -101,7 +101,7 @@ ocra [options] script.rb
101
101
  --no-autoload Don't load/include script.rb's autoloads
102
102
  --icon <ico> Replace icon with a custom one
103
103
  --version Display version number
104
- --no-gem-filter Don't filter uncommon files from gems (readme's, etc.)
104
+ --no-gem-filter Don't filter readme's, doc, C-source, etc. from gems
105
105
  EOF
106
106
 
107
107
  while arg = argv.shift
@@ -280,6 +280,8 @@ EOF
280
280
  files = files.select { |filename| filename !~ IGNORE_GEMFILES } if Ocra.gem_filter
281
281
  # Find the full path
282
282
  files = files.map { |file| File.join(gempath, "gems", fullgemname, file) }
283
+ # Filter out non-files
284
+ files = files.select { |file| File.file?(file) }
283
285
 
284
286
  gem_files += files
285
287
  end
@@ -1,3 +1,3 @@
1
1
  class Ocra
2
- VERSION = '1.1.5.pre1'
2
+ VERSION = '1.1.5.pre2'
3
3
  end
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocra
3
3
  version: !ruby/object:Gem::Version
4
- hash: -769618389
4
+ hash: 270495469
5
5
  prerelease: true
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
9
  - 5
10
- - pre1
11
- version: 1.1.5.pre1
10
+ - pre2
11
+ version: 1.1.5.pre2
12
12
  platform: ruby
13
13
  authors:
14
14
  - Lars Christensen
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-08-15 00:00:00 +02:00
19
+ date: 2010-08-17 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency