rainfall 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/rainfall +1 -2
  3. data/rainfall.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f220afd45dc95e6ec262d893343dfbb2957a6355
4
- data.tar.gz: 1485f097ffe409f20e68c5c4bd4a2c07a622a223
3
+ metadata.gz: 9bb4614600f748660a3a176fa3a2cb26baec481e
4
+ data.tar.gz: 9799838e45e5aa309ada80083169dbe3c734f264
5
5
  SHA512:
6
- metadata.gz: f3db6a1aba695ea5b1d6273c91a06924483ab0374f561f9e4f1862fa578b88a3d50a1829f215bc60d6fec03988e36823e7ced5d62572cb49a9d78a5aa7f3c89b
7
- data.tar.gz: c6badc2084b50ff6d12529192522010e1bc3a3aad0221bb25f1529d1f3e0702b965071a2a1642eb77f025772c7ff3df1ec6c89c95f0d63afeb025d7b6ab1ee73
6
+ metadata.gz: 4d6bf9127946ae9e595a6b43d4687dfd97aa74d44ce2b807f5a638823264e5f4c97727beed71668838ece13c8ab7006f4eed0438badd1e3a4279b31854006b28
7
+ data.tar.gz: a45066cb11c1b1d2e3700917e3522e9ee245479647a67770d05c1adb5e70c26f159e3cc4e46602f2dbd6935aa7a9510d5a1dbcba43ae47ec80a59a7631707715
@@ -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
@@ -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.2"
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.2
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-19 00:00:00.000000000 Z
11
+ date: 2013-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake