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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d99cbfb786b715088ed547c22acac6150d65109
4
- data.tar.gz: 6b7631aea348df78d4d7a6add5c9b590c5c4f2fb
3
+ metadata.gz: f590f01e828f0666ad2f1dec2a7be9cf5ece7fcd
4
+ data.tar.gz: 29c5922341486036c287cd8efa1c31c47caf004e
5
5
  SHA512:
6
- metadata.gz: 912040089037e2eae86864507ee3efd5d1f51825b256e7464204ebaacb1bf5af0a89785f0f4948de093a2b5797bdd119fa3c4a9fcc1e7ce158713179f12c2140
7
- data.tar.gz: adf9512f873f3b19632a0e1cf165e764395cda87b03f6fcb1654a58c1d925bc26dd6eae3050450be4d855a948c438a47d2ee5f1eec0497e4c727dab163cd0534
6
+ metadata.gz: 92cf42b9fb2b645567601e85105936d142e112059f1436054c89c8ace28b4994af1746dd0dd6249cac93ba71e555fcb827d55abf49b78a5eb52f317330e9dab1
7
+ data.tar.gz: 46ffdfbd5d41a877c4e5e8bd8e51b05bd81766cb65891fe6a8ecafdbe740d25f545d8d4beb7df6c80b37f1cd083e76c621519d99671f71b3ae151d08bed10aa0
@@ -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] == 12 and darwin_version_array[1] >= 5
85
- return true
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
@@ -1,4 +1,4 @@
1
1
  module RailsERD
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  BANNER = "RailsERD #{VERSION}"
4
4
  end
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.0
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-16 00:00:00.000000000 Z
11
+ date: 2014-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord