sakuric 2.0.1 → 2.0.3
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.
- data.tar.gz.sig +2 -0
- data/CHANGELOG +2 -0
- data/VERSION +1 -1
- data/bin/cp2desktop +2 -2
- data/bin/fix-terminal +1 -0
- data/bin/gitinfo +1 -0
- data/bin/head-1^-1 +2 -3
- data/bin/sakura-init.DRAFT +1 -1
- data/bin/sakura-version +1 -0
- data/bin/sano +1 -0
- data/bin/setterm-reset +1 -0
- data/bin/stty-sane +1 -0
- data/bin/tail-n+2 +2 -3
- data/sakuric.gemspec +5 -9
- data/tasks/sakuric-gem.rake +22 -2
- metadata +27 -34
- metadata.gz.sig +0 -0
data.tar.gz.sig
ADDED
data/CHANGELOG
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.0.
|
|
1
|
+
2.0.3
|
data/bin/cp2desktop
CHANGED
data/bin/fix-terminal
CHANGED
data/bin/gitinfo
CHANGED
data/bin/head-1^-1
CHANGED
data/bin/sakura-init.DRAFT
CHANGED
data/bin/sakura-version
CHANGED
data/bin/sano
CHANGED
data/bin/setterm-reset
CHANGED
data/bin/stty-sane
CHANGED
data/bin/tail-n+2
CHANGED
data/sakuric.gemspec
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = "sakuric"
|
|
5
|
-
s.version = "2.0.
|
|
5
|
+
s.version = "2.0.3"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Riccardo Carlesso"]
|
|
9
|
+
s.cert_chain = ["/Users/riccardo/git/gic/private/rusko@palladius.it/gem-public_cert.pem"]
|
|
9
10
|
s.date = "2013-02-17"
|
|
10
|
-
s.description = "My SAKURA gem with various utilities. This is my swiss-army knife for Linux and Mac. See README.md for amazing examples"
|
|
11
|
+
s.description = "My SAKURA gem with various utilities. This is my swiss-army knife for Linux and Mac. See README.md for amazing examples, like:\n \n richelp ubuntu # shows a richelp of my 'ubuntu' cheatsheet\n richelp sakura synopsis # shows a richelp of my 'sakura' cheatsheet, grepping for 'synopsis'\n ls | act # randomly scrambles the lines! Taken from cat/cat ;)\n ps | rainbow # colors all lines differently\n twice itunes - # lowers volume of iTunes... twice :)\n 10 echo Bart Simpson likes it DRY # tells you this 10 times. Very sarcastic script!\n seq 100 | 1suN 7 # prints every 7th element of the list\n zombies # prints processes that show zombies (plus funny options to kill them)\n find . -size +300M | xargs mvto /tmp/bigfiles/ # moves big files to that directory\n alias gp='never_as_root git pull' # only if u r not root it runs!\n tellme-time # Tells you the time with Riccardo voice in Italian. Brilliant!\n find-duplicates . # Tells you files with same size/MD5 in this directory\n facter is_google_vm # Tells if it's a GCE Virtual Machine\n \n "
|
|
11
12
|
s.email = "['p','ll','diusbonton].join('a') @ gmail.com"
|
|
12
13
|
s.executables = ["10", "10times", "1every", "1everyN", "1suN", "2", "act", "amarelo", "arancio", "arcobaleno", "bianco", "black", "brew-install", "cache", "cache3", "cheorae", "colorastdouterr", "cp2desktop", "create-git-repo.sh", "csoe", "data", "derive", "dimmi", "dimmiora", "doppioni", "du-", "duplicates", "echodo", "ensure_line_present", "epoch2date", "fanout", "find-broken-symlink", "find-duplicates", "find-special-chars-within-filenames", "fix-terminal", "gce-create-centos-instance", "gce-create-custom-image", "gce-curl-get-instances-for-project", "gce-get-token", "gce-getproject-metadata", "gce-public-ip", "gcutil-fetch", "giallo", "git-clone-in-non-empty-dir", "git-ignore", "git-repos", "git-repos.py", "gitinfo", "google-spreadsheet-cat", "google_ips", "gray", "green", "grigio", "gsutil-debug-bucket", "gsutil-get-oauth2-token", "gugol-image", "hamachi-ubuntu-install", "head-1^-1", "ifdownup", "immature/ok2", "immature/twice-still-broken", "install-gic-repo", "install-sakura-on-debian-latest", "iphoto_big_files.sh", "itunes", "jason-xpath.rb", "jsawk", "json-xpath.rb", "keepup", "lsof-top10", "minicook", "mv2.", "mv2desktop", "mv2dropbox", "mv2here", "mvto", "nero", "never_as_root", "not", "ok", "orange", "pink", "polygen-dell", "polygen-heanet", "polygen-labs", "print_key_val", "rainbow", "recipe", "red", "remember-command", "remember-command.rb", "richelp", "ricorda-comando", "rosa", "rosso", "run-parts.sh", "sakura-check-version", "sakura-init.DRAFT", "sakura-version", "sano", "sbianca", "sblua", "setterm-reset", "sgialla", "sgrigia", "split", "split.rb", "srosa", "srossa", "strip-white-spaces", "stty-sane", "sudo^-1", "sverda", "swift-saio-install.sh", "synergyc", "synergys", "syracuse.pl", "tail-n+2", "tellme", "tellme-time", "timeout3", "top5", "trim", "trova-broken-symlink", "twice", "twice.rb", "ubuntu-install-hamachi64", "ultimo", "upload.py", "usleep", "varia", "verde", "vermelho", "vim-whereveritis", "viola", "virsh-list-all-vms.py", "virtualbox-manage", "weekend", "whattimeisit", "whereis-ip", "white", "whitefy", "yellow", "yellowfy", "zombies"]
|
|
13
14
|
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.md", "TODO", "bin/10", "bin/10times", "bin/1every", "bin/1everyN", "bin/1suN", "bin/2", "bin/act", "bin/amarelo", "bin/arancio", "bin/arcobaleno", "bin/bianco", "bin/black", "bin/brew-install", "bin/cache", "bin/cache3", "bin/cheorae", "bin/colorastdouterr", "bin/cp2desktop", "bin/create-git-repo.sh", "bin/csoe", "bin/data", "bin/derive", "bin/dimmi", "bin/dimmiora", "bin/doppioni", "bin/du-", "bin/duplicates", "bin/echodo", "bin/ensure_line_present", "bin/epoch2date", "bin/fanout", "bin/find-broken-symlink", "bin/find-duplicates", "bin/find-special-chars-within-filenames", "bin/fix-terminal", "bin/gce-create-centos-instance", "bin/gce-create-custom-image", "bin/gce-curl-get-instances-for-project", "bin/gce-get-token", "bin/gce-getproject-metadata", "bin/gce-public-ip", "bin/gcutil-fetch", "bin/giallo", "bin/git-clone-in-non-empty-dir", "bin/git-ignore", "bin/git-repos", "bin/git-repos.py", "bin/gitinfo", "bin/google-spreadsheet-cat", "bin/google_ips", "bin/gray", "bin/green", "bin/grigio", "bin/gsutil-debug-bucket", "bin/gsutil-get-oauth2-token", "bin/gugol-image", "bin/hamachi-ubuntu-install", "bin/head-1^-1", "bin/ifdownup", "bin/immature/ok2", "bin/immature/twice-still-broken", "bin/install-gic-repo", "bin/install-sakura-on-debian-latest", "bin/iphoto_big_files.sh", "bin/itunes", "bin/jason-xpath.rb", "bin/jsawk", "bin/json-xpath.rb", "bin/keepup", "bin/lsof-top10", "bin/minicook", "bin/mv2.", "bin/mv2desktop", "bin/mv2dropbox", "bin/mv2here", "bin/mvto", "bin/nero", "bin/never_as_root", "bin/not", "bin/ok", "bin/orange", "bin/pink", "bin/polygen-dell", "bin/polygen-heanet", "bin/polygen-labs", "bin/print_key_val", "bin/rainbow", "bin/recipe", "bin/red", "bin/remember-command", "bin/remember-command.rb", "bin/richelp", "bin/ricorda-comando", "bin/rosa", "bin/rosso", "bin/run-parts.sh", "bin/sakura-check-version", "bin/sakura-init.DRAFT", "bin/sakura-version", "bin/sano", "bin/sbianca", "bin/sblua", "bin/setterm-reset", "bin/sgialla", "bin/sgrigia", "bin/split", "bin/split.rb", "bin/srosa", "bin/srossa", "bin/strip-white-spaces", "bin/stty-sane", "bin/sudo^-1", "bin/sverda", "bin/swift-saio-install.sh", "bin/synergyc", "bin/synergys", "bin/syracuse.pl", "bin/tail-n+2", "bin/tellme", "bin/tellme-time", "bin/timeout3", "bin/top5", "bin/trim", "bin/trova-broken-symlink", "bin/twice", "bin/twice.rb", "bin/ubuntu-install-hamachi64", "bin/ultimo", "bin/upload.py", "bin/usleep", "bin/varia", "bin/verde", "bin/vermelho", "bin/vim-whereveritis", "bin/viola", "bin/virsh-list-all-vms.py", "bin/virtualbox-manage", "bin/weekend", "bin/whattimeisit", "bin/whereis-ip", "bin/white", "bin/whitefy", "bin/yellow", "bin/yellowfy", "bin/zombies", "lib/classes/arrays.rb", "lib/classes/debug_ric.rb", "lib/classes/fake_data.rb", "lib/classes/ric_debug.rb", "lib/classes/ricconf.rb", "lib/classes/richelp.rb", "lib/classes/strings.rb", "lib/facter/google_compute_engine.rb", "lib/recipes/20120411-puppet-rump-palladius.recipe", "lib/recipes/20120726-skype.ubuntu.recipe", "lib/recipes/20130206-puppet3.ubuntu.recipe", "lib/recipes/20130206-redis.linux.recipe", "lib/recipes/20130208-vanilla.linux.recipe", "lib/recipes/Makefile", "lib/recipes/README.md", "lib/recipes/scripts/redis.sh", "lib/ric.rb", "lib/ric_colors.rb", "lib/ric_strings.rb", "lib/sonice-players/itunes_mac.rb", "lib/sonice-players/itunes_win.rb", "lib/sonice-players/mpd.rb", "lib/sonice-players/rhythmbox.rb", "tasks/sakuric-gem.rake", "tasks/testing.rake"]
|
|
@@ -17,7 +18,8 @@ Gem::Specification.new do |s|
|
|
|
17
18
|
s.require_paths = ["lib"]
|
|
18
19
|
s.rubyforge_project = "sakuric"
|
|
19
20
|
s.rubygems_version = "1.8.18"
|
|
20
|
-
s.
|
|
21
|
+
s.signing_key = "/Users/riccardo/git/gic/private/rusko@palladius.it/gem-private_key.pem"
|
|
22
|
+
s.summary = "My SAKURA gem. See http://github.com/palladius/sakura"
|
|
21
23
|
s.test_files = ["test/test_mini_failing.rb", "test/test_mini_ok.rb"]
|
|
22
24
|
|
|
23
25
|
if s.respond_to? :specification_version then
|
|
@@ -25,16 +27,10 @@ Gem::Specification.new do |s|
|
|
|
25
27
|
|
|
26
28
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
27
29
|
s.add_runtime_dependency(%q<ric>, [">= 0"])
|
|
28
|
-
s.add_development_dependency(%q<ric>, [">= 0"])
|
|
29
|
-
s.add_development_dependency(%q<echoe>, [">= 0"])
|
|
30
30
|
else
|
|
31
31
|
s.add_dependency(%q<ric>, [">= 0"])
|
|
32
|
-
s.add_dependency(%q<ric>, [">= 0"])
|
|
33
|
-
s.add_dependency(%q<echoe>, [">= 0"])
|
|
34
32
|
end
|
|
35
33
|
else
|
|
36
34
|
s.add_dependency(%q<ric>, [">= 0"])
|
|
37
|
-
s.add_dependency(%q<ric>, [">= 0"])
|
|
38
|
-
s.add_dependency(%q<echoe>, [">= 0"])
|
|
39
35
|
end
|
|
40
36
|
end
|
data/tasks/sakuric-gem.rake
CHANGED
|
@@ -5,10 +5,30 @@
|
|
|
5
5
|
version = File.read( 'VERSION' ) rescue "0.0.42_sakbug"
|
|
6
6
|
|
|
7
7
|
Echoe.new('sakuric', version ) do |p|
|
|
8
|
-
p.
|
|
8
|
+
p.summary = "My SAKURA gem. See http://github.com/palladius/sakura"
|
|
9
|
+
p.description = "My SAKURA gem with various utilities. This is my swiss-army knife for Linux and Mac. See README.md for amazing examples, like:
|
|
10
|
+
|
|
11
|
+
richelp ubuntu # shows a richelp of my 'ubuntu' cheatsheet
|
|
12
|
+
richelp sakura synopsis # shows a richelp of my 'sakura' cheatsheet, grepping for 'synopsis'
|
|
13
|
+
ls | act # randomly scrambles the lines! Taken from cat/cat ;)
|
|
14
|
+
ps | rainbow # colors all lines differently
|
|
15
|
+
twice itunes - # lowers volume of iTunes... twice :)
|
|
16
|
+
10 echo Bart Simpson likes it DRY # tells you this 10 times. Very sarcastic script!
|
|
17
|
+
seq 100 | 1suN 7 # prints every 7th element of the list
|
|
18
|
+
zombies # prints processes that show zombies (plus funny options to kill them)
|
|
19
|
+
find . -size +300M | xargs mvto /tmp/bigfiles/ # moves big files to that directory
|
|
20
|
+
alias gp='never_as_root git pull' # only if u r not root it runs!
|
|
21
|
+
tellme-time # Tells you the time with Riccardo voice in Italian. Brilliant!
|
|
22
|
+
find-duplicates . # Tells you files with same size/MD5 in this directory
|
|
23
|
+
facter is_google_vm # Tells if it's a GCE Virtual Machine
|
|
24
|
+
|
|
25
|
+
"
|
|
9
26
|
p.url = "http://github.com/palladius/sakura"
|
|
10
27
|
p.author = "Riccardo Carlesso"
|
|
11
28
|
p.email = "['p','ll','diusbonton].join('a') @ gmail.com"
|
|
29
|
+
# So I can't accidentally ship with without certificate! Yay!
|
|
30
|
+
# See: http://rubydoc.info/gems/echoe/4.6.3/frames
|
|
31
|
+
p.require_signed = true
|
|
12
32
|
p.ignore_pattern = [
|
|
13
33
|
"tmp/*",
|
|
14
34
|
"tmp/*", #"tmp/*/*", "tmp/*/*/*",
|
|
@@ -16,6 +36,6 @@ Echoe.new('sakuric', version ) do |p|
|
|
|
16
36
|
".noheroku",
|
|
17
37
|
'.travis.yml',
|
|
18
38
|
]
|
|
19
|
-
p.development_dependencies = [ 'ric','echoe' ]
|
|
39
|
+
#p.development_dependencies = [ 'ric','echoe' ]
|
|
20
40
|
p.runtime_dependencies = [ 'ric' ]
|
|
21
41
|
end
|
metadata
CHANGED
|
@@ -1,19 +1,40 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sakuric
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 9
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 2.0.
|
|
9
|
+
- 3
|
|
10
|
+
version: 2.0.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Riccardo Carlesso
|
|
14
14
|
autorequire:
|
|
15
15
|
bindir: bin
|
|
16
|
-
cert_chain:
|
|
16
|
+
cert_chain:
|
|
17
|
+
- |
|
|
18
|
+
-----BEGIN CERTIFICATE-----
|
|
19
|
+
MIIDMjCCAhqgAwIBAgIBADANBgkqhkiG9w0BAQUFADA/MQ4wDAYDVQQDDAVydXNr
|
|
20
|
+
bzEZMBcGCgmSJomT8ixkARkWCXBhbGxhZGl1czESMBAGCgmSJomT8ixkARkWAml0
|
|
21
|
+
MB4XDTEzMDIxNzA4NDk0NVoXDTE0MDIxNzA4NDk0NVowPzEOMAwGA1UEAwwFcnVz
|
|
22
|
+
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yxP9
|
|
37
|
+
-----END CERTIFICATE-----
|
|
17
38
|
|
|
18
39
|
date: 2013-02-17 00:00:00 Z
|
|
19
40
|
dependencies:
|
|
@@ -31,35 +52,7 @@ dependencies:
|
|
|
31
52
|
version: "0"
|
|
32
53
|
type: :runtime
|
|
33
54
|
version_requirements: *id001
|
|
34
|
-
- !
|
|
35
|
-
name: ric
|
|
36
|
-
prerelease: false
|
|
37
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
|
38
|
-
none: false
|
|
39
|
-
requirements:
|
|
40
|
-
- - ">="
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
hash: 3
|
|
43
|
-
segments:
|
|
44
|
-
- 0
|
|
45
|
-
version: "0"
|
|
46
|
-
type: :development
|
|
47
|
-
version_requirements: *id002
|
|
48
|
-
- !ruby/object:Gem::Dependency
|
|
49
|
-
name: echoe
|
|
50
|
-
prerelease: false
|
|
51
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
|
52
|
-
none: false
|
|
53
|
-
requirements:
|
|
54
|
-
- - ">="
|
|
55
|
-
- !ruby/object:Gem::Version
|
|
56
|
-
hash: 3
|
|
57
|
-
segments:
|
|
58
|
-
- 0
|
|
59
|
-
version: "0"
|
|
60
|
-
type: :development
|
|
61
|
-
version_requirements: *id003
|
|
62
|
-
description: My SAKURA gem with various utilities. This is my swiss-army knife for Linux and Mac. See README.md for amazing examples
|
|
55
|
+
description: "My SAKURA gem with various utilities. This is my swiss-army knife for Linux and Mac. See README.md for amazing examples, like:\n \n richelp ubuntu # shows a richelp of my 'ubuntu' cheatsheet\n richelp sakura synopsis # shows a richelp of my 'sakura' cheatsheet, grepping for 'synopsis'\n ls | act # randomly scrambles the lines! Taken from cat/cat ;)\n ps | rainbow # colors all lines differently\n twice itunes - # lowers volume of iTunes... twice :)\n 10 echo Bart Simpson likes it DRY # tells you this 10 times. Very sarcastic script!\n seq 100 | 1suN 7 # prints every 7th element of the list\n zombies # prints processes that show zombies (plus funny options to kill them)\n find . -size +300M | xargs mvto /tmp/bigfiles/ # moves big files to that directory\n alias gp='never_as_root git pull' # only if u r not root it runs!\n tellme-time # Tells you the time with Riccardo voice in Italian. Brilliant!\n find-duplicates . # Tells you files with same size/MD5 in this directory\n facter is_google_vm # Tells if it's a GCE Virtual Machine\n \n "
|
|
63
56
|
email: "['p','ll','diusbonton].join('a') @ gmail.com"
|
|
64
57
|
executables:
|
|
65
58
|
- "10"
|
|
@@ -829,7 +822,7 @@ rubyforge_project: sakuric
|
|
|
829
822
|
rubygems_version: 1.8.18
|
|
830
823
|
signing_key:
|
|
831
824
|
specification_version: 3
|
|
832
|
-
summary: My SAKURA gem
|
|
825
|
+
summary: My SAKURA gem. See http://github.com/palladius/sakura
|
|
833
826
|
test_files:
|
|
834
827
|
- test/test_mini_failing.rb
|
|
835
828
|
- test/test_mini_ok.rb
|
metadata.gz.sig
ADDED
|
Binary file
|