sakuric 2.0.3 → 2.1.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 +0 -0
- data/CHANGELOG +7 -7
- data/HISTORY.yml +11 -12
- data/INSTALL +3 -0
- data/Makefile +4 -1
- data/Manifest +8 -2
- data/README.md +2 -7
- data/VERSION +1 -1
- data/bin/gce-instances-and-quotas.py +63 -0
- data/bin/hamachi-ubuntu-install +1 -0
- data/bin/sakura-version.rb +6 -0
- data/bin/srosa +3 -1
- data/bin/strip-white-spaces +1 -0
- data/bin/ubuntu-install-hamachi64 +1 -0
- data/bin/ultimo +1 -1
- data/bin/viola +2 -0
- data/docz/CHEATSHEET +15 -0
- data/docz/gutenberg/dante.txt +6586 -0
- data/docz/richelp/ubuntu.yml +1 -0
- data/init.rb +4 -1
- data/lib/classes/debug_ric.rb +1 -2
- data/lib/{ric.rb → init.rb} +52 -51
- data/lib/sakuric.rb +26 -0
- data/lib/version.rb +9 -0
- data/sakuric.gemspec +6 -6
- data/tasks/sakuric-gem.rake +26 -35
- data/test/sakura-version.rb +4 -0
- metadata +20 -9
- metadata.gz.sig +0 -0
- data/lib/classes/ric_debug.rb +0 -0
data/docz/richelp/ubuntu.yml
CHANGED
@@ -18,5 +18,6 @@ distro:
|
|
18
18
|
Debian:
|
19
19
|
ifdownup: 'sleep 5 | ifdown eth0 && ifup eth0'
|
20
20
|
remove everything with Graphics: apt-get --purge remove liborbit2
|
21
|
+
dpkg nazi: wrap dpkg with '-o Dpkg::Options::="--force-confnew"' and -y at the end
|
21
22
|
Gnome:
|
22
23
|
Torvalds suggests this: sudo apt-get install gnome-tweak-tool
|
data/init.rb
CHANGED
data/lib/classes/debug_ric.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# copied from Mixins in Programming ruby book, pag 119
|
4
4
|
|
5
5
|
module RicDebug
|
6
|
-
puts "DEBUG: including module RicDebug, as a mixin within #{self.class}"
|
6
|
+
#$stderr.puts "DEBUG: including module RicDebug, as a mixin within #{self.class}"
|
7
7
|
|
8
8
|
def whoami?
|
9
9
|
"#{self.class.name} (\##{self.object_id}): #{self}"
|
@@ -21,7 +21,6 @@ module RicDebug
|
|
21
21
|
end
|
22
22
|
|
23
23
|
|
24
|
-
|
25
24
|
################################################################################################################
|
26
25
|
# DEBUG AND ERRORS
|
27
26
|
################################################################################################################
|
data/lib/{ric.rb → init.rb}
RENAMED
@@ -6,25 +6,20 @@
|
|
6
6
|
|
7
7
|
=end
|
8
8
|
|
9
|
-
|
10
|
-
$SAKURADIR = File.expand_path(ENV['SAKURADIR'] || '~/git/sakura/')
|
9
|
+
require File.expand_path(File.dirname(__FILE__) + '/sakuric')
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
:use_ric_gem => false
|
16
|
-
}
|
17
|
-
#$git_conf[:svn_last_rev] = $git_conf[:svn_id].split(' ')[2]
|
18
|
-
$RICLIB_VERSION = $git_conf[:ver] # now dry { }"0.9.009"
|
11
|
+
#$SAKURA_DFLTDIR = '~/git/sakura/'
|
12
|
+
$SAKURADIR = Sakuric.BASEDIR # File.expand_path(ENV['SAKURADIR'] || $SAKURA_DFLTDIR)
|
13
|
+
$RICLIB_VERSION = Sakuric.VERSION
|
19
14
|
|
20
|
-
#
|
15
|
+
#DOESNT work on some machines! Nescio cur! require 'rubygems' # necessary for other gems
|
21
16
|
require 'digest/md5'
|
22
17
|
require 'digest/sha1'
|
23
18
|
require 'net/smtp'
|
24
19
|
require "socket"
|
25
20
|
require 'yaml'
|
26
21
|
|
27
|
-
if
|
22
|
+
if Sakuric.use_ric_gem # slow but cool
|
28
23
|
require 'rubygems'
|
29
24
|
require 'ric'
|
30
25
|
else
|
@@ -47,28 +42,23 @@ end
|
|
47
42
|
# @description: try instead
|
48
43
|
################################################################################
|
49
44
|
|
50
|
-
# conf files into auto/ dir (mi son rotto di aggiungerli qui uno a uno!)
|
51
|
-
def _get_auto_files(subdir)
|
52
|
-
absolute_dir = "#{$SAKURADIR}/lib/#{subdir}"
|
53
|
-
Dir.new(absolute_dir).select{|f| f.match( /\.rb$/ )}.map{|x| subdir + File.basename(x,'.rb') }
|
54
|
-
end
|
55
|
-
|
56
45
|
def reload_doesnt_work_properly!(first_time=false,enable_debug=false)
|
57
46
|
puts "[#{$$}] reload_doesnt_work_properly!(#{$0},#{first_time},#{enable_debug},#{$RELOADED_ONCE}) being called" if $RELOAD_DEBUG
|
58
47
|
$RELOADED_ONCE += 1
|
59
48
|
npass = $RICLIB['nreloaded']
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
49
|
+
if npass > 1
|
50
|
+
$stderr.puts "[ERR] More than first pass (pass=#{npass}): Should be quitting checcacchio!"
|
51
|
+
#return
|
52
|
+
end
|
64
53
|
debug_on("reload_doesnt_work_properly called with debug enabled!") if enable_debug
|
65
54
|
str = "Reloaded Riclibs v#{$RICLIB_VERSION} -- per la #{$RICLIB['nreloaded']} a volta"
|
66
55
|
first_time = false if $RICLIB['nreloaded'] > 1
|
67
|
-
modules_to_be_included = $RIC_LIB_MODULES +
|
56
|
+
modules_to_be_included = $RIC_LIB_MODULES + Sakuric.get_auto_files("classes/")
|
68
57
|
modules_to_be_included.each{ |cls|
|
69
58
|
was_necessary = require "#{$SAKURADIR}/lib/#{cls}.rb"
|
70
59
|
deb "Pass[#{npass}] Loading: #{cls} (necessary: #{was_necessary})" rescue puts("nil #{$!}")
|
71
60
|
}
|
61
|
+
npass += 1
|
72
62
|
end
|
73
63
|
|
74
64
|
|
@@ -78,24 +68,30 @@ end
|
|
78
68
|
|
79
69
|
$RELOAD_DEBUG serve a debuggare il tutto.
|
80
70
|
=end
|
81
|
-
def _init(explaination='no explaination given')
|
82
|
-
#
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
$
|
92
|
-
|
93
|
-
|
94
|
-
|
71
|
+
def _init(explaination='no explaination given', initial_debug_state = false)
|
72
|
+
$RELOAD_DEBUG = false #
|
73
|
+
deb "pre init '#{explaination}'" if $RELOAD_DEBUG
|
74
|
+
#$USER = 'riccardo'
|
75
|
+
$INIT_DEBUG = false # dice se debuggare la mia intera infrastruttura o no...
|
76
|
+
$RELOADED_ONCE = 0 # aiuta a capuire quante volte includo sta cazo di lib! Sempre 2!!!
|
77
|
+
$RIC_LIB_MODULES = %w{ classes/debug_ric } # to be explicitly included in this order.
|
78
|
+
$HOME = File.expand_path('~')
|
79
|
+
$DEBUG ||= initial_debug_state
|
80
|
+
$PROG = File.basename($0)
|
81
|
+
case $PROG
|
82
|
+
when 'irb'
|
83
|
+
print "[DEB] Welcome to Sakura within IRB! Happy playing. Try 'Sakuric.VERSION'"
|
84
|
+
when 'ruby'
|
85
|
+
print "[DEB] Welcome to Sakura within RUBY! Happy playing. Try 'Sakuric.VERSION'"
|
86
|
+
default
|
87
|
+
# do nothing
|
88
|
+
end
|
89
|
+
|
95
90
|
################################################################################
|
96
91
|
# Path to riccardo's Library... Library stuff
|
97
|
-
$LOAD_PATH << './lib'
|
98
|
-
$LOAD_PATH << "#{$SAKURADIR}/lib/"
|
92
|
+
$LOAD_PATH << './lib'
|
93
|
+
$LOAD_PATH << "#{$SAKURADIR}/lib/"
|
94
|
+
|
99
95
|
# BEWARE: ORDER *IS* RELEVANT!
|
100
96
|
$RICLIB = Hash.new unless defined?($RICLIB)
|
101
97
|
$RICLIB['VERSION'] = $RICLIB_VERSION
|
@@ -103,14 +99,12 @@ $LOAD_PATH << "#{$SAKURADIR}/lib/"
|
|
103
99
|
$RICLIB['nreloaded'] ||= 0
|
104
100
|
$RICLIB['nreloaded'] += 1
|
105
101
|
$RICLIB['help'] =<<-BURIDONE
|
106
|
-
|
107
|
-
|
108
|
-
|
102
|
+
This library contains all my enciclopedic knowledge (that is, notionistic). :
|
103
|
+
Finally solved the bug of double inclusion (cribsio, files included this!)
|
104
|
+
BURIDONE
|
109
105
|
reload_doesnt_work_properly!(true)
|
110
106
|
$CONF = RicConf.new
|
111
|
-
|
112
|
-
pyellow( riclib_info ) if debug?
|
113
|
-
|
107
|
+
pyellow( riclib_info ) if debug?
|
114
108
|
puts "post init delle #{Time.now}" if $RELOAD_DEBUG
|
115
109
|
end
|
116
110
|
|
@@ -125,16 +119,19 @@ end
|
|
125
119
|
and maybe a nice explaination..
|
126
120
|
=end
|
127
121
|
def load_auto_conf_migrated_to_ric_gem(confname, opts={})
|
128
|
-
dirs
|
129
|
-
file_patterns
|
130
|
-
sample_hash
|
131
|
-
|
122
|
+
dirs = opts.fetch :dirs, ['.', '~', '/etc/']
|
123
|
+
file_patterns = opts.fetch :file_patterns, [".#{confname}.yml", "#{confname}/conf.yml"]
|
124
|
+
sample_hash = opts.fetch :sample_hash, {
|
125
|
+
'load_auto_conf' => "please add an :sample_hash to me" ,
|
126
|
+
:anyway => "I'm in #{__FILE__}"
|
127
|
+
}
|
128
|
+
verbose = opts.fetch :verbose, true
|
132
129
|
puts "load_auto_conf('#{confname}') start.." if verbose
|
133
130
|
dirs.each{|d|
|
134
131
|
dir = File.expand_path(d)
|
135
132
|
deb "DIR: #{dir}"
|
136
133
|
file_patterns.each{|fp|
|
137
|
-
|
134
|
+
# if YML exists return the load..
|
138
135
|
file = "#{dir}/#{fp}"
|
139
136
|
deb " - FILE: #{file}"
|
140
137
|
if File.exists?(file)
|
@@ -145,12 +142,16 @@ def load_auto_conf_migrated_to_ric_gem(confname, opts={})
|
|
145
142
|
end
|
146
143
|
}
|
147
144
|
}
|
148
|
-
puts "Conf not found. Try this
|
145
|
+
puts "Conf not found. Try this:
|
146
|
+
---------------------------
|
147
|
+
$ cat > ~/#{file_patterns.first}\n#{yellow "#Creatd by ric.rb:load_auto_conf()" + sample_hash.to_yaml }
|
148
|
+
---------------------------
|
149
|
+
"
|
149
150
|
raise "LoadAutoConf: configuration not found for '#{confname}'!"
|
150
151
|
return sample_hash
|
151
152
|
end
|
152
153
|
|
153
154
|
## CALL THE INIT! YAY!
|
154
|
-
_init("
|
155
|
+
_init("inizializing at #{Time.now}")
|
155
156
|
|
156
157
|
#end /module Carlesso
|
data/lib/sakuric.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
|
2
|
+
module Sakuric
|
3
|
+
#print "[DEBUG] Including sakura.Sakuric"
|
4
|
+
$SAKURA_DFLTDIR = '~/git/sakura/'
|
5
|
+
$VERSION = 'TBD_from($DIR/VERSION)'
|
6
|
+
SCRIPT_BEGUN = Time.now
|
7
|
+
|
8
|
+
def self.VERSION
|
9
|
+
$VERSION = File.read(File.expand_path(BASEDIR() + '/VERSION')) # reads version file
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.BASEDIR
|
13
|
+
File.expand_path(File.dirname(__FILE__) + '/..')
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.use_ric_gem
|
17
|
+
false
|
18
|
+
end
|
19
|
+
|
20
|
+
# conf files into auto/ dir (mi son rotto di aggiungerli qui uno a uno!)
|
21
|
+
def self.get_auto_files(subdir)
|
22
|
+
absolute_dir = "#{$SAKURADIR}/lib/#{subdir}"
|
23
|
+
Dir.new(absolute_dir).select{|f| f.match( /\.rb$/ )}.map{|x| subdir + File.basename(x,'.rb') }
|
24
|
+
end
|
25
|
+
|
26
|
+
end #/Module Sakuric
|
data/lib/version.rb
ADDED
data/sakuric.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "sakuric"
|
5
|
-
s.version = "2.
|
5
|
+
s.version = "2.1.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
9
|
s.cert_chain = ["/Users/riccardo/git/gic/private/rusko@palladius.it/gem-public_cert.pem"]
|
10
|
-
s.date = "2013-02-
|
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
|
10
|
+
s.date = "2013-02-20"
|
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 \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/atc ;)\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\n "
|
12
12
|
s.email = "['p','ll','diusbonton].join('a') @ gmail.com"
|
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"]
|
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/
|
15
|
-
s.files = ["CHANGELOG", "Gemfile", "Gemfile.lock", "HISTORY.yml", "INSTALL", "LICENSE", "Makefile", "Manifest", "README.md", "Rakefile", "TODO", "VERSION", "bashrc", "bashrc.d/00-functions.include", "bashrc.d/01-sakura_checks.include", "bashrc.d/02-uname.include", "bashrc.d/80-ruby.include", "bashrc.d/99-dirs.include", "bashrc.d/aliases.include", "bashrc.d/common.include", "bashrc.d/local.d/README", "bashrc.d/local.d/nothing.include", "bashrc.d/uname.d/Darwin", "bashrc.d/uname.d/Linux", "bashrc.local.sample", "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", "docz/polygen/dell.grm", "docz/polygen/frati.grm", "docz/polygen/heanet.grm", "docz/richelp/gcompute.yml", "docz/richelp/gcutil.yml", "docz/richelp/gmail.yml", "docz/richelp/ruby.yml", "docz/richelp/sakura.yml", "docz/richelp/sql.yml", "docz/richelp/ubuntu.yml", "docz/richelp/yaml.yml", "docz/richelp/yml.yml", "etc/sakura/devel.yml", "etc/synergy.conf.example", "images/color-sample.png", "images/google.jpg", "images/icons/toilet.png", "images/sakura.jpg", "images/sakura2.jpg", "init.rb", "lib/classes/arrays.rb", "lib/classes/debug_ric.rb", "lib/classes/fake_data.rb", "lib/classes/
|
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-instances-and-quotas.py", "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", "sakura-version.rb", "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"]
|
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-instances-and-quotas.py", "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/sakura-version.rb", "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/ricconf.rb", "lib/classes/richelp.rb", "lib/classes/strings.rb", "lib/facter/google_compute_engine.rb", "lib/init.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_colors.rb", "lib/ric_strings.rb", "lib/sakuric.rb", "lib/sonice-players/itunes_mac.rb", "lib/sonice-players/itunes_win.rb", "lib/sonice-players/mpd.rb", "lib/sonice-players/rhythmbox.rb", "lib/version.rb", "tasks/sakuric-gem.rake", "tasks/testing.rake"]
|
15
|
+
s.files = ["CHANGELOG", "Gemfile", "Gemfile.lock", "HISTORY.yml", "INSTALL", "LICENSE", "Makefile", "Manifest", "README.md", "Rakefile", "TODO", "VERSION", "bashrc", "bashrc.d/00-functions.include", "bashrc.d/01-sakura_checks.include", "bashrc.d/02-uname.include", "bashrc.d/80-ruby.include", "bashrc.d/99-dirs.include", "bashrc.d/aliases.include", "bashrc.d/common.include", "bashrc.d/local.d/README", "bashrc.d/local.d/nothing.include", "bashrc.d/uname.d/Darwin", "bashrc.d/uname.d/Linux", "bashrc.local.sample", "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-instances-and-quotas.py", "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/sakura-version.rb", "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", "docz/CHEATSHEET", "docz/gutenberg/dante.txt", "docz/polygen/dell.grm", "docz/polygen/frati.grm", "docz/polygen/heanet.grm", "docz/richelp/gcompute.yml", "docz/richelp/gcutil.yml", "docz/richelp/gmail.yml", "docz/richelp/ruby.yml", "docz/richelp/sakura.yml", "docz/richelp/sql.yml", "docz/richelp/ubuntu.yml", "docz/richelp/yaml.yml", "docz/richelp/yml.yml", "etc/sakura/devel.yml", "etc/synergy.conf.example", "images/color-sample.png", "images/google.jpg", "images/icons/toilet.png", "images/sakura.jpg", "images/sakura2.jpg", "init.rb", "lib/classes/arrays.rb", "lib/classes/debug_ric.rb", "lib/classes/fake_data.rb", "lib/classes/ricconf.rb", "lib/classes/richelp.rb", "lib/classes/strings.rb", "lib/facter/google_compute_engine.rb", "lib/init.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_colors.rb", "lib/ric_strings.rb", "lib/sakuric.rb", "lib/sonice-players/itunes_mac.rb", "lib/sonice-players/itunes_win.rb", "lib/sonice-players/mpd.rb", "lib/sonice-players/rhythmbox.rb", "lib/version.rb", "profile", "sbin/install-sakura-on-debian", "sbin/make-install.sh", "sbin/mate-createsymlink", "sounds/0.ogg", "sounds/0.wav", "sounds/01.ogg", "sounds/02.ogg", "sounds/03.ogg", "sounds/08.ogg", "sounds/09.ogg", "sounds/1.ogg", "sounds/1.wav", "sounds/10.ogg", "sounds/100.ogg", "sounds/11.ogg", "sounds/12.ogg", "sounds/13.ogg", "sounds/14.ogg", "sounds/15.ogg", "sounds/16.ogg", "sounds/17.ogg", "sounds/18.ogg", "sounds/19.ogg", "sounds/2.ogg", "sounds/2.wav", "sounds/20.ogg", "sounds/21.ogg", "sounds/22.ogg", "sounds/23.ogg", "sounds/24.ogg", "sounds/26.ogg", "sounds/3.ogg", "sounds/3.wav", "sounds/30.ogg", "sounds/34.ogg", "sounds/4.ogg", "sounds/4.wav", "sounds/40.ogg", "sounds/42.ogg", "sounds/45.ogg", "sounds/47.ogg", "sounds/5.ogg", "sounds/5.wav", "sounds/50.ogg", "sounds/6.ogg", "sounds/6.wav", "sounds/60.ogg", "sounds/7.ogg", "sounds/7.wav", "sounds/70.ogg", "sounds/8.ogg", "sounds/8.wav", "sounds/80.ogg", "sounds/9.ogg", "sounds/9.wav", "sounds/90.ogg", "sounds/a.ogg", "sounds/aaahhh.ogg", "sounds/abologna.ogg", "sounds/adargenta.ogg", "sounds/alzatiecammina.ogg", "sounds/apache.ogg", "sounds/attenzione.ogg", "sounds/awesome.m4a", "sounds/bazinga.mp3", "sounds/bazinga.ogg", "sounds/bela regaz.wav", "sounds/benvenuti.wav", "sounds/benvenuti2.wav", "sounds/bergonz.ogg", "sounds/boh.ogg", "sounds/buahah.ogg", "sounds/buonasera.ogg", "sounds/buongiorno.ogg", "sounds/burp.ogg", "sounds/carlo.ogg", "sounds/cena.ogg", "sounds/che figata.m4a", "sounds/che figlio di puttana.m4a", "sounds/che.ogg", "sounds/ciao.ogg", "sounds/ciao.wav", "sounds/da.ogg", "sounds/davide.ogg", "sounds/demone.ogg", "sounds/dhcp.ogg", "sounds/dinuovo.ogg", "sounds/dns.ogg", "sounds/dopo.ogg", "sounds/e'.ogg", "sounds/eattivo.ogg", "sounds/ee.ogg", "sounds/ehi.ogg", "sounds/eoragiu.ogg", "sounds/eorasu.ogg", "sounds/eripartita.ogg", "sounds/estato.ogg", "sounds/estatoriavviato.ogg", "sounds/fratro.ogg", "sounds/frozenbubble.ogg", "sounds/funziona.ogg", "sounds/go raibh mile maith agaibh.m4a", "sounds/grazie.ogg", "sounds/h1.ogg", "sounds/hainuovaposta.ogg", "sounds/hogiamangiato.ogg", "sounds/host.ogg", "sounds/il.ogg", "sounds/ilcomputer.ogg", "sounds/ilnumerodaleiselezionatoe.ogg", "sounds/ilprocesso.ogg", "sounds/ilprogramma.ogg", "sounds/ilservizio.ogg", "sounds/imap.ogg", "sounds/imieisuperpoterimidiconoche.ogg", "sounds/infunzione.ogg", "sounds/inpunto.ogg", "sounds/ipmon.ogg", "sounds/laconnessioneadinternet.ogg", "sounds/lastampante.ogg", "sounds/lazzaron.ogg", "sounds/ldap.ogg", "sounds/linterfaccia.ogg", "sounds/lucilla.ogg", "sounds/ma vaffanculo.m4a", "sounds/majjal.wav", "sounds/mamma.ogg", "sounds/mauro.ogg", "sounds/max.ogg", "sounds/meerda.wav", "sounds/meno.ogg", "sounds/merda clo.wav", "sounds/mezza.ogg", "sounds/mila.ogg", "sounds/mille.ogg", "sounds/minuti.ogg", "sounds/named.ogg", "sounds/no.ogg", "sounds/nohofame.ogg", "sounds/nonfunziona.ogg", "sounds/nonriescoatrovare.ogg", "sounds/nonsarebbeoradilavorare.ogg", "sounds/nonstalavorando.ogg", "sounds/numero.wav", "sounds/ooohhh.ogg", "sounds/pinger.ogg", "sounds/pocofa.ogg", "sounds/pop3.ogg", "sounds/porca puttana.m4a", "sounds/porcapupazza.ogg", "sounds/ppp.ogg", "sounds/pranzo.ogg", "sounds/prego.ogg", "sounds/prima.ogg", "sounds/qualcosamidice.ogg", "sounds/raggiungibile.ogg", "sounds/riccardo.ogg", "sounds/salsa ridge.wav", "sounds/scusa.ogg", "sounds/seriously man.m4a", "sounds/si.ogg", "sounds/sito porno con sonoro.wav", "sounds/socmel.wav", "sounds/sono.ogg", "sounds/sonoacasa.ogg", "sounds/sonole.ogg", "sounds/sputo.ogg", "sounds/ssh.ogg", "sounds/stagiocando.ogg", "sounds/statospento.ogg", "sounds/stopaiodipalle.ogg", "sounds/thesedicks.wav", "sounds/tornatosu.ogg", "sounds/trapoco.ogg", "sounds/trequarti.ogg", "sounds/tutti.ogg", "sounds/una.ogg", "sounds/unquarto.ogg", "sounds/virgola.ogg", "sources/c/usleep.c", "spec/my_first_spec.rb", "tasks/sakuric-gem.rake", "tasks/testing.rake", "templates/bashrc.inject", "templates/happy_christmas.ascii_art", "test/roodi.sh", "test/sakura-version.rb", "test/test_mini_failing.rb", "test/test_mini_ok.rb", "test/test_ruby_syntax.sh", "third-party/jsawk/README.markdown", "third-party/jsawk/jsawk", "sakuric.gemspec"]
|
16
16
|
s.homepage = "http://github.com/palladius/sakura"
|
17
17
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Sakuric", "--main", "README.md"]
|
18
18
|
s.require_paths = ["lib"]
|
data/tasks/sakuric-gem.rake
CHANGED
@@ -2,40 +2,31 @@
|
|
2
2
|
#################
|
3
3
|
# Deploy the gem 'sakuric'
|
4
4
|
|
5
|
-
version
|
5
|
+
version = File.read( 'VERSION' ) # shouldnt rescue at all, should fail :)
|
6
|
+
cheatsheet = File.read('docz/CHEATSHEET') rescue "_COULDNT_FIND_DOCZ_CHEATSHEET"
|
6
7
|
|
7
|
-
|
8
|
-
|
9
|
-
|
8
|
+
GEM_NAMES = %w{sakuric sakura}
|
9
|
+
GEM_NAMES.each do |gemname|
|
10
|
+
Echoe.new(gemname, version ) do |p|
|
11
|
+
p.summary = "My SAKURA gem. See http://github.com/palladius/sakura"
|
12
|
+
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
13
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
# See: http://rubydoc.info/gems/echoe/4.6.3/frames
|
31
|
-
p.require_signed = true
|
32
|
-
p.ignore_pattern = [
|
33
|
-
"tmp/*",
|
34
|
-
"tmp/*", #"tmp/*/*", "tmp/*/*/*",
|
35
|
-
"private/*",
|
36
|
-
".noheroku",
|
37
|
-
'.travis.yml',
|
38
|
-
]
|
39
|
-
#p.development_dependencies = [ 'ric','echoe' ]
|
40
|
-
p.runtime_dependencies = [ 'ric' ]
|
41
|
-
end
|
14
|
+
#{cheatsheet}
|
15
|
+
"
|
16
|
+
p.url = "http://github.com/palladius/sakura"
|
17
|
+
p.author = "Riccardo Carlesso"
|
18
|
+
p.email = "['p','ll','diusbonton].join('a') @ gmail.com"
|
19
|
+
# So I can't accidentally ship with without certificate! Yay!
|
20
|
+
# See: http://rubydoc.info/gems/echoe/4.6.3/frames
|
21
|
+
p.require_signed = true
|
22
|
+
p.ignore_pattern = [
|
23
|
+
"tmp/*", #"tmp/*/*", "tmp/*/*/*",
|
24
|
+
"private/*",
|
25
|
+
"*.gemspec",
|
26
|
+
".noheroku",
|
27
|
+
'.travis.yml',
|
28
|
+
]
|
29
|
+
#p.development_dependencies = [ 'ric','echoe' ]
|
30
|
+
p.runtime_dependencies = [ 'ric' ]
|
31
|
+
end
|
32
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sakuric
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
|
-
-
|
8
|
+
- 1
|
9
9
|
- 3
|
10
|
-
version: 2.
|
10
|
+
version: 2.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Riccardo Carlesso
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
u5RGyxP9
|
37
37
|
-----END CERTIFICATE-----
|
38
38
|
|
39
|
-
date: 2013-02-
|
39
|
+
date: 2013-02-20 00:00:00 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: ric
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
version: "0"
|
53
53
|
type: :runtime
|
54
54
|
version_requirements: *id001
|
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
|
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 \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/atc ;)\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\n "
|
56
56
|
email: "['p','ll','diusbonton].join('a') @ gmail.com"
|
57
57
|
executables:
|
58
58
|
- "10"
|
@@ -95,6 +95,7 @@ executables:
|
|
95
95
|
- gce-curl-get-instances-for-project
|
96
96
|
- gce-get-token
|
97
97
|
- gce-getproject-metadata
|
98
|
+
- gce-instances-and-quotas.py
|
98
99
|
- gce-public-ip
|
99
100
|
- gcutil-fetch
|
100
101
|
- giallo
|
@@ -154,6 +155,7 @@ executables:
|
|
154
155
|
- sakura-check-version
|
155
156
|
- sakura-init.DRAFT
|
156
157
|
- sakura-version
|
158
|
+
- sakura-version.rb
|
157
159
|
- sano
|
158
160
|
- sbianca
|
159
161
|
- sblua
|
@@ -247,6 +249,7 @@ extra_rdoc_files:
|
|
247
249
|
- bin/gce-curl-get-instances-for-project
|
248
250
|
- bin/gce-get-token
|
249
251
|
- bin/gce-getproject-metadata
|
252
|
+
- bin/gce-instances-and-quotas.py
|
250
253
|
- bin/gce-public-ip
|
251
254
|
- bin/gcutil-fetch
|
252
255
|
- bin/giallo
|
@@ -306,6 +309,7 @@ extra_rdoc_files:
|
|
306
309
|
- bin/sakura-check-version
|
307
310
|
- bin/sakura-init.DRAFT
|
308
311
|
- bin/sakura-version
|
312
|
+
- bin/sakura-version.rb
|
309
313
|
- bin/sano
|
310
314
|
- bin/sbianca
|
311
315
|
- bin/sblua
|
@@ -355,11 +359,11 @@ extra_rdoc_files:
|
|
355
359
|
- lib/classes/arrays.rb
|
356
360
|
- lib/classes/debug_ric.rb
|
357
361
|
- lib/classes/fake_data.rb
|
358
|
-
- lib/classes/ric_debug.rb
|
359
362
|
- lib/classes/ricconf.rb
|
360
363
|
- lib/classes/richelp.rb
|
361
364
|
- lib/classes/strings.rb
|
362
365
|
- lib/facter/google_compute_engine.rb
|
366
|
+
- lib/init.rb
|
363
367
|
- lib/recipes/20120411-puppet-rump-palladius.recipe
|
364
368
|
- lib/recipes/20120726-skype.ubuntu.recipe
|
365
369
|
- lib/recipes/20130206-puppet3.ubuntu.recipe
|
@@ -368,13 +372,14 @@ extra_rdoc_files:
|
|
368
372
|
- lib/recipes/Makefile
|
369
373
|
- lib/recipes/README.md
|
370
374
|
- lib/recipes/scripts/redis.sh
|
371
|
-
- lib/ric.rb
|
372
375
|
- lib/ric_colors.rb
|
373
376
|
- lib/ric_strings.rb
|
377
|
+
- lib/sakuric.rb
|
374
378
|
- lib/sonice-players/itunes_mac.rb
|
375
379
|
- lib/sonice-players/itunes_win.rb
|
376
380
|
- lib/sonice-players/mpd.rb
|
377
381
|
- lib/sonice-players/rhythmbox.rb
|
382
|
+
- lib/version.rb
|
378
383
|
- tasks/sakuric-gem.rake
|
379
384
|
- tasks/testing.rake
|
380
385
|
files:
|
@@ -443,6 +448,7 @@ files:
|
|
443
448
|
- bin/gce-curl-get-instances-for-project
|
444
449
|
- bin/gce-get-token
|
445
450
|
- bin/gce-getproject-metadata
|
451
|
+
- bin/gce-instances-and-quotas.py
|
446
452
|
- bin/gce-public-ip
|
447
453
|
- bin/gcutil-fetch
|
448
454
|
- bin/giallo
|
@@ -502,6 +508,7 @@ files:
|
|
502
508
|
- bin/sakura-check-version
|
503
509
|
- bin/sakura-init.DRAFT
|
504
510
|
- bin/sakura-version
|
511
|
+
- bin/sakura-version.rb
|
505
512
|
- bin/sano
|
506
513
|
- bin/sbianca
|
507
514
|
- bin/sblua
|
@@ -548,6 +555,8 @@ files:
|
|
548
555
|
- bin/yellow
|
549
556
|
- bin/yellowfy
|
550
557
|
- bin/zombies
|
558
|
+
- docz/CHEATSHEET
|
559
|
+
- docz/gutenberg/dante.txt
|
551
560
|
- docz/polygen/dell.grm
|
552
561
|
- docz/polygen/frati.grm
|
553
562
|
- docz/polygen/heanet.grm
|
@@ -571,11 +580,11 @@ files:
|
|
571
580
|
- lib/classes/arrays.rb
|
572
581
|
- lib/classes/debug_ric.rb
|
573
582
|
- lib/classes/fake_data.rb
|
574
|
-
- lib/classes/ric_debug.rb
|
575
583
|
- lib/classes/ricconf.rb
|
576
584
|
- lib/classes/richelp.rb
|
577
585
|
- lib/classes/strings.rb
|
578
586
|
- lib/facter/google_compute_engine.rb
|
587
|
+
- lib/init.rb
|
579
588
|
- lib/recipes/20120411-puppet-rump-palladius.recipe
|
580
589
|
- lib/recipes/20120726-skype.ubuntu.recipe
|
581
590
|
- lib/recipes/20130206-puppet3.ubuntu.recipe
|
@@ -584,13 +593,14 @@ files:
|
|
584
593
|
- lib/recipes/Makefile
|
585
594
|
- lib/recipes/README.md
|
586
595
|
- lib/recipes/scripts/redis.sh
|
587
|
-
- lib/ric.rb
|
588
596
|
- lib/ric_colors.rb
|
589
597
|
- lib/ric_strings.rb
|
598
|
+
- lib/sakuric.rb
|
590
599
|
- lib/sonice-players/itunes_mac.rb
|
591
600
|
- lib/sonice-players/itunes_win.rb
|
592
601
|
- lib/sonice-players/mpd.rb
|
593
602
|
- lib/sonice-players/rhythmbox.rb
|
603
|
+
- lib/version.rb
|
594
604
|
- profile
|
595
605
|
- sbin/install-sakura-on-debian
|
596
606
|
- sbin/make-install.sh
|
@@ -778,6 +788,7 @@ files:
|
|
778
788
|
- templates/bashrc.inject
|
779
789
|
- templates/happy_christmas.ascii_art
|
780
790
|
- test/roodi.sh
|
791
|
+
- test/sakura-version.rb
|
781
792
|
- test/test_mini_failing.rb
|
782
793
|
- test/test_mini_ok.rb
|
783
794
|
- test/test_ruby_syntax.sh
|