soulchild 0.0.3 → 0.0.4
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 +4 -4
- data/bin/soulchild +25 -1
- data/lib/soulchild.rb +26 -0
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7a9923678024405e35687c437b570c25452da2c1
|
|
4
|
+
data.tar.gz: 2cf16cb04cdaa2c7558ed45b1f5579e7f5e58b1a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23a43348b275af80910c7ce6bb2c5be3323fe6aa61f8f5b2a15a553238eaaf9bbadc399984565d7b89a1bacc383b66fd6eedf4d65f1dc5e20c3379c5ce52e8ba
|
|
7
|
+
data.tar.gz: 42cf451e5b5600dce75ca9e38d62c02a3c041bcee73b6d08bd1438537bb92c722480852c6324d3662af2d7d0b5fa563723f968298ee0dc26d58efe131f6f49d5
|
data/bin/soulchild
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
require 'soulchild'
|
|
3
|
-
|
|
3
|
+
require 'launchy'
|
|
4
|
+
|
|
5
|
+
if ARGV.empty?
|
|
6
|
+
Soulchild.introduction
|
|
7
|
+
exit
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
case ARGV[0]
|
|
11
|
+
when 'github'
|
|
12
|
+
Launchy.open(Soulchild.github)
|
|
13
|
+
when 'twitter'
|
|
14
|
+
Launchy.open(Soulchild.twitter)
|
|
15
|
+
when 'pixiv'
|
|
16
|
+
Launchy.open(Soulchild.pixiv)
|
|
17
|
+
when 'blog'
|
|
18
|
+
Launchy.open(Soulchild.blog)
|
|
19
|
+
else
|
|
20
|
+
Soulchild.other
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
if ARGV.length > 1
|
|
24
|
+
puts "Too many parameters"
|
|
25
|
+
Soulchild.other
|
|
26
|
+
end
|
|
27
|
+
|
data/lib/soulchild.rb
CHANGED
|
@@ -2,4 +2,30 @@ class Soulchild
|
|
|
2
2
|
def self.slogan
|
|
3
3
|
puts "don't follow your dreams, follow my twitter instead : @soulchild___ (three underscores because soulchild, soulchild_ and soulchild__ are taken)"
|
|
4
4
|
end
|
|
5
|
+
|
|
6
|
+
def self.twitter
|
|
7
|
+
"https://twitter.com/soulchild___"
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def self.github
|
|
11
|
+
"https://github.com/cupnoodle/"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def self.pixiv
|
|
15
|
+
"http://www.pixiv.net/member.php?id=5622852"
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def self.blog
|
|
19
|
+
"https://littlefox.es"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def self.introduction
|
|
23
|
+
puts "Howdy! My name is Axel , I like to code, draw and write. \nI mainly code in Objective-C, Swift, Ruby and HTML/CSS/JS. \nI do some SysAdmin stuff as well too."
|
|
24
|
+
puts "Gem usage: soulchild (twitter|github|pixiv|blog) . eg: soulchild twitter"
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
def self.other
|
|
28
|
+
puts "Gem usage: soulchild (twitter|github|pixiv|blog) . eg: soulchild"
|
|
29
|
+
end
|
|
30
|
+
|
|
5
31
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: soulchild
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Axel Kee
|
|
@@ -9,7 +9,21 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2016-07-11 00:00:00.000000000 Z
|
|
12
|
-
dependencies:
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: launchy
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
description: A gem to introduce myself
|
|
14
28
|
email: soulchildsince2013@gmail.com
|
|
15
29
|
executables:
|
|
@@ -39,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
39
53
|
version: '0'
|
|
40
54
|
requirements: []
|
|
41
55
|
rubyforge_project:
|
|
42
|
-
rubygems_version: 2.
|
|
56
|
+
rubygems_version: 2.6.4
|
|
43
57
|
signing_key:
|
|
44
58
|
specification_version: 4
|
|
45
59
|
summary: A gem to introduce myself
|