rails-erd 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails_erd/config.rb +3 -3
- data/lib/rails_erd/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f590f01e828f0666ad2f1dec2a7be9cf5ece7fcd
|
4
|
+
data.tar.gz: 29c5922341486036c287cd8efa1c31c47caf004e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92cf42b9fb2b645567601e85105936d142e112059f1436054c89c8ace28b4994af1746dd0dd6249cac93ba71e555fcb827d55abf49b78a5eb52f317330e9dab1
|
7
|
+
data.tar.gz: 46ffdfbd5d41a877c4e5e8bd8e51b05bd81766cb65891fe6a8ecafdbe740d25f545d8d4beb7df6c80b37f1cd083e76c621519d99671f71b3ae151d08bed10aa0
|
data/lib/rails_erd/config.rb
CHANGED
@@ -77,13 +77,13 @@ module RailsERD
|
|
77
77
|
|
78
78
|
def self.use_os_x_fonts?
|
79
79
|
host = RbConfig::CONFIG['host_os']
|
80
|
+
return true if host == "darwin"
|
80
81
|
|
81
82
|
if host.include? "darwin"
|
82
83
|
darwin_version_array = host.split("darwin").last.split(".").map(&:to_i)
|
83
84
|
|
84
|
-
if darwin_version_array[0]
|
85
|
-
|
86
|
-
end
|
85
|
+
return true if darwin_version_array[0] >= 13
|
86
|
+
return true if darwin_version_array[0] == 12 && darwin_version_array[1] >= 5
|
87
87
|
end
|
88
88
|
|
89
89
|
false
|
data/lib/rails_erd/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-erd
|
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
|
- Rolf Timmermans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|