rainfall 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/rainfall +1 -2
- data/rainfall.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bb4614600f748660a3a176fa3a2cb26baec481e
|
4
|
+
data.tar.gz: 9799838e45e5aa309ada80083169dbe3c734f264
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d6bf9127946ae9e595a6b43d4687dfd97aa74d44ce2b807f5a638823264e5f4c97727beed71668838ece13c8ab7006f4eed0438badd1e3a4279b31854006b28
|
7
|
+
data.tar.gz: a45066cb11c1b1d2e3700917e3522e9ee245479647a67770d05c1adb5e70c26f159e3cc4e46602f2dbd6935aa7a9510d5a1dbcba43ae47ec80a59a7631707715
|
data/bin/rainfall
CHANGED
@@ -29,14 +29,13 @@ Dir.mkdir(dir) unless File.exists?(dir)
|
|
29
29
|
|
30
30
|
for drop in drops
|
31
31
|
date_prefix = Date.parse(drop.data["created_at"]).stamp("2012-12-31")
|
32
|
-
name = drop.data["name"]
|
32
|
+
name = drop.data["name"].gsub(/\//, '-')
|
33
33
|
url = drop.data["remote_url"]
|
34
34
|
filename = File.join(dir, "/#{date_prefix} #{name}")
|
35
35
|
puts filename
|
36
36
|
puts url
|
37
37
|
puts
|
38
38
|
|
39
|
-
next if filename.include? "/"
|
40
39
|
next unless url =~ URI::regexp
|
41
40
|
|
42
41
|
unless File.exists? filename
|
data/rainfall.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.homepage = "https://github.com/zeke/rainfall"
|
9
9
|
gem.files = `git ls-files`.split($\)
|
10
10
|
gem.executables = ["rainfall"]
|
11
|
-
gem.version = "0.1.
|
11
|
+
gem.version = "0.1.3"
|
12
12
|
gem.add_development_dependency 'rake'
|
13
13
|
gem.add_dependency 'cloudapp_api', '~> 0.4.0'
|
14
14
|
gem.add_dependency 'httparty', '~> 0.12.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rainfall
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zeke Sikelianos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|