hasu 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hasu.rb +2 -2
  3. data/lib/hasu/version.rb +1 -1
  4. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8583e858bca02a15e8c5c5f4f61c929f0cc8de1df248df46c0c0188920d5e34c
4
- data.tar.gz: 30c6cc0b25dcdd2c80108ab5c02dfb0b56d6a2f0fe5258eb06e414ddcd2af2e8
3
+ metadata.gz: 2626ba7b3bce85ad0d28a0e03c030f467ac125645433ec73ccfe33bc8e810aff
4
+ data.tar.gz: 29d5261508848eb357dea64142f8cefee1b025225edaa4c060686f71f45bf504
5
5
  SHA512:
6
- metadata.gz: 3c6aa1c076649850a2bf7806274b2513abea42e8876cde7cdc5c256b90ab8faaacbfffdf7bc2bd6e0e6d7bd1c029aa6a11c26a95ebfb84275152f516464bbed9
7
- data.tar.gz: '009c6cfd365db7a2842d2e60c8b219312523f886fb96dd2e8b059e199504690ec4900b5b1c1fdad24d12f2f4510f65a33fd92526fbeacaf7d01bbee234c5fc65'
6
+ metadata.gz: 0f308311c2206f5903322c3e1f161d0519c73579b8b46a5f227bce19ac1477fc8d4bb5136e1297118c63f260abe405931707db234a18e0b1e5af12ed6a19745b
7
+ data.tar.gz: fb627249f8ac7386b4f843d3fcce21779c3f238f9043e29f5a636bf2ea5c93179357db6a8c16eb40a7e96be08bb9f32d1f862456cdccb7b37e4ebf9c97600005
data/lib/hasu.rb CHANGED
@@ -7,7 +7,7 @@ module Hasu
7
7
  end
8
8
 
9
9
  def self.load(path)
10
- reloads[path] = File.exists?(path) ? File.mtime(path) : Time.now
10
+ reloads[path] = File.exist?(path) ? File.mtime(path) : Time.now
11
11
  begin
12
12
  super
13
13
  true
@@ -31,7 +31,7 @@ module Hasu
31
31
  end
32
32
 
33
33
  def self.reload!
34
- to_reload = reloads.select{|f,t| File.exists?(f) && File.mtime(f) > t}
34
+ to_reload = reloads.select{|f,t| File.exist?(f) && File.mtime(f) > t}
35
35
 
36
36
  !to_reload.empty? && to_reload.all? do |file,_|
37
37
  puts "Reloading #{file}"
data/lib/hasu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hasu
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hasu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Fairley
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-28 00:00:00.000000000 Z
11
+ date: 2021-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gosu
@@ -79,7 +79,7 @@ homepage: https://github.com/michaelfairley/hasu
79
79
  licenses:
80
80
  - MIT
81
81
  metadata: {}
82
- post_install_message:
82
+ post_install_message:
83
83
  rdoc_options: []
84
84
  require_paths:
85
85
  - lib
@@ -94,8 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.0.1
98
- signing_key:
97
+ rubygems_version: 3.2.3
98
+ signing_key:
99
99
  specification_version: 4
100
100
  summary: Prototype Gosu games with ease
101
101
  test_files: []