rubinius-compiler 1.2.0 → 1.2.1
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 +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: 9a7ac1dad2806e3f305644c39c04c4ab7d0aa555
|
|
4
|
+
data.tar.gz: 9d0c78323f44d2dac51f8dde07f68a815c2a3acb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 758b02254a3a25084d3113442cec77c429029856d738970e0b30d61ef2a20c11345f8c177786c474da0e75e1524d16281c18ff76618395c383acddb270fd48fc
|
|
7
|
+
data.tar.gz: d62f54cb062a567d968761b23bd1bff4987276eaa698e8171406bcafb07cadc1b5ddb487376356ce4d86da18f228b12b2bc7fd4ef1676cea82633ebfb10fcb4e
|
|
@@ -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: 1.2.
|
|
4
|
+
version: 1.2.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
|
|
@@ -84,8 +84,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
84
84
|
version: '0'
|
|
85
85
|
requirements: []
|
|
86
86
|
rubyforge_project:
|
|
87
|
-
rubygems_version: 2.
|
|
87
|
+
rubygems_version: 2.4.5
|
|
88
88
|
signing_key:
|
|
89
89
|
specification_version: 4
|
|
90
90
|
summary: Rubinius bytecode compiler.
|
|
91
91
|
test_files: []
|
|
92
|
+
has_rdoc:
|