blink_suv 0.0.7

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 +15 -0
  2. data/lib/blink_suv.rb +27 -0
  3. metadata +44 -0
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NWQ4ZDk5ODdiOGE0ZTBhZjQyNzMzMGQwMGJiZTdmNWNhYmJkYzAyNA==
5
+ data.tar.gz: !binary |-
6
+ ZWM5ZWVlMzA3MTk5YTU0NWM2MmJlMjYwMDZhY2M4OTlkNjNmMWFlOQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZDFhY2ZiNmY0MjgyNTE3ZDc5MWZkMWE0YmExZDNhMzM2NDc3MGU4OThmYjE1
10
+ NTU5YTYyOGE4YjFkODE5NTI5ZjU1NjNlN2RjMDgyYzMwZjQ5MjUzYjQ3YjY3
11
+ MzI4NjFhODQ3M2U2MWRkOTYwNzczZjYxODRiMmQ1NzM2MWI2ODc=
12
+ data.tar.gz: !binary |-
13
+ YmJjNWVmNGI5ZGI3YmU0YTQ0NjI2MGJhZmZlMDE3MDQ2YzUyYzFkZGIwMjRi
14
+ NTQ0MGU5MWNjMTJjMjlkNTJmMmM0MDgwNDE5MGEyZmUzNGZkOGJhYjBhYTdh
15
+ YmNhN2IzODhjNmI1ZTY5ZmY2NmVlZjM2Yjk0Y2FhM2JiODVmYTI=
data/lib/blink_suv.rb ADDED
@@ -0,0 +1,27 @@
1
+ print "\nhow much time you want to spend on this gem (sec):"
2
+ while true
3
+ x=gets.chomp.to_i
4
+ if x<0
5
+ print "\nEnter more than 0sec"
6
+ elsif x>60
7
+ print "\nI don't want to waste your time more than minute"
8
+ else
9
+ break
10
+ end
11
+ print "\nPlease re-enter:"
12
+ end
13
+
14
+ i=1
15
+ while i<=x
16
+ if i%2==0
17
+ system("sleep 1")
18
+ system("clear")
19
+ print "this is for #{x} sec\n(^_^) Suvarna in sleep"
20
+ else
21
+ system("sleep 1")
22
+ system("clear")
23
+ print "this is for #{x} sec\n(*_*) Suvarna wokeup"
24
+ end
25
+ i=i+1;
26
+ end
27
+
metadata ADDED
@@ -0,0 +1,44 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: blink_suv
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
5
+ platform: ruby
6
+ authors:
7
+ - B.Suvarna Raj Kumar
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 1991-04-16 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A sample of SUVARNA's gems
14
+ email: suvarnaamrita@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/blink_suv.rb
20
+ homepage: https://www.facebook.com/suvarnaamrita
21
+ licenses:
22
+ - SUV
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
+ rubyforge_project:
40
+ rubygems_version: 2.2.2
41
+ signing_key:
42
+ specification_version: 4
43
+ summary: Suvarna status!
44
+ test_files: []