blink_suv 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.gitignore +22 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +24 -0
- data/README.md +30 -0
- data/Rakefile +2 -0
- data/blink_suv.gemspec +23 -0
- data/lib/blink_suv.rb +5 -3
- data/lib/blink_suv/version.rb +3 -0
- metadata +42 -6
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGM3OTYyNWMxMTRiYTNhMTA2OGE4NjNhZmFhNDk0MTljODllYTBhOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjVlNjdjZTY1MmRiZDBkZWYyYzc3MjZlZWY4MTFkODg4MDljMTFhNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjZiNDFhYzZkY2U0MGJkN2UwNTMxNDM1NzdkOTE1ZmMyOTc5N2ZkOGE4ZDAx
|
10
|
+
ODJjMzAwYWMzMGFhNDZkNGUzNTcyZDliYjY4ZTUwYjQwNGRhYWIzYmEzNzQ0
|
11
|
+
YTdmN2Q5ZDE0OGVmNTlmYWZjYmFjMDEwOGQxNzM3YTc5OWZmNjA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzUxMDdhYTVjNDQ5MTA5ZjMyMDY4YjZlMGU0MTAyYzQ1NzRjOTczMGEyZTBh
|
14
|
+
MTIyMzFlZDNkY2EyMDgwYzMwODA0N2RjNGIwNjNiZThkY2E1MDU4NTVkMGI5
|
15
|
+
NGI5N2Q1NDNlMzJjN2VkM2I5YzA4MmJiZDhjODA2ZGJiNDUwNWE=
|
data/.gitignore
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
.bundle
|
4
|
+
.config
|
5
|
+
.yardoc
|
6
|
+
Gemfile.lock
|
7
|
+
InstalledFiles
|
8
|
+
_yardoc
|
9
|
+
coverage
|
10
|
+
doc/
|
11
|
+
lib/bundler/man
|
12
|
+
pkg
|
13
|
+
rdoc
|
14
|
+
spec/reports
|
15
|
+
test/tmp
|
16
|
+
test/version_tmp
|
17
|
+
tmp
|
18
|
+
*.bundle
|
19
|
+
*.so
|
20
|
+
*.o
|
21
|
+
*.a
|
22
|
+
mkmf.log
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
Copyright (c) 2014 Suvarna
|
2
|
+
|
3
|
+
SUV License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
|
24
|
+
This is declared by .........SUVARNA RAJ KUMAR BAVISETTI.........
|
data/README.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# Blink
|
2
|
+
|
3
|
+
TODO: JUST FOR ANIMATION.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'blink_suv'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install blink_suv
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Use:: => require 'blink_suv' (this line to add gem to the file you use)
|
22
|
+
=> run (this is method inside 'blink_suv' gem)
|
23
|
+
|
24
|
+
## Contributing
|
25
|
+
|
26
|
+
1. Fork it ( https://github.com/[my-github-username]/blink/fork )
|
27
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
28
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
29
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
30
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
data/blink_suv.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'blink_suv/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "blink_suv"
|
8
|
+
spec.version = Blink::VERSION
|
9
|
+
spec.authors = ["B. Suvarna Raj Kumar."]
|
10
|
+
spec.email = ["srajkumar_nyros@yahoo.com"]
|
11
|
+
spec.summary = %q{Suvarna status!}
|
12
|
+
spec.description = %q{A sample of SUVARNA's gems.}
|
13
|
+
spec.homepage = "https://www.facebook.com/suvarnaamrita"
|
14
|
+
spec.license = "SUV"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
end
|
data/lib/blink_suv.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
def run
|
1
2
|
print "\nhow much time you want to spend on this gem (sec):"
|
2
3
|
while true
|
3
4
|
x=gets.chomp.to_i
|
@@ -16,12 +17,13 @@ while i<=x
|
|
16
17
|
if i%2==0
|
17
18
|
system("sleep 1")
|
18
19
|
system("clear")
|
19
|
-
print "this is for #{x} sec\n(^_^) Suvarna in sleep"
|
20
|
+
print "this is for #{x} sec\n(^_^) Suvarna in sleep\n\nsec count:#{i}"
|
20
21
|
else
|
21
22
|
system("sleep 1")
|
22
23
|
system("clear")
|
23
|
-
print "this is for #{x} sec\n(*_*) Suvarna wokeup"
|
24
|
+
print "this is for #{x} sec\n(*_*) Suvarna wokeup\n\nsec count:#{i}"
|
24
25
|
end
|
25
26
|
i=i+1;
|
26
27
|
end
|
27
|
-
|
28
|
+
print "\nYou have wasted '#{i}' secounds"
|
29
|
+
end
|
metadata
CHANGED
@@ -1,22 +1,58 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blink_suv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- B.Suvarna Raj Kumar
|
7
|
+
- B. Suvarna Raj Kumar.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
11
|
+
date: 2014-07-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.6'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: A sample of SUVARNA's gems.
|
42
|
+
email:
|
43
|
+
- srajkumar_nyros@yahoo.com
|
15
44
|
executables: []
|
16
45
|
extensions: []
|
17
46
|
extra_rdoc_files: []
|
18
47
|
files:
|
48
|
+
- .gitignore
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- blink_suv.gemspec
|
19
54
|
- lib/blink_suv.rb
|
55
|
+
- lib/blink_suv/version.rb
|
20
56
|
homepage: https://www.facebook.com/suvarnaamrita
|
21
57
|
licenses:
|
22
58
|
- SUV
|