descartes 0.6.10 → 0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/descartes +13 -5
- data/lib/descartes/modules/files/pigro.txt +1 -1
- data/lib/descartes/modules/files/replies.txt +2 -2
- data/lib/descartes/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94b706f7f63fa2638de81f8afd10c139c5d80bd5
|
4
|
+
data.tar.gz: 741010619fd2fa3155c2fda45bfc5cc4ade699de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 975b98926325769276de665f13eaf4aad6b9551ddb5177cd9735a61c73b7b25297a36fa5aa5df83fe03116553f2354345c3b78dbd39ab6f8041da04c80e85ae0
|
7
|
+
data.tar.gz: 8defccc7b299cd308e7fe618eb547a46dfdfeabd876c9288a3fa0aa5896fefe407547c831be337bed5d628e6e6211f74b082318bf28fcb5ccaaddd8832148d72
|
data/bin/descartes
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
# encoding: UTF-8
|
3
2
|
##
|
4
3
|
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
5
4
|
# Version 2, December 2004
|
@@ -53,10 +52,19 @@ OptionParser.new { |o|
|
|
53
52
|
end
|
54
53
|
}.parse!
|
55
54
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
55
|
+
files = File.join File.dirname(__FILE__), '../lib/descartes/modules/files'
|
56
|
+
FileUtils.cp_r(files, options[:dotfiles]) unless File.directory? options[:dotfiles]
|
57
|
+
|
58
|
+
Dir["#{options[:dotfiles]}/**/*"].each { |file|
|
59
|
+
lib = Dir["#{files}/**/*"].select { |f| File.basename(f) == File.basename(file) }
|
60
|
+
next if lib.empty?
|
61
|
+
next unless lib.first.end_with? '.txt'
|
62
|
+
|
63
|
+
if File.read(lib.first) != File.read(file)
|
64
|
+
FileUtils.cp lib.first, options[:dotfiles]
|
65
|
+
puts "'#{file}' has been updated."
|
66
|
+
end
|
67
|
+
}
|
60
68
|
|
61
69
|
Cinch::Bot.new {
|
62
70
|
configure do |c|
|
@@ -1 +1 @@
|
|
1
|
-
http://pigro.omnivium.it
|
1
|
+
http://pigro.omnivium.it
|
@@ -24,7 +24,7 @@ Straordinario.
|
|
24
24
|
Ma ovviamente.
|
25
25
|
Dovresti metterti una tarantola in gola, scellerato.
|
26
26
|
Ma un gran sticazzi, no eh?
|
27
|
-
Stai un po' zitto.
|
27
|
+
Stai un po' zitto.
|
28
28
|
Sei per caso RoxasShadow in incognito? Il faggometro ha segnato un picco.
|
29
29
|
Figghiu i bottana
|
30
|
-
Non contare su di me.
|
30
|
+
Non contare su di me.
|
data/lib/descartes/version.rb
CHANGED