rubinius-compiler 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubinius/compiler/compiler.rb +1 -3
- data/lib/rubinius/compiler/version.rb +1 -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: ba898ecc2e33de1d1ff5b76ee6eda9d082cbdaa0
|
4
|
+
data.tar.gz: 97c39a56216229a514ed73291a40b7d9c466e1d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f7a27ecf11dc46a463404291fab62386617cbf2b7cd8aabffdd446ff1db42e157cba8d544e042a918ac34db2c013e094f2db78f95150f6236ed52f494bbf420
|
7
|
+
data.tar.gz: 096827fdb5d87dfe68bef1665503b5858fbc7491e636105ae8644433753d6105f764a510e5ac49a2d94dd702244af1702095bd7721fb96826fd0137debca520b
|
@@ -27,7 +27,7 @@ module CodeTools
|
|
27
27
|
end
|
28
28
|
else
|
29
29
|
def self.compiled_cache_writable?(db, dir)
|
30
|
-
File.
|
30
|
+
File.writable?(db) or File.writable?(dir)
|
31
31
|
end
|
32
32
|
|
33
33
|
def self.compiled_name(file)
|
@@ -51,8 +51,6 @@ module CodeTools
|
|
51
51
|
dir = Rubinius::OS_STARTUP_DIR
|
52
52
|
db = "#{dir}/.rbx"
|
53
53
|
unless name.prefix?(dir) and compiled_cache_writable?(db, dir)
|
54
|
-
# Yes, this retarded shit is necessary because people actually
|
55
|
-
# run under fucked environments with no HOME set.
|
56
54
|
return unless ENV["HOME"]
|
57
55
|
|
58
56
|
dir = File.expand_path "~/"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubinius-compiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Shirai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -239,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
239
|
version: '0'
|
240
240
|
requirements: []
|
241
241
|
rubyforge_project:
|
242
|
-
rubygems_version: 2.
|
242
|
+
rubygems_version: 2.4.5
|
243
243
|
signing_key:
|
244
244
|
specification_version: 4
|
245
245
|
summary: Rubinius bytecode compiler.
|
@@ -329,3 +329,4 @@ test_files:
|
|
329
329
|
- spec/xstr_spec.rb
|
330
330
|
- spec/yield_spec.rb
|
331
331
|
- spec/zsuper_spec.rb
|
332
|
+
has_rdoc:
|