graph_starter 0.7.0 → 0.7.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: 95f03dfb7ac0e8f3252c7bf329d58658f174429a
4
- data.tar.gz: 9aeb034501d432cb989fbd0209f0eeb0c8bce5d3
3
+ metadata.gz: 21d031a4253a61a52a7dcfaddc51ec6b46dc2b57
4
+ data.tar.gz: 386b277a5dae33517077ea490051860dcfdbd03f
5
5
  SHA512:
6
- metadata.gz: 2c35c391e347b0a67f2548f6fda1f7d8c9180946432992609cbb165b0b7d08c076ad863511f67a18b55bc04b78a21f9c882e467fd5d2b0937992709686c8e45f
7
- data.tar.gz: cc5900cd8157044cf5b53132af168ce4b49f422ad12cca34fae7211fa4ce477d69f4ead11a557533fbed3cdd4fab7ddb1633df8a193aa4a36e39a0d6339b0866
6
+ metadata.gz: ab450ee9ac34d7e4fad55443149b87ef2a6f580e8283006bcc2a31101c3ace1c83ceb07ee0e32fb428b36bb0fe9d6229837f98627bdd856d858a07975384a1db
7
+ data.tar.gz: 184827ed38d957d70901a2424951f39890f87e7c29abece1ac127b64ff6c06774c46a964c3d14c52807da56d3060cc68bfc21721b43d11da6b8cc180a6e6a539
@@ -156,14 +156,14 @@ module GraphStarter
156
156
 
157
157
  def self.display_properties(*property_names)
158
158
  if property_names.empty?
159
- @display_properties || []
159
+ @display_properties
160
160
  else
161
161
  @display_properties = property_names.map(&:to_sym)
162
162
  end
163
163
  end
164
164
 
165
165
  def self.display_property?(property_name)
166
- display_properties.include?(property_name.to_sym)
166
+ display_properties.nil? || display_properties.include?(property_name.to_sym)
167
167
  end
168
168
 
169
169
 
@@ -1,3 +1,3 @@
1
1
  module GraphStarter
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graph_starter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Underwood