basis-band 0.0.3 → 0.0.4

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/bin/basis-band CHANGED
@@ -16,17 +16,17 @@ end
16
16
  options = {}
17
17
 
18
18
  OptionParser.new do |opts|
19
- opts.banner = "Usage: basis-band [options]"
20
- opts.on("-u", "--userid [USERID]", "User ID from mybasis.com") do |u|
19
+ opts.banner = "basis-band gem v#{BasisBandMeta::VERSION}\nUsage: basis-band [options]"
20
+ opts.on("-u", "--userid USERID", "User ID from mybasis.com") do |u|
21
21
  options[:userid] = u
22
22
  end
23
- opts.on("-d", "--date [DATE]", "Date to fetch from mybasis.com") do |d|
23
+ opts.on("-d", "--date DATE", "Date to fetch from mybasis.com") do |d|
24
24
  options[:date] = d
25
25
  end
26
26
  opts.on("-c", "--[no-]csv", "Output CSV format") do |c|
27
27
  options[:csv] = c
28
28
  end
29
- opts.on("-l", "--login [username:password]", "Login and print user id") do |l|
29
+ opts.on("-l", "--login username:password", "Login and print user id") do |l|
30
30
  options[:login] = l
31
31
  end
32
32
  end.parse!
data/lib/basis-band.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require 'basis-band/version'
1
2
  require 'basis-band/api-fetch'
2
3
  require 'basis-band/api-auth'
3
4
  require 'basis-band/api-response-model'
@@ -1,3 +1,3 @@
1
- module BasisBand
2
- VERSION = '0.0.3'
1
+ module BasisBandMeta
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basis-band
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-27 00:00:00.000000000 Z
12
+ date: 2013-10-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json