badslava2csv 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/badslava2csv.gemspec +2 -2
- data/bin/badslava2csv +3 -3
- 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: f6c06fa961ad0caa9b8dd9d3de2c7c5205e46c80
|
4
|
+
data.tar.gz: 1477b06cb3197c347be94767db0c4401d10158c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35c613990166ef8f0e61742d9b66fe5c6650ea3b683ea68ead6c7dfb0c62b7d843e8ca69f0e6f93260b0acaf014acaf02f1a9439fceaa0620bacb92a31b8f805
|
7
|
+
data.tar.gz: 6d356a6d175c3c861935850ddfff7ddf83ee2238526360c7f7cf1e374c00211e3c9670a41cd4f608274b7973e9278a69ed3b66ddb146a8dbb9fce5c198c03c23
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/badslava2csv.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: badslava2csv 0.0.
|
5
|
+
# stub: badslava2csv 0.0.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "badslava2csv"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
data/bin/badslava2csv
CHANGED
@@ -12,7 +12,7 @@ Options = Struct.new(:city, :output_dir)
|
|
12
12
|
|
13
13
|
class Parser
|
14
14
|
def self.parse(options)
|
15
|
-
args = Options.new("
|
15
|
+
args = Options.new("San Francisco", "./data")
|
16
16
|
|
17
17
|
opt_parser = OptionParser.new do |opts|
|
18
18
|
opts.banner = "Usage: badslava2csv [options]"
|
@@ -37,8 +37,8 @@ class Parser
|
|
37
37
|
end
|
38
38
|
options = Parser.parse(ARGV)
|
39
39
|
|
40
|
-
city = options.city
|
41
|
-
output_dir = File.expand_path(options.output_dir
|
40
|
+
city = options.city
|
41
|
+
output_dir = File.expand_path(options.output_dir)
|
42
42
|
|
43
43
|
puts "Listing events for #{city}"
|
44
44
|
|