iStats 1.6.1 → 1.6.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9147b48215b23d4e5e217128e706f2988574152f
4
- data.tar.gz: 5c2acd6f35efa84bfac8cc0ca42468e42a6f76bd
2
+ SHA256:
3
+ metadata.gz: 85ed5e8845b71768672867309106a60d04d0fafffd91a514e04a2b20b3638868
4
+ data.tar.gz: 5bb6707e3a25a89906074ef9cf700c4fde34d7a0a9fba476c2f31b77b70474a5
5
5
  SHA512:
6
- metadata.gz: e21000768f8f6369f23f866e75159d4f4e2d289c7197f20a669ab41b19044a56fbe8a5e289e72ea4a2aac36702d87b57813278ff1708fc4138955890b3603ddb
7
- data.tar.gz: 3a8910d484d9a8782046907fec13a87bd03abd6dd96907693600bbbfb562c876085a49d9350cfa7d6a1dbfc5b8e9dcb7b7e8e2ee637296600d52a07855be317a
6
+ metadata.gz: e6b5e7694b7bde6215d3e0b36bf7b375b1f89cb931ea39f3af997950b634148d965b5e2702cc623ebcf90296c4d0f38b62181a03645355849886c58de290625c
7
+ data.tar.gz: 4c0ffa0059f89e56d059a065c8ecb3f8b078668a44eaf24648e62737c195d1810f68fcb19413c107f68d38390f35e681daead77b8fbc281b136fa0cef1ecf3f2
@@ -26,7 +26,7 @@ module IStats
26
26
  end
27
27
 
28
28
  def load
29
- if File.exists?(@configDir + @configFile)
29
+ if File.exist?(@configDir + @configFile)
30
30
  $config = ParseConfig.new(@configDir + @configFile)
31
31
  else
32
32
  $config = ParseConfig.new
@@ -34,11 +34,11 @@ module IStats
34
34
  end
35
35
 
36
36
  def configFileExists
37
- if File.exists?(@configDir + @configFile)
37
+ if File.exist?(@configDir + @configFile)
38
38
  $config = ParseConfig.new(@configDir + @configFile)
39
39
  else
40
40
  puts "No config file #{@configDir}#{@configFile} found .. Run scan"
41
- if !File.exists?(@configDir)
41
+ if !File.exist?(@configDir)
42
42
  Dir.mkdir( @configDir)
43
43
  end
44
44
  file=File.open(@configDir + @configFile,"w+")
@@ -69,7 +69,7 @@ module IStats
69
69
  end
70
70
 
71
71
  def toggleAll(value)
72
- if File.exists?(@configDir + @configFile)
72
+ if File.exist?(@configDir + @configFile)
73
73
  settings = ParseConfig.new(@configDir + @configFile)
74
74
  settings.params.keys.each{ |key|
75
75
  if (settings.params[key]['enabled'])
@@ -85,7 +85,7 @@ module IStats
85
85
  end
86
86
 
87
87
  def list
88
- if File.exists?(@configDir + @configFile)
88
+ if File.exist?(@configDir + @configFile)
89
89
  settings = ParseConfig.new(@configDir + @configFile)
90
90
  settings.params.keys.each{ |key|
91
91
  if (settings[key]['enabled'])
@@ -1,3 +1,3 @@
1
1
  module IStats
2
- VERSION = '1.6.1'
2
+ VERSION = '1.6.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iStats
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris911
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-29 00:00:00.000000000 Z
11
+ date: 2023-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sparkr
@@ -119,7 +119,7 @@ homepage: https://github.com/Chris911/iStats
119
119
  licenses:
120
120
  - MIT
121
121
  metadata: {}
122
- post_install_message:
122
+ post_install_message:
123
123
  rdoc_options: []
124
124
  require_paths:
125
125
  - lib
@@ -135,9 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
135
135
  - !ruby/object:Gem::Version
136
136
  version: '0'
137
137
  requirements: []
138
- rubyforge_project:
139
- rubygems_version: 2.5.2
140
- signing_key:
138
+ rubygems_version: 3.4.1
139
+ signing_key:
141
140
  specification_version: 4
142
141
  summary: Stats for your mac
143
142
  test_files: []