bootsnooze 0.0.0

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.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/bootsnooze.rb +8 -0
  3. metadata +43 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: '04588b184cc533ed903f0a79e63c0d5b35f9b1404bf63ac25273502f989dfb22'
4
+ data.tar.gz: 3ba0cc374419776c6ab5cee6bf9469588c3b98b3603c74f7d6d95e33d74f2bbb
5
+ SHA512:
6
+ metadata.gz: 9a83f824d1d1ef5d330ef733e20af254e0bc626db47d06a21203e013da319c31860e4d74cc10e258063697433f825af2380d411896075bb95f3496aaf73b471b
7
+ data.tar.gz: 0b96a5da72647692c363a0f57097e89a3b716e7cd55e6c3f9835f3679fa48b73209eab8ae271ee8373e1642b9eec3f24b26afcf7d272cc115a489a1ea622d942
data/lib/bootsnooze.rb ADDED
@@ -0,0 +1,8 @@
1
+ class Bootsnooze
2
+ def self.run
3
+ t = Time.now.to_f
4
+ while Time.now.to_f < t + 10.0
5
+ # busy loop
6
+ end
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bootsnooze
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Yann VERY
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2021-07-29 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple way to slow your rails application load
14
+ email: yann.very@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/bootsnooze.rb
20
+ homepage: https://rubygems.org/gems/bootsnooze
21
+ licenses:
22
+ - MIT
23
+ metadata: {}
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ required_rubygems_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ requirements: []
39
+ rubygems_version: 3.1.4
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: Slow your application boot
43
+ test_files: []